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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-29-11, 05:43 PM   #1
snzzbk
Registered User
 
Join Date: Nov 2008
Posts: 10
Default BindFramebuffer screws up framebuffer_sRGB state

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.
Attached Thumbnails
Click image for larger version

Name:	srgbtest-output.png
Views:	101
Size:	995 Bytes
ID:	42844  
Attached Files
File Type: bz2 nvidia-bug-report.log.bz2 (61.7 KB, 80 views)
File Type: txt srgbtest.cpp.txt (5.6 KB, 136 views)
snzzbk is offline   Reply With Quote
Old 05-31-11, 05:03 PM   #2
Plagman
NVIDIA Corporation
 
Plagman's Avatar
 
Join Date: Sep 2007
Posts: 254
Default 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
Plagman is offline   Reply With Quote
Old 05-31-11, 10:08 PM   #3
snzzbk
Registered User
 
Join Date: Nov 2008
Posts: 10
Default 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.
snzzbk is offline   Reply With Quote
Old 06-06-11, 05:04 PM   #4
Plagman
NVIDIA Corporation
 
Plagman's Avatar
 
Join Date: Sep 2007
Posts: 254
Default 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
Plagman is offline   Reply With Quote
Old 06-07-11, 09:32 AM   #5
snzzbk
Registered User
 
Join Date: Nov 2008
Posts: 10
Default Re: BindFramebuffer screws up framebuffer_sRGB state

The issue is still present with 275.09.04 on Linux and 275.33 on Vista.
snzzbk is offline   Reply With Quote
Old 06-30-11, 01:58 PM   #6
Plagman
NVIDIA Corporation
 
Plagman's Avatar
 
Join Date: Sep 2007
Posts: 254
Default Re: BindFramebuffer screws up framebuffer_sRGB state

Thanks. I've filed bug 846530 to track this issue.
Plagman 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


All times are GMT -5. The time now is 01:56 AM.


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