Created attachment 99679 [details] 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.
This bug does not occur on my Radeon HD 6850 or 4870 machines.
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.
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.
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
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
At least it does not segfault on c74be01e80fcdd7feabc0f27df4aebe66abb626e, so it some of those Marek's commits after that.
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.
Fixed with current Mesa and LLVM Git.
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.