From aacc9d87fe26af093543b936ef434a8c5983a8a9 Mon Sep 17 00:00:00 2001 From: RisingPrism Date: Sun, 4 Oct 2020 11:34:34 -0400 Subject: [PATCH] Uncomment framebuffer --- polaris-vfio-startup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/polaris-vfio-startup.sh b/polaris-vfio-startup.sh index 33ee73e..5cd2197 100755 --- a/polaris-vfio-startup.sh +++ b/polaris-vfio-startup.sh @@ -49,12 +49,12 @@ if test -e "/sys/class/vtconsole/vtcon1/bind" ; then fi #Unbind EFI-Framebuffer if currently bound -# if test -e "/sys/bus/platform/drivers/efi-framebuffer/unbind" ; then -# echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind -# sleep "${medium_delay}" -# else -# echo "Could not find framebuffer to unload!" -# fi +if test -e "/sys/bus/platform/drivers/efi-framebuffer/unbind" ; then + echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind + sleep "${medium_delay}" +else + echo "Could not find framebuffer to unload!" +fi # Unload loaded GPU drivers if test -e "/tmp/vfio-loaded-gpu-modules" ; then