si_shader: segfault in libLLVM-5.0.so.1
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Bug ID: 101384
Summary: [Hero Siege] si_shader: segfault in libLLVM-5.0.so.1
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Ubuntu 17.04
Padoka-PPA
RX 480
Ryzen 7 1700X
32GiB RAM
Hero Siege doesn't start. The kernel message is:
si_shader:1[3325]: segfault at 0 ip 00000000e17b64f5 sp 00000000df6addf0 error 6 in libLLVM-5.0.so.1[e10c3000+360b000]
The error number differs for each attempt.
To reproduce this issue you might have to install these dependencies firstly:
- libopenal-dev:i386
- libxrandr-dev:i386
- libglu-dev:i386
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Christian Lanig <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|All |Linux (All)
Hardware|Other |x86-64 (AMD64)Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #1 from Nicolai Hähnle <[email protected]> ---
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!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #2 from Christian Lanig <[email protected]> --- Created attachment 131895
--> https://bugs.freedesktop.org/attachment.cgi?id=131895&action=edit
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Christian Lanig <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131895|0 |1
is obsolete| |
--- Comment #3 from Christian Lanig <[email protected]> --- Created attachment 131897
--> https://bugs.freedesktop.org/attachment.cgi?id=131897&action=edit
R600_DEBUG="vs,tcs,tes,gs,ps,cs" ./runner
Previous log was incorrect.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #4 from Christian Lanig <[email protected]> --- Created attachment 131899
--> https://bugs.freedesktop.org/attachment.cgi?id=131899&action=edit
Debugger backtrace info.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #5 from Nicolai Hähnle <[email protected]> --- Created attachment 131900
--> https://bugs.freedesktop.org/attachment.cgi?id=131900&action=edit
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #6 from Christian Lanig <[email protected]> --- Created attachment 131901
--> https://bugs.freedesktop.org/attachment.cgi?id=131901&action=edit
Pixel shader debug only.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #7 from Christian Lanig <[email protected]> --- Created attachment 131902
--> https://bugs.freedesktop.org/attachment.cgi?id=131902&action=edit
Vertex shaders only.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Nicolai Hähnle <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131900|0 |1
is obsolete| |
--- Comment #8 from Nicolai Hähnle <[email protected]> --- Created attachment 132057
--> https://bugs.freedesktop.org/attachment.cgi?id=132057&action=edit
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!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #9 from Christian Lanig <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
--- Comment #10 from Christian Lanig <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |105797
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=105797
[Bug 105797] Tracker for YoYo based games start-up crashes
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Gregor Münch <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |77449
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
GitLab Migration User <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED--- Comment #11 from GitLab Migration User <[email protected]> --- -- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101384
Bug 101384 depends on bug 105797, which changed state.
Bug 105797 Summary: Tracker for YoYo based games start-up crashes
https://bugs.freedesktop.org/show_bug.cgi?id=105797
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVEDSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel