Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRM properties set by other compositors are not reset and mess with AQ #127

Open
UjinT34 opened this issue Jan 3, 2025 · 1 comment
Open

Comments

@UjinT34
Copy link
Contributor

UjinT34 commented Jan 3, 2025

Some (all?) DRM properties keep their values after the compositor exits. Not all of such properties are reset when HL starts, some of those properties aren't even supported by AQ. This might result in a picture difference if HL is started after some other compositor. E.g. kwin HDR and CM settings affect HL's gamma and saturation:

  1. start kwin
  2. enable hdr and adjust some settings
  3. exit kwin
  4. start HL.
    HL renders in SDR mode with CM settings suitable for HDR mode which results in washed out colors.

Should be some generic way to reset everything. https://dri.freedesktop.org/docs/drm/gpu/drm-kms.html#c.drm_mode_config_reset?

@vaxerski
Copy link
Member

vaxerski commented Jan 3, 2025

Should be some generic way to reset everything

Yeah, I haven't found one yet. :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants