SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
At Lilo menu and while Slackware 15 is booting up, I see text with big fonts. I think the screen is VGA resolution.
Then, at certain point, the screen switches to high resolution. Then, I get the login prompt. Is it possible to not go to high resolution? But stay at VGA until I startx.
Last edited by Alfred-Augustus; 12-23-2023 at 10:32 PM.
As mentioned, the short answer is forcing the kernel to use BIOS video modes by adding the nomodeset boot parameter.
A longer answer is something called kernel mode setting (KMS). In years past only the BIOS video modes were supported at boot. Then people decided that native video card modes should be supported during booting rather than only when the graphical environment is launched. A reasonable idea but then computer monitors started getting bigger. This creates a visual challenge with displaying tiny fonts.
Many people don't care because many people configure Linux systems to boot into graphical user mode rather than boot to console like the olden days. Further, many distro maintainers use a boot splash to hide the boot spew and most users never see the small fonts. Slackware does not use a boot splash. Hence the small fonts.
While nomodeset is a handy sledge hammer, that probably is not what many people want. Many people also use Slackware in servers and no graphical environment is installed. The solution to avoid the small fonts is in /etc/rc.d/rc.font.
The default rc.font looks like this:
setfont -v
Not much help with those small fonts.
The script can be edited to display larger font sizes and different fonts. For example:
setfont -v ter-124n
That change will use a 24 point Terminus font.
Configuring that script might require some experimenting because not all fonts or font sizes succeed well with some display drivers.
After editing rc.font, the visual result is the system will 1) boot with a BIOS supported resolution and font, 2) when the rc.udev script executes the display will belch and the small fonts will appear, and 3) later in the boot sequence the rc.font script will be executed and the display font will adjust as defined in that script.
While nomodeset is a handy sledge hammer, that probably is not what many people want. Many people also use Slackware in servers and no graphical environment is installed. The solution to avoid the small fonts is in /etc/rc.d/rc.font.
Agreed, nomodeset is not the most elegant solution, but will do what you are wanting. but a better solution would be to choose a larger console font. Log out of X and run setconsolefont, there you can preview as many fonts as you like until you find one that works for you.
At Lilo menu and while Slackware 15 is booting up, I see text with big fonts. I think the screen is VGA resolution.
Then, at certain point, the screen switches to high resolution. Then, I get the login prompt. Is it possible to not go to high resolution? But stay at VGA until I startx.
You can also use the parameter
Code:
vga=normal
in /etc/lilo.conf, then relaunch lilo to see the changes at the next reboot.
Yeah I tried nomodeset and it worked and it made the console font nice and big.
When I do startx, there's a wierd flash and graphics turned crazy for a second and then everything looks normal. But when I run Youtube on Firefox, the CPU load is very high.
Yeah instead of nomodeset, I made the font bigger using /etc/rc.d/rc.font. The biggest font is size 22. This is fine for my current laptop. I imagine some poeple might prefer an even bigger font.
Last edited by Alfred-Augustus; 12-25-2023 at 05:24 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.