From 736655074c4bb84be9c0f1e659b275cab3e755a1 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 13 Feb 2017 22:27:11 +0000 Subject: 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. --- config/live.cfg | 3 +++ files/10no-xorg-conf.xsetup | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100755 files/10no-xorg-conf.xsetup 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 -- cgit v1.2.1