From 0fd4f975c9faf13371dbb5d009188e20625f89e8 Mon Sep 17 00:00:00 2001 From: joshrandall8478 <joshrandall8478@gmail.com> Date: Sat, 29 Jun 2024 01:32:03 -0400 Subject: [PATCH] trying to see if these lines commented works --- prepare/begin/start.sh | 6 +++--- release/end/stop.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/prepare/begin/start.sh b/prepare/begin/start.sh index 844037f..327d2b7 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 2577fc5..3e5c82d 100755 --- a/release/end/stop.sh +++ b/release/end/stop.sh @@ -13,7 +13,7 @@ modprobe -r vfio-pci #modprobe amdgpu # Rebind framebuffer to host -echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind +#echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind # Load NVIDIA kernel modules modprobe nvidia_drm @@ -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 -- GitLab