Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -x
- modprobe -r vfio-pci
- virsh nodedev-reattach pci_0000_06_00_0
- virsh nodedev-reattach pci_0000_06_00_1
- virsh nodedev-reattach pci_0000_06_00_2
- virsh nodedev-reattach pci_0000_06_00_3
- echo 1 > /sys/class/vtconsole/vtcon0/bind
- echo 1 > /sys/class/vtconsole/vtcon1/bind
- nvidia-xconfig --query-gpu-info > /dev/null 2>&1
- echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind
- modprobe nvidia
- modprobe nvidia_modeset
- modprobe nvidia_uvm
- modprobe nvidia_drm
- modprobe nvidia_drm_kms_helper
- modprobe i2c_nvidia_gpu
- modprobe drm
- systemctl start sddm.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement