Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Debug
- set -x
- # Rebind GPU
- virsh nodedev-reattach pci_0000_10_00_0
- virsh nodedev-reattach pci_0000_10_00_1
- # rebind VTconsoles
- echo 1 > /sys/class/vtconsole/vtcon0/bind
- # Read nvidia x config
- nvidia-xconfig --query-gpu-info > /dev/null 2>&1
- #Bind EFI-framebuffer
- echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind
- #load nvidia
- modprobe nvidia
- modprobe nvidia_modeset
- modprobe nvidia_drm
- # Restart Display Service
- systemctl start gdm3.service
Advertisement
Add Comment
Please, Sign In to add comment