Skip to content
Snippets Groups Projects
Commit fd7ebdf4 authored by joshrandall8478's avatar joshrandall8478
Browse files

modified readme and scripts

parent 338d3a29
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment