Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No /dev/fb0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Mon Jan 10, 2011 6:59 am    Post subject: [SOLVED] No /dev/fb0 Reply with quote

Hi folks,
I found some other topics here with the same problem, but none of the solutions worked for me (most of them are incredible old too).

So, I followed this guide and got nowhere:
Code:
◢ perjanus ◣ ~ $  splash_manager --theme=livecd-2007.0 --cmd=set --tty=1
Can't open /dev/fb0 or /dev/fb/0
Error: Theme 'livecd-2007.0' doesn't seem to provide a config file for the current resolution ().
◢ perjanus ◣ ~ $ 


I am not worried now with the resolution problem, but with the missing /dev/fb0, which, well, actually, its missing. I have double/triple/multiple checked my kernel options, didn't find anything missing, but maybe there is something enabled but should be disabled.

Any ideas?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)


Last edited by Holysword on Wed Jan 19, 2011 2:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Wed Jan 19, 2011 2:36 pm    Post subject: Reply with quote

Found the answer in this guide: http://en.gentoo-wiki.com/wiki/Framebuffer
In the other guide it is missing the part that tell you to enable uvesafb driver. After enabling it I have /dev/fb0.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
hal2050
n00b
n00b


Joined: 19 Jul 2008
Posts: 47

PostPosted: Thu Jan 20, 2011 8:27 pm    Post subject: Reply with quote

i used to use uvesafb for about 10 (?) kernel versions for splashutils. but after upgrading to 2.6.37 uvesafb stopped working. as always i x-checked everything and everything seems to be configured correctly. but there's no /dev/fb*.
after looking into /var/log/dmesg i found the following errors:

Code:
uvesafb: Getting VBE info block failed (eax=0x4f00, err=0)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22


google led me to this old bug report: https://bugs.gentoo.org/show_bug.cgi?id=196848

could this be some kind of regression or am i missing something?
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Fri Jan 21, 2011 2:43 pm    Post subject: Reply with quote

hal2050 wrote:
i used to use uvesafb for about 10 (?) kernel versions for splashutils. but after upgrading to 2.6.37 uvesafb stopped working. as always i x-checked everything and everything seems to be configured correctly. but there's no /dev/fb*.
after looking into /var/log/dmesg i found the following errors:

Code:
uvesafb: Getting VBE info block failed (eax=0x4f00, err=0)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22


google led me to this old bug report: https://bugs.gentoo.org/show_bug.cgi?id=196848

could this be some kind of regression or am i missing something?


Hard to tell from this old report (yeah, 2007 was a very good year indeed...), but I remember that once I had problems with framebuffer because I had something enabled that was supposed to be disabled - I even supposed that this was the case now.

Don't remember exactly what it was though.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Fri Jan 21, 2011 3:00 pm    Post subject: Reply with quote

hal2050 wrote:
am i missing something?



KMS? ;)
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
hal2050
n00b
n00b


Joined: 19 Jul 2008
Posts: 47

PostPosted: Fri Jan 21, 2011 3:13 pm    Post subject: Reply with quote

didn't use kms on my nvidia ion based htpc -> nvidia-drivers. :)

edit:
for testing purposes i picked my 2.6.36-gentoo-r6 kernel and everything works as expected.

grep -i vesa /var/log/dmesg
Code:
Kernel command line: root=/dev/sda2 quiet ro elevator=cfq console=tty1 video=uvesafb:ywrap,mtrr:3,1280x720-32@60 splash=silent,theme:xbmc-confluence-shiny initrd=../initramfs-bootsplash BOOT_IMAGE=../vmlinuz-2.6.36-gentoo-r6
uvesafb: NVIDIA Corporation, MCP79 Board - mcp7a-pm, Chip Rev   , OEM: NVIDIA, VBE v3.0
uvesafb: protected mode interface info at c000:cbd0
uvesafb: pmi: set display start = c00ccc33, set palette = c00ccc8e
uvesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
uvesafb: VBIOS/hardware doesn't support DDC transfers
uvesafb: no monitor limits have been set, default refresh rate will be used
uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=2048
uvesafb: framebuffer at 0xf7000000, mapped to 0xf8480000, using 10240k, total 14336k
fb0: VESA VGA frame buffer device


this is really strange since i transfered my 2.6.36 config via "make oldconfig" to the 37 kernel series.

edit:
i ran a diff between my 36 and 37 config. don't know why, but

Code:
CONFIG_VM86=y


was disabled. after enabling it again /dev/fb0 is present again, so is the fbsplash.

therefore it's solved for me, too. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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