Using the following relevant packages: sys-fs/udev-058 media-gfx/splashutils-1.1.9.7 sys-apps/fbset-2.1 I get an error if I don't select a theme and resolution that is the same as the default frame buffer resolution specified in the kernel configuration. Here's an example of the error: Failed to open /dev/fb0 or /dev/fb0 for reading. Can't open config file /etc/splash/Cynapses/0x0.cfg. Failed to load image (null). Can't open /dev/fb0 or /dev/fb/0 cat: /etc/splash/Cynapses/.cfg: No such file or directory I have tried changing frame buffers (VESAFB-TNG, VESAFB). Only selecting VESAFB-TNG in the kernel configuration allows you to specify a default resolution. If I don't specify a default resolution in the kernel configuration using 'make menuconfig', I receive an error like the one above when I select a theme with a different resolution. The problem seems to be similar to this previous bug: 64068 splashutils still looking for fbsplash when not in kernel Example Grub config that will NOT work: kernel /kernel-linux-2.6.12-suspend2-r4-20050813-011259 root=/dev/hda4 append="gentoo=nodevfs udev devfs=nomount acpi=on softlevel=network hdc=ide-cd" quiet CONSOLE=/dev/tty1 video=vesafb-tng:1400x1050-32@60:ywrap:pmipal splash=silent,fadein,theme:Emergance initrd /fbsplash-Emergance-1400x1050-vesafbtng kernel config: CONFIG_FB_VESA=y # CONFIG_FB_VESA_STD is not set CONFIG_FB_VESA_TNG=y CONFIG_FB_VESA_DEFAULT_MODE="1280x1024-32@60" Reproducible: Always Steps to Reproduce: The error is repeatable if as an example use the configuration described in the details section: 1. Select a resolution and theme that is NOT the default resolution configured in the kernel. Also occurs if NO default resolution is set in the kernel such as selecting vesafb for console framebuffer support. 2. Specify another theme and resolution like the Emergance 1400x1050 theme Actual Results: Using the steps to reproduce above... Since the resolution select is NOT the default resolution of 1280x1024, it will create an error at boot and shutdown complaining that it can't open /dev/fb0 and can't read /etc/splash/Emergance/0x0.cfg. Expected Results: The Emergance 1400x1040 theme should have been used without error. The only work-around is to only select themes that have the same resolution as the default specified in the kernel. Have same problems with 'vesafb' driver as well. Also, using instructions found here: http://dev.gentoo.org/~spock/projects/vesafb-tng/archive/HOWTO_report_vesafb-tng_bugs.txt I tried to specify 'vesafb' when using an initrd made for a kernel that has the vesafb-tng driver. output of "cat /usr/src/linux/.config | grep _FB | grep -v '#'": CONFIG_FB=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_SOFT_CURSOR=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_VESA=y CONFIG_FB_VESA_TNG=y CONFIG_FB_VESA_DEFAULT_MODE="1280x1024-32@60" CONFIG_FB_SPLASH=y output of "cat /proc/fb0/vbe_info": Version: 2.0 Vendor: ATI Technologies Inc. Product: P7 OEM rev: 01.00 OEM string: ATI MOBILITY RADEON 7500 output of "cat /proc/fb0/modes": 320x200-8 320x200-15 320x200-16 320x200-24 320x200-32 320x240-8 320x240-15 320x240-16 320x240-24 320x240-32 400x300-8 400x300-15 400x300-16 400x300-24 400x300-32 512x384-8 512x384-15 512x384-16 512x384-24 512x384-32 640x350-8 640x350-15 640x350-16 640x350-24 640x350-32 640x400-8 640x400-15 640x400-16 640x400-24 640x400-32 640x480-8 640x480-15 640x480-16 640x480-24 640x480-32 800x600-8 800x600-15 800x600-16 800x600-24 800x600-32 1024x768-8 1024x768-15 1024x768-16 1024x768-24 1024x768-32 1280x1024-8 1280x1024-15 1280x1024-16 1280x1024-24 1280x1024-32 1400x1050-8 1400x1050-15 1400x1050-16 1400x1050-24 1400x1050-32 1600x1200-8 1600x1200-15 1600x1200-16 1600x1200-24 1600x1200-32
It's supposed to be 'video=vesafb:ywrap,pmipal,1400x1050-32@60' not 'video=vesafb-tng:1400x1050-32@60:ywrap:pmipal'.
(In reply to comment #1) > It's supposed to be 'video=vesafb:ywrap,pmipal,1400x1050-32@60' not > 'video=vesafb-tng:1400x1050-32@60:ywrap:pmipal'. I tried "vesafb" and "vesafb-tng" in my video of the kernel parameters and both do NOT work when specifying the resolution 1400x1050 with the livecd-2005.1 theme (see below). andrye@gundam ~ $ cat /proc/cmdline root=/dev/hda4 append="gentoo=nodevfs udev devfs=nomount acpi=on softlevel=network hdc=ide-cd" quiet CONSOLE=/dev/tty1 video=vesafb:1400x1050-32@60:ywrap:pmipal splash=silent,fadein,theme:livecd-2005.1 And the errors that I received during boot up when trying to use this theme: ... vesafb: invalid resolution, width not specified ... Can't open /dev/fb0 or /dev/fb/0 failed to configure resolution and icon positioning Failed to open /dev/fb0 or /dev/fb0 for reading. Can't open config file /etc/splash/livecd-2005.1/0x0.cfg. Failed to load image (null). Can't open /dev/fb0 or /dev/fb/0 cat: /etc/splash/livecd-2005.1/.cfg: No such file or directory ... Finally I received this error before the login prompt: umount: /etc/splash/livecd-2005.1: not mounted Here again is my current kernel's framebuffer configuration: andrye@gundam ~ $ zcat /proc/config.gz | grep _FB | grep -v '#' CONFIG_FB=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_SOFT_CURSOR=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_VESA=y CONFIG_FB_VESA_TNG=y CONFIG_FB_VESA_DEFAULT_MODE="1280x1024-32@60" CONFIG_FB_SPLASH=y The command I used to create the initrd is: splash_geninitramfs --no8bpp -v -g /boot/fbsplash-livecd-2005.1-1400x1050-vesafbtng -r 1400x1050 livecd-2005.1 Is there a way to give you a dump of the initrd that I'm using so that you see that it's built correctly?
Please read my comments more carefully. The separator in the video parameter is ',', not ':'. 'video=vesafb:1400x1050-32@60:ywrap:pmipal' is thus still invalid.
(In reply to comment #3) > Please read my comments more carefully. The separator in the video parameter is > ',', not ':'. 'video=vesafb:1400x1050-32@60:ywrap:pmipal' is thus still invalid. Ok I got it working now. The error was my fault due to incorrect syntax. I just tried a theme and resolution that's not set as default: Kernel command line: root=/dev/hda4 append="gentoo=nodevfs udev devfs=nomount ac pi=on softlevel=network hdc=ide-cd" quiet CONSOLE=/dev/tty1 video=vesafb:1400x10 50-32@60,ywrap,pmipal splash=silent,fadein,theme:livecd-2005.1 And the result from 'dmesg': fbsplash: console 0 using theme 'livecd-2005.1' fbsplash: switched splash state to 'on' on console 0 vesafb: framebuffer at 0x48000000, mapped to 0xf8900000, using 11484k, total 327 68k fb0: VESA VGA frame buffer device It looks great! I appologize for being thick headed. I will help everyone else that has had this mistake also in the Gentoo forums.