* [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
@ 2017-10-12 6:52 ` bugzilla-daemon
2017-10-15 18:57 ` bugzilla-daemon
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-12 6:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 410 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #1 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Thanks for the report. The bisection result makes perfect sense, as the version
bump can change how Mesa behaves. Could you please provide the version of Mesa
you're using? (The output of glxinfo contains this.)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1257 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
2017-10-12 6:52 ` bugzilla-daemon
@ 2017-10-15 18:57 ` bugzilla-daemon
2017-11-21 20:35 ` [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel bugzilla-daemon
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-10-15 18:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #2 from Gregor Münch <gr.muench@gmail.com> ---
I tested again with yesterdays git and newer Kernel:
OpenGL renderer string: AMD Radeon HD 7900 Series (TAHITI / DRM 3.21.0 /
4.14.0-2-drm-next-dc-git, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.0-devel
(git-0c1aecf177)
The system doesnt hang anymore, it completes phoronix benchmark runs again.
Before it was always crashing when the 3rd game test was started. The benchmark
suite let the games run 3 times each test. So it usually crashed after 7-8
starts.
However I still see those GPU faults in the log.
Performance in Shadow of Mordor is still just 61-62fps.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1651 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
2017-10-12 6:52 ` bugzilla-daemon
2017-10-15 18:57 ` bugzilla-daemon
@ 2017-11-21 20:35 ` bugzilla-daemon
2017-11-22 10:40 ` bugzilla-daemon
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-21 20:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1011 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
Gregor Münch <gr.muench@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Image corruptions, |Performance regression with
|instability and performance |various games in
|regression in drm-next-wip |drm-next-amd-staging Kernel
|Kernel |
--- Comment #3 from Gregor Münch <gr.muench@gmail.com> ---
I did a rather lengthy test with some games:
https://openbenchmarking.org/result/1711211-AL-GAMETEST345
To conclude, it is slower for everything game I tested.
Dota2 Vulkan and Unigine Superposition are one of the larger drops.
This correlates to findings from phoronix btw:
https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-DRM-4.15-Early
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2487 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (2 preceding siblings ...)
2017-11-21 20:35 ` [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel bugzilla-daemon
@ 2017-11-22 10:40 ` bugzilla-daemon
2017-11-22 11:42 ` bugzilla-daemon
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 10:40 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1037 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ckoenig.leichtzumerken@gmai
| |l.com
--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
One possible issue with per-VM BOs is that the kernel driver can no longer
migrate BOs to more optimal placement for a command stream, because it doesn't
know which BOs are used by the command stream. So if e.g. a per-VM BO is
evicted from VRAM, e.g. due to CPU access to it, it will normally never move
back to VRAM.
Christian, might it be possible to e.g. maintain a list of per-VM BOs which
were evicted from VRAM, and try to move them back to VRAM as part of the
existing mechanism for this (for "normal" BOs)?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2396 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (3 preceding siblings ...)
2017-11-22 10:40 ` bugzilla-daemon
@ 2017-11-22 11:42 ` bugzilla-daemon
2017-11-22 11:56 ` bugzilla-daemon
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 11:42 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 510 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
Andy Furniss <adf.lists@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adf.lists@gmail.com
--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
*** Bug 103175 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2133 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (4 preceding siblings ...)
2017-11-22 11:42 ` bugzilla-daemon
@ 2017-11-22 11:56 ` bugzilla-daemon
2017-11-22 20:58 ` bugzilla-daemon
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 11:56 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #6 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
(In reply to Michel Dänzer from comment #4)
> Christian, might it be possible to e.g. maintain a list of per-VM BOs which
> were evicted from VRAM, and try to move them back to VRAM as part of the
> existing mechanism for this (for "normal" BOs)?
That would certainly be possible, but I don't think it would help in any way.
The kernel simply doesn't know any more which BOs are currently used and which
aren't. So as soon as userspace allocates more VRAM than physical available we
are practically lost.
In other words we would just cycle over a list of BOs evicted from VRAM on
every submission and would rarely be able to move something back in.
What we could do is try to move buffers back into VRAM when memory is freed,
but that happens so rarely as well that it probably doesn't make much sense
either.
Can somebody analyze exactly why those games are now slower than they have been
before? E.g. which buffers are fighting for VRAM? Or are they maybe fighting
for GTT?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2146 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (5 preceding siblings ...)
2017-11-22 11:56 ` bugzilla-daemon
@ 2017-11-22 20:58 ` bugzilla-daemon
2017-11-22 20:59 ` bugzilla-daemon
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 20:58 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 409 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #7 from Gregor Münch <gr.muench@gmail.com> ---
Created attachment 135672
--> https://bugs.freedesktop.org/attachment.cgi?id=135672&action=edit
Shadow of Mordor benchmark current amd-staging kernel
This is current situation...
I dont know if this helps.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1437 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (6 preceding siblings ...)
2017-11-22 20:58 ` bugzilla-daemon
@ 2017-11-22 20:59 ` bugzilla-daemon
2017-11-22 21:02 ` bugzilla-daemon
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 20:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #8 from Gregor Münch <gr.muench@gmail.com> ---
Created attachment 135673
--> https://bugs.freedesktop.org/attachment.cgi?id=135673&action=edit
Shadow of Mordor benchmark older amd-staging kernel
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1371 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (7 preceding siblings ...)
2017-11-22 20:59 ` bugzilla-daemon
@ 2017-11-22 21:02 ` bugzilla-daemon
2017-12-02 19:32 ` bugzilla-daemon
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-11-22 21:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 453 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #9 from Gregor Münch <gr.muench@gmail.com> ---
Created attachment 135674
--> https://bugs.freedesktop.org/attachment.cgi?id=135674&action=edit
Shadow of Mordor benchmark current amd-staging kernel shader cache
This is the situation after the shader cache kicked in. Seems to be not any
different.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1507 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (8 preceding siblings ...)
2017-11-22 21:02 ` bugzilla-daemon
@ 2017-12-02 19:32 ` bugzilla-daemon
2017-12-12 13:02 ` bugzilla-daemon
2017-12-12 19:51 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-12-02 19:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 493 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #10 from Gregor Münch <gr.muench@gmail.com> ---
Ive updated test, with staging kernel and mesa from today:
https://openbenchmarking.org/result/1712028-AL-GAMETEST322
Looks like I enabled performance governor by accident. But overall 4.11 is
still faster- so it looks like there were some performance improvements in mesa
in the last days.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1397 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (9 preceding siblings ...)
2017-12-02 19:32 ` bugzilla-daemon
@ 2017-12-12 13:02 ` bugzilla-daemon
2017-12-12 19:51 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-12-12 13:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 472 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
--- Comment #11 from Andy Furniss <adf.lists@gmail.com> ---
For my test case - UnrealTournament alpha + not quite enough vram, looks like
mesa commit
winsys/amdgpu: disable local BOs again due to worse performance
https://cgit.freedesktop.org/mesa/mesa/commit/?id=bf0904e31fb7d9cd8932d582076c8d7beb02ba89
works around the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1407 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 103100] Performance regression with various games in drm-next-amd-staging Kernel
2017-10-04 16:38 [Bug 103100] Image corruptions, instability and performance regression in drm-next-wip Kernel bugzilla-daemon
` (10 preceding siblings ...)
2017-12-12 13:02 ` bugzilla-daemon
@ 2017-12-12 19:51 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2017-12-12 19:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=103100
Gregor Münch <gr.muench@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from Gregor Münch <gr.muench@gmail.com> ---
Ive tested Shadow of Mordor and something in the last two weeks made it faster,
either Kernel or Mesa or LLVM. Basically it went from 61/63 fps to 66 fps. With
Mesa from today, performance is restored to 68 fps.
Ive also ran my test suite again:
https://openbenchmarking.org/result/1712125-AL-GAMETEST346
Especially Unigine Superposition saw great benefit and went from 40 to 49 fps.
Dota 2 vulkan is still in a regressed state.
Ive also made a trace file with Shadow of Mordor with older kernel and good
performance some days ago: https://uploadfiles.io/ktjmx
I still struggle to compress the trace with the "bad" performance, if you guys
are interested I try to provide it.
Marking resolved for now.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2914 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread