Massive Chalice crashes on startup
https://bugs.freedesktop.org/show_bug.cgi?id=86196
Bug ID: 86196
Summary: Massive Chalice crashes on startup
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
Created attachment 109335
--> https://bugs.freedesktop.org/attachment.cgi?id=109335&action=edit
backtrace
Trying to play Massive Chalice (http://store.steampowered.com/app/246110/), it crashes on startup after the logos.
My video card is Radeon HD 7770
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
Running Fedora 21, 64bit.
When it crashes, I can see this in the terminal:
LLVM ERROR: Cannot select: 0xdd82a2cc: i32 = truncate 0xdd818230 [ORD=47] [ID=184]
0xdd818230: i128 = srl 0xdd81cc14, 0xdd81cca0 [ORD=47] [ID=164]
0xdd81cc14: i128 = bitcast 0xdd81b6f4 [ORD=47] [ID=150]
0xdd81b6f4: v4i32,ch = load 0xe02affdc, 0xdd817f74,
0xdd8189d8<LD16[%54](tbaa=!"const")> [ORD=34] [ID=119]
0xdd817f74: i64,ch = CopyFromReg 0xe02affdc, 0xdd817ee8 [ID=110]
0xdd817ee8: i64 = Register %vreg111 [ID=2]
0xdd8189d8: i64 = undef [ID=8]
0xdd81cca0: i32 = Constant<64> [ID=107]In function: main
ERROR: Passed a NULL mutex
ERROR: Passed a NULL mutex
Installed mesa packages:
mesa-libEGL-10.3.3-1.20141110.fc21.i686 mesa-libxatracker-10.3.3-1.20141110.fc21.x86_64 mesa-dri-drivers-10.3.3-1.20141110.fc21.x86_64 mesa-libGL-devel-10.3.3-1.20141110.fc21.x86_64 mesa-libglapi-10.3.3-1.20141110.fc21.i686 mesa-libGLES-10.3.3-1.20141110.fc21.x86_64 mesa-filesystem-10.3.3-1.20141110.fc21.x86_64 mesa-libgbm-devel-10.3.3-1.20141110.fc21.x86_64 mesa-demos-8.2.0-2.fc21.x86_64 mesa-libEGL-devel-10.3.3-1.20141110.fc21.x86_64 mesa-libGLU-9.0.0-7.fc21.i686 mesa-libwayland-egl-devel-10.3.3-1.20141110.fc21.x86_64 mesa-libGLU-9.0.0-7.fc21.x86_64 mesa-libwayland-egl-10.3.3-1.20141110.fc21.x86_64 mesa-dri-drivers-10.3.3-1.20141110.fc21.i686 mesa-libEGL-10.3.3-1.20141110.fc21.x86_64 mesa-libgbm-10.3.3-1.20141110.fc21.i686 mesa-libglapi-10.3.3-1.20141110.fc21.x86_64 mesa-libOpenCL-10.3.3-1.20141110.fc21.x86_64 mesa-vdpau-drivers-10.3.3-1.20141110.fc21.x86_64 mesa-libGLES-devel-10.3.3-1.20141110.fc21.x86_64 mesa-filesystem-10.3.3-1.20141110.fc21.i686 mesa-libGL-10.3.3-1.20141110.fc21.x86_64 mesa-libgbm-10.3.3-1.20141110.fc21.x86_64 mesa-libGL-10.3.3-1.20141110.fc21.i686 mesa-debuginfo-10.3.3-1.20141110.fc21.x86_64
I attached a backtrace of the game that systemd's coredumpctl helpfully generated for me - I tried using gdb to get more info but gdb crashes when processing the coredump.
I'm not 100% sure it's a driver bug, but it probably is because it seems the developer tested this on the propritary drivers and it worked for them.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=86196
--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to Elad Alfassa from comment #0)
Quoted 3 lines
LLVM ERROR: Cannot select:
0xdd82a2cc: i32 = truncate0xdd818230[ORD=47] [ID=184]
0xdd818230: i128 = srl0xdd81cc14,0xdd81cca0[ORD=47] [ID=164]
[...]
Quoted 1 line
I'm not 100% sure it's a driver bug, [...]
It's most definitely an LLVM R600 backend bug.
Please run the game with the environment variable R600_DEBUG=ps , capture its stderr output to a file and attach that file here after the game crashed.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=86196
--- Comment #2 from Elad Alfassa <[email protected]> --- Created attachment 109397
--> https://bugs.freedesktop.org/attachment.cgi?id=109397&action=edit
output with R600_DEBUG=ps
Attached. I hope this is helpful.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=86196
--- Comment #3 from Michel Dänzer <[email protected]> ---
Which version of LLVM are you using? The failing shader seems to compile fine with a current LLVM SVN snapshot (which will in time be released as 3.6).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=86196
--- Comment #4 from Felix Schwarz <[email protected]> ---
Elad: You could also try testing llvm 3.5 which is available in updates-testing
(https://admin.fedoraproject.org/updates/gambas3-3.6.1-2.fc21,julia-0.3.3-2.fc21,llvm-3.5.0-4.fc21,mesa-10.4.0-1.20141214.fc21,pocl-0.10-2.fc21,pure-0.62-2.fc21).
I think the update will not be pushed to stable due to dependency errors but there is a follow-up build already in the making.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=86196
Elad Alfassa <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME--- Comment #5 from Elad Alfassa <[email protected]> --- Seems to work now with llvm-3.5.0-4.fc21.x86_64
Thanks.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel