mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
Merge pull request #412 from MilhouseVH/fbset_fix
splash: Stop blanking splash too early in RPi boot sequence (RFC)
This commit is contained in:
commit
9077103550
@ -94,6 +94,5 @@ makeinstall_target() {
|
||||
}
|
||||
|
||||
post_install() {
|
||||
enable_service fbset.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