13

March
2013

Using vga=normal by default

New version of Slax is almost done. While testing the new kernel 3.8 I noticed it has some "improved" support for DRM, that is Direct Rendering Management, do not confuse with Digital Rights management :)

The thing is, it blocks console output on some devices, making it effectively impossible to start Slax on console only (without X). To fix this, one has to use vga=normal instead of vga=773 boot parameter which is used to start 1024x768 framebuffer on Slax on boot. I got several notices from users with 1024x600 screens that they see an error when starting Slax since it tries to setup a bigger framebuffer than their screen supports, so I finally decided to use vga=normal as a default parameter for Slax.

User comments
Matt 2013-03-14 01:05

@Tomas Your posts are very informational. It would be great if you implemented pagination on this blog. Right now I have to get clever with google to get to the older content.

Thiago Silvino 2013-03-14 01:56

@Tomas, I was reading the Slackware Changelog and there is an update that Pat posted on Tue Mar 12 06:59:27 UTC 2013. He gives some tips on how to fix the issue with USB sticks being recognized as /dev/sda and also he mentions that there are some broken drivers in the 3.8 kernel series.

Francisco A. Lizarralde 2013-03-14 03:17

Hi,

I don know if this is the right place to ask this question, but I found the Requests page is still under development. My question is about an error I got when I try make an executable of a simple program with gfortran Slax module. The error I got is "gfortran fatal error: -fuse-linker-plugin, but liblto_plugin.so not found".
Any help with this issue will be appreciated. Cheers

Manfred Mueller 2013-03-14 05:21

Hi Tomas,

>> I finally decided to use vga=normal as a default parameter for Slax.

Imho you should set vga=785 for 640x480 with 65K colors as default.

It is working even for Asus EeePC 701 since ages.

The output of vga=normal is pretty big and extremely ugly ;)

Manfred

Viktor Benevski 2013-03-14 23:14

This is how I solve my problem with gfortran:

cp 306-gcc-gfortran.sb /mnt/live/memory
cd /mnt/live/memory
mkdir gfortran
sb2dir 306-gcc-gfortran.sb gfortran
cd gfortran/usr/lib/gcc/i486-slackware-linux
mv 4.7.1/ 4.7.2
ln -s 4.7.2/ 4.7.1
cd ../../../libexec/gcc/i486-slackware-linux
mv 4.7.1/ 4.7.2
ln -s 4.7.2/ 4.7.1
cd /mnt/live/memory
dir2sb gfortran gfortran-edited.sb

Francisco Lizarralde 2013-03-15 04:51

Hi Viktor,

Thank you so much. It works really nice !!!

Now I need to use BLAS and LAPACK modules who aren't available yet, I'll learn how to add them.

Best regards,

Francisco