ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.1k stars 208 forks source link

WarThunder game window does not show up #598

Open Doomsdayrs opened 2 years ago

Doomsdayrs commented 2 years ago

WarThunder's launcher will show up, work etc, but upon clicking "Play", and the launcher closing, the game window does not show up.

I have done a troublesome workaround by double clicking to try and keep the gamescope window open while the game itself fills the launcher. But this has become harder as time has went on.

Is there a way to keep the gamescope window open while the game loads?

Logs: warthunder-gamescope-log.txt

Doomsdayrs commented 2 years ago

To reiterate, the behavior is as following for the game

  1. gamescope runs
  2. warthunder launcher runs and opens gui
  3. click play
  4. launcher gui closes
  5. gamescope closes its window
  6. warthunder loads up
  7. warthunder tries to draw on its window
  8. warthunder has no window

What should be happening

  1. gamescope runs
  2. warthunder launcher runs and opens gui
  3. click play
  4. launcher gui closes
  5. gamescope waits
  6. warthunder launches
  7. warthunder opens its window
mantrippin commented 2 years ago

It doesn't work either for me with flatpak, and it just says "Can't open display"

Doomsdayrs commented 1 year ago

This is a recurrent issue, sometimes for long periods it works, sometimes it does not.