https://bugs.winehq.org/show_bug.cgi?id=56866
Bug ID: 56866 Summary: Change of the brightness via "SetGammaRamp" function also changes the brightness globally (under X11) Product: Wine Version: 9.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: kle@bluewin.ch Distribution: ---
Hi all
This bug report is an "offspring" of Mesa bug 11359. https://gitlab.freedesktop.org/mesa/mesa/-/issues/11359
It was confirmed that an in-game change of the brightness in the game "Indiana Jones and the Emperor's Tomb" also changes the brightness of the Desktop UI, in my case KDE Plasma.
So instead of changing only the brightness within the game it is changed globally. I can confirm this problem for Mesa 24.2 devel and the r600 driver.
An apitrace which reproduces the problem can be downloaded from here:
https://drive.google.com/file/d/1ToA5y43olMc0uKq0C8TXnpJd4nnTmKf2/view?usp=s...
Note, the same behavior is also present with Gallium Nine. As of the end of June 2024 that brightness change bug cannot be reproduced on radeonsi, crocus and most likely also the iris driver. On those the function seems entirely broken so a change to the brightness simply has no effect, not in-game and also not outside of it.
More information including a deeper technical analysis can be found Mesa bug 11359.