Bug 101749

Summary: sclk scales badly in war thunder
Product: Mesa Reporter: higuita
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description higuita 2017-07-11 01:33:07 UTC
When playing with war thunder and running radeon-profile on a A10-7850k and a RX480, i notice that the GPU sclk scales from 300MHz to about 320-420MHz ... very far from the max of 1.3GHz.

The GPU load is always low, about 20-30%, but if i manually increase the sclk to the max, i get a performance increase of about 40% and the GPU load is still about the same... i found that the GPU running above about 600-700MHz, i get almost no performance increase... but the 300-400MHz is too low.

So for this game, amdgpu/radeonsi is not scaling as it should, probably the game engine do not help. As far as i know, the game is mostly OpenGL 3.2, to keep compatibility higher with older cards, if it matters.

I'm using kernel 4.12 and mesa-git 4db72852a16fc4a2a559255f9965e1d02e4f2b9c, llvm 4.0.1 , on a slackware 64.

The game is free and have benchmark included, so anyone can test it.
Comment 1 Christoph Haag 2017-07-11 16:00:30 UTC
Possibly the same as bug 100742 which is very visible with SteamVR.
Comment 2 higuita 2017-09-29 00:36:33 UTC
a apitrace link in https://bugs.freedesktop.org/show_bug.cgi?id=101978#c5 may help test this.

talking with other people, looks like amdgpu and war thunder are performing badly in several GPUs, if not all of then
Comment 3 Timothy Arceri 2019-06-25 01:10:30 UTC
Reports from bug 100742 are that this issue has improved with recent kernel updates. Can you confirm is this is still an issue?
Comment 4 higuita 2019-06-30 13:42:30 UTC
war thunder game downgraded the existent opengl4 engine  (used only by linux) to opengl3 (share with macosx), to free resources to develop the vulkan version, so i can't test anymore the same setup...

... but testing with the current oepngl3 version, sclk jumps to the max frequency when the game is running, so i would say that this really improved a lot in recent kernels

i'm using right now kernel 5.1.x kernel and mesa 19.1.1

So this can probably be closed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.