PDA

View Full Version : Strange bug with GL_ARB_occlusion_query (ATI)



Berserker
05-17-2011, 09:27 AM
Hi,

my video: HD5830 (catalyst 10.*, 11.*)
GL_ARB_occlusion_query does not work properly: I draws object in invisible area, query returned 84 visibled fragments. :eek:

Example: http://www.codesampler.com/source/ogl_occlusion_query_arb.zip
Sphere is behind plane, program prints "sphere fragments = 84", must be 0.
GeForce returned 0.

ATI cards does not supports occlusion query?

DarkGKnight
05-17-2011, 09:34 AM
Works fine on my HD5570 with Catalyst 11.5a.

Berserker
05-17-2011, 09:44 AM
thanx.
I will try on 11.5a :)
----------------------------------

11.5a still has the bug: :(
http://img233.imageshack.us/img233/5977/querybug.gif

DarkGKnight
05-17-2011, 06:37 PM
Did you modify that sample?

Berserker
05-17-2011, 08:41 PM
no.

DarkGKnight
05-18-2011, 05:24 AM
You'll have to file a bug report with AMD (which I'm not quite sure how to do). Hopefully, frank li (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&User=25339) will see this thread and investigate your problem.

GLpeon
05-19-2011, 12:09 PM
Works fine on this end with a 6870 + cat 11.5
I guess it is specific to your card version?

seague
06-22-2011, 09:34 PM
it's a bug for 5830 only. The occlusion_query on 5830 would get wrong results. It have been fixed, but maybe you can get it only when next version.