Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vga mode during startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Thu Aug 09, 2007 3:53 pm    Post subject: Vga mode during startup Reply with quote

I've just installed Gentoo 2007.0 with kernel 2.6.21 and I wanted to enable graphics mode while sturtup. I chose Vesa option in the kernel and set vga mode in lilo but still I get an error: You passed an undefined mode number. To be honest I tried many mode numbers but nothing worked. I think something is wrong with the kernel. Should I pick something else than Vesa option to make it work well?
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Thu Aug 09, 2007 4:27 pm    Post subject: Reply with quote

What kind of video card do you have?
Also, do you know what resolution your card/monitor can handle? If you had windoze installed previously it would be the resolution you were running then...
-nanoczar
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Thu Aug 09, 2007 4:35 pm    Post subject: Reply with quote

There is an old GeForce 2Ti installed in my computer. The resolution I want to get is 1280x1024 and I know that my system can handle it cause I have had Gentoo 2006.1 before and vga mode was activated during sturtup. But previously there was kernel-2.6.9 used.
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Thu Aug 09, 2007 4:38 pm    Post subject: Reply with quote

Are you using the same xorg.conf?
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Thu Aug 09, 2007 4:40 pm    Post subject: Reply with quote

Not for sure for I removed the old system completly and I have just installed a new one with stage 3. The previous one was set with LiveCD. Can that matter?
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Thu Aug 09, 2007 4:44 pm    Post subject: Reply with quote

If you spent time in your previous installation and modified the xorg.conf file for your specific video card then the liveCD one might not match to the degree you would like.
A few questions:
1. Are you able to boot into your installation or are you stuck in lilo?
2. If you can, what do you get when you type "startx"?
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Thu Aug 09, 2007 4:47 pm    Post subject: Reply with quote

Answers :)
1. I am able to boot into. When the mode is set to other than "normal" lilo just throws up the warning and gives a list of text mode resolution.
2. I haven't installed window manager yet. I am planning to get Xfce4.
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Thu Aug 09, 2007 4:51 pm    Post subject: Reply with quote

Can you post your lilo configuration file?
I am a grub man myself...
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Thu Aug 09, 2007 4:57 pm    Post subject: Reply with quote

I edited lilo.conf myself. The only thing that concerns graphics mode is following line:
Code:

vga=791
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Thu Aug 09, 2007 5:07 pm    Post subject: Reply with quote

You may need to turn on other VGA options in the kernel such as VGA_CONSOLE. Here is a link that has other lilo modes that you can try. Maybe you need to turn down your color depth...
http://www.linuxquestions.org/questions/showthread.php?t=152575
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
Boczkowski_D
Apprentice
Apprentice


Joined: 06 Aug 2007
Posts: 160
Location: Poland

PostPosted: Fri Aug 10, 2007 6:32 pm    Post subject: Reply with quote

I've tried many mode numbers but nothing worked. I've tried also to reconfigure kernel, but I set something that causes multicolor screen (some kind of chessboard, but in 16 colors) after the given warning message and choosing the text mode in booting. Don't know what setting causes this (tried to fix it but nothing helped). Of course I didn't save the previous kernel so I can't compare the settings. The system will boot normally when I remove line vga=XXX in /etc/lilo.conf. In my opinion there is something wrong with the video card settings but no idea what exactly. Could someone help? At least how to get to know what is the root cause.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum