Bug 70647

Summary: [radeonsi] Crash unigine-heaven 3.0 with msaa enabled
Product: Mesa Reporter: Vladimir Usikov <grantipak>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: mike, tonicose
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: unigine-heaven v3.0 msaa crash log
log for heaven 3.0 msaa error
heaven3 vs. msaa 2; 4 or 8
heaven3 vs. msaa 2; 4 or 8
heaven3 vs. msaa 2; 4 or 8

Description Vladimir Usikov 2013-10-19 11:45:14 UTC
Created attachment 87852 [details]
unigine-heaven v3.0 msaa crash log

ArchLinux x32; kernel 3.12rc5; llvm - svn; mesa - git; Radeon HD 7950

When i run unigine-heaven 3.0 with msaa enabled(no matter 2x, 4x or 8x) it was crashed with error:

Can't run "./heaven_x86 -project Heaven -video_app opengl -data_path ../ -engine_config ../data/heaven_3.0.cfg -system_script demos/heaven/unigine.cpp -sound_app openal -video_multisample 1 -video_fullscreen 0 -video_mode 2 -extern_define "RELEASE" -extern_plugin " " -console_command "d3d11_render_use_tessellation 0 && gl_render_use_arb_tessellation_shader 0 && render_shaders 2 && render_anisotropy 2 && render_restart"" process
Comment 1 Arek Ruśniak 2013-11-06 14:43:24 UTC
Created attachment 88758 [details]
log for heaven 3.0 msaa error

With latest mesa+llvm msaa doesn't crash, now screen is all white and gray.
log in attachment
screenshots in a moment

software:
Kernel: 3.12.0-1-mainline (x86_64)
Display Driver: radeon 7.2.99
OpenGL: 3.1 Mesa 10.0.0-devel (git-86cdff5)
LLVM: 3.4 (svn-194066)
Comment 2 Arek Ruśniak 2013-11-06 14:45:55 UTC
Created attachment 88759 [details]
heaven3 vs. msaa 2; 4 or 8
Comment 3 Arek Ruśniak 2013-11-06 14:46:47 UTC
Created attachment 88760 [details]
heaven3 vs. msaa 2; 4 or 8
Comment 4 Arek Ruśniak 2013-11-06 14:49:38 UTC
Created attachment 88761 [details]
heaven3 vs. msaa 2; 4 or 8

only sky is whiteless
Comment 5 Mike Lothian 2013-11-07 00:31:52 UTC
As per my previous comment on the other but:

antialiasing won't work properly as Mesa doesn't support EXT_gpu_shader4 from Nvidia
Comment 6 Mike Lothian 2013-11-07 00:35:04 UTC
*bug

I should probably add this is true for all mesa drivers not just radeonsi

This can probably be made a dup of bug 36083
Comment 7 Arek Ruśniak 2013-11-07 15:24:17 UTC
Maybe, but as long as it works for tropics, sanctuary and heaven4 should work for heaven3 as well.
Comment 8 Mike Lothian 2013-11-07 16:55:38 UTC
It doesn't work for heaven3 or 4
On 7 Nov 2013 15:24, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 7 <https://bugs.freedesktop.org/show_bug.cgi?id=70647#c7> on
> bug 70647 <https://bugs.freedesktop.org/show_bug.cgi?id=70647> from Arek
> Ruśniak <arek.rusi@gmail.com> *
>
> Maybe, but as long as it works for tropics, sanctuary and heaven4 should work
> for heaven3 as well.
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are on the CC list for the bug.
>
>
Comment 9 robert 2013-12-22 11:41:40 UTC
*** Bug 72876 has been marked as a duplicate of this bug. ***
Comment 10 Marek Olšák 2013-12-22 15:03:16 UTC
Heaven 3.0 needs EXT_gpu_shader4, which most probably won't be implemented in Mesa. Heaven 3.0 doesn't check if the extension is present before using it, which is a bug. There is nothing to fix in Mesa to make it work.

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.