Skip to content

Compatibility Issue Between Pegasus-Frontend and Windows HDR Mode #1159

@Dreamvoe

Description

@Dreamvoe

Bug Report: Compatibility Issue Between Pegasus-Frontend and Windows HDR Mode

Overview:
We have identified a compatibility issue between Pegasus-Frontend (Tianma 前端) and Windows operating systems when HDR (High Dynamic Range) display mode is enabled. Specifically, launching Pegasus-Frontend in fullscreen mode results in abnormal behavior where the Windows system forcibly adjusts the screen brightness — either making it excessively bright or unusually dark. This occurs without any clear user intent and persists even after the application is closed.

Detailed Description:
When HDR mode is active on a Windows system and the user launches Pegasus-Frontend in fullscreen mode, the screen undergoes a sudden and unexplained brightness shift. This shift appears to be system-level, likely triggered by how Pegasus-Frontend interfaces with the display pipeline in fullscreen. Even after exiting the application, the display remains in this altered state, continuing to exhibit the incorrect brightness. This forces users to manually intervene to restore normal viewing conditions.

Steps to Reproduce:

Enable HDR mode in Windows Display Settings.

Launch Pegasus-Frontend in fullscreen mode.

Observe that the screen becomes overly bright or dark without user adjustment.

Exit Pegasus-Frontend.

Note that the brightness issue remains after exiting the application.

Temporary Workaround:
The only known way to restore normal brightness is to manually turn HDR off and then back on again in Windows settings. This is not an ideal solution, especially for users who frequently use Pegasus-Frontend alongside other HDR-dependent applications.

Expected Behavior:
Pegasus-Frontend should respect Windows HDR settings and not trigger any system-wide display changes. Upon exiting the application, the display should return to its original HDR state automatically and without side effects.

Questions and Request for Resolution:

Is this a known issue with Pegasus-Frontend's rendering pipeline or display handling in fullscreen mode?

Could this be addressed in a future update to ensure proper HDR compatibility?

Are there any recommended settings or startup flags that might help avoid this behavior?

Environment:

Windows 10/11 with HDR enabled

Latest version of Pegasus-Frontend (please specify version if needed)

HDR-capable display/monitor

We would appreciate any guidance on whether a permanent fix or workaround is possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions