Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-13-2004, 11:35 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
How to change console resolution?

I'm running a pretty stripped down version of RedHat 9.0 and would like to change the resolution so that the whole LCD display is used (that is no black border).

There is no X or anything else running, straight console.

I have looked around the web, and found a few obscure solutions, with "framebuffer" being the most common. Wasn't able to find a good write-up anywhere about how to install it.

Any recommendations how to go about this?
Old 10-14-2004, 02:37 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
framebuffer is a kernel, if your kernel doesn't have it compiled in, you'll need to recompile your kernel. you still might have it (I don't know about stock kernels, I've used a custom one for a long time now), and if you do, you need to give some options in your bootloader to use grub, at least, you just append the option vga=xxx to your kernel line, where xxx is a certain number that describes the resolution and colors. these numbers (and help for lilo users) can easily be found from google, just search for framebuffer vga options or grub/lilo vga options or something..

if you put the option in your bootloader but nothing happens, then you almost surely don't have framebuffer support in your kernel...
Old 10-14-2004, 06:40 PM   #3
LQ Newbie
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
The framebuffer is a "program" which is compiled INTO the kernel to allow direct access to video card memory. Is that correct? Based on the info I collected from all the sources.

And my next step would be to find the program and learn how to recompile kernel Right?
Old 10-14-2004, 06:55 PM   #4
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,186

Rep: Reputation: 52
those are settings that are changed on the monitor itself. so i guess your monitor doesn't have those controls? weird.
anyway, svgatextmode is a program you can play with. it's not standard. you'll have to find it on the web.
Old 10-15-2004, 12:02 AM   #5
LQ Newbie
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, it's an LCD, so it's fixed resolution. I was looking to increase the "desk space" so to speak.

Is there a way to check what is currently compiled into the kernel?
Old 10-15-2004, 03:58 AM   #6
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
Use kernel framebuffer and pass the vga=xxx option to lilo or grub, just as b0uncer suggested.

Here are the vga options: under section 5.3

ie, if you want to run 800x600 at 24bit, just append vga=0x315 in lilo or grub, BUT make sure you have the framebuffer enabled, or your screen will go blank. AFAIK, RH9 out-of-the-box kernel has fb enabled by default.

Hope it helps

Last edited by Hammett; 10-15-2004 at 04:02 AM.
Old 10-15-2004, 09:28 AM   #7
LQ Newbie
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Actually it doesn't, I tried installing RedHat with X, then framebuffer works, but if it's a bare install without X, it throws an error when specifying higher resolution. That's why I was curious how to see what is inside the kernel at any given time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Console non-X resolution change nominruil Linux - Software 1 10-15-2005 02:57 PM
How to change console resolution? Lurker01 *BSD 11 05-20-2005 06:27 PM
How to change the console resolution? ssobeht Debian 3 03-09-2005 01:02 PM
how can I change screen resolution in the console esire Linux - Newbie 1 06-26-2004 09:24 AM
How to change my console resolution? Moses420ca Linux - Software 4 08-21-2003 05:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 AM.

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