From f4a2325bdf358df2ff3c77b7970e99021b7d25c3 Mon Sep 17 00:00:00 2001 From: liucreator Date: Wed, 16 Mar 2022 10:08:12 -0600 Subject: [PATCH] fixed teardown.sh --- libvirt-nvidia-hooks/vfio-teardown.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/libvirt-nvidia-hooks/vfio-teardown.sh b/libvirt-nvidia-hooks/vfio-teardown.sh index f678309..86be6fa 100644 --- a/libvirt-nvidia-hooks/vfio-teardown.sh +++ b/libvirt-nvidia-hooks/vfio-teardown.sh @@ -14,15 +14,14 @@ echo 1 > /etc/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/bind -modprobe nvidia -modprobe nvidia_modeset -modprobe nvidia_uvm -modprobe nvidia_drm -modprobe drm_kms_helper -modprobe i2c_nvidia_gpu -modprobe drm - -modprobe +modprobe nvidia +modprobe nvidia_modeset +modprobe nvidia_uvm +modprobe nvidia_drm +modprobe drm_kms_helper +modprobe i2c_nvidia_gpu +modprobe drm + sleep 10 systemctl start your-display-manager \ No newline at end of file