Closed MNarath1 closed 2 months ago
It's due to the cage launcher. I tried to document my troubleshooting steps here -
TLDR - cage launcher uses wlrandr to display Waydroid and once you exiit Waydroid using the STEAM menu the display is "stuck" and needs to be "reset".
I'm trying to figure out how to integrate the fix into the script but im not getting consistent results.
I plan to just add another Game Mode shortcut that "resets" the display - this needs to be run manually after exiting Waydroid. Not ideal but thats my last resort if i still cant figure it out.
there is a decky plugin that can run scripts after stopping a game but last time i used it that function worked less than reliable.
i've updated the script and it seems to have fixed the display environment variable issue. i cant replicate the issue now - firefox / flatpaks works after exiting waydroid.
I don't quite understand why but when waydroid runs it will erase the Display env variable and cause programs like Firefox or Flatseal to not be able to run until you restart the Deck in the logs you will get
steamdeck plasmashell[24803]: Error: no DISPLAY environment variable specified