Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frame buffer splash does not work
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
IcEonFirE
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 174

PostPosted: Fri Jun 15, 2007 6:08 pm    Post subject: Frame buffer splash does not work Reply with quote

Hi

I had reffered to http://gentoo-wiki.com/HOWTO_fbsplash to install ramebuffer splash I chose livecd-2007.0 as theme. When I issued the command splash_manager --theme=livecd-2007.0 --cmd=set --tty=1 it outputed :
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 ().

I made sure that all necessary kernel (2.6.20-r8) options are present. here's also
the contents of grub.conf file:
title=Gentoo Linux (2.6.20-r8)
root (hd0,1)
kernel /boot/kernel-2.6.20-gentoo-r8 root=/dev/hda4 acpi=on apm=off splash=silent,fadein,theme=livecd-2007.0 quiet vga=778
CONSOLE=/dev/tty1
initrd (hd0,1)/boot/fbsplash-livecd-2007.0-1024x768

However, only console is apprearing, any suggestions please ?
Thanks
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4672
Location: Theux (Belgium)

PostPosted: Fri Jun 15, 2007 6:34 pm    Post subject: Reply with quote

What does zgrep '^CONFIG_FB' /proc/config.gz (or grep '^CONFIG_FB' /usr/src/linux/.config) tell you?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
IcEonFirE
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 174

PostPosted: Sat Jun 16, 2007 1:55 am    Post subject: Reply with quote

grep '^CONFIG_FB' /usr/src/linux/.config:

CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VESA=y
CONFIG_FB_VESA_STD=y
CONFIG_FB_SPLASH=y
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4672
Location: Theux (Belgium)

PostPosted: Sat Jun 16, 2007 10:08 am    Post subject: Reply with quote

Does /etc/init.d/splash start work actually? Have you tried vesa-tng?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3200

PostPosted: Mon Oct 22, 2007 4:18 pm    Post subject: Reply with quote

Did you ever solve this? I have this problem on some older machines. Exact same setup as other machines that work, which makes me think that it's caused by the hardware.
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 217

PostPosted: Wed Feb 24, 2010 10:48 pm    Post subject: Reply with quote

The guide IcEonFirE originally linked to is dead. Here is the updated link to the Gentoo wiki [How To] guide for getting fbsplash working.

Code:
 localhost # zgrep '^CONFIG_FB' /proc/config.gz
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_VESA=y
CONFIG_FB_CON_DECOR=y
localhost # grep '^CONFIG_FB' /usr/src/linux/.config
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_VESA=y
CONFIG_FB_CON_DECOR=y
localhost splash # /etc/init.d/splash start
bash: /etc/init.d/splash: No such file or directory
localhost # exit
exit
drone4four@localhost ~ $

The guide recommends you try out a theme before using it. The guide says:
Quote:
If you wish to set/preview a theme without booting you can use splash_manager.
Code:
splash_manager --theme=livecd-2007.0 --cmd=set --tty=1

This will change the theme on tty1 to livecd-2007.0. You can choose any theme in /etc/splash that matches your current resolution. Now to see the theme go to tty1 by pressing Ctrl+Alt+F1.


But, like IcEonFirE, I get an error message:

Code:

localhost splash # 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 ().
localhost splash #


How do I get fbsplash working?

Here are the contents of my /etc/splash/ directory:
Code:

