Commit graph

27 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
Jools Wills
5c26f1c266 splashscreen - use existing RE with grep to simplify find 2016-08-10 02:12:38 +01:00
Jools Wills
4091533f46 splashscreen - don't use a variable for params (quoting issue) 2016-08-10 02:05:27 +01:00
Jools Wills
401236e66b splashscreen - cleanups 2016-08-10 01:46:38 +01:00
Jools Wills
09b4fc0792 splashscreen - added "-o both" to omplayer opts 2016-08-10 01:22:45 +01:00
Jools Wills
a89e923cd5 splashscreen - don't hardcode rootdir/datadir. 2016-05-14 19:04:31 +01:00
Jools Wills
d988d58e0a splashscreen - use extensions from splashscreen module in init.d script. add additional escaping of backslashes and pipes for sed in iniSet. 2016-05-14 18:44:04 +01:00
wetriner
1ad9bcdcc8 Changed from a directory search to file search.
Added Preview options for images and videos.
Restructured menus.
Added a randomizer.
2016-05-12 16:37:12 -10:00
Jools Wills
f13b3ea538 wait for dbus before starting omxplayer - hopefully fixes #1386 2016-05-10 04:29:52 +01:00
Jools Wills
76b7a181ca delete tmp file first 2016-01-09 23:56:30 +00:00
Jools Wills
7d64580896 avoid outputting some errors when waiting for /tmp to be become writable when using omxplayer on start 2016-01-09 23:51:16 +00:00
Jools Wills
ab26f7a8fd fix up asplashscreen executable permissions 2015-12-17 22:48:17 +00:00
Jools Wills
dd6e871d8f fix error in grep 2015-12-07 14:29:18 +00:00
HerbFargus
9f25078f80 Add audio options for those who want only music on boot 2015-12-02 17:43:15 -07:00
HerbFargus
67c2731583 Make omxplayer play over emulationstation (removes the need for the autostart delay)
thanks to Chito
http://blog.petrockblock.com/forums/topic/how-can-you-get-video-splash-screen-to-play-all-the-way-to-when-es-is-loaded/
2015-11-26 10:51:29 -07:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
86cad08353 start splash earlier, and wait for fs to be writable for video (required by omxplayer), but not for images 2015-08-10 01:57:06 +01:00
Jools Wills
5efe340df2 removed sleep from omxplayer and use dependency based boot for splashscreen
improve splashscreen processing - slideshow time depending on number of images. only show a video if the first line is a video/else do a slideshow.
2015-08-10 00:49:39 +01:00
Jools Wills
3dd4f970d5 asplashscreen quoting / remove need for variable 2015-08-09 17:28:36 +01:00
HerbFargus
8a667508a9 Add omxplayer video splashscreen
and fixed the update-rc.d to match the runlevel in asplashcreen
2015-08-08 16:05:50 -06:00
Jools Wills
5632fd6313 moved asplashscreen init.d script to scriptmodules/supplementary/splashscreen/asplashscreen 2015-06-16 18:10:53 +01:00