LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-23-2023, 10:30 PM   #1
Alfred-Augustus
Member
 
Registered: May 2022
Posts: 91

Rep: Reputation: 7
How to make Console screen resolution back to VGA


Hi

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.
 
Old 12-23-2023, 10:51 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,691

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Try adding "nomodeset" to your kernel boot options.
 
2 members found this post helpful.
Old 12-24-2023, 02:00 PM   #3
lostintime
Member
 
Registered: Dec 2021
Posts: 195

Rep: Reputation: Disabled
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.

I hope that helps.
 
6 members found this post helpful.
Old 12-24-2023, 02:14 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,691

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
Quote:
Originally Posted by lostintime View Post
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.
 
4 members found this post helpful.
Old 12-24-2023, 03:18 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179Reputation: 4179
Quote:
Originally Posted by Alfred-Augustus View Post
Hi

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.
 
1 members found this post helpful.
Old 12-25-2023, 05:18 AM   #6
Alfred-Augustus
Member
 
Registered: May 2022
Posts: 91

Original Poster
Rep: Reputation: 7
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rolling back messages in VGA console zvivered Linux - Embedded & Single-board computer 1 10-02-2009 11:05 AM
[SOLVED] Black screen, works on VGA to monitor but not on VGA to TV junkjunk Ubuntu 14 07-07-2009 05:32 AM
onboard VGA adapter Vs VGA Card mrpc_cambodia Linux - Hardware 6 12-31-2004 07:29 AM
if i get an nforce mobo with built-in VGA... will the built in vga work in linux? kublador Linux - Hardware 2 11-10-2003 08:26 PM
VGA to VGA cards Stephanie Linux - General 3 02-07-2003 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration