Summary: | [Hero Siege] si_shader: segfault in libLLVM-5.0.so.1 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Christian Lanig <freedesktop> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | vhaisman |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 105797 | ||
Bug Blocks: | 77449 | ||
Attachments: |
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner Debugger backtrace info. possible fix Pixel shader debug only. Vertex shaders only. possible fix |
Description
Christian Lanig
2017-06-12 09:24:10 UTC
Could you please provide a log when running the game with environment variable R600_DEBUG=vs,tcs,tes,gs,ps,cs? Also, could you please run with a debugger and debug symbols installed, and provide a backtrace? Thank you! Created attachment 131895 [details]
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner
Created attachment 131897 [details]
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner
Previous log was incorrect.
Created attachment 131899 [details]
Debugger backtrace info.
Created attachment 131900 [details] [review] possible fix As discussed on IRC, the error goes away when dumping shaders, which means that the bug might be related to multi-threading. This suggests the attached patch. Created attachment 131901 [details]
Pixel shader debug only.
Created attachment 131902 [details]
Vertex shaders only.
Created attachment 132057 [details] [review] possible fix Did you get around to testing with the provided patch? That would still be useful, though please use the newly attached instead if you do. Thanks! Thanks a lot for your help! I am still trying to give you the requested info as soon as possible but I ran into several issues trying to compile Mesa and I am also a bit busy sometimes. However, I know how to fix the remaining issues and it will just be a matter of time to fix the whole string to the end. It's also pretty educational. But I would also be happy when someone who owns this game and compiles Mesa regularly could test this patch on his own to accelerate the procedure. The only thing I could find out so far was that it also crashes with 17.0.3 which is the standard version of Ubuntu 17.04 and it also runs fine while the shaders are dumped. Sorry that it took so long. I have been able to compile Mesa from git and noticed that the patch has already been applied. Unfortunately Hero Siege still doesn't run without dumping both vertex and pixel shaders. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1269. |
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.