Skip to content

Commit

Permalink
fix(deck): Remove Deck TDP control udev rules if deck hardware isn't …
Browse files Browse the repository at this point in the history
…detected to avoid running into 15W limit from Steam
  • Loading branch information
KyleGospo committed Sep 4, 2023
1 parent 59d2022 commit 2fa0e15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand Down

0 comments on commit 2fa0e15

Please sign in to comment.