Skip to contentSkip to conversation

Grim Fandango Remastered segfaults within radeon_llvm_compile->...->llvm::BasicBlock::getTerminator

Bug 88887 [email protected] 1 participant 4 messages Jan 31, 2015 – Aug 2, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=88887

Bug ID: 88887
Summary: Grim Fandango Remastered segfaults within
radeon_llvm_compile->...->llvm::BasicBlock::getTermina tor
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]

Created attachment 112998
--> https://bugs.freedesktop.org/attachment.cgi?id=112998&action=edit
Backtrace for all threads

Crash within
#0 0xf62be474 in llvm::BasicBlock::getTerminator() () from /usr/lib32/libLLVM-3.5.so
...
#9 0xf723bdae in radeon_llvm_compile () from /usr/lib32/dri/radeonsi_dri.so
...
#22 0x081b1014 in zg_RenderContext_DrawIndexedPrimitives ()
...

Full backtrace attached.
Crashes just after an intro movie, 100% reproducable.

There is a message in the game's log: "No matching vertex attribute 'vs_TexCoord' in shader 'color_quad' for QuadVertex::TexCoord" just before the movie end.

Mesa version: Mesa 10.5.0 devel (on earlier versions too, tested up to 10.3.7) LLVM version: 3.5.1
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
xf86-video-ati: recent git version

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

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=88887

--- Comment #1 from smoki <[email protected]> ---

Yes i tried that game few days ago and can reproduce that with llvm 3.5, but
it works if mesa use (is compiled against) llvm 3.6 or llvm 3.7svn

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

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88887

Daniel Scharrer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Daniel Scharrer <[email protected]> --- No crash here either with Mesa f8f3aa7 and LLVM r230332 (TAHITI, Radeon HD 7950).

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

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=88887

smoki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from smoki <[email protected]> ---

I will close this as i have a game and it was working on day one with llvm
3.6+ and it works now with llvm 3.8.

Please reopen if this is still an issue for you with llvm 3.6 or later.

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