You are not logged in.

#151 2008-07-23 04:15:47

ou3
Member
Registered: 2008-07-22
Posts: 12

Re: Arch Linux and Splashy, a big update

Everything works fine for me except during the shutdown splash.. I can see the image and progress bar, but they show up in ugly colors (only on shutdown).  This also happens to me with other distros that use splash screens.. the startup looks fine, but the shutdown is all jarbled.

Is there something I can do to fix this or is it unavoidable with my system (using an old radeon 9200 agp with 22" widescreen LCD)?


"Luck is the residue of design." — Branch Rickey

Offline

#152 2008-07-30 19:06:51

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: Arch Linux and Splashy, a big update

Black artifacts are still present for me after boot with splashy-stuff7.  I am starting X at boot without logging in, and I have tried both of the methods mentioned in the wiki (mingetty and inittab line) to try to work around the pixelation.  The workaround that allows me to auto login to X without a display manager is "/usr/bin/chvt 1; /usr/bin/chvt 3" at the top of .xinitrc.

The second issue I had is the one already described by SiD:

SiD wrote:

. . . tty1 shows the "The System is going down for reboot / system halt NOW!" message and a blinking cursor. . . .
But the system doesn't  shut down or reboot. . . .
To Turn off the computer I have to hold the power button. . . .

This only occurs when attempting to reboot/shutdown from X at vc/3 (with urxvt).  Switching to an empty virtual console before running the shutdown command works.  An efficient workaround for me is to use the following commands when aliasing or binding keys:

/usr/bin/chvt 1; /usr/bin/sudo /sbin/shutdown -r now
/usr/bin/chvt 1; /usr/bin/sudo /sbin/shutdown -h now

And for those to work, my preferred user needed permission to execute the chvt binary.  To do this, I created a new group "chvt," made my user a member of it, changed the owning group of the /usr/bin/chvt binary to "chvt," and set the setuid bit on the binary.  I then added the following line to /etc/sudoers:

%chvt ALL= NOPASSWD: /usr/bin/chvt

And there it is, everything is almost perfect: the system merely takes an extra second to boot up and shutdown.


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#153 2008-08-02 12:42:23

shydy
Member
Registered: 2008-06-20
Posts: 6

Re: Arch Linux and Splashy, a big update

For me splashy at the shutdown don't work and stop the shutdown progress. Only if I open terminal as root and write: "shutdown command-h now" the notebook goes off well and make me see also bootsplash closing splashy. Also when I press "alt F8" the notebook goes off and make me see bootsplash closing splashy, but whit a error message. Bye

Offline

#154 2008-08-05 06:45:54

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

After last directfb upgrade i get the following error when building kernel image with mkinitcpio.

:: Parsing hook [splashy]
ERROR: file '/usr/lib/libdirectfb-1.0.so.0' does not exist
ERROR: file '/usr/lib/libfusion-1.0.so.0' does not exist
ERROR: file '/usr/lib/libdirect-1.0.so.0' does not exist
ERROR: file '/lib/libz.so.1' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/wm/libdirectfbwm_default.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/systems/libdirectfb_fbdev.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/inputdrivers/libdirectfb_keyboard.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/interfaces/IDirectFBFont/libidirectfbfont_default.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so' does not exist
ERROR: file '/usr/lib/directfb-1.0-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so' does not exist

Any solution?

Offline

#155 2008-08-05 11:58:20

jimmy512
Member
From: London
Registered: 2008-05-25
Posts: 16

Re: Arch Linux and Splashy, a big update

Yeah, I got those errors too, and tried symlinking stuff, but it broke my boot up - so don't do it. Anyone got any ideas?

Offline

#156 2008-08-05 12:12:05

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,221
Website

Re: Arch Linux and Splashy, a big update

It is because the file paths have changed. Correct the file paths in /lib/initcpio/install/splashy

Edit:

Actually it is only filenames that have changed. /usr/libdirectfb-1.0.so.0 is now /usr/lib/libdirectfb-1.2.so.0 correct them and I'm sure it will work.

Last edited by Ashren (2008-08-05 12:16:27)

Offline

#157 2008-08-05 12:22:06

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,221
Website

Re: Arch Linux and Splashy, a big update

This is how the new /lib/initcpio/install/splashy should look:

# vim: set ft=sh:
install() {
    [ -x /sbin/splashy ] || return 1

    THEMES_DIR="$(splashy_config --get-key /splashy/themes 2> /dev/null)"
    CURRENT_THEME="$(splashy_config --get-key /splashy/current_theme 2> /dev/null)"

    add_binary "/sbin/splashy"
    add_file "/sbin/splashy_chvt"
    add_file "/etc/splashy/config.xml"
    add_full_dir "${THEMES_DIR}/${CURRENT_THEME}"

    #shared libraries needed by splashy
    add_file "/usr/lib/libsplashycnf.so.1"
    add_file "/usr/lib/libsplashy.so.1"
    add_file "/usr/lib/libglib-2.0.so.0"
    add_file "/usr/lib/libdirectfb-1.2.so.0"
    add_file "/usr/lib/libfusion-1.2.so.0"
    add_file "/usr/lib/libdirect-1.2.so.0"
    add_file "/usr/lib/libpng12.so.0"
    add_file "/usr/lib/libjpeg.so.62"
    add_file "/usr/lib/libfreetype.so.6"
    add_file "/lib/libm.so.6"
    add_file "/lib/libpthread.so.0"
    add_file "/usr/lib/libz.so.1"
    add_file "/lib/libdl.so.2"
    add_file "/lib/libc.so.6"
    add_file "/lib/libpcre.so.0"
    add_file "/lib/libsysfs.so.2"
    add_file "/usr/lib/directfb-1.2-0/wm/libdirectfbwm_default.so"
    add_file "/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so"
    add_file "/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_keyboard.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_default.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so"

    if [ $(arch) = "x86_64" ]; then
        add_file "/lib/ld-linux-x86-64.so.2"
    else
        add_file "/lib/ld-linux.so.2"
    fi

    SCRIPT="splashy"
}

help() {
echo "This hook includes Splashy in the initramfs image."
}

#EOF

Offline

#158 2008-08-05 12:26:11

chimeric
Member
From: Munich, Germany
Registered: 2007-10-07
Posts: 254
Website

Re: Arch Linux and Splashy, a big update

SiD wrote:

On reboot or halt (executed from an X-Term) vc/1 is shown with "The System is going down for reboot / system halt NOW!" and the system freezes! I have to use the power button...

I am experiencing the same issue. Otherwise everything else is working fine, thx from me for this as well!

Last edited by chimeric (2008-08-05 12:26:22)

Offline

#159 2008-08-05 15:11:28

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

Ashren wrote:

This is how the new /lib/initcpio/install/splashy should look:

# vim: set ft=sh:
install() {
    [ -x /sbin/splashy ] || return 1

    THEMES_DIR="$(splashy_config --get-key /splashy/themes 2> /dev/null)"
    CURRENT_THEME="$(splashy_config --get-key /splashy/current_theme 2> /dev/null)"

    add_binary "/sbin/splashy"
    add_file "/sbin/splashy_chvt"
    add_file "/etc/splashy/config.xml"
    add_full_dir "${THEMES_DIR}/${CURRENT_THEME}"

    #shared libraries needed by splashy
    add_file "/usr/lib/libsplashycnf.so.1"
    add_file "/usr/lib/libsplashy.so.1"
    add_file "/usr/lib/libglib-2.0.so.0"
    add_file "/usr/lib/libdirectfb-1.2.so.0"
    add_file "/usr/lib/libfusion-1.2.so.0"
    add_file "/usr/lib/libdirect-1.2.so.0"
    add_file "/usr/lib/libpng12.so.0"
    add_file "/usr/lib/libjpeg.so.62"
    add_file "/usr/lib/libfreetype.so.6"
    add_file "/lib/libm.so.6"
    add_file "/lib/libpthread.so.0"
    add_file "/usr/lib/libz.so.1"
    add_file "/lib/libdl.so.2"
    add_file "/lib/libc.so.6"
    add_file "/lib/libpcre.so.0"
    add_file "/lib/libsysfs.so.2"
    add_file "/usr/lib/directfb-1.2-0/wm/libdirectfbwm_default.so"
    add_file "/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so"
    add_file "/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_keyboard.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_default.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so"

    if [ $(arch) = "x86_64" ]; then
        add_file "/lib/ld-linux-x86-64.so.2"
    else
        add_file "/lib/ld-linux.so.2"
    fi

    SCRIPT="splashy"
}

help() {
echo "This hook includes Splashy in the initramfs image."
}

#EOF

Doesn't seem to work. I still get following error during boot:

splashy: error while loading shared libraries: libdirectfb-1.0.so.0: cannot open shared object file: No such file or directory

The only difference is that i can mkinitcpio without any errors.

Offline

#160 2008-08-05 17:13:28

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Arch Linux and Splashy, a big update

The binary was compiled with older libraries..so are you using the binary?


I need real, proper pen and paper for this.

Offline

#161 2008-08-05 17:25:45

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

schivmeister wrote:

The binary was compiled with older libraries..so are you using the binary?

Now i recompiled splashy and changed the file splashy.initcpio_install to the one posted above. Now when i try splashy test i get

Splashy ERROR: libsplashy: Framebuffer is not configured properly please see http://tinyurl.com/339h67
Splashy ERROR: Couldn't splashy_start_splashy(). Error -2

Is there anything else i should change/recompile to make splashy work again?

EDIT: I've forgot to rebuild my kernel image with mkinitcpio tongue Now everything works. Thanks for help:)

Last edited by hash (2008-08-05 18:25:45)

Offline

#162 2008-08-07 21:03:18

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Arch Linux and Splashy, a big update

Is there any news here, it is not working for me.

Offline

#163 2008-08-08 11:26:15

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

mini wrote:

Is there any news here, it is not working for me.

Here is what i did to make it work.

1. Downloaded and extracted http://slexiw.netsons.org/files/splashy-stuff7.tar.gz and removed md5sums from PKGBUILD
2. Opened splashy.initcpio_install and changed it so it looks like this:

# vim: set ft=sh:
install() {
    [ -x /sbin/splashy ] || return 1

    THEMES_DIR="$(splashy_config --get-key /splashy/themes 2> /dev/null)"
    CURRENT_THEME="$(splashy_config --get-key /splashy/current_theme 2> /dev/null)"

    add_binary "/sbin/splashy"
    add_file "/sbin/splashy_chvt"
    add_file "/etc/splashy/config.xml"
    add_full_dir "${THEMES_DIR}/${CURRENT_THEME}"

    #shared libraries needed by splashy
    add_file "/usr/lib/libsplashycnf.so.1"
    add_file "/usr/lib/libsplashy.so.1"
    add_file "/usr/lib/libglib-2.0.so.0"
    add_file "/usr/lib/libdirectfb-1.2.so.0"
    add_file "/usr/lib/libfusion-1.2.so.0"
    add_file "/usr/lib/libdirect-1.2.so.0"
    add_file "/usr/lib/libpng12.so.0"
    add_file "/usr/lib/libjpeg.so.62"
    add_file "/usr/lib/libfreetype.so.6"
    add_file "/lib/libm.so.6"
    add_file "/lib/libpthread.so.0"
    add_file "/usr/lib/libz.so.1"
    add_file "/lib/libdl.so.2"
    add_file "/lib/libc.so.6"
    add_file "/lib/libpcre.so.0"
    add_file "/lib/libsysfs.so.2"
    add_file "/usr/lib/directfb-1.2-0/wm/libdirectfbwm_default.so"
    add_file "/usr/lib/directfb-1.2-0/systems/libdirectfb_fbdev.so"
    add_file "/usr/lib/directfb-1.2-0/inputdrivers/libdirectfb_keyboard.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBFont/libidirectfbfont_default.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so"
    add_file "/usr/lib/directfb-1.2-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so"

    if [ $(arch) = "x86_64" ]; then
        add_file "/lib/ld-linux-x86-64.so.2"
    else
        add_file "/lib/ld-linux.so.2"
    fi

    SCRIPT="splashy"
}

help() {
echo "This hook includes Splashy in the initramfs image."
}

#EOF

3. Did makepkg, pacman -U and then mkinitcpio -p kernel26 (don't forget to change your theme before mkinitcpio)
4. Splashy works again!;)

Last edited by hash (2008-08-20 10:55:10)

Offline

#164 2008-08-08 17:58:16

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Arch Linux and Splashy, a big update

I have got an error

$ makepkg
==> Making package: splashy 0.3.10-1 i686 (pią, 8 sie 2008, 19:54:34 CEST)
==> Checking Runtime Dependencies...                                     
==> Checking Buildtime Dependencies...                                   
==> Retrieving Sources...                                                 
  -> Downloading splashy-0.3.10.tar.gz...                                 
--2008-08-08 19:54:34--  http://alioth.debian.org/frs/download.p … .10.tar.gz
Resolving alioth.debian.org... 217.196.43.134                                               
Connecting to alioth.debian.org|217.196.43.134|:80... connected.                             
HTTP request sent, awaiting response... 200 OK                                               
Length: 1605073 (1,5M) [application/binary]                                                 
Saving to: `splashy-0.3.10.tar.gz.part'

100%[=====================================================================================>] 1.605.073    155K/s   in 11s

2008-08-08 19:54:45 (148 KB/s) - `splashy-0.3.10.tar.gz.part' saved [1605073/1605073]

  -> Found splashy.initcpio_install in build dir
  -> Found splashy.initcpio_hook in build dir
  -> Found splashy-functions in build dir
==> Validating source files with md5sums...
    splashy-0.3.10.tar.gz ... Passed
    splashy.initcpio_install ... FAILED
    splashy.initcpio_hook ... Passed
    splashy-functions ... Passed
==> ERROR: One or more files did not pass the validity check!

Offline

#165 2008-08-08 18:00:11

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

mini wrote:

I have got an error

$ makepkg
==> Making package: splashy 0.3.10-1 i686 (pią, 8 sie 2008, 19:54:34 CEST)
==> Checking Runtime Dependencies...                                     
==> Checking Buildtime Dependencies...                                   
==> Retrieving Sources...                                                 
  -> Downloading splashy-0.3.10.tar.gz...                                 
--2008-08-08 19:54:34--  http://alioth.debian.org/frs/download.p … .10.tar.gz
Resolving alioth.debian.org... 217.196.43.134                                               
Connecting to alioth.debian.org|217.196.43.134|:80... connected.                             
HTTP request sent, awaiting response... 200 OK                                               
Length: 1605073 (1,5M) [application/binary]                                                 
Saving to: `splashy-0.3.10.tar.gz.part'

100%[=====================================================================================>] 1.605.073    155K/s   in 11s

2008-08-08 19:54:45 (148 KB/s) - `splashy-0.3.10.tar.gz.part' saved [1605073/1605073]

  -> Found splashy.initcpio_install in build dir
  -> Found splashy.initcpio_hook in build dir
  -> Found splashy-functions in build dir
==> Validating source files with md5sums...
    splashy-0.3.10.tar.gz ... Passed
    splashy.initcpio_install ... FAILED
    splashy.initcpio_hook ... Passed
    splashy-functions ... Passed
==> ERROR: One or more files did not pass the validity check!

Forgot to mention:P Remove the md5sums from pkgbuild tongue

Offline

#166 2008-08-08 18:31:50

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Arch Linux and Splashy, a big update

@hash,
Thank you for your help, it is working now.

Offline

#167 2008-08-11 18:45:53

esperanto
Member
From: Buffalo, NY
Registered: 2008-07-26
Posts: 7

Re: Arch Linux and Splashy, a big update

Is splashy running slow/laggy for anyone else under the new stable kernel (2.6.26-2)?


"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines."

--Ralph Waldo Emerson

Offline

#168 2008-08-11 19:36:24

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 109

Re: Arch Linux and Splashy, a big update

esperanto wrote:

Is splashy running slow/laggy for anyone else under the new stable kernel (2.6.26-2)?

For me there is no difference between old and the new kernel.

Offline

#169 2008-08-12 17:04:56

esperanto
Member
From: Buffalo, NY
Registered: 2008-07-26
Posts: 7

Re: Arch Linux and Splashy, a big update

It's probably not Splashy, but I'm going to disable it and test it out... could be a hardware/config problem.


"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines."

--Ralph Waldo Emerson

Offline

#170 2008-08-15 17:43:04

fettouhi
Member
Registered: 2007-05-07
Posts: 630

Re: Arch Linux and Splashy, a big update

New initscripts is out. Is there an update coming for initscripts-splash?

Regards

André

Offline

#171 2008-08-16 13:04:57

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Arch Linux and Splashy, a big update

+1 Support splashy on arch vote roll

Offline

#172 2008-08-20 10:51:39

tachy
Member
From: Denmark
Registered: 2008-07-24
Posts: 24

Re: Arch Linux and Splashy, a big update

Ok, I finally got this thing to work.

Critical things that needs fixing:
1) See hash's post.
2) Switching to tty8 on shutdown. I do this using small alternate scripts for shutdown and reboot (remember to modify /etc/acpi/handler.sh).

