Bug 90370 - [radeonsi] dota2 suffers from many glitches
Summary: [radeonsi] dota2 suffers from many glitches
Status: RESOLVED INVALID
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-05-08 09:38 UTC by Sylvain BERTRAND
Modified: 2015-05-18 13:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dota2 glitch screenshot (482.87 KB, image/jpeg)
2015-05-14 12:53 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (459.75 KB, image/jpeg)
2015-05-14 13:09 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (509.39 KB, image/jpeg)
2015-05-14 13:11 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (510.54 KB, image/jpeg)
2015-05-14 13:12 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (506.68 KB, image/jpeg)
2015-05-14 13:13 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (502.02 KB, image/jpeg)
2015-05-14 13:13 UTC, Sylvain BERTRAND
Details
dota2 glitch screenshot (506.81 KB, image/jpeg)
2015-05-14 13:14 UTC, Sylvain BERTRAND
Details

Description Sylvain BERTRAND 2015-05-08 09:38:58 UTC
While playing dota2, I can see a lot of artifacts, and I get a lot of
mini hangs on tahiti xt gpu (radeonsi).
llvm f194367792d7c43f0476e11e7c0d171b8bfbc601 15/04/2015
linux 4.0.0
mesa a7d018accfd0161510a75ba685e056256de494c2 08/04/2015 (no glx-tls/dri3 is on)
libdrm 0d78b37b1cac304ce5e84d1207f0a43abd29c000 15/04-22015
Comment 1 Sylvain BERTRAND 2015-05-08 18:42:02 UTC
Xorg.0.log http://filebin.ca/21306lWrU1vK/Xorg.0.log
(bugzilla attachment upload does not work with lynx)
Comment 2 Sylvain BERTRAND 2015-05-08 18:43:13 UTC
portal2 is mini-hanging a lot then hangs for good
Comment 3 Sylvain BERTRAND 2015-05-09 23:04:02 UTC
ok, got git versions from linux agd5f (4.1fixes branch), llvm, mesa, xserver,
and ati xorg driver.

While playing dota2: many artefacts/glitches randomly appearing on the screen and choppy action (unplayable)

http://filebin.ca/21BJIEUOGDQt/dmesg
http://filebin.ca/21BJUPQs30LP/Xorg.0.log
Comment 4 Sylvain BERTRAND 2015-05-12 01:28:24 UTC
now with full asm and tls... same thing: choppy action (unplayable) and
quite a lot artefacts/glitches on screen.
Comment 5 Michel Dänzer 2015-05-13 07:59:48 UTC
Can you attach a screenshot showing the artifacts?

What does "mini-hang" mean?

P.S. Please attach files here directly. If your browser can't do that, please find one that can.
Comment 6 Sylvain BERTRAND 2015-05-14 12:53:56 UTC
Created attachment 115767 [details]
dota2 glitch screenshot
Comment 7 Sylvain BERTRAND 2015-05-14 13:09:29 UTC
Created attachment 115768 [details]
dota2 glitch screenshot
Comment 8 Sylvain BERTRAND 2015-05-14 13:11:31 UTC
Created attachment 115769 [details]
dota2 glitch screenshot
Comment 9 Sylvain BERTRAND 2015-05-14 13:12:37 UTC
Created attachment 115770 [details]
dota2 glitch screenshot
Comment 10 Sylvain BERTRAND 2015-05-14 13:13:12 UTC
Created attachment 115771 [details]
dota2 glitch screenshot
Comment 11 Sylvain BERTRAND 2015-05-14 13:13:49 UTC
Created attachment 115772 [details]
dota2 glitch screenshot
Comment 12 Sylvain BERTRAND 2015-05-14 13:14:43 UTC
Created attachment 115773 [details]
dota2 glitch screenshot
Comment 13 Sylvain BERTRAND 2015-05-14 13:18:34 UTC
mini-hangs, choppy action: while playing, the game freezes briefly, and
this happens randomly all the time.
When there is a lot of things happening on the screen, for instance in
a team fight, it freezes longer and more often (very choppy).
Comment 14 Sylvain BERTRAND 2015-05-15 18:31:54 UTC
linux drm-fixes-4.1, xserver, xorg ati drv, drm, llvm and mesa, all
from git as of today, still the same issues.
Comment 15 Sylvain BERTRAND 2015-05-17 14:02:52 UTC
Ok, I nailed down the choppyness: source engine games do compile a lot
of shaders live... then a "safe" llvm won't do and will cripple performance.
You must maximize shader compilation performance with threading and aggressive
compilation options for llvm. Vulkan spir-v will be more than welcome.
One down. One to go. Those graphical glitches are also into portal2, but less
visible and more rare.
Comment 16 Sylvain BERTRAND 2015-05-18 13:17:06 UTC
Got lucky and nailed the second one (for 99.99% of the glitches):
R600_DEBUG='switch_on_eop' fixed 99.99% of the glitches in dota2/portal2.
I open a more specific bug.


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.