All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
@ 2018-10-11 22:44 bugzilla-daemon
  2018-10-23 16:41 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-11 22:44 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 108330
           Summary: WarThunder game performance killed after Ryzen
                    optimisations
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: acelists@atlas.sk
        QA Contact: dri-devel@lists.freedesktop.org

After the recent optimisation of radeonsi for Ryzen CPUs (apparently change in
thread management distributing them to CPU cores), the performance of the
WarThunder game dived radically.

Normally it was 40-60FPS. After the change it appears OK when in plain fields,
but when moving the vehicle into a more intensive area, where shots are fired
or other player vehicles are around, the FPS drops to 0-10 with really
noticeable freezes and stuttering. This was never the case before the change,

The GPU is Radeon RX 560 (4GB memory).

The CPU is AMD Threadripper 1920x (12 cores/24 threads) so it may be one where
the optimisations are applied. Are Threadripper CCX/core layout properly
recognized by the patch for Ryzen?

Before the patch I noticed, the speed of the game can be visibly negatively
affected if other tasks are running on the CPU. So I always run the game with
no other CPU heavy tasks running. The report is also with no other tasks. It
may be the change of thread scheduling from the patch has now invoked the
core/thread load scenario the game is sensitive to.

I run Mesa from git so I noticed this problem when it was merged.

Now running on Mesa 18.2.2 stable and the problem is not there.

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
@ 2018-10-23 16:41 ` bugzilla-daemon
  2018-10-30 17:44 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-23 16:41 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |108530


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=108530
[Bug 108530] [Tracker] Mesa 18.3 Release Tracker
-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
  2018-10-23 16:41 ` bugzilla-daemon
@ 2018-10-30 17:44 ` bugzilla-daemon
  2018-10-30 18:05 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-30 17:44 UTC (permalink / raw)
  To: dri-devel


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

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

Emil Velikov <emil.l.velikov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenneth@whitecape.org,
                   |                            |maraeo@gmail.com

--- Comment #1 from Emil Velikov <emil.l.velikov@gmail.com> ---
Just to double-check, you're talking about commit 28e542dcdbb
"gallium/u_threaded: increase batch size to increase performance"


Marek, Ken do you have any suggestions?

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
  2018-10-23 16:41 ` bugzilla-daemon
  2018-10-30 17:44 ` bugzilla-daemon
@ 2018-10-30 18:05 ` bugzilla-daemon
  2018-11-09 19:12 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-10-30 18:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from aceman <acelists@atlas.sk> ---
No, I assume it was
https://cgit.freedesktop.org/mesa/mesa/commit/?id=25ffb8401638a07d774cfc68ab6afc7d27780dd8
as that one was reported at
https://www.phoronix.com/scan.php?page=news_item&px=RadeonSI-Zen-Tuning-Merged
and that is the tie the problem started.

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-10-30 18:05 ` bugzilla-daemon
@ 2018-11-09 19:12 ` bugzilla-daemon
  2018-11-09 19:59 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-09 19:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from aceman <acelists@atlas.sk> ---
Could we get a patch like
https://lists.freedesktop.org/archives/mesa-dev/2018-November/208785.html so
that I can try to turn off the L3 cache thread pinning for this game?

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-11-09 19:12 ` bugzilla-daemon
@ 2018-11-09 19:59 ` bugzilla-daemon
  2018-11-09 23:57 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-09 19:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to aceman from comment #3)
> Could we get a patch like
> https://lists.freedesktop.org/archives/mesa-dev/2018-November/208785.html so
> that I can try to turn off the L3 cache thread pinning for this game?

Just use that patch and add an entry for your game like this:

> +        <application name="Blender" executable="blender">
> +            <option name="disable_L3_thread_pinning" value="true"/>
> +        </application>
> +

replace blender with the name and executable of your app.

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-11-09 19:59 ` bugzilla-daemon
@ 2018-11-09 23:57 ` bugzilla-daemon
  2018-11-13 19:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-09 23:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from aceman <acelists@atlas.sk> ---
Good idea:)
I did that, but it seems to not help in any way.
How do I check if the option is picked up?

Why is drirc now called 00-mesa-defaults.conf ? Where should it be put in /etc
?

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-11-09 23:57 ` bugzilla-daemon
@ 2018-11-13 19:33 ` bugzilla-daemon
  2018-11-16 15:14 ` bugzilla-daemon
  2018-11-26  6:48 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-13 19:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from aceman <acelists@atlas.sk> ---
So strangely the patch didn't work, but updating mesa today (presents itself as
19.0.0), containing the commit
https://cgit.freedesktop.org/mesa/mesa/commit/?id=e0c7114eb3c19d4c2653f661698a6baa3bc9bedf
FIXES the problem immediately.
The current mesa is even faster than 18.2.x that I had to use while this
problem was existing.

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-11-13 19:33 ` bugzilla-daemon
@ 2018-11-16 15:14 ` bugzilla-daemon
  2018-11-26  6:48 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-16 15:14 UTC (permalink / raw)
  To: dri-devel


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

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

Emil Velikov <emil.l.velikov@gmail.com> changed:

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

--- Comment #7 from Emil Velikov <emil.l.velikov@gmail.com> ---
As pointed out L3 thread pinning is disabled now. With the commit present in
both master and 18.3.0-rc3.

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

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

* [Bug 108330] WarThunder game performance killed after Ryzen optimisations
  2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-11-16 15:14 ` bugzilla-daemon
@ 2018-11-26  6:48 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-11-26  6:48 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from aceman <acelists@atlas.sk> ---
Thanks.
And the new version of the patch,
https://cgit.freedesktop.org/mesa/mesa/commit/?id=bc5adc27b5e52d27eca6a61ad1e049b160570c98
seems to work OK. WarThunder has mesa_glthread=true in drirc.

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

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

end of thread, other threads:[~2018-11-26  6:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-11 22:44 [Bug 108330] WarThunder game performance killed after Ryzen optimisations bugzilla-daemon
2018-10-23 16:41 ` bugzilla-daemon
2018-10-30 17:44 ` bugzilla-daemon
2018-10-30 18:05 ` bugzilla-daemon
2018-11-09 19:12 ` bugzilla-daemon
2018-11-09 19:59 ` bugzilla-daemon
2018-11-09 23:57 ` bugzilla-daemon
2018-11-13 19:33 ` bugzilla-daemon
2018-11-16 15:14 ` bugzilla-daemon
2018-11-26  6:48 ` 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.