All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 111240] RX 560x is very slow
@ 2019-07-28 14:44 bugzilla-daemon
  2019-08-03 20:30 ` bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-07-28 14:44 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 111240
           Summary: RX 560x is very slow
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: highest
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: alfabuster@gmail.com

Created attachment 144897
  --> https://bugs.freedesktop.org/attachment.cgi?id=144897&action=edit
Unigine_Heaven-4.0 around 27 fps

I have laptop ASUS TUF Gaming with Ubuntu 19.04, but graphics card rx 560x very
slow on linux system.


DRI_PRIME=1 glxinfo | grep OpenGL                
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 560 Series (POLARIS11, DRM 3.27.0,
5.0.0-21-generic, LLVM 8.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.0-devel
(git-2f92360 2019-07-26 disco-oibaf-ppa)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.0-devel
(git-2f92360 2019-07-26 disco-oibaf-ppa)
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.0-devel (git-2f92360
2019-07-26 disco-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:


glxinfo | grep OpenGL                                      
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.27.0, 5.0.0-21-generic, LLVM 8.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.0-devel
(git-2f92360 2019-07-26 disco-oibaf-ppa)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.0-devel
(git-2f92360 2019-07-26 disco-oibaf-ppa)
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.0-devel (git-2f92360
2019-07-26 disco-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

I tried run Unigine_Heaven-4.0. I've got around 27 fps on basic preset...

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
@ 2019-08-03 20:30 ` bugzilla-daemon
  2019-08-04  8:36 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-08-03 20:30 UTC (permalink / raw)
  To: dri-devel


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

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

Christoph Haag <haagch@frickel.club> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haagch@frickel.club

--- Comment #1 from Christoph Haag <haagch@frickel.club> ---
Created attachment 144944
  --> https://bugs.freedesktop.org/attachment.cgi?id=144944&action=edit
moment of performance drop

I have the same laptop so I tried it and there is actually an interesting
effect, see attached screenshot.

At first performance is quite good, but at some point during the benchmark,
performance and GPU usage suddenly drops a lot.

The performance then stays low permanently, even when restarting the benchmark,
after waiting for the dgpu get shutdown by runpm.

Maybe I'll take a closer look later with more gallium hud graphs and maybe umr
--top, but for now I'll just leave a comment here confirming that there is an
issue.

Also loading the benchmark seems to take much longer after the performance drop
happens, which seems very suspicious.

Tested on Arch with mesa 19.1.3, Linux 5.1, 5.2 and 5.3-rc2. Happens on all
three kernel versions.

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
  2019-08-03 20:30 ` bugzilla-daemon
@ 2019-08-04  8:36 ` bugzilla-daemon
  2019-08-04 11:08 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-08-04  8:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Denys <alfabuster@gmail.com> ---
On the Arch you have more fps then Ubuntu, probably Kernel 5.1 better then 5.0.

Just now update Kernel to 5.0.0-23-generic, it seems nothing change, same 26-27
fps on basic preset.

Christoph Haag, do you know the developers planning some update for amdgpu
driver?

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
  2019-08-03 20:30 ` bugzilla-daemon
  2019-08-04  8:36 ` bugzilla-daemon
