Console resolution problem after compiling 2.6.2 ...
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Console resolution problem after compiling 2.6.2 ...
Hii, well, it's a silly question ... I compiled the new kernel (2.6.2) and i can't get the console working in 1024x768 or any other resolution. On the former kernel, i needed just to pass 'vga=790' to lilo.conf to make it work. Any clue?! Thanks!
Re: Console resolution problem after compiling 2.6.2 ...
Quote:
Originally posted by Cdzin Hii, well, it's a silly question ... I compiled the new kernel (2.6.2) and i can't get the console working in 1024x768 or any other resolution. On the former kernel, i needed just to pass 'vga=790' to lilo.conf to make it work. Any clue?! Thanks!
I'll see your silly question and raise you one:
Did you compile video selection support into your kernel?
From xconfig help screen:
Quote:
Video mode selection support (VIDEO_SELECT)
This enables support for text mode selection on kernel startup. If
you want to take advantage of some high-resolution text mode your
card's BIOS offers, but the traditional Linux utilities like
SVGATextMode don't, you can say Y here and set the mode using the
"vga=" option from your boot loader (lilo or loadlin) or set
"vga=ask" which brings up a video mode menu on kernel startup. (Try
"man bootparam" or see the documentation of your boot loader about
how to pass options to the kernel.)
I did. I compiled this kernel 3 times and on the first i already noticed this problem and then i saw 'Video selection support' and thought it was going to work but it did nothing. Thanks anyway.
after kernel starts loading you will see something like
"choose video mode <enter> to see a list or <space> to continue"
hit enter
then at the next prompt type:
scan
it will scan all available video modes and present you with a list of what (should) work.
don't be alarmed if your screen goes blank, it'll be back
choose one
NOTE: if nothing works, just reboot, hit spacebar at prompt to boot normal vga and change lilo.conf back to vga=normal then rerun lilo to save changes.
Hi bnice, i had already tested "vga=ask" but not with "scan". Okk, i scanned for video modes and it found some strange things like 80x25, 100x25, 132x44 and others ... I appreciate your help ...
Edit:
I just got curious enough to compare the .configs for the canned 2.4.x & my 2.6.2 kernels.
This is what I did to make it work,
These options are under "Graphics Support"
[list=1][*]disable video selection support - seems to work without it[*]enable framebuffer support in kernel[*]enable framebuffer console support (this is the one that bit me in the a$$)[*](optional) enable bootup logo[*] make install && make modules_install - or use your favorite method, it's all good[/list=1]
Hii, i finally discovered what was going wrong. Well, i was compiling the atyfb (i have a ATi Rage Pro Turbo) as the framebuffer device. I don't know why it doesn't work but after i tried to use the generic VESA VGA device, it worked perfectly. Thank you, bnice!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.