Skip to content

Commit

Permalink
modprobe.d: Disable i915
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jul 4, 2023
1 parent 0e9b804 commit ec038cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions misc_etc_files/modprobe.d/disable-i915.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ec038cd

Please sign in to comment.