@ 2019-08-04 11:08 ` bugzilla-daemon
  2019-09-01 14:06 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-08-04 11:08 UTC (permalink / raw)
  To: dri-devel


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

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

Denys <alfabuster@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alfabuster@gmail.com

--- Comment #3 from Denys <alfabuster@gmail.com> ---
Created attachment 144945
  --> https://bugs.freedesktop.org/attachment.cgi?id=144945&action=edit
Windows 10 test - 64 fps

Just for comparison. 
Same laptop, same test, but running on Windows 10. I have got around 64 fps...

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-08-04 11:08 ` bugzilla-daemon
@ 2019-09-01 14:06 ` bugzilla-daemon
  2019-09-01 17:24 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-09-01 14:06 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from cmdrrdo@gmail.com ---
The performance drop may be related to an incorrect boost frequency (400MHz),
compare here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830522

Workaround is to set
echo 0 > /sys/devices/system/cpu/cpufreq/boost

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-09-01 14:06 ` bugzilla-daemon
@ 2019-09-01 17:24 ` bugzilla-daemon
  2019-10-28  7:13 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-09-01 17:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Sylvain BERTRAND <sylvain.bertrand@gmail.com> ---
On multi-core cpus, better use the performance cpu freq governor.
Some load profiles may be badly managed by the on-demand cpu freq governor.
Due to the load profile, some cores may not get enough load to be switched to
their highest frequencies (which is critical for realtime game performance).

I did notice significant fps loss with the on-demand cpu governor with some of
my dota2 configurations running on a 8-cores 4.7GHz (FX9590).

This is a pb for lambda users who don't want to know anything about cpu freq
governors.

Multi-threaded games must be aware of the pb and warn the users about the
cpu governor settings (this is true on any OS).

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

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

* [Bug 111240] RX 560x is very slow
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-09-01 17:24 ` bugzilla-daemon
@ 2019-10-28  7:13 ` bugzilla-daemon
  2019-10-28 21:16 ` [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-28  7:13 UTC (permalink / raw)
  To: dri-devel


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

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

Jacek Konieczny <jajcus@jajcus.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jajcus@jajcus.net

--- Comment #6 from Jacek Konieczny <jajcus@jajcus.net> ---
I have a similar laptop (TUF Gaming FX505DY), and the very same problem, with
kernel 5.3.7 and governor set to 'performance'.

When I run a game with DRI_PRIME=1 (to use the dedicated GPU) the system gets
throttled down at some point and never recovers. Every CPU core runs at 400Mhz
which makes the system practically unusable until reboot.

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

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

* [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-10-28  7:13 ` bugzilla-daemon
@ 2019-10-28 21:16 ` bugzilla-daemon
  2019-10-28 21:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-28 21:16 UTC (permalink / raw)
  To: dri-devel


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

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

Jacek Konieczny <jajcus@jajcus.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|RX 560x is very slow        |ASUS TUF Gaming laptops
                   |                            |gets throttled down when
                   |                            |the RX560X GPU is being
                   |                            |used

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

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

* [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (6 preceding siblings ...)
  2019-10-28 21:16 ` [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used bugzilla-daemon
@ 2019-10-28 21:33 ` bugzilla-daemon
  2019-11-04 11:52 ` bugzilla-daemon
  2019-11-19  9:38 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-10-28 21:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Jacek Konieczny <jajcus@jajcus.net> ---
I have tried kernel 5.4-rc5 – that did not help.

Disabling cpufreq boost (echo 0 > /sys/devices/system/cpu/cpufreq/boost) stops
the drastic slowdown from happening, but this also makes the system
significantly slower than normal (still much better than after the bug
appears), so there is no gain from using the discrete GPU (DRI_PRIME=1).

I wonder if this might be the problem:

> $ cat /sys/class/hwmon/hwmon3/{name,temp1_crit,temp1_crit_hyst}
> amdgpu
> 94000
> -273150
> $ cat /sys/class/hwmon/hwmon4/{name,temp1_crit,temp1_crit_hyst}
> amdgpu
> 80000
> 0

Are these hysteresis values being used? If so, then those values won't work for
recovering from thermal throttle. Though, I have never seen temperature reading
reaching 80 degrees there.

The first one seems to be the discrete GPU (RX560X), the other one integrated
(Vega 8).

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

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

* [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (7 preceding siblings ...)
  2019-10-28 21:33 ` bugzilla-daemon
@ 2019-11-04 11:52 ` bugzilla-daemon
  2019-11-19  9:38 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-04 11:52 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Jacek Konieczny <jajcus@jajcus.net> ---
Looks like it is not amdgpu bug, but a faulty cooling algorithm implemented in
BIOS/hardware (reportedly the same happens on Windows before dedicated ASUS
software is installed).

I was able to make things much better with custom thermald config, but Linux is
still lacking proper tools to do it right.

It is quite tricky, probably mostly due to interaction between the GPU heating
and the CPU boost feature not accounting for the extra heat.

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

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

* [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used
  2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
                   ` (8 preceding siblings ...)
  2019-11-04 11:52 ` bugzilla-daemon
@ 2019-11-19  9:38 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:38 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #9 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/882.

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

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28 14:44 [Bug 111240] RX 560x is very slow bugzilla-daemon
2019-08-03 20:30 ` bugzilla-daemon
2019-08-04  8:36 ` bugzilla-daemon
2019-08-04 11:08 ` bugzilla-daemon
2019-09-01 14:06 ` bugzilla-daemon
2019-09-01 17:24 ` bugzilla-daemon
2019-10-28  7:13 ` bugzilla-daemon
2019-10-28 21:16 ` [Bug 111240] ASUS TUF Gaming laptops gets throttled down when the RX560X GPU is being used bugzilla-daemon
2019-10-28 21:33 ` bugzilla-daemon
2019-11-04 11:52 ` bugzilla-daemon
2019-11-19  9:38 ` 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.