Skip to content

Game Mode crashes and restarts when connection to TV is lost if HDR is enabled #3938

@novar

Description

@novar

Describe the bug

Game Mode is being killed and restarted when the HDMI connection to my TV is lost if HDR is enabled.

My PC is connected to my TV via HDMI going through an AV receiver. When the AV receiver is turned off, Bazzite loses connection to the TV, which causes Game Mode to be killed and any running game along with it. The same problem occurs if unplugging the HDMI cable from the TV.

This bug seems to have been introduced in 43.20251118 and still present in the latest stable image (43.20260101).

The last stable image where this problem isn't present appears to be 43.20251029.

It looks like there's been previous attempts at fixing this kind of problem going by the following commit for gamescope back in November:
bazzite-org/gamescope@af9196c

What did you expect to happen?

When the connection to a TV or monitor is lost either by unplugging the cable or turning it off, nothing should happen. Game Mode shouldn't restart and any game that was running should still be.

Session Logs

https://paste.centos.org/view/b2d281d1

Hardware

Desktop PC with an AMD 7900 XTX

Extra information or context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions