--- Begin Message ---
Automatic actions taken before xinit:
- Disable glx and glamoregl
- Replace driver modesetting by fbdevfix Xorg configuration

Signed-off-by: Maximilian Hill <mh...@inett.de>
---
 unconfigured.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/unconfigured.sh b/unconfigured.sh
index 5123c96..6b22733 100755
--- a/unconfigured.sh
+++ b/unconfigured.sh
@@ -201,6 +201,12 @@ chronyd || echo "starting chrony failed ($?)"
 echo "Starting a root shell on tty3."
 setsid /sbin/agetty -a root --noclear tty3 &
 
+echo "Patch Xorg Configuration"
+Xorg -configure
+sed -i -re 
"s/^(\s+)Load(\s+)\"glx\"/\1Disable\2\"glx\"\n\1Disable\2\"glamoregl\"\n/g" 
xorg.conf.new
+sed -i -re 's/^(\s+Driver\s+)"modesetting"/\1"fbdev"/g' xorg.conf.new
+cp xorg.conf.new /etc/X11/xorg.conf
+
 echo "Starting the installer GUI - see tty2 (CTRL+ALT+F2) for any errors..."
 xinit -- -dpi "$DPI" >/dev/tty2 2>&1
 
-- 
2.35.3

Attachment: signature.asc
Description: PGP signature


--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to