ValveSoftware / ValveSoftware/Proton

Turning the TV off while in a proton game under a Wayland session will cause the game to exit

Open
#6,343 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Compatibility Report

  • Name of the game with compatibility issues: Doom Eternal, The Outer Worlds, etc. (all proton games so far)

System Information

  • GPU: AMD RX 6750 XT
  • Driver/LLVM version: LLVM 14.0.0, DRM 3.48, Mesa 22.2.0, OpenGL 4.6
  • Kernel version: 6.0.6-76060006-generic
  • Proton version: 7.0-4 and 7.0-5 (most likely also older version 6, not sure I tried it)

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

When using Wayland, any proton game will exit if the HDMI output port is switched off/temporarily changed, such as when my Amplifier is switching the ports of my TV or if the TV is turned off.

When using a normal x session, it works fine, the game will not exit if disconnecting the display output ports. Also other non proton games are working fine so far and do not have this issue (they keep running just fine when I switch back.

Reproduction

Make sure you are using a Wayland session (I am using Pop_OS 22.04 with Wayland enabled to reproduce this)
Launch a game such as Doom Eternal, The Outer Worlds and leave it running in FULL SCREEN (many other games will have the same problem, in fact all my proton games so far)
Switch the TV or monitor off (you may want to disconnect it completely), and then turn it back on (I am using HDMI output, this may be required or not, I haven't tested with display port).
After the display is back on, the game will have exited and will no longer be running

When using a normal X session this behavior does not happen and the games are still running fine even if I switch or disconnect the display output ports.

I am expecting that I should be able to leave my games running in background if I want to, without having the screen turned on, I want to be able to watch TV or do other stuff with my TV while some games may still be running.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue using the reported Wayland session, Proton 7.0-4 or 7.0-5, and a fullscreen Proton game while turning the HDMI display off and on. Compare the behavior with an X session and non-Proton games; done means the game remains running after the display reconnects.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.