summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-13 22:27:11 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-13 22:27:11 +0000
commit736655074c4bb84be9c0f1e659b275cab3e755a1 (patch)
tree9e5dc1cb1b04ffe1c0f05d81e0ab95c39780ca35
parent40ae2f9c8ee83c6bd44321ea5fe80314ed52a2a5 (diff)
downloaddraklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.gz
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.bz2
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.xz
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.zip
Add a boot option to delete the xorg.conf file
Users report this is needed to get the nouveau driver to work with some graphics cards.
-rw-r--r--config/live.cfg3
-rwxr-xr-xfiles/10no-xorg-conf.xsetup6
2 files changed, 9 insertions, 0 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 1cae9aa..079332e 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -40,6 +40,9 @@ my $_l = {
# disable Wayland when we know it won't work (workaround for mga#20079)
[ 'files/50gdm-disable-wayland.xsetup', '/etc/X11/xsetup.d/50gdm-disable-wayland.xsetup', { mode => 0755 } ],
),
+ # provide a noxorgconf boot command option to try to fix issues with nouveau driver on some hardware
+ [ 'files/10-no-xorg-conf.xsetup', '/etc/X11/xsetup.d/10-no-xorg-conf.xsetup', { mode => 0755 } ],
+
# blacklist pata_acpi
[ 'files/blacklist_ide.conf', '/etc/modprobe.d/blacklist_ide.conf', { mode => 0644 } ],
diff --git a/files/10no-xorg-conf.xsetup b/files/10no-xorg-conf.xsetup
new file mode 100755
index 0000000..bb5b289
--- /dev/null
+++ b/files/10no-xorg-conf.xsetup
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# delete xorg.conf if the user asks us to.
+if /bin/grep -q noxorgconf /proc/cmdline; then
+ rm /etc/X11/xorg.conf
+fi