Commit graph

7 commits

Author SHA1 Message Date
cmitu
93f1fa9d2c splashscreen: fix VLC missing HDMI port detection
VLC's MMAL video output doesn't detect which HDMI port is connected, as `omxplayer` did beforehand.
This results in a black screen instead of a splash video/image on a Pi4 where the display is connected to the 2nd HDMI port. Use `tvservice` when the MMAL video output is used to detect the connected screen and pass it on to `vlc`.

Since we're using just the Bourne shell, had to use `case` for wildcard comparison.
Do note that `CMD_OPTS` is modified during the installation of splashscreen, so it's not 100% guaranteed to stay empty.
2024-11-16 19:35:18 +00:00
Jools Wills
9444f1d603 splashscreen - remove unused is_fkms function 2024-09-24 21:14:29 +01:00
Jools Wills
2db3e3a904 splashscreen - switch to vlc instead of omxiv / omxplayer
omxiv / omxplayer only works on the Raspberry Pi legacy and fkms drivers.

This change switches to vlc for both utilities, as it supports mmal output on the Raspberry Pi legacy drivers, and drm output on KMS on Raspberry Pi OS (bullseye).

Remove dependencies for omxplayer / omxiv / insserv

Switch code to use vlc.

Run asplashscreen as $user (not root).

Remove wait for dbus (no longer needed)

Save vlc pid and Exit vlc before launching emulationstation on KMS

Pin vlc version on Buster to version from archive.raspberrypi.org to stop it being overwritten with the vanilla Debian security release.

Enable on 64bit Raspberry Pi OS
2024-09-24 21:14:22 +01:00
cmitu
444cb250c5 splashcreen: increase the DispmanX layer
EmulationStation, when using the RPI videodrivers, displays at layer 10000.
Increased the layer index for video/images in order to run above EmulationStation.
2023-03-30 18:03:19 +01:00
cmitu
c0162d6628 splashscreen: add a separate configuration file and user configured duration 2020-03-22 18:47:20 +00:00
cmitu
40330280c4 splashscreen: added KMS/RPI4 support (2) 2020-02-04 18:07:18 +00:00
Conn O'Griofa
60d6cce0d7 splashscreen: convert to systemd service
* Switch to systemd service to allow finer control of start sequence
* Add insserv to depends (not installed in Raspbian stretch lite image).
2017-10-05 15:09:44 +01:00
Renamed from scriptmodules/supplementary/splashscreen/asplashscreen (Browse further)