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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-14-2004, 12:35 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 9
Rep:
|
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?
|
|
|
10-14-2004, 03:37 AM
|
#2
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep:
|
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...
|
|
|
10-14-2004, 07:40 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
10-14-2004, 07:55 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
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.
|
|
|
10-15-2004, 01:02 AM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
10-15-2004, 04:58 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,079
Rep:
|
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.
|
|
|
10-15-2004, 10:28 AM
|
#7
|
LQ Newbie
Registered: Oct 2004
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:15 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.
|
Latest Threads
LQ News
|
|