Example shutdown command (idea taken from abstracity):

chvt 8; shutdown -h now

Offline

#173 2008-08-20 14:20:53

Arkane
Member
From: Switzerland
Registered: 2008-02-18
Posts: 263

Re: Arch Linux and Splashy, a big update

Just tried this, works perfectly with the suggestions above.

Fallback to the default theme won't work though, because its directory isn't added to the ramdisk. You should add

DEFAULT_THEME="$(splashy_config --get-key /splashy/default_theme 2> /dev/null)"
add_full_dir "${THEMES_DIR}/${DEFAULT_THEME}"

to splashy.initcpio_install.

Last edited by Arkane (2008-08-20 14:21:11)


What does not kill you will hurt a lot.

Offline

#174 2008-08-24 20:08:07

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Arch Linux and Splashy, a big update

Well here's another repo for working/latest splashy:

[chakra-playground]
Server = http://mikko.likbilen.com/chakra-playground/i686

Use pacman -Sl chakra-playground to list contents.

Now if I/We could get rid of initscripts-splash and sysvinit-mod packages, that would rock.

EDIT: updated URL.

Last edited by Mikko777 (2008-09-01 10:53:27)

Offline

#175 2008-09-05 20:10:49

georgia_tech_swagger
Member
From: Upstate, SC
Registered: 2008-07-02
Posts: 138
Website

Re: Arch Linux and Splashy, a big update

I pushed some of this stuff to AUR in the hopes of getting it back into community.   I adopted the orphaned splashy package.   It now works out of AUR:

- splashy:  http://aur.archlinux.org/packages.php?ID=10211

- splash-themes:  http://aur.archlinux.org/packages.php?ID=19626

- initscripts-splashy:  http://aur.archlinux.org/packages.php?ID=19624


I also updated the appauling out of date wiki page on Splashy.

http://wiki.archlinux.org/index.php/Splashy

Last edited by georgia_tech_swagger (2008-09-05 20:16:54)


Res Publica Non Dominetur

Laptop:  Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop:  Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX

Offline

Board footer

Powered by FluxBB