https://bugs.freedesktop.org/show_bug.cgi?id=75112
Priority: medium Bug ID: 75112 Assignee: dri-devel@lists.freedesktop.org Summary: Meta Bug for HyperZ issues on r600g and radeonsi Severity: normal Classification: Unclassified OS: All Reporter: andreas.boll.dev@gmail.com Hardware: All Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
This bug is for tracking all the outstanding HyperZ issues on r600g and radeonsi.
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.kernel.org | |/show_bug.cgi?id=70411 Depends on| |58660, 64471, 66352, 68799, | |72685, 73088, 73785, 74428, | |74803, 74863, 74892 Blocks| |75011
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |74784
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 74784, which changed state.
Bug 74784 Summary: [hyperz] Strange artifacts when rendering trees in Dota 2 https://bugs.freedesktop.org/show_bug.cgi?id=74784
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #1 from funkydude funkydude87@hotmail.co.uk --- Is there some form of attack plan for fixing these issues?
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #2 from commiethebeastie@gmail.com --- How to set R600_HYPERZ=1 by default in Unity 7?
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #3 from Marek Olšák maraeo@gmail.com --- The variable is called R600_DEBUG. Type: "R600_DEBUG=help glxgears"
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #4 from Alex Deucher agd5f@yahoo.com --- (In reply to comment #1)
Is there some form of attack plan for fixing these issues?
We need to figure out what combination(s) of GL state cause a problem with hyperZ, then either disable hyperZ in those cases, or adjust the hyperZ-specific state to avoid the hang in those specific cases. Ideally we'd be able to find a small test case where we can reproduce the issue(s).
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #5 from funkydude funkydude87@hotmail.co.uk --- Is that something us users can help with? :p
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #6 from commiethebeastie@gmail.com --- No any regressions with R600_DEBUG=hyperz on Asus DirectCU RHD6850.
Tested on Serious Sam III, Unigine, Portal 2, Compiz, Lightsmark 2008, Europe Universalis IV, Fallout New Vegas :)
Are you need in more info?
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #7 from commiethebeastie@gmail.com --- echo $R600_DEBUG hyperz
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #8 from Grigori Goronzy greg@chown.ath.cx --- Please check the bugs this one depends on. There are various well known applications and games that have problems (GPU hangs and/or image corruption) with HyperZ enabled. The geometry shader refactoring also introduced a regression.
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #9 from commiethebeastie@gmail.com --- Created attachment 94823 --> https://bugs.freedesktop.org/attachment.cgi?id=94823&action=edit gpulockup rhd3200
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #10 from commiethebeastie@gmail.com --- Created attachment 94824 --> https://bugs.freedesktop.org/attachment.cgi?id=94824&action=edit xorg rhd3200
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #11 from commiethebeastie@gmail.com --- Created attachment 94825 --> https://bugs.freedesktop.org/attachment.cgi?id=94825&action=edit lspci rhd3200
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #12 from commiethebeastie@gmail.com --- lockup with rhd3200 in Lightsmark 2008.
[ 1506.221260] radeon 0000:01:05.0: GPU lockup CP stall for more than 10000msec [ 1506.221275] radeon 0000:01:05.0: GPU lockup (waiting for 0x0000000000011a82 last fence id 0x0000000000011a71 on ring 0) [ 1506.221283] [drm:r600_ib_test] *ERROR* radeon: fence wait failed (-35). [ 1506.221293] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35). [ 1506.221299] radeon 0000:01:05.0: ib ring test failed (-35). [ 1506.221305] [drm] Disabling audio 0 support [ 1506.222343] radeon 0000:01:05.0: GPU softreset: 0x00000009 [ 1506.222349] radeon 0000:01:05.0: R_008010_GRBM_STATUS = 0xE6733030 [ 1506.222355] radeon 0000:01:05.0: R_008014_GRBM_STATUS2 = 0x00110103 [ 1506.222360] radeon 0000:01:05.0: R_000E50_SRBM_STATUS = 0x20000040 [ 1506.222365] radeon 0000:01:05.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [ 1506.222371] radeon 0000:01:05.0: R_008678_CP_STALLED_STAT2 = 0x00008002 [ 1506.222376] radeon 0000:01:05.0: R_00867C_CP_BUSY_STAT = 0x00008086 [ 1506.222382] radeon 0000:01:05.0: R_008680_CP_STAT = 0x80018645 [ 1506.222387] radeon 0000:01:05.0: R_00D034_DMA_STATUS_REG = 0x44C83D57 [ 1506.272140] radeon 0000:01:05.0: R_008020_GRBM_SOFT_RESET=0x00007FEF [ 1506.272196] radeon 0000:01:05.0: SRBM_SOFT_RESET=0x00000100 [ 1506.274289] radeon 0000:01:05.0: R_008010_GRBM_STATUS = 0xA0003030 [ 1506.274295] radeon 0000:01:05.0: R_008014_GRBM_STATUS2 = 0x00000003 [ 1506.274300] radeon 0000:01:05.0: R_000E50_SRBM_STATUS = 0x20008040 [ 1506.274305] radeon 0000:01:05.0: R_008674_CP_STALLED_STAT1 = 0x00000000 [ 1506.274311] radeon 0000:01:05.0: R_008678_CP_STALLED_STAT2 = 0x00000000 [ 1506.274316] radeon 0000:01:05.0: R_00867C_CP_BUSY_STAT = 0x00000000 [ 1506.274321] radeon 0000:01:05.0: R_008680_CP_STAT = 0x80100000 [ 1506.274326] radeon 0000:01:05.0: R_00D034_DMA_STATUS_REG = 0x44C83D57 [ 1506.274333] radeon 0000:01:05.0: GPU reset succeeded, trying to resume
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #13 from commiethebeastie@gmail.com --- Also it hangs without hyperz :( (rhd3200)
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #14 from funkydude funkydude87@hotmail.co.uk --- I honestly don't know why you thought spamming this ticket (and the people CC'd to it) was a good idea with something that has nothing to do with the issue. Maybe someone can purge it?
Please make a separate ticket for issues.
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #15 from Marek Olšák maraeo@gmail.com --- Please file separate bug reports for your issues. This is only a meta bug aggregating all HyperZ bugs.
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #16 from David "okias" Heidelberger david.heidelberger@ixit.cz --- Could be done some kind of white-list?
For example it seems work very well on 6550D APU and without HyperZ performance really suffer even for old games. There is not much reasons to not enable it here. I browsed bug reports and non of them is APU related, so maybe give a shot for these?
I did test on 3.12.18 kernel, with DPM on, GL_VERSION: 3.0 Mesa 10.3.0-devel (git-23e9f06). Tested SW: KWin with composite, Counter Strike 1.6 (improved performance), 0AD (also improved speed), glmark2 2014.03 (515 points -> 717).
Thank you
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #17 from Michel Dänzer michel@daenzer.net --- (In reply to comment #16)
I browsed bug reports and non of them is APU related, so maybe give a shot for these?
Did you test the games referenced in those bug reports?
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #18 from David Heidelberger (okias) david.heidelberger@ixit.cz --- At this moment only Unigine Sanctuary (it work as expected), now downloading Unigine Heaven.
Some of games I'm not able to test, but I tested piglit quick set and no regression showed up.
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |83205
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 72685, which changed state.
Bug 72685 Summary: [radeonsi hyperz] Artifacts in Unigine Sanctuary https://bugs.freedesktop.org/show_bug.cgi?id=72685
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 83205, which changed state.
Bug 83205 Summary: GPU lockup when entering settings in Verdun game with HyperZ enabled https://bugs.freedesktop.org/show_bug.cgi?id=83205
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 74892, which changed state.
Bug 74892 Summary: HyperZ GPU lockup with radeonsi 7970M PITCAIRN and Distance Alpha game https://bugs.freedesktop.org/show_bug.cgi?id=74892
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 58660, which changed state.
Bug 58660 Summary: CAYMAN broken with HyperZ on https://bugs.freedesktop.org/show_bug.cgi?id=58660
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 74803, which changed state.
Bug 74803 Summary: [r600g] HyperZ broken on RV630 (Cogs shadows are broken) https://bugs.freedesktop.org/show_bug.cgi?id=74803
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 74784, which changed state.
Bug 74784 Summary: [hyperz] Strange artifacts when rendering trees in Dota 2 https://bugs.freedesktop.org/show_bug.cgi?id=74784
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 74863, which changed state.
Bug 74863 Summary: [r600g] HyperZ broken on RV770 and CYPRESS (Left 4 Dead 2 trees corruption) bisected! https://bugs.freedesktop.org/show_bug.cgi?id=74863
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
smoki smoki00790@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |83418
https://bugs.freedesktop.org/show_bug.cgi?id=75112
Bug 75112 depends on bug 83418, which changed state.
Bug 83418 Summary: EU IV is incorrectly rendered after git1409011930.d571f2 https://bugs.freedesktop.org/show_bug.cgi?id=83418
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #19 from David Heidelberger (okias) david.heidelberger@ixit.cz --- After Marek fixed some HyperZ issues, older issues are FIXED or waiting to confirm. As usual, I tested it and didn't noticed any problems.
Is there possibility enable HyperZ soon as possible, to be able get enough feedback until 10.4 release?
https://bugs.freedesktop.org/show_bug.cgi?id=75112
--- Comment #20 from Andreas Boll andreas.boll.dev@gmail.com --- Hyper-Z has been re-enabled by default with
commit 14bdcc6ff98664552216acfdb7e35d0b128003ef Author: Andreas Boll andreas.boll.dev@gmail.com Date: Thu Oct 23 14:52:55 2014 +0200
radeon: enable Hyper-Z on r600g and radeonsi by default
This reverts commit 01e637114914453451becc0dc8afe60faff48d84. Since then many Hyper-Z issues have been fixed or worked around.
Enable Hyper-Z by default so that we get enough feedback for the upcoming mesa 10.4 release.
If you have issues with Hyper-Z try to disable Hyper-Z using the enviroment variable R600_DEBUG=nohyperz and please report the issue on the bugtracker.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75011 See also: https://bugs.freedesktop.org/show_bug.cgi?id=75112
Signed-off-by: Andreas Boll andreas.boll.dev@gmail.com Reviewed-by: Marek Olšák marek.olsak@amd.com
Please help testing.
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 64471, which changed state.
Bug 64471 Summary: Radeon HD6570 lockup in Brütal Legend with HyperZ https://bugs.freedesktop.org/show_bug.cgi?id=64471
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 73785, which changed state.
Bug 73785 Summary: [HyperZ] Team Fortress 2 causes random GPU stalls on radeonsi https://bugs.freedesktop.org/show_bug.cgi?id=73785
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 66352, which changed state.
Bug 66352 Summary: GPU lockup in L4D2 on TURKS with HyperZ https://bugs.freedesktop.org/show_bug.cgi?id=66352
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 73785, which changed state.
Bug 73785 Summary: [HyperZ] Team Fortress 2 causes random GPU stalls on radeonsi https://bugs.freedesktop.org/show_bug.cgi?id=73785
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 73785, which changed state.
Bug 73785 Summary: [HyperZ] Team Fortress 2 causes random GPU stalls on radeonsi https://bugs.freedesktop.org/show_bug.cgi?id=73785
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 68799, which changed state.
Bug 68799 Summary: [APITRACE] Hyper-Z lockup with Falcon BMS 4.32u6 on CAYMAN https://bugs.freedesktop.org/show_bug.cgi?id=68799
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |MOVED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 73088, which changed state.
Bug 73088 Summary: [HyperZ] Juniper (6770): Gone Home / Unigine Heaven 4.0 lock up system after several minutes of use https://bugs.freedesktop.org/show_bug.cgi?id=73088
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
https://bugs.freedesktop.org/show_bug.cgi?id=75112 Bug 75112 depends on bug 74428, which changed state.
Bug 74428 Summary: hyperz causes gpu hang in Counter-strike: Source https://bugs.freedesktop.org/show_bug.cgi?id=74428
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |MOVED
https://bugs.freedesktop.org/show_bug.cgi?id=75112
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #21 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/496.
dri-devel@lists.freedesktop.org