diff --git a/install.sh b/install.sh index 3474e8d..7dbcc4d 100755 --- a/install.sh +++ b/install.sh @@ -268,6 +268,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