[Bug 33759] New: Some applications reset the X color profile
http://bugs.winehq.org/show_bug.cgi?id=33759 Bug #: 33759 Summary: Some applications reset the X color profile Product: Wine Version: 1.5.31 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: liquitsnake(a)gmx.net Classification: Unclassified Some applications tend to reset the X color profile when they start. This profile is set by xcalib and shouldn't be mindlessly messed with. I could not determinate a pattern as to which programs do this. It seems games are especially prone. A simple test case: Get xcalib, and use it to set some random color profile, such as with xcalib -a -gc 5 Get CPU-Z. There is a simple no-installation zip available. Click away the initial error message and then watch as it resets the profile as it loads -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33759 haarp <liquitsnake(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.cpuid.com/softwa | |res/cpu-z.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33759 erwan.bousse(a)free.fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erwan.bousse(a)free.fr --- Comment #1 from erwan.bousse(a)free.fr --- I observe something very similar on my system (Fedora 20): the color profile that I set using the Gnome control panel gets disabled when I start StarCraft II or basically any other game using Wine. Even weirder: when that occurs, the color profile does not appear disabled in the Gnome control panel, so I need to disable it and to enable it in the UI for the colors to be back to normal. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Does this still occur in Wine 1.7.44 or later? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #3 from haarp <liquitsnake(a)gmx.net> --- (In reply to Ken Sharp from comment #2)
Does this still occur in Wine 1.7.44 or later?
Yes. Although CPU-Z doesn't cause it anymore, other applications still do. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> --- Please attach a WINEDEBUG=+icm,+mscms trace. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #5 from haarp <liquitsnake(a)gmx.net> --- (In reply to Hans Leidekker from comment #4)
Please attach a WINEDEBUG=+icm,+mscms trace.
The application I'm currently using to trigger this bug (Crysis) doesn't appear to output anything on these debug channels. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #6 from Ken Thomases <ken(a)codeweavers.com> --- (In reply to haarp from comment #5)
(In reply to Hans Leidekker from comment #4)
Please attach a WINEDEBUG=+icm,+mscms trace.
The application I'm currently using to trigger this bug (Crysis) doesn't appear to output anything on these debug channels.
It's presumably the gamma ramp that's being changed and not changed back (by the X11 driver, possibly on behalf of wined3d), not actually the "color profile" as such. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 Forest <winehq(a)tibit.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq(a)tibit.com --- Comment #7 from Forest <winehq(a)tibit.com> --- Guild Wars 2 triggers it as well. Running with WINEDEBUG=-all,+icm,+mscms produces no output. The problem has been around for at least a year or two, and still exists in wine 1.7.45 with the wined3d-CSMT patch series from wine-staging. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 zippy <gohabsgo60(a)yahoo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gohabsgo60(a)yahoo.ca --- Comment #8 from zippy <gohabsgo60(a)yahoo.ca> --- If this bug is about gamma not being restored, then you can add Unreal Tournament to the list of affected applications... when i exit from the game, my desktop is very bright and i have to run "xcalib -c" to set it back to normal. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #9 from Forest <winehq(a)tibit.com> ---
It's presumably the gamma ramp that's being changed and not changed back (by the X11 driver, possibly on behalf of wined3d), not actually the "color profile" as such.
My nvidia-settings control panel shows the color correction curves for red, green, and blue, along with a gamma setting of 1.0. When the problem occurs, those curves get flattened into a single straight line, and gamma remains the same. I think that means it's not just a gamma problem. Possibly worth noting: Older versions of wine (I think version 1.7.15 is an example) did this only at certain predictable points while playing Guild Wars 2. It happened when the launcher ran and when entering a new zone in the game. If I manually re-installed my color profile, it would stick until one of those transitions happened again, even if I switched to another virtual desktop in xfce and back to the game. In wine 1.7.45, it also kills my color profile whenever I switch back to the game's virtual desktop. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #10 from Forest <winehq(a)tibit.com> --- It *sometimes* restores my color profile after the game exits, but even when that works, it's not okay that it gets changed in the first place. I use other applications quite often while a game is running (it's a multitasking operating system after all, and virtual desktops/workspaces exist because they're useful). Having my carefully calibrated display all screwed up is really annoying. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 Valerio Messina <efa(a)iol.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |efa(a)iol.it --- Comment #11 from Valerio Messina <efa(a)iol.it> --- happen something similar only on Perseus Demo quit, see: https://bugs.winehq.org/show_bug.cgi?id=38996 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 altiris28048(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |altiris28048(a)gmail.com --- Comment #12 from altiris28048(a)gmail.com --- I am still experiencing this bug myself with almost any Wine application. It changes my color profile to what is default (I have an ASUS monitor that badly needs a color profile or else everything looks bad) and reverts back to what I have set in Cinnamon DE color settings when I close the application. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #13 from winetest(a)luukku.com --- Is this really an issue with SC2? I don't really play the game, but I have tested it few times to get bugs closed. I couldnt see one single time x-color profile reset. Assuming the reset would leave the screen somehow black. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 Lee Bousfield <ljbousfield(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ljbousfield(a)gmail.com --- Comment #14 from Lee Bousfield <ljbousfield(a)gmail.com> --- I can confirm this for SC2 and Battle.net. Both disable redshift when focused (and they disable it for the whole screen, not just that app). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #15 from Lee Bousfield <ljbousfield(a)gmail.com> --- Actually, it looks like this happens on open and close, not focus. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 Michal Suchanek <hramrach(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hramrach(a)gmail.com --- Comment #16 from Michal Suchanek <hramrach(a)gmail.com> --- (In reply to winetest from comment #13)
Is this really an issue with SC2? I don't really play the game, but I have tested it few times to get bugs closed. I couldnt see one single time x-color profile reset. Assuming the reset would leave the screen somehow black.
No, if you did not change the gamma it may not change at all. Typically only people who set it notice when Wine resets it to default. Still a problem with Wine 3.0 rc. Can't the gamma setting be optionally disabled? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 aersaud(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aersaud(a)gmail.com --- Comment #17 from aersaud(a)gmail.com --- Possible fix for this is setting UseXVidMode to N under HKEY_CURRENT_USER > X11 Driver in the registry. Tested and confirmed on multiple games on my end as a fix Starcraft 2 included. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 mirh <mirh(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh(a)protonmail.ch --- Comment #18 from mirh <mirh(a)protonmail.ch> --- I'm sorry, I'm a bit confused by this bug. Is the problem here that gamma gets changed "at all", or just that when quitting applications it doesn't get properly restored? Because in the first case.. well, that seems kinda working as expected (maybe UseXVidMode could be split or merged as AllowSetGamma, but still) In the second one, this seems very much similar to bug 37849, which is reportedly nvidia-specific (and also the last comment says this might have changed around 2021, but go figure out). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=33759 --- Comment #19 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Does this still occur with the latest version of Wine? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla