View previous topic :: View next topic |
Author |
Message |
dbasinge Tux's lil' helper
Joined: 04 Jul 2002 Posts: 86 Location: Salt Lake City, UT
|
Posted: Fri Aug 27, 2004 8:22 pm Post subject: No /dev/fb0 or /dev/fbsplash |
|
|
I'm trying to get gensplash working on my computer. I have read though spock's instructions but it still does not work. I think the problem is that I do not have a fb0 or fbsplash device in my /dev directory. I have vesa-tng compiled into the kernel, but still no luck (did try the older vesa driver).
I'm trying to get this to work on a Toshiba Satellite M30 laptop using gentoo-dev-sources-2.6.8-r3.
Here is the part of my config
Code: |
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_VESA_STD is not set
CONFIG_FB_VESA_TNG=y
CONFIG_FB_VESA_DEFAULT_MODE="640x480@60"
CONFIG_VIDEO_SELECT=y
|
Here is my grub.conf
Code: |
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.8-r3
root (hd0,1)
kernel /kernel-2.6.8-gentoo-r3 root=/dev/hda4 video=vesafb:ywrap,pmipal,1024x768-32@75 splash=silent,theme:emergence
initrd /boot/fbsplash-emergence-1024x768
title=Gentoo Linux 2.6.8-r2
root (hd0,1)
kernel /kernel-2.6.8-gentoo-r2 root=/dev/hda4
title=Gentoo Linux 2.6.8-r1
root (hd0,1)
kernel /kernel-2.6.8-gentoo-r1 root=/dev/hda4
title=Windows XP
root (hd0,0)
makeactive
chainloader +1
|
Thanks for any info,
Mike _________________ D. Michael Basinger, RHCE
If at first you don't succeed, skydiving is not for you. - Anonymous |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sat Aug 28, 2004 1:15 am Post subject: |
|
|
Hi,
I'm having the same problem.
I get this error message at boot:
Code: | Can't open /dev/fbsplash |
Someone help us! (please) |
|
Back to top |
|
|
CarlUman Apprentice
Joined: 07 Jul 2004 Posts: 158 Location: SE Iowa
|
Posted: Sat Aug 28, 2004 5:14 am Post subject: |
|
|
Me three |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sat Aug 28, 2004 6:29 am Post subject: |
|
|
We're screwed, what are we going to do? |
|
Back to top |
|
|
neonik Guru
Joined: 08 Oct 2003 Posts: 501
|
Posted: Sat Aug 28, 2004 11:12 am Post subject: |
|
|
Just solved the same issue on my machine: Code: | kernel /kernel-2.6.8-gentoo-r3 root=/dev/hda4 video=vesafb:ywrap,pmipal,1024x768-32@75 |
Should be: Code: | kernel /kernel-2.6.8-gentoo-r3 root=/dev/hda4 video=vesafb:ywrap,mtrr,1024x768-32@75 splash=silent,theme:emergence vga=792 |
Feel free to play with vga and color depth. _________________ Best regards,
neonik
netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated). |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sat Aug 28, 2004 3:30 pm Post subject: |
|
|
Hi,
Thanks for the help, I made the changes you suggested and now I get an error to the effect of Invalid mode press <Enter> to see a list of valid modes or <Space> to continue booting. That's not the exact error, I can't reboot and copy the exact error right away because my girlfriend is writing an e-mail and my Linux box is also the firewall
Thanks again for your help! |
|
Back to top |
|
|
neonik Guru
Joined: 08 Oct 2003 Posts: 501
|
Posted: Sat Aug 28, 2004 3:47 pm Post subject: |
|
|
Then change the depth of 32 to 16 and vga to 791. _________________ Best regards,
neonik
netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated). |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sat Aug 28, 2004 5:03 pm Post subject: Cool!! |
|
|
I got it to work but in what seems to be a non-conventional fashion.
I put this in my grub.conf:
Code: | kernel /bzImage ro root=/dev/hda2 video=vesafb:ywrap,mtrr splash=silent,theme:emergence vga=0x315
initrd /fbsplash-emergence-800x600
|
The resolution makes sense because (duh) I'm using my Linux box on my TV currently--I'm trying to set up a multi-media box using mythtv--but the rest of the kernel video commands are the same ones I used when I was using bootsplash, weird.
It's working and looks cool though! Now I'm just wondering how I can increase the console font size. I know I can change the font in
/etc/rc.conf but the biggest font size seems to be 8x16 maybe I have to drop down to 640x480.
Anyway, thanks for all the help! |
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Sat Aug 28, 2004 9:56 pm Post subject: |
|
|
Did you other guys slove the problem. Since i having the problem to and the advices so far havent helped me i would lika to keep this thread alive.
I have the same .config exept that i have
Code: | CONFIG_FB_VESA_DEFAULT_MODE="1024x768@70" |
and i don't use my TV.
My .config if anyone would like to disect it
http://www.tindanos.com/pub/config |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sun Aug 29, 2004 5:55 am Post subject: |
|
|
What do you have in your /boot/grub/grub.conf? |
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Sun Aug 29, 2004 9:25 am Post subject: |
|
|
This is my grub.con
Code: |
default 0
timeout 15
splashimage=(hd1,1)/grub/splash.xpm.gz
title=Gentoo-2.6.8
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 init=linuxrc video=vesafb:ywrap,mtrr,1024x768-32@70 splash=silent,theme:emergence
initrd /fbsplash-emergence-1024x768
#Div exp
title=Gentoo-2.6.8-ex
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 init=linuxrc video=:vesafb,ywrap,mtrr,1024x768-32@70 splash=silent,theme:emergence vga=0x317
initrd /fbsplash-emergence-1024x768
title=Gentoo-2.6.8-ex2
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 init=linuxrc video=vesafb:ywrap,mtrr,noedid,nocrtc,1024x768-32@70 splash=silent,theme:emergence vga=791
initrd /fbsplash-emergence-1024x768
title=Gentoo-2.6.8.ex3
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 video=vesafb:ywrap,mtrr,1024x768-16@70 splash=silent,theme:emergence vga=791
initrd /fbsplash-emergence-1024x768
|
And some output from dmsg
Code: |
bash-2.05b# dmesg |grep vesafb
Kernel command line: root=/dev/hdb4 video=vesafb:ywrap,mtrr,1024x768-16@70 splash=silent,theme:emergence vga=791
vesafb: NVidia Corporation, NV25 Board, Chip Rev (OEM: NVidia)
vesafb: VBE version: 3.0
vesafb: protected mode interface info at c000:ee20
vesafb: pmi: set display start = c00cee65, set palette = c00ceeea
vesafb: pmi: ports = b4c3 b503 ba03 c003 c103 c403 c503 c603 c703 c803 c903 cc03 ce03 cf03 d003 d103 d203 d303 d403 d503 da03 ff03
vesafb: hardware supports DCC2 transfers
vesafb: monitor limits: vf = 160 Hz, hf = 96 kHz, clk = 210 MHz
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1024x768-16@0 not found
vesafb: mode 1153x864-16@0 not found
vesafb: mode 1280x960-16@0 not found
vesafb: mode 1280x960-16@0 not found
vesafb: mode 1280x1024-16@0 not found
vesafb: mode 1280x1024-16@0 not found
vesafb: mode 1280x1024-16@0 not found
vesafb: mode 1600x1200-16@0 not found
vesafb: mode 1600x1200-16@0 not found
vesafb: mode 1600x1200-16@0 not found
vesafb: mode 1600x1200-16@0 not found
vesafb: mode 1792x1344-16@0 not found
vesafb: no matching VBE mode found
vesafb: probe of vesafb0 failed with error -22
|
This stops with message
You passed an undefined video mode And then can a choose from 9 difrent modes wherer the highest is 80x60. |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
Posted: Sun Aug 29, 2004 3:47 pm Post subject: |
|
|
Maybe try something like this:
Code: | title=Gentoo-2.6.8
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 init=linuxrc video=vesafb:ywrap,mtrr,1024x768-16@75 splash=silent,theme:emergence vga=791
initrd /fbsplash-emergence-1024x768 |
And if that doesn't work try:
Code: | title=Gentoo-2.6.8
root (hd1,1)
kernel /linux-2.6.8 root=/dev/hdb4 init=linuxrc video=vesafb:ywrap,mtrr splash=silent,theme:emergence vga=0x318
initrd /fbsplash-emergence-1024x768 |
Vesafb kernel modes taken from /usr/src/linux/Documentation/fb/vesafb.txt
Code: | VESA mode number. Here are those VESA mode numbers:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x101 0x103 0x105 0x107
32k | 0x110 0x113 0x116 0x119
64k | 0x111 0x114 0x117 0x11A
16M | 0x112 0x115 0x118 0x11B
The video mode number of the Linux kernel is the VESA mode number plus
0x200.
Linux_kernel_mode_number = VESA_mode_number + 0x200
So the table for the Kernel mode numbers are:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B |
Hope this works! |
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Sun Aug 29, 2004 4:45 pm Post subject: |
|
|
Nope, didn't work.
But thanks for trying.... Any other suggestions..
Did you two other guys who had the problem managed to solve it? |
|
Back to top |
|
|
mrnegitoro Tux's lil' helper
Joined: 30 Jun 2003 Posts: 77 Location: Vancouver, BC.
|
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Sun Aug 29, 2004 6:35 pm Post subject: |
|
|
Actualy i haden't copmiled it
[ *] Bootup logo
[*] Standard 224-color Linux logo (NEW)
But doing that didn't help.
Coulden't find
<*> Compile in your framebuffer device
in my kernel config (gentoo-dev).
Would you like to post your .config. |
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Sun Aug 29, 2004 6:52 pm Post subject: |
|
|
Finaly i managed to get it up running but only in 800x600 but since i have an 19" screen and a
GF ti4200 card i would like to go higher.
There is a little problem when i exit X the scereen is messed up with zillion of colors all over it.
What i did was compiling the kernel with the veasfb instead off the vesafb-tng
What's the difrence?
EDIT!
It also works with the vesa-tng option in the kernel but i can't get a higher resolution than 800x600. This seams strange since i have a GF ti4200 (from creative) card and a 19" screen.
Is there another fb driver i can try with since vesafb and vesafb-tng dont seams to work.
Can someone with working framebuffer and the ti4200 card post their .config here. |
|
Back to top |
|
|
tindanos n00b
Joined: 12 Apr 2003 Posts: 34 Location: Sweden->Gbg
|
Posted: Mon Aug 30, 2004 6:52 am Post subject: |
|
|
It's solved.
I was actualy using my TV, not direct but the graphics card was conected to it.
Thanx anyway for your help. |
|
Back to top |
|
|
|