LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-13-2004, 11:35 PM   #1
386
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
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
framebuffer is a kernel thingie...so, 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 it...in 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
386
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
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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
386
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
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,037

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: http://www.tldp.org/HOWTO/Framebuffer-HOWTO-5.html 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
386
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration