mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
splash: Stop blanking splash too early in RPi boot sequence
This commit is contained in:
parent
b4f3545fd7
commit
55fb6d6e74
@ -94,6 +94,5 @@ makeinstall_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
enable_service fbset.service
|
|
||||||
enable_service unbind-console.service
|
enable_service unbind-console.service
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Framebuffer setup
|
|
||||||
After=multi-user.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/sbin/fbset -g 1 1 1 1 32
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=graphical.target
|
|
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/xbmc/XBApplicationEx.cpp b/xbmc/XBApplicationEx.cpp
|
||||||
|
index f6fffd8..6eeacf6 100644
|
||||||
|
--- a/xbmc/XBApplicationEx.cpp
|
||||||
|
+++ b/xbmc/XBApplicationEx.cpp
|
||||||
|
@@ -85,6 +85,10 @@ INT CXBApplicationEx::Run()
|
||||||
|
unsigned int frameTime = 0;
|
||||||
|
const unsigned int noRenderFrameTime = 15; // Simulates ~66fps
|
||||||
|
|
||||||
|
+#ifdef TARGET_RASPBERRY_PI
|
||||||
|
+ system("/sbin/fbset -g 1 1 1 1 32");
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
// Run xbmc
|
||||||
|
while (!m_bStop)
|
||||||
|
{
|
Loading…
x
Reference in New Issue
Block a user