sonic2kk / steamtinkerlaunch

Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs
GNU General Public License v3.0
2.1k stars 70 forks source link

Steam Deck: Force-enable DXVK_HDR=1 on Steam Deck Game Mode #983

Closed sonic2kk closed 8 months ago

sonic2kk commented 9 months ago

This issue was found in #981.

Fixes HDR not working for Steam Deck OLED display, and other HDR displays attached to the Steam Deck in Game Mode, by overriding the DXVK_HDR environment variable to be true. Valve must do this internally for Steam Deck OLED.

Steam Deck Desktop Mode and Desktop Linux are unaffected. This should also not impact LCD Steam Decks. This issue has likely been present for all HDR-connected displays for Steam Deck since support was added, but was just caught now.

I will merge this once I have my Steam Deck OLED to test on, and ensure there are no regressions between the LCD and OLED models.

sonic2kk commented 8 months ago

This is likely fine to merge as-is. Bumped the version with the merge commit, will run a quick shellcheck and merge if good. Steam Deck OLED took too long to arrive and not sure I want to bother putting STL on it.