From ec038cdaa4e2b9a789ef1eac67ff952a53190457 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 30 Jun 2023 11:13:13 +0200 Subject: [PATCH] modprobe.d: Disable i915 --- install.sh | 1 + misc_etc_files/modprobe.d/disable-i915.conf | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 misc_etc_files/modprobe.d/disable-i915.conf diff --git a/install.sh b/install.sh index e529f2a..20fc226 100755 --- a/install.sh +++ b/install.sh @@ -266,6 +266,7 @@ install_data misc_systemd_units/ip6.service "$DESTDIR$systemdunitd install_data mxrouter/mxrouter.service "$DESTDIR$systemdunitdir/mxrouter.service" install_data misc_systemd_units/wait-network-online.service \ "$DESTDIR$systemdunitdir/wait-network-online.service" +install_data misc_etc_files/modprobe.d/disable-i915.conf "$DESTDIR$sysconfdir/modprobe.d/disable-i915.conf" postinstall exit diff --git a/misc_etc_files/modprobe.d/disable-i915.conf b/misc_etc_files/modprobe.d/disable-i915.conf new file mode 100644 index 0000000..288e833 --- /dev/null +++ b/misc_etc_files/modprobe.d/disable-i915.conf @@ -0,0 +1,11 @@ +# Disable autoloading of i915 driver so that the console output is +# not destroyed during boot for systems with the monitor on an nvidia card. +# Loading the i915 driver seems to disable the console output to the +# nvida card, possibly switching it to the intel card. +# +# When the console is free, we probe the driver manually, so we can use its other +# functionalities like audio. +# +# For yet unknown reasons, `blacklist i915` does not work so use `install i915 /bin/true` for now. + +install i915 /bin/true