AMD Radeon 7900 XTX unplayable low performance in games (Frequency / power limited)

Hello,

I’m experiencing a breaking issue with my GPU - AMD Radeon 7900XTX. It’s performance in games went from awesome a few weeks back to a stuttering mess (single digit frame-rate). It is unclear to me what triggered this. I’m unable to diagnose the root cause of the issue and I hope some of you might have some insight, so here goes:

Issue description:
Performance in games is abysmal I’m getting single digit frame rates in main-menus where previously 60+ was the norm.
The issue shows up in every game I have tried so far.

  • Ixion (steam using proton)
  • Oxygen not included (steam native linux)
  • Satisfactory (steam using proton)
  • Snowrunner (Epic games launcher using lutris)

My observations / thought on the issue
It does not seem to be a hardware issue. When I boot my Windows drive, games run smoothly (It might be running old drivers since I never really use this Windows drive)

My card seems to be limited in frequency or power-mode somehow. I’ve used nvtop to get some insights on the performance of the card:

  • GPU clock is around 527MHz where I would expect it to be around 1850MHz
  • GPU Mem clock is around 456MHz where I would expect it to be around 2500MHz
  • Power shows 48 / 0 W which I’m not to sure about what that figure means. It is a 350W card so it is definitely not utilizing all its power budget (if I can trust this 48W).

System information
Output of inxi -Gazy

Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
    arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1
    bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 res: 5120x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.0.4 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.49 6.1.31-2-MANJARO) direct-render: Yes

Output of vulkaninfo | grep "GPU"

                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
                GPU id = 0 (AMD Radeon RX 7900 XTX (RADV GFX1100))
GPU id : 0 (AMD Radeon RX 7900 XTX (RADV GFX1100)):
GPU id : 0 (AMD Radeon RX 7900 XTX (RADV GFX1100)):
GPU0:
        deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU

I hope someone can provide some insight on this issue. I probably didn’t provide that log that would reveal the issue (I’m no linux gpu-driver expert) so let me know if more command outputs are needed.

I have a similar card and while not an gamer incarnate - in fact I rarely play games - I did get myself caught up in The House of Da Vinci on Steam.

I had no problems running any of them on highest settings possible.

What I do think makes my system differentiate is that I am on unstable branch and use the nonfree mesa (https://nonfree.eu) drivers

 $ inxi -Gazy
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Tul / PowerColor
    driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
    built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-2
    empty: DP-1,DP-3,HDMI-A-1 bus-ID: 63:00.0 chip-ID: 1002:744c class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 res: 5120x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.52 6.3.8-4-MANJARO) direct-render: Yes

Thank you for your reply. I’ll consider switching to an experimental nonfree version of mesa.

However I want to keep that option in reserve, since I’ve switched 1-2 months back from mesa-git to mesa (mainline), since the mesa-git version gave me some trouble. So my preference (for the moment) is staying with the stable mesa version.

In case you do not know - the nonfree repo is maintained for all branches - the commands at the top of the page will pull your current branch - you do not need to be on unstable branch to.

But the repo which is added to the system must be maintained manually - that is if you are using the nonfree build - and then switch branch you need to amend the configuration manually or run the modification command again.

I think your performance will improve by having the nonfree codecs available.

But of course the decision is entirely up to you - it was a subtle suggestion
:slight_smile:

I didn’t know :wink:. I’ve executed the commands that were listed on there. And I think I have it installed now. (unstable branch)

$ inxi -Gazy                                                                                                                         
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
    arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1
    bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 res: 5120x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.49 6.1.31-2-MANJARO) direct-render: Yes

However I still have the same issue. The GPU is still not switching power states (or something) it still only seems to use 48W with very low clock speeds.

The repo has been setup by community members and is maintained by a buildbot - for as far as I know.

comparing your system

  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.49 6.1.31-2-MANJARO) direct-render: Yes

to mine

  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.52 6.3.8-4-MANJARO) direct-render: Yes

there is a slight difference and a different kernel - The only thing I really know is that my system has no problems - with the only game trilogy I ever played - but yet my primary use is coding and very rarely gaming.

Well that different kernel did something because I’ve now switched to kernel 6.3.5-2 and that seems to have done the trick. My GPU now gets properly utilized again and everything works.

  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon RX 7900 XTX (gfx1100
    LLVM 15.0.7 DRM 3.52 6.3.5-2-MANJARO) direct-render: Yes

That still does not answer why the other kernel did not work, especially since I’ve been on that kernel for 6+ months where everything worked until in suddenly didn’t.

But anyway, thank you for providing a reference to a working system, trying to setup my system as close to yours solved the issue in the end.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.