ayufan / steam-deck-tools

(Windows) Steam Deck Tools - Fan, Overlay, Power Control and Steam Controller for Windows
https://steam-deck-tools.ayufan.dev
Other
937 stars 67 forks source link

Bug: Changing refresh rate by Game profile cause black screen with non-Steam game on Steam #80

Open 618116 opened 1 year ago

618116 commented 1 year ago

It happens on 0.6.14, and not happens 0.6.12(I had passed 0.6.13).

When non-Steam game is launched or closed via Steam Client, and it have Game profile with different refresh rate to Desktop(45Hz for game, 60Hz for Desktop for example), screen turns black and nothing shows. Black Screen might not happen when launching, but always happens when closing the game.

Audio and control still works on black screen. Reset shortcut of Power Control app did not help.

I am not sure it might happens with Steam game. Non-Steam game outside Steam client seems okay.

ayufan commented 1 year ago

Will check. There's some flakiness in refresh rate changes unfortunately.

yuusharo commented 1 year ago

I've noticed when I choose "save all" for a custom profile, one of the values it saves is an illegal resolution of 160x256. When a game runs with that value in its profile, if you tab out of the game and tab back in or if you exit the game, the screen will go black and will not return without a forced reboot.

The workaround is to edit the profile to remove the line: Resolution=160x256

baldsealion commented 1 year ago

a more permanent work-around is just deleting those resolutions in Custom Resolution Utility.

image