nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   BindFramebuffer screws up framebuffer_sRGB state (http://www.nvnews.net/vbulletin/showthread.php?t=162963)

snzzbk 05-29-11 04:43 PM

BindFramebuffer screws up framebuffer_sRGB state
 
3 Attachment(s)
Using 270.41.19 on a GTX 260, binding or unbinding a framebuffer object when FRAMEBUFFER_SRGB is enabled sometimes (depending somehow on the state and buffer properties) causes subsequent operations to be performed as if FRAMEBUFFER_SRGB were disabled, even though glIsEnabled reports that it is still enabled. Disabling and then re-enabling FRAMEBUFFER_SRGB after such a binding resolves the issue.

I've attached a test program and a screenshot to demonstrate the problem. The program fills the window with medium gray (.5,.5,.5); the left half is drawn after changing the framebuffer binding with FRAMEBUFFER_SRGB enabled, and the right half is then drawn after disabling and re-enabling FRAMEBUFFER_SRGB. The left half is filled with (.5,.5,.5) (no conversion), whereas the right half is filled with the sRGB-converted value.

Compilation instructions and other notes are in the program's comments.

Plagman 05-31-11 04:03 PM

Re: BindFramebuffer screws up framebuffer_sRGB state
 
Hi,

Thanks for the bug report. Have you tried your testcase on Windows using a similar driver at all? This would help triaging the issue.

Thanks,
- Pierre-Loup

snzzbk 05-31-11 09:08 PM

Re: BindFramebuffer screws up framebuffer_sRGB state
 
I tested the same program on Vista with driver version 270.61 and the bug was manifest there as well. I also tried it with 266.58 (also on Vista) and the program displayed the correct result.

Plagman 06-06-11 04:04 PM

Re: BindFramebuffer screws up framebuffer_sRGB state
 
Hi snzzbk,

Does your issue still happen with the newest 275 release? If so, let me know so that I can file a bug.

Thanks,
- Pierre-Loup

snzzbk 06-07-11 08:32 AM

Re: BindFramebuffer screws up framebuffer_sRGB state
 
The issue is still present with 275.09.04 on Linux and 275.33 on Vista.

Plagman 06-30-11 12:58 PM

Re: BindFramebuffer screws up framebuffer_sRGB state
 
Thanks. I've filed bug 846530 to track this issue.


All times are GMT -5. The time now is 12:34 PM.

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