All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97362] Low performance after suspend on RX 480
@ 2016-08-16 10:32 bugzilla-daemon
  2016-08-17 23:50 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-08-16 10:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2468 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

            Bug ID: 97362
           Summary: Low performance after suspend on RX 480
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: haagch@frickel.club

Created attachment 125811
  --> https://bugs.freedesktop.org/attachment.cgi?id=125811&action=edit
dmesg

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Polaris10] (rev c7)

Tried on vanilla Linux 4.7 and 4.8-rc2 with the async pageflip commit reverted.

I'm testing with a very simple directx9 application (without nine) because the
impact is extremely obvious with wine:
http://www.codesampler.com/dx9src/dx9src_1.htm#dx9_initialization

Before suspending it runs with 5000+ FPS, after suspending it runs with <1000.
Also, if you keep the mouse pointer over the window moving, it will have a very
small performance drop before suspending and a huuuge performance drop after
suspending.

I looked at the powerplay values in sysfs while that application is running in
wine and before suspend,
pcie is
0: 2.5GB, x8 
1: 8.0GB, x16 *
and sclk is
0: 300Mhz 
1: 608Mhz 
2: 910Mhz 
3: 1077Mhz 
4: 1145Mhz 
5: 1191Mhz 
6: 1236Mhz 
7: 1288Mhz *

after suspend it's
pcie
0: 2.5GB, x8 *
1: 8.0GB, x16 
and sclk
0: 300Mhz 
1: 608Mhz *
2: 910Mhz 
3: 1077Mhz 
4: 1145Mhz 
5: 1191Mhz 
6: 1236Mhz 
7: 1288Mhz 


mclk is
0: 300Mhz 
1: 2000Mhz *
in both cases.

I then tried
echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level
and the sclk clock goes to max and pcie goes to 16x again, but the performance
of the application does NOT increase so it looks like the low clocks are a
symptom of whatever causes low performance.

dmesg from 4.8-rc2 attached, shows some errors:

[  574.369317] 
                failed to send message 5e ret is 0 


[  574.369317] [drm:amdgpu_vce_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 12
test failed
[  574.369317] [drm:amdgpu_resume [amdgpu]] *ERROR* resume of IP block
<vce_v3_0> failed -110
[  574.369317] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed
(-110).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3949 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] 6+ messages in thread

* [Bug 97362] Low performance after suspend on RX 480
  2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
@ 2016-08-17 23:50 ` bugzilla-daemon
  2016-08-23 21:10 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-08-17 23:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 765 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

Christoph Haag <haagch@frickel.club> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125811|0                           |1
        is obsolete|                            |

--- Comment #1 from Christoph Haag <haagch@frickel.club> ---
Created attachment 125857
  --> https://bugs.freedesktop.org/attachment.cgi?id=125857&action=edit
dmesg drm-next-4.9-wip

Just tried with drm-next-4.9-wip.

The vce error message is gone but the performance issue remains. So I can at
least say that this error was unrelated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2173 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] 6+ messages in thread

* [Bug 97362] Low performance after suspend on RX 480
  2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
  2016-08-17 23:50 ` bugzilla-daemon
@ 2016-08-23 21:10 ` bugzilla-daemon
  2016-08-30 12:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-08-23 21:10 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

--- Comment #2 from Grigori Goronzy <greg@chown.ath.cx> ---
I can confirm, I also see this. The performance reduction also depends on the
application for me. I think this issue has existed from the very start, so
there's no point in trying to bisect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1149 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] 6+ messages in thread

* [Bug 97362] Low performance after suspend on RX 480
  2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
  2016-08-17 23:50 ` bugzilla-daemon
  2016-08-23 21:10 ` bugzilla-daemon
@ 2016-08-30 12:50 ` bugzilla-daemon
  2017-02-12 22:03 ` bugzilla-daemon
  2019-11-19  8:09 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-08-30 12:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

--- Comment #3 from Grigori Goronzy <greg@chown.ath.cx> ---
FWIW, the Metro 2033 games experience a particularly bad reduction in
performance after suspend. Basically half FPS. Other demanding games, e.g. Tomb
Raider, are not affected quite as much.

Still no idea what could be causing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1193 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] 6+ messages in thread

* [Bug 97362] Low performance after suspend on RX 480
  2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-08-30 12:50 ` bugzilla-daemon
@ 2017-02-12 22:03 ` bugzilla-daemon
  2019-11-19  8:09 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-02-12 22:03 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

--- Comment #4 from Gašper Sedej <gsedej@gmail.com> ---
The issue is still present. After resume, I can make GPU to max MHz, but the
memory stays at 300MHz.

Ubuntu 16.04 + kernek 4.10rc7 + oibaf ppa (mesa git)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1108 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] 6+ messages in thread

* [Bug 97362] Low performance after suspend on RX 480
  2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-02-12 22:03 ` bugzilla-daemon
@ 2019-11-19  8:09 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97362

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #5 from Martin Peres <martin.peres@free.fr> ---
-- 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/drm/amd/issues/89.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-19  8:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16 10:32 [Bug 97362] Low performance after suspend on RX 480 bugzilla-daemon
2016-08-17 23:50 ` bugzilla-daemon
2016-08-23 21:10 ` bugzilla-daemon
2016-08-30 12:50 ` bugzilla-daemon
2017-02-12 22:03 ` bugzilla-daemon
2019-11-19  8:09 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.