LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-14-2004, 12:35 AM   #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, 03:37 AM   #2
b0uncer
LQ 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, 07: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, 07:55 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
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, 01: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, 04:58 AM   #6
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,079

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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