View Single Post
Old 07-02-12, 12:02 PM   #1
ihateregistrati's Avatar
Join Date: Feb 2011
Posts: 3
Default XRRSetCrtcGamma problem in 302.17

XRRSetCrtcGamma has no effect in 302.17 but the driver /does/ support XRRGetScreenResources and XRRGetCrtcGamma (ie. neither returns NULL anymore)

Since this prevents falling through to the XF86VidModeSetGammaRamp (which does not seem to work either, nor in xcalib) and GLSL fallback variants, screen inversion will be broken in upcoming KWin 4.9 with recent nvidias unless either

a) XRRSetCrtcGamma gets fixed in the driver
b) XRRGetCrtcGamma (and XF86VidModeGetGammaRampSize / XF86VidModeGetGammaRamp) returns 0
(i assume invalidating XRRGetScreenResources will slightly break XRandr 1.3 support)
c) we explicitly skip XRRSetCrtcGamma and XF86VidModeSetGammaRamp for the nvidia driver (while the latter one was actually only added because nvidia didn't support XRRSetCrtcGamma)

I'd like to avoid promoting (c), but need information on the status of this, ie. whether there will be a driver release implementing either (a) or (b) within the next two weeks or so.

Kind Regards
ihateregistrati is offline   Reply With Quote