mirror of
https://gitlab.com/risingprismtv/single-gpu-passthrough.git
synced 2025-09-13 15:43:05 +00:00
Add nouveau support
This commit is contained in:
parent
6ab0440331
commit
427c5bdd55
@ -66,7 +66,7 @@ if test -e "/tmp/vfio-is-nvidia" ; then
|
|||||||
rm -f /tmp/vfio-is-nvidia
|
rm -f /tmp/vfio-is-nvidia
|
||||||
fi
|
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 "true" >> /tmp/vfio-is-nvidia
|
||||||
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
|
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user