Add nouveau support

This commit is contained in:
RisingPrism 2020-12-23 20:49:15 -05:00
parent 6ab0440331
commit 427c5bdd55

View File

@ -66,7 +66,7 @@ if test -e "/tmp/vfio-is-nvidia" ; then
rm -f /tmp/vfio-is-nvidia
fi
if lsmod | grep "nvidia" &> /dev/null ; then
if lsmod | grep "nvidia" &> /dev/null || lsmod | grep "nouveau" &> /dev/null ; then
echo "true" >> /tmp/vfio-is-nvidia
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
fi