Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blank framebuffer console when booting
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
vvale
n00b
n00b


Joined: 07 Dec 2006
Posts: 15

PostPosted: Fri May 11, 2007 5:23 pm    Post subject: blank framebuffer console when booting Reply with quote

Hello

I have compiled with VESA support and VESAFB driver type. Also removed support for in-kernel nvidida drivers.

Here is my grub line:

kernel /boot/2620r7 root=/dev/hda7 vga=0x318 video=vesafb:mtrr:3,ywrap


That should be it... when I boot screen is blank before going into graphics mode. If I remove everything form vga and onwards it defaults into some low resolution mode.

What's up?

Thanks for any suggestions!
Back to top
View user's profile Send private message
Cal
n00b
n00b


Joined: 09 May 2007
Posts: 36
Location: England

PostPosted: Sat May 12, 2007 12:03 am    Post subject: Re: blank framebuffer console when booting Reply with quote

kernel /boot/2620r7 root=/dev/hda7 vga=0x318 video=vesafb:mtrr:3,ywrap


I had the same problem. Get rid of the vga=0x318 and put the resolution in the vesafb options like this: video=vesafb:ywrap,mtrr:4,1024x768-16@60

Or whatever resolution, refresh rate and bit depth you want. That's how I fixed it anyway, hope it helps.

Cal
Back to top
View user's profile Send private message
vvale
n00b
n00b


Joined: 07 Dec 2006
Posts: 15

PostPosted: Sun May 13, 2007 5:16 pm    Post subject: Reply with quote

Thanks for your comments.

Text shows up when I remove vga-statement but not at the specified resolution, that is a resolution of 800x600 or something.

kernel /boot/2620r7 root=/dev/hda7 video=vesafb:mtrr:3,ywrap,1024x768-32@85


I used the following line on kernel 2618r2 and it worked then:

kernel /boot/2618genr2 root=/dev/hda7 vga=0x318 video=vesafb:mtrr:3,ywrap,1024x768-32@85


Even though the above is not correct as the manual actually says that mode line 1024x768-32@85 only works with vesafb-tng and I use vesafb because I have amd64.

So I suspect there is something missing in my kernel config...
Back to top
View user's profile Send private message
midnite
Guru
Guru


Joined: 09 Apr 2006
Posts: 451
Location: Hong Kong

PostPosted: Sat Jun 30, 2007 11:35 am    Post subject: framebuffer console font configuration Reply with quote

when i was installing Gentoo with the minimal CD, the font was small, neat and tidy, and the most important is i can read more lines and columns in my screen. i used probably the most updated kernel - 2.6.20-r5.

In fact this is my second time i install Gentoo. In both times, i used the GRUB bootloader. Last time, i added "vga=791" in the line of kernel, and the font did shrink to the size i want (similar to the size in the minimal CD).

But this time, when i add that, reboot, my screen turns black and not even a word showing. But i can feel that the system still boot correctly. So i "blindly" went into the conf file and delete "vga=791". And reboot, then everything goes fine again, with the large ugly fonts.

Am i missing anything for this setting?
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Sat Jun 30, 2007 11:55 am    Post subject: Reply with quote

Are you using plain old Vesa or the Vesa-tng driver ? Sounds like it's just a simple
problem with your bootloader configuration. Can you paste the relevant lines from
either your grub.conf or lilo.conf...

-m
Back to top
View user's profile Send private message
midnite
Guru
Guru


Joined: 09 Apr 2006
Posts: 451
Location: Hong Kong

PostPosted: Sat Jun 30, 2007 12:07 pm    Post subject: Reply with quote

/boot/grub/grub.conf
Code:
timeout 30
default 0
fallback 1

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux Hardened 2.6.20-r5
root (hd0,0)
kernel /boot/kernel-2.6.20-hardened-r5 root=/dev/hda3

title  Gentoo Linux Hardened 2.6.20-r5 (rescure shell)
root (hd0,0)
kernel /boot/kernel-2.6.20-hardened-r5 root=/dev/hda3 init=/bin/bb

i followed the example "/boot/grub/grub.conf.sample" and the installation manual to write this up.
for "vga=791", i added at line 9.

Thanks!
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 30, 2007 12:36 pm    Post subject: Reply with quote

merged above three posts here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
midnite
Guru
Guru


Joined: 09 Apr 2006
Posts: 451
Location: Hong Kong

PostPosted: Sat Jun 30, 2007 4:56 pm    Post subject: Reply with quote

do i need to install something in order achieve this? i guess not, because my minimal install CD can do this also, but i have installed nothing.
Back to top
View user's profile Send private message
midnite
Guru
Guru


Joined: 09 Apr 2006
Posts: 451
Location: Hong Kong

PostPosted: Sat Jun 30, 2007 6:21 pm    Post subject: Reply with quote

nixnut wrote:
merged above three posts here.


Dear Site Admin,

Could you help in solving my problem?
My problem is not exactly the same with the one raised by vvale, they are also about the framebuffer though. And also the title of vvale's post is a bit deviated from mine. Merging our posts together may mislead users and lengthened the time of finding out a solution. Moreover, i did try vvale's solutions. But nothing improved. Do you know how to set it?

Thanks,
midnite
Back to top
View user's profile Send private message
midnite
Guru
Guru


Joined: 09 Apr 2006
Posts: 451
Location: Hong Kong

PostPosted: Sun Jul 01, 2007 6:29 am    Post subject: Reply with quote

SOLVED, by myself, searching by my own.

watch up here: http://gentoo-wiki.com/HOWTO_fbsplash

just missed to compile framebuffer support in kernel.
Back to top
View user's profile Send private message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Sat Sep 29, 2007 8:35 am    Post subject: Reply with quote

I have similar problem, but I can't fix it in no way :(
Here's my grub.conf:
Quote:
timeout 1
default 0
fallback 1

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.22-r6
root (hd0,0)
kernel /boot/kernel-2.6.22-r6 root=/dev/hda3 noapic video=vesafb:mtrr:3,ywrap


adding ",1024x768-32@60" to "video=" statement WON'T change a resolution at all!
adding "vga=" statement ALWAYS results in a blank screen. Always, I mean adding vga=0x3** or vga=791 or vga=792, etc, etc, etc...
I DO have framebuffer support compiled in my kernel.
And, just in case, I have PCI Express nVidia 7600GT, which works perfect with Xorg.
_________________
software is like sex - better when it's free!
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