Commit dfea9b7f authored by Philip Müller's avatar Philip Müller

fix hybrid configs for nvidiafb and rivafb

parent 24253b6c
......@@ -2,7 +2,7 @@
NAME="video-hybrid-intel-nvidia-340xx-bumblebee"
INFO="Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA legacy driver & open source intel driver."
VERSION="2017.03.12"
VERSION="2018.02.22"
FREEDRIVER="false"
PRIORITY="7"
......@@ -64,6 +64,8 @@ post_install()
echo "blacklist nvidia" >> "${MODULESBLACKLIST}"
echo "blacklist nvidia-modeset" >> "${MODULESBLACKLIST}"
echo "blacklist nvidia-uvm" >> "${MODULESBLACKLIST}"
echo "blacklist nvidiafb" >> "${MODULESBLACKLIST}"
echo "blacklist rivafb" >> "${MODULESBLACKLIST}"
echo "blacklist ttm" >> "${MODULESBLACKLIST}"
echo "blacklist drm_kms_helper" >> "${MODULESBLACKLIST}"
echo "blacklist drm" >> "${MODULESBLACKLIST}"
......@@ -74,6 +76,8 @@ post_install()
rmmod -f nvidia
rmmod -f nvidia-modeset
rmmod -f nvidia-uvm
rmmod -f nvidiafb
rmmod -f rivafb
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
......
......@@ -65,10 +65,11 @@ post_install()
echo "blacklist nvidia" >> "${MODULESBLACKLIST}"
echo "blacklist nvidia-modeset" >> "${MODULESBLACKLIST}"
echo "blacklist nvidia-uvm" >> "${MODULESBLACKLIST}"
echo "blacklist nvidiafb" >> "${MODULESBLACKLIST}"
echo "blacklist rivafb" >> "${MODULESBLACKLIST}"
echo "blacklist ttm" >> "${MODULESBLACKLIST}"
echo "blacklist drm_kms_helper" >> "${MODULESBLACKLIST}"
echo "blacklist drm" >> "${MODULESBLACKLIST}"
echo "blacklist nvidiafb" >> "${MODULESBLACKLIST}"
# Unload modules if X is not running
if [ ! "$(pgrep X)" ]; then
......@@ -76,10 +77,11 @@ post_install()
rmmod -f nvidia
rmmod -f nvidia-modeset
rmmod -f nvidia-uvm
rmmod -f nvidiafb
rmmod -f rivafb
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
rmmod -f nvidiafb
fi
modprobe bbswitch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment