LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-09-2004, 12:18 PM   #1
Cdzin
Member
 
Registered: Jul 2003
Location: Campinas-SP, Brazil
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
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!
 
Old 02-09-2004, 01:29 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
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.)
 
Old 02-09-2004, 02:59 PM   #3
Cdzin
Member
 
Registered: Jul 2003
Location: Campinas-SP, Brazil
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
Old 02-09-2004, 03:34 PM   #4
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
hmmm, that should work.


try adding the following to your lilo.conf:

Code:
vga = ask
run:

/sbin/lilo

reboot

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.

let us know, as this is a common question at LQ
 
Old 02-10-2004, 03:44 PM   #5
Cdzin
Member
 
Registered: Jul 2003
Location: Campinas-SP, Brazil
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
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 ...
 
Old 02-10-2004, 04:18 PM   #6
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
those are columns : rows

standard vga 80X25

1234.........................................80
2
3
4
5
.
.
.
.
25


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]

Last edited by bnice; 02-10-2004 at 09:00 PM.
 
Old 02-11-2004, 10:32 AM   #7
Cdzin
Member
 
Registered: Jul 2003
Location: Campinas-SP, Brazil
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
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!
 
  


Reply



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 resolution dyrer SUSE / openSUSE 3 08-26-2005 04:27 AM
compiling kernel with console different resolution? davegermiquet Conectiva 1 09-22-2004 01:32 AM
console resolution problem. whansard Slackware 3 07-30-2004 09:39 AM
Console Resolution Problem After Kernel Update ShoCkwave Slackware 5 07-09-2004 10:53 AM
Console Resolution gsibble Linux - General 1 12-23-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:32 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