https://bugs.freedesktop.org/show_bug.cgi?id=79155
Priority: medium Bug ID: 79155 Assignee: dri-devel@lists.freedesktop.org Summary: [Tesseract Game] Global Illumination: Medium Causes Color Distortion Severity: normal Classification: Unclassified OS: Linux (All) Reporter: mmstickman@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa
Created attachment 99679 --> https://bugs.freedesktop.org/attachment.cgi?id=99679&action=edit Screenshot of graphical error
Currently using a Radeon HD 7950 with the latest git of mesa. Setting Global Illumination to Medium or above causes graphical corruption.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
Ilia Mirkin imirkin@alum.mit.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #99679|text/plain |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #1 from mmstickman@gmail.com --- This bug does not occur on my Radeon HD 6850 or 4870 machines.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #2 from smoki smoki00790@gmail.com ---
Do you use Tom's spill-fixes branch? I guess answer is 'yes' :).
Without that branch a got "LLVM ERROR: ran out of registers during register allocation" when i tried to load 'complex' map with any Global Illumination settings, but for example 'test_ctf' loads fine :).
r600 is of course not affected because it does not use llvm here like radeonsi do.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #3 from mmstickman@gmail.com --- I'm using the precompiled packages from the mesa git repo from archlinux.fr on my Arch Linux system so that would mean that they are shipping the packages with that branch.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #4 from smoki smoki00790@gmail.com ---
This bug changed a little with current git, because there is no color changes now, but it does not work right llvm failed and seems just turn it off... At least there is no color changes :)
LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Can't spill VGPR! LLVM triggered Diagnostic Handler: SIInstrInfo::loadRegToStackSlot - Can't retrieve spilled VGPR! LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Can't spill VGPR! ........ LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Can't spill VGPR! LLVM triggered Diagnostic Handler: SIInstrInfo::loadRegToStackSlot - Can't retrieve spilled VGPR! radeon_llvm_compile: Processing Diag Flag LLVM failed to compile shader EE si_state.c:2214 si_shader_select - Failed to build shader variant (type=1) 1
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #5 from smoki smoki00790@gmail.com ---
Currently when i try to check medium app just segfaulted.
... LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Do not know how to spill register LLVM triggered Diagnostic Handler: SIInstrInfo::loadRegFromStackSlot - Do not know how to restore register radeon_llvm_compile: Processing Diag Flag LLVM failed to compile shader EE si_state.c:2289 si_shader_select - Failed to build shader variant (type=1) 1 Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #6 from smoki smoki00790@gmail.com --- At least it does not segfault on c74be01e80fcdd7feabc0f27df4aebe66abb626e, so it some of those Marek's commits after that.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
--- Comment #7 from smoki smoki00790@gmail.com ---
This is fixed for me in current llvm-3.7 + mesa git.
mmstickman, you might wanna recheck this for you card and eventually to close this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=79155
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Michel Dänzer michel@daenzer.net --- Fixed with current Mesa and LLVM Git.
dri-devel@lists.freedesktop.org