Bug 102694 - LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction uses the constant bus more than once
Summary: LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruc...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
: 102714 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-13 07:24 UTC by Christoph Haag
Modified: 2017-09-18 09:53 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Christoph Haag 2017-09-13 07:24:34 UTC
RX 480
mesa git 1bcb953e16600e0d9329b678a6eacee98d326547
llvm-svn 312959

Apitrace: https://haagch.frickel.club/files/AstroKill-Linux-DebugGame.trace.xz

LLVM triggered Diagnostic Handler: Illegal instruction detected: VOP* instruction uses the constant bus more than once
%VGPR4<def> = V_MADMK_F32 %SGPR19<kill>, 1050253722, %VGPR20, %EXEC<imp-use>
LLVM failed to compile shader
radeonsi: can't compile a main shader part
Comment 1 Christoph Haag 2017-09-13 13:01:30 UTC
Many applications are affected. CS:GO, Unigine Heaven, Unigine Valles, but not Unigine Sanctuary.

So it's probably not something obscure but something recently introduced.
Comment 2 Christoph Haag 2017-09-13 13:04:27 UTC
llvm-svn 312776 is okay, llvm-svn 312959 is broken.
Comment 3 Michel Dänzer 2017-09-14 03:10:45 UTC
*** Bug 102714 has been marked as a duplicate of this bug. ***
Comment 4 MIka R 2017-09-14 13:11:29 UTC
This also seems to affect kwin_x11. Memory leaking and some plasma 5 objects flicker mildly.
Comment 5 John 2017-09-15 11:41:56 UTC
Same issue with mpv, and I also went back to 312776 to workaround it.
Comment 6 Christoph Haag 2017-09-18 09:53:59 UTC
Tried unigine heaven with new builds and it works fine now.

Most likely fixed by https://github.com/llvm-mirror/llvm/commit/11283fb2c8458150697e07d68d20ae7fe94325b5


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.