Some Ogre 2.1 demos (for example the "Sample_Hdr" demo) are misrendered with mesa drivers. For the "Sample_Hdr" demo, no shadows are rendered. Tested with r600g on JUNIPER XT chip. I also got this bug with LLVMPIPE. i965 on Skylake iGPU seems to have additional problems. I'll upload an apitrace as well as an image of what should be rendered.
Created attachment 123218 [details] Apitrace of "Sample_Hdr" demo
Created attachment 123262 [details] The demo on Catalyst (good)
Created attachment 123263 [details] The demo on r600g (bad)
The apitrace contains invalid OpenGL calls, which may work with incorrect drivers, but not with Mesa. This is the list of GL errors: Mesa: User error: GL_INVALID_ENUM in glTexImage2D(incompatible format = GL_DEPTH_COMPONENT, type = GL_DEPTH_COMPONENT) Mesa: User error: GL_INVALID_ENUM in glTexImage2D(incompatible format = GL_DEPTH_STENCIL, type = GL_DEPTH_STENCIL) Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(incompatible format = GL_BGR, type = GL_UNSIGNED_SHORT_5_6_5) Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(integer/non-integer format mismatch) Mesa: User error: GL_INVALID_VALUE in glBindAttribLocation(index) Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer) Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glMultiDrawElementsIndirect(incomplete framebuffer) The GLSL compiler also detected uninitialized variables in various shaders: 0:249(28): warning: `nNormal' used uninitialized 0:252(14): warning: `material' used uninitialized 0:252(14): warning: `ROUGHNESS' used uninitialized 0:288(54): warning: `diffuseCol' used uninitialized 0:290(37): warning: `specularCol' used uninitialized etc.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.