Bug 66888

Summary: [radeonsi] Need support GL_EXT_framebuffer_multisample
Product: Mesa Reporter: Vladimir Usikov <grantipak>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: grantipak
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: graphical glitch

Description Vladimir Usikov 2013-07-14 08:05:52 UTC
Created attachment 82401 [details]
graphical glitch

unigine-tropics and unigine-sanctuary don't runs. Required extension GL_EXT_framebuffer_multisample is not supported.

ArchLinux x86; kernel 3.10; mesa - git; xf86-video-ati - git; llvm - 3.3

Radeon HD 7950

OpenGL renderer string: Gallium 0.4 on AMD TAHITI
OpenGL version string: 2.1 Mesa 9.2.0-devel (git-796b73d)
OpenGL shading language version string: 1.30

If run MESA_EXTENSION_OVERRIDE="GL_EXT_framebuffer_multisample" unigine-tropics, test runs but have graphical glitch.
Comment 1 Michel Dänzer 2013-07-16 10:28:30 UTC
Current st/mesa only advertises this extension if the driver actually supports multisampling.
Comment 2 Laurent carlier 2013-08-17 15:00:33 UTC
Should be fixed since 21d9a1b5ef51ce449e9a82641d0d605c5448b41c
(You need at least LLVM-3.4svn)
Comment 3 Vladimir Usikov 2013-08-17 16:40:14 UTC
On last llvm-svn and mesa git, glxgears show extension GL_EXT_framebuffer_multisample. But unigine-tropics show black screen and have error in console:

GLShader::loadFragment(): error in "core/shaders/render/fragment_occlusion_blur.shader" file
defines: UNKNOWN,QUALITY_LOW,QUALITY_MEDIUM,QUALITY_HIGH,MULTISAMPLE_0,USE_INSTANCING,USE_TEXTURE_ARRAY,USE_DEFERRED,USE_OCCLUSION,USE_REFLECTION,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,USE_ARB_TEXTURE_MULTISAMPLE,HAS_ARB_DRAW_INSTANCED
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'
0:0(0): error: no matching function for call to `texelFetch2DOffset(sampler2D, ivec2, int, ivec2)'

unigine-sanctuary just crash with single error:

LLVM ERROR: ran out of registers during register allocation

Do i mast create 2 bug report for each case?
Comment 4 Michel Dänzer 2013-08-19 09:38:12 UTC
Yes, please.

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.