fix vmrdp

master
Cole Deck 4 years ago
parent 8f3a47a2cc
commit 4003cd72f6

@ -41,11 +41,11 @@ echo "VM is off"
echo "Freeing up memory"
echo 0 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo "Unbinding from vfio-pci"
unbinddev 0000:01:00.0
unbinddev 0000:01:00.0 0000:01:00.1 0000:01:00.2 0000:01:00.3
sleep 1
echo "Enabling GPU power management"
#sudo modprobe nvidia NVreg_DynamicPowerManagement=0x02
sudo sh -c 'echo "OFF" > /proc/acpi/bbswitch'
#sudo sh -c 'echo "OFF" > /proc/acpi/bbswitch'
sleep 2
#sudo systemctl start bumblebeed
sudo systemctl stop smb nmb

Loading…
Cancel
Save