drone4four@localhost ~ $ su
Password:
localhost drone4four # cd /etc/splash/
localhost splash # ls
73labAllstar         GeeXboX-Xmas          Raziel
ASP                  Gentoo                Redmond
ASPLinux             Gentoo-Hornet         Rojo
AquaMatrix           Gentoo-LiveCD-2004.0  Rollmops
ArchLinux            Gentoo-LiveCD-2004.1  Rustenguin
ArchPool             Gentoo-LiveCD-2004.2  SMGL
ArchRelief           Gentoo-LiveCD-2004.3  Shodan
AthlonXP             Gentool               Slack
Ayo                  GoGentooGo            Slack-3D
BabyTux              Ignite                Slack-Black-Tux
Berry                Jollix                Slack-Blue
Black                Juicy                 Slack-Glass
Burek                Junior                Slack-Gray
CCux                 Kanotix               Slack-Gray-B
CLEE                 Keramik               Slackware
CM                   KillBillTux-Grey      Slackware2
CRUX                 KillBillTux-Yellow    SlackwareLinux
CaixaMagica          KnoppMyth             Slide
Cargal               KnoppixKDE            Spinner
Compact              KnoppixLT             Stargate-Tux
Cybercity            Konsole               SuSE
Cynapses             KuruminOrgBR          SuSE-7.2
DangerGirl           Leopard               SuSE-7.3
Dark-0.1             Lila                  SuSE-8.0
Dark-2-0.2           Linux                 SuSE-8.1
DarkBlue             Lunar                 SuSE-8.2
DebBlue              MaiHoshino            SuSE-Home
DebBlue-Gnome        Mandrake-10.0         SuSE-SLES
DebBlue-Gnoppix      Mandrake-9.2          SwirlPool
Debian               Master                ThinkLinux
Debian-Mist          Matrix                TuxInfo
Debian-Sarge         Metal-Tosh            TuxInfo-Connectiva
Debian-Tux           MetallTux             TuxInfo-Debian
Debian-Tux-Gnulinex  Misspingus3           TuxInfo-Mandrake
Debian-Wave          Misspingus4           TuxInfo-RedHat
Debian2              Momonga               TuxInfo-Slackware
Debian3              Morphix               TuxInfo-SuSE
Deflorist            MyLittleTux           TuxNTosh
DimmuBorgir          MythTV                TuxSplash
Dolphin              NewFreepia            Ubuntu
Dragon               NewLinux              UnitedLinux
ERPOSS3              NewLinux-Deb          UrbanVisions-Debian
ElvinTooka           NewTux                UrbanVisions-Mandrake
Emergance            NightWorld            UrbanVisions-SuSE
Enterprise           Notes                 VDR
Enterprise-spot      OfficeDesktop         Vortex
EvenNewerTux         OpenSchool            WarmAqua
FarCry               OpenXchange           Warty
Fedora               PLF1                  acKme
FedoraCore2          PLF2                  dotf
Flower               PLF5                  emerge-world
Freepia              Pativo                emergence
FrozenBubble         Pho                   gentoo
Frugalware           Popcorn               iRu
GANT                 PowerBook             libertnl
GNU                  Psychotoxic           livecd-2007.0
Galantine            Pyro                  luxisri.ttf
GalaxySlack2         QiLinux-LiveCD-1.1    natural-gentoo
GeeXboX              RH9                   natural_gentoo
GeeXboX-Halloween    RadiantStar
GeeXboX-OMC          Ratatouille


Gentoo developer Michał Januszewski seems to be an expert on fbsplash according to his website. I'll be sure to contact him if I don't get a response from the forum community in this thread. Here is a blog post by Michał Januszewski on his release of splashutils-1.5.4.

edit: added contents of splash directory
edit: added three sentences on Michał Januszewski
edit: grammar
_________________
Gigabyte GA-P45T-ES3G LGA 775 Intel P45
Intel Core 2 Quad Q9650 @ 3.0GHz
16.384GB RAM DDR3 1333MHz
EVGA nVidia GeForce GTX 560 Ti 2GB
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 217

PostPosted: Sat Mar 06, 2010 4:26 pm    Post subject: Reply with quote

I tried installing the gentoo splash theme chooser which I found at opendesktop.org. When I run gentoo_splash_chooser.py, I get this error:
Code:
drone4four@localhost ~/Desktop/gui 4 Mar/gentoo_splash_chooser-0.9/gentoo_splash
_chooser $ python gentoo_splash_chooser.py
Traceback (most recent call last):
  File "gentoo_splash_chooser.py", line 2, in <module>
    from qt import *
ImportError: No module named qt
drone4four@localhost ~/Desktop/gui 4 Mar/gentoo_splash_chooser-0.9/gentoo_splash
_chooser $


For the record, I have PyQt4 installed:
Code:
drone4four@localhost ~ $ emerge -s pyqt4
Searching...   
[ Results for search key : pyqt4 ]
[ Applications found : 1 ]

*  dev-python/PyQt4
      Latest version available: 4.6.2
      Latest version installed: 4.6.2
      Size of files: 6,816 kB
      Homepage:      http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt
      Description:   A set of Python bindings for the Qt toolkit
      License:       || ( GPL-2 GPL-3 )

_________________
Gigabyte GA-P45T-ES3G LGA 775 Intel P45
Intel Core 2 Quad Q9650 @ 3.0GHz
16.384GB RAM DDR3 1333MHz
EVGA nVidia GeForce GTX 560 Ti 2GB
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 217

PostPosted: Sun Mar 07, 2010 2:28 am    Post subject: Reply with quote

I spoke to Michał "spock" Januszewski over e-mail. spock suggested I try fbset -i. Here it is:

Code:
localhost drone4four # fbset -i
open /dev/fb0: No such file or directory
localhost drone4four # exit
exit
drone4four@localhost ~ $


spock responded and said that that output means I don't have an active framebuffer device. spock said that I needed to append a vga=XXX to my kernel command in my grub.conf.

Therefore, in my grub.conf, I changed this:

Code:
kernel /boot/kernel-genkernel-x86_64-2.6.30-gentoo-r4 root=/dev/ram0 real_root=/dev/sda5


to this:

Code:
kernel /boot/kernel-genkernel-x86_64-2.6.30-gentoo-r4 root=/dev/ram0 real_root=/dev/sda5 vga=0x318


spock referred me to kernel documentation for the vesafb at Documentation/fb/vesafb.txt  for information on how to use vesafb, for example, how to change the resolution of the framebuffer.

I rebooted Gentoo and presto, vesafb was running at 1024x768! However, I still got an error message when running the splash_manager command:

Code:
# splash_manager --theme=livecd-2007.0 --cmd=set --tty=2
/usr/bin/splash_manager: line 174: fbcondecor_ctl: command not found
/usr/bin/splash_manager: line 176: fbcondecor_ctl: command not found


So I Googled “/usr/bin/splash_manager: line 174: fbcondecor_ctl: command not found”
and discovered this as a resource. As suggested there, I added

Code:
media-gfx/splashutils fbcondecor fbcondecor_ctl


to the the contents of my /etc/portage/package.use file and then I ran

Code:
emerge --newuse -1v splashutils


Now

Code:
splash_manager --theme=livecd-2007.0 --cmd=set --tty=2


runs without a hitch.

Further, fbset -i now shows meaningful output:
Code:

localhost # fbset -i

mode "1024x768-76"
    # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
    geometry 1024 768 1024 768 32
    timings 12714 128 32 16 4 128 4
    rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
    Name        : VESA VGA
    Address     : 0xf5000000
    Size        : 6291456
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 0
    YPanStep    : 0
    YWrapStep   : 0
    LineLength  : 4096
    Accelerator : No
localhost  # exit
drone4four@localhost ~ $


spock said that if I wanted a framebuffer at a resolution at 1280 x 800 or 1920 x 1200 I should use the uvesafb driver in the Linux kernel. For more information on how to do that, there is this guide courtesy of spock and this Arch Linux resource. To install the uvesafb driver I'll have to compile a new genkernel. To do that I'll refer to the Gentoo Handbook.

edit: sp, formatting
edit: added 2 sentences on further resources for uvesafb
edit: grammar
_________________
Gigabyte GA-P45T-ES3G LGA 775 Intel P45
Intel Core 2 Quad Q9650 @ 3.0GHz
16.384GB RAM DDR3 1333MHz
EVGA nVidia GeForce GTX 560 Ti 2GB
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Mar 07, 2010 5:10 pm    Post subject: Reply with quote

Fine thank you for your update. :D At least I got the splash_manager to run.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
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