From c267cbe82e7dbae8844b1fccee01d702028cb0da Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 13 Mar 2024 12:14:43 -0700 Subject: [PATCH] fix(nvidia): Always reboot at the end of bazzite-hardware-setup, potentially fixes frozen screen that makes kargs appear to take an infinite amount of time. NVK soon? I want off Mr. Nvidia's wild ride. --- .../desktop/shared/usr/libexec/bazzite-hardware-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup index a06859af27..6de2ff35a5 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup @@ -274,3 +274,8 @@ echo $IMAGE_NAME > $KNOWN_IMAGE_NAME_FILE echo $IMAGE_FLAVOR > $KNOWN_IMAGE_FLAVOR_FILE echo $FEDORA_VERSION > $KNOWN_FEDORA_VERSION_FILE echo $IMAGE_BRANCH > $KNOWN_IMAGE_BRANCH_FILE + +if [[ $IMAGE_FLAVOR =~ "nvidia" ]]; then + echo "Nvidia image detected, rebooting to avoid screen freeze issue in 550." + systemctl reboot +fi \ No newline at end of file