Bug 88745 - [RADEONSI] [LLVM] [bisected] GPU hang when running Lightsmark
Summary: [RADEONSI] [LLVM] [bisected] GPU hang when running Lightsmark
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 11:15 UTC by Arek Ruśniak
Modified: 2015-01-30 02:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg log (105.79 KB, text/plain)
2015-01-23 11:15 UTC, Arek Ruśniak
Details

Description Arek Ruśniak 2015-01-23 11:15:26 UTC
Created attachment 112715 [details]
dmesg log

GPU hang while running lightsmark (before "penumbra shadows", after "soft shadows" test).

Befor llvm r222584 [R600/SI: Add an s_mov_b32 to patterns which use the M0RegClass] problem disappear
llvm-3.5.1 & mesa-git@master works good. 


GPU: Cape Verde XT
ArchLinux x86_64
linux: 1.19rc5
libdrm-git: d2e0f55
mesa-git: 991d5cf (latest mesa didn't build against older llvm3.6svn revision for me) 
ddx: 7.5.0
xorg: 1.6.3
llvm-svn: r221909 - r226904
Comment 1 Michel Dänzer 2015-01-29 06:14:37 UTC
(In reply to Arek Ruśniak from comment #0)
> GPU hang while running lightsmark (before "penumbra shadows", after "soft
> shadows" test).
> 
> Befor llvm r222584 [R600/SI: Add an s_mov_b32 to patterns which use the
> M0RegClass] problem disappear

Tom, any ideas?
Comment 2 Tom Stellard 2015-01-29 23:36:59 UTC
Could you set the environment variable R600_DEBUG=ps,vs,gs and post the dumps for both good and bad behavior?
Comment 3 Arek Ruśniak 2015-01-29 23:49:06 UTC
This is very strange things Tom. This morning i tried mesa-git 2397a72 & llvm-svn r227384 without success. 
Now i've tried mesa-git 765cfe9 & llvm-svn r227463 and there is no gpu faults anymore. 

I'll tried latest llvm-svn ASAP. 
If you need dumps still i'll do it. But problems are gone for now.
Comment 4 Arek Ruśniak 2015-01-30 01:47:38 UTC
Latest mesa&llvm works for me too. 
I've tried also: unigine-[sanctuary/valley/tropics] & xonotic(and it looks like everything goes faster about ~10%)

Unigine-heaven has a problem:
"LLVM ERROR: Not supported instr: <MCInst 2210 <MCOperand Reg:3171> <MCOperand Imm:24> <MCOperand Reg:2044> <MCOperand Reg:74>>"

But i'll test it again tomorrow. And if things go wrong i'll fill a new bug.


thx.
Comment 5 Michel Dänzer 2015-01-30 02:05:02 UTC
Resolving per comment 4 (BTW, you can do this yourself :), thanks.


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.