Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-02-12, 12:02 PM   #1
ihateregistrati
*BANNED*
 
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
Old 07-03-12, 03:57 PM   #2
aritger
NVIDIA Corporation
 
aritger's Avatar
 
Join Date: Oct 2002
Posts: 53
Default Re: XRRSetCrtcGamma problem in 302.17

Sorry we haven't wired up XRRSetCrtcGamma(), yet. I'm surprised that XF86VidModeSetGammaRamp. That should work today, though with X screen, rather than RandR CRTC, granularity.

I hope that we can address (a) in the relatively near future (i.e., within the next month or so), but I don't think it is likely to happen within the next two weeks.

Sorry this isn't already in place.

- Andy Ritger
__________________
Andy Ritger
NVIDIA Linux Graphics Driver Engineer
aritger is offline   Reply With Quote
Old 07-03-12, 04:43 PM   #3
ihateregistrati
*BANNED*
 
ihateregistrati's Avatar
 
Join Date: Feb 2011
Posts: 3
Default Re: XRRSetCrtcGamma problem in 302.17

Many thanks for the update.

The 4.9 release is scheduled for August 1st and since distros will take their time as well, the suggested timeframe should be sufficient.

Regarding XF86VidModeSetGammaRamp:
I just figured I was not entirely correct on this:
It doesn't work *on an XRR rotated screen*

I'm not frankly sure whether RandRRotation enabled rotation supported that, but when just re-checking it worked.
(actually it even works while the screen is rotated but the colors are effectively not inverted until the rotation is set to normal)
ihateregistrati is offline   Reply With Quote
Old 07-03-12, 04:54 PM   #4
aritger
NVIDIA Corporation
 
aritger's Avatar
 
Join Date: Oct 2002
Posts: 53
Default Re: XRRSetCrtcGamma problem in 302.17

Oh, you are right: XF86VidModeSetGammaRamp does not work correctly right now when a transformation is applied to an RandR CRTC. I'll try to look at that, too.

Sorry for the troubles.
__________________
Andy Ritger
NVIDIA Linux Graphics Driver Engineer
aritger is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
302.17 and total PC freeze on 7600GT Milos_SD NVIDIA Linux 8 07-14-12 01:56 PM
Problems with configuring monitors and keeping them disabled with 302.17 Erosmith NVIDIA Linux 2 06-20-12 12:10 AM
302.17 for Linux x86/x86_64 released AaronP NVIDIA Linux 0 06-16-12 04:12 PM
nv30 problem rumor bob747b Rumor Mill 37 10-10-02 03:14 PM
Nvidia Go on laptop, black border within XFree86 problem raxip NVIDIA Linux 3 07-31-02 10:58 AM

All times are GMT -5. The time now is 08:57 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.