From 2fa0e15b520b4df4ad303c071cd24e45d8fc9467 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 3 Sep 2023 19:52:40 -0700 Subject: [PATCH] fix(deck): Remove Deck TDP control udev rules if deck hardware isn't detected to avoid running into 15W limit from Steam --- system_files/desktop/shared/usr/bin/bazzite-hardware-setup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup index 0ca68e57..ff6720c8 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup @@ -50,8 +50,12 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then if [[ ! $KARGS =~ "initcall_blacklist" ]]; then NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init" fi +elif [[ $IMAGE_NAME =~ "deck" ]]; then + echo "Non-deck hardware detected on deck image, removing TDP controls for Steam to avoid 15W limit." + rm -f /etc/udev/rules.d/30-steamdeck.rules fi +# NVIDIA KERNEL ARGUMENTS if [[ $IMAGE_NAME =~ "nvidia" ]]; then echo "Checking for needed karg changes (Nvidia)"