Page 1 of 1

[no bug]OpenGL problems with newest AMD drivers

Posted: Sun Jan 11, 2015 1:48 am
by csg
Hi Guys,

I've updated my AMD Cataclyst today and got some errors ( z-buffer? ) in my programs. I'm using a Radeon HD 7770.

Image

Objects close to each other seems to be racing in the zbuffer. The marked areas are moving, if the camera translates.
Nothing changed in my code and all was okay with the older drivers. I've tested it and got the same errors in the Irrlicht examples.

Image

this only happens with openGL, direct3d works just fine as before. I'm using Irrlicht 1.8.1 under Windows 8.1

Any ideas?

Re: OpenGL problems with newest AMD drivers

Posted: Sun Jan 11, 2015 3:33 am
by christianclavet
Seen that problem with Intel drivers often. It's a clipping problem probably caused with the depth buffer (or zbuffer). ATI (also is Intel) is really bad in OPENGL on Windows, they put their full attention on DirectX first then look later at GL. You should also report this to AMD.

Re: OpenGL problems with newest AMD drivers

Posted: Sun Jan 11, 2015 12:17 pm
by Nadro
Irrlicht uses 16 bit ZBuffer by default (SIrrlichtCreationParameters). We should change that to 24 and all will work properly.

Re: OpenGL problems with newest AMD drivers

Posted: Sun Jan 11, 2015 1:12 pm
by csg
Indeed, changing the ZBuffer bits to 24 fixes the problem. Thanks!

Re: OpenGL problems with newest AMD drivers

Posted: Thu Oct 22, 2015 9:26 am
by Nadro
I changed default value for ZBuffer from 16 to 24 in trunk.