Bug 103904

Summary: Source engine-based games won't hang at start without R600_DEBUG=vs
Product: Mesa Reporter: network723
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description network723 2017-11-25 13:42:50 UTC
Source engine-based games, like Left4Dead 2, CS:Source, etc. freeze after window creation, consuming 100% of single cpu core. Running these games with R600_DEBUG=vs restores normal behavior.

TAHITI Pro, Mesa git master commit b6b4b2c6d825c056033c4111a67e83111b5f02e8
Comment 1 Kai 2017-11-25 14:02:26 UTC
This looks like a duplicate of bug 103902

Patch is on the list, see https://patchwork.freedesktop.org/patch/189768/

*** This bug has been marked as a duplicate of bug 103902 ***
Comment 2 fin4478 2017-11-25 15:15:37 UTC
(In reply to Kai from comment #1)
> This looks like a duplicate of bug 103902
> 
> Patch is on the list, see https://patchwork.freedesktop.org/patch/189768/
> 
> *** This bug has been marked as a duplicate of bug 103902 ***

I tested R600_DEBUG=fs,vs,gs,ps,cs with Portal 2 and it did not help with RX560. However when Portal 2 hangs, core #9 (0-11) is used 100%.
Comment 3 network723 2017-11-25 16:26:21 UTC
actually, it's not necessary R600_DEBUG=vs

R600_DEBUG=ps or R600_DEBUG=gs works too
Comment 4 Kai 2017-11-25 17:17:51 UTC
(In reply to fin4478 from comment #2)
> (In reply to Kai from comment #1)
> > This looks like a duplicate of bug 103902
> > 
> > Patch is on the list, see https://patchwork.freedesktop.org/patch/189768/
> > 
> > *** This bug has been marked as a duplicate of bug 103902 ***
> 
> I tested R600_DEBUG=fs,vs,gs,ps,cs with Portal 2 and it did not help with
> RX560. However when Portal 2 hangs, core #9 (0-11) is used 100%.

Did you actually try the patch I linked you to? Because this still sounds an awful lot like bug 103902.
Comment 5 network723 2017-11-25 18:13:10 UTC
(In reply to Kai from comment #4)

I don't know about original bug 103902 poster, but the proposed patch definitely fixes the issue for me.
Comment 6 Kai 2017-11-25 18:55:52 UTC
(In reply to network723 from comment #5)
> (In reply to Kai from comment #4)
> 
> I don't know about original bug 103902 poster, but the proposed patch
> definitely fixes the issue for me.

Ok, so then let us keep this bug closed as a duplicate until differing information arises. And bug 103902 will be closed, once the patch lands on Mesa master.

*** This bug has been marked as a duplicate of bug 103902 ***

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.