View previous topic :: View next topic |
Author |
Message |
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Sat Feb 08, 2003 2:54 am Post subject: vesafb vga=317 causes blank screen, vga=ask works |
|
|
I'm a fb newbie, so I hope this isn't a stupid question, but I can't figure it out. I've followed all the directions I can find about vesafb, and it seems to work because I can use vga=ask and specify 317 as my mode and it loads fine.
However, if I use vga=317 in grub.conf the screen goes blank after the grub menu closes and won't come back.
Also, fbset tells me that /dev/fb0 doesn't exist. Anyone have suggestions? |
|
Back to top |
|
|
PT_LAmb Guru
Joined: 22 Apr 2002 Posts: 332 Location: Lisboa (Lisbon), Portugal
|
Posted: Sat Feb 08, 2003 4:00 am Post subject: |
|
|
fatwreckfan wrote: | [...] /dev/fb0 doesn't exist. | I have the same problem, and my card is an S3 ViRGE DX.
I think that's because the mode that I select at boot time isn't a fbmode.
The mode that I choose at boot time is 7, so I changed the boot line to vga=7, and it works.
I think you're selecting a number from the second column instead of the first.
Good luck,
Ricardo Cordeiro _________________ SETI@Home - http://setiathome.ssl.berkeley.edu/ |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Sat Feb 08, 2003 6:19 am Post subject: |
|
|
vga=0x317 video=vesa:ywrap,mtrr mem=nopentium
enter that and see what happens , add it to the kernel line in grub
this is assuming you have vesa compiled into your kernel not modularized |
|
Back to top |
|
|
PT_LAmb Guru
Joined: 22 Apr 2002 Posts: 332 Location: Lisboa (Lisbon), Portugal
|
Posted: Sat Feb 08, 2003 6:44 am Post subject: |
|
|
rommel wrote: | vga=0x317 video=vesa:ywrap,mtrr mem=nopentium |
Will this work with a AMD K6-2 3D stepping 0. I ask this, because I don't have mtrr, and I don't yet understand the video string.
Can you point me to any documents on the subject?
Glad for being helped back.
Ricardo Cordeiro
PS - Posted with lynx _________________ SETI@Home - http://setiathome.ssl.berkeley.edu/ |
|
Back to top |
|
|
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Sat Feb 08, 2003 8:04 pm Post subject: |
|
|
PT_LAmb wrote: | rommel wrote: | vga=0x317 video=vesa:ywrap,mtrr mem=nopentium |
Will this work with a AMD K6-2 3D stepping 0. I ask this, because I don't have mtrr, and I don't yet understand the video string.
Can you point me to any documents on the subject?
Glad for being helped back.
Ricardo Cordeiro
PS - Posted with lynx |
Check in /usr/src/linux/Documentation/fb I believe.
I don't know what the mtrr thing is for, but the ywrap allows for scrolling back through the framebuffer.
Rommel: Thanks for the advice. I'll be trying it as soon as I get back home |
|
Back to top |
|
|
BradN Advocate
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Sat Feb 08, 2003 9:37 pm Post subject: |
|
|
I think your main problem might be missing the 0x on the mode number. Try just that first.
Good luck |
|
Back to top |
|
|
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Sun Feb 09, 2003 3:06 pm Post subject: |
|
|
I added the 0x and the mem= options, and it worked like a charm! What exactly does the mem= line do?
Slightly off topic, but regarding RAM, do I have to specify how much I have in grub.conf? i.e. mem=512M or whatever?
Thanks for everyone's help |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Mon Feb 10, 2003 9:10 pm Post subject: |
|
|
mem tells how much memory you have. But you shouldn't need to inform it in new kernels. Are you sure you really need it?
fatwreckfan wrote: | I added the 0x and the mem= options, and it worked like a charm! What exactly does the mem= line do?
Slightly off topic, but regarding RAM, do I have to specify how much I have in grub.conf? i.e. mem=512M or whatever?
Thanks for everyone's help |
_________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
trolley Apprentice
Joined: 12 Jun 2002 Posts: 292 Location: Canada
|
Posted: Mon Feb 10, 2003 9:13 pm Post subject: |
|
|
Bloody Bastard wrote: | But you shouldn't need to inform it in new kernels. Are you sure you really need it? |
That's all I needed to know |
|
Back to top |
|
|
|