diff --git a/README.md b/README.md index cc4df57b9f930267b995dcef549d400ac3eaf9c1..9ea3f0aaf33b952e8e61f8c081f74d3fd47ac46a 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ This guide assumes a few things: 3. You are running a compatible NVIDIA GPU (any NVIDIA card that supports vGPU/IOMMU) 4. You have a virtual machine ready and working (Windows or otherwise). This is assuming you have `libvirtd` correctly running and the default network on autostart. +## Small notes (important) +- The display/consoles will not come back after VM shutdown unless the plymouth boot screen is enabled. This could be due to GPU utilization with EFI framebuffers on boot time, and also could be due to video parameters in grub. # Installation 1. Create any VM in QEMU/KVM Virt Manager diff --git a/prepare/begin/start.sh b/prepare/begin/start.sh index f4adc819f1d0250edb4012f020a4c26198d4d246..844037fbb9559caaee4631de27113a610c7ac971 100755 --- a/prepare/begin/start.sh +++ b/prepare/begin/start.sh @@ -7,11 +7,11 @@ systemctl stop display-manager systemctl --user -M joshr@ stop plasma* # Unbind VTconsoles: might not be needed -echo 0 > /sys/class/vtconsole/vtcon0/bind -echo 0 > /sys/class/vtconsole/vtcon1/bind +#echo 0 > /sys/class/vtconsole/vtcon0/bind +#echo 0 > /sys/class/vtconsole/vtcon1/bind # 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 # Avoid a Race condition by waiting 2 seconds. This can be calibrated to be shorter or longer sleep 5 diff --git a/release/end/stop.sh b/release/end/stop.sh index a5431128bfb8305cc05aaefb394f071abd8d2ecd..2577fc5f5ac76c55ad2a60c1b54eb8d5e645c57f 100755 --- a/release/end/stop.sh +++ b/release/end/stop.sh @@ -22,8 +22,8 @@ modprobe nvidia_uvm modprobe nvidia # Bind VTconsoles: might not be needed -echo 1 > /sys/class/vtconsole/vtcon0/bind -echo 1 > /sys/class/vtconsole/vtcon1/bind +#echo 1 > /sys/class/vtconsole/vtcon0/bind +#echo 1 > /sys/class/vtconsole/vtcon1/bind # Restart Display Manager systemctl start display-manager