[X2Go-Commits] [live-build-x2go] 01/108: this adds "earlyblankdpmxfix" as optional kernel parameter - due to modesetting, certain buggy TFTs turn black early in the boot process (even before X starts). This provides a workaround to un-blank them asap.

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:12:58 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit 5f67f9dd795904b92ce93376521a91d68dddf199
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jan 27 15:25:06 2018 +0100

    this adds "earlyblankdpmxfix" as optional kernel parameter - due to modesetting, certain buggy TFTs turn black early in the boot process (even before X starts).  This provides a workaround to un-blank them asap.
---
 .../lib/live/config/0000-earlyblankdpmsfix         | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
new file mode 100755
index 0000000..cd9245d
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/0000-earlyblankdpmsfix
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+EarlyBlankDPMSFix ()
+{
+
+# Output startup message
+#
+echo -n " earlyblankdpmsfix"
+
+# code to fix blank screen happening with DisplayPort and some buggy TFTs (even xset q reports "Monitor is on" even though it is pitch black)
+if grep -q '\W*earlyblankdpmsfix\W*' /proc/cmdline; then
+	(
+		while ! ( [ -d /sys/class/graphics ] && [ -c /dev/tty1 ] && [ -c /dev/vcs1 ] ) ; do
+			sleep 1
+		done
+		for FBDEVICE in /sys/class/graphics/fb[0-9]*; do
+			echo 1 > $FBDEVICE/blank
+			echo 0 > $FBDEVICE/blank
+		done
+	) &
+fi
+}
+
+EarlyBlankDPMSFix

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list