mirror of
https://gitlab.com/risingprismtv/single-gpu-passthrough.git
synced 2024-12-22 21:55:21 +00:00
Minor tweaks
This commit is contained in:
parent
9daf3bae9c
commit
fa692f9ee6
@ -2,24 +2,20 @@
|
|||||||
# Helpful to read output when debugging
|
# Helpful to read output when debugging
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# Stop display manager
|
# Stop display manager (KDE specific)
|
||||||
#systemctl stop x11vnc.service
|
|
||||||
systemctl stop sddm.service
|
systemctl stop sddm.service
|
||||||
|
|
||||||
# Unbind VTconsoles
|
# Unbind VTconsoles
|
||||||
echo 0 > /sys/class/vtconsole/vtcon0/bind
|
echo 0 > /sys/class/vtconsole/vtcon0/bind
|
||||||
#echo 0 > /sys/class/vtconsole/vtcon1/bind
|
|
||||||
|
|
||||||
|
|
||||||
# Unbind EFI-Framebuffer
|
# Unbind EFI-Framebuffer
|
||||||
#echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
|
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
# Unload AMD drivers
|
# Unload AMD drivers
|
||||||
modprobe -r amdgpu
|
modprobe -r amdgpu
|
||||||
|
|
||||||
|
|
||||||
# Unbind the GPU from display driver
|
# Unbind the GPU from display driver
|
||||||
virsh nodedev-detach pci_0000_01_00_0
|
virsh nodedev-detach pci_0000_01_00_0
|
||||||
virsh nodedev-detach pci_0000_01_00_1
|
virsh nodedev-detach pci_0000_01_00_1
|
||||||
|
Loading…
Reference in New Issue
Block a user