AMD GPU: Massive hitching after about 20 minutes of gameplay

After a recent update (Fedora 41) games start massively hitching after about 20 minutes of gameplay. The only thing that stops it is to restart the game. Is anyone else experiencing this?

System Details Report


Report details

  • Date generated: 2024-12-25 18:15:52

Hardware Information:

  • Hardware Model: ASUS PRIME B550-PLUS
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 9 3900X × 12
  • Graphics: AMD Radeon™ RX 7800 XT
  • Disk Capacity: 2.0 TB

Software Information:

  • Firmware Version: 3405
  • OS Name: Fedora Linux 41 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: Wayland
  • Kernel Version: Linux 6.12.6-200.fc41.x86_64

Welcome to Fedora @barugon

Please boot into an older kernel and test if you have the same issues?

I tried 6.12.2, same issue, and then installed 6.11.4, also same issue.

Look in the system journal for logs leading up to the time you start getting problems. Do you any reports of error?

It may be specific to the game you are playing.
Which game is it?
Are playing using steam or something else?

I don’t see anything in the system logs. This happens with multiple games through Steam. I thought that perhaps it was something to do with Proton Experimental so I set it to Proton 9.0-4. Same issue.

Also, I’m not sure if “hitching” is the best way to describe it. The screen isn’t updating correctly even though the reported frame-rate is still high. It looks almost like “warping” as I move around. I’ll try to capture a video of it.

I have the same class of GPU as you have and I have not seen any issues playing metaphor refantazio on Stream from RPMfusion.

There are games that I have to boot into Windows 11 to play that will not play under steam on Fedora.

Does Steam claim the games you are playing are compatible with the Steam Deck?

Here’s a couple videos using Shroud of the Avatar. Other recent games that I have played, like Baldur’s Gate 3 and Dragon Age: The Veilguard, also exhibit the same behavior.

Here’s what the issue looks like:

And here’s how it looks after I restart the game:

Note that all of those game worked just fine up until about a few weeks ago.

It looks like the frame rate dropped a lot.
I would do two things.
From a terminal run sudo dmesg and see if the gpu reported errors.
Also from a terminal run top and check if you have run low on memory.

It looks like the frame rate dropped a lot.

The reported frame-rate remained the same.

sudo dmesg shows no new messages since starting the game.
Memory usage was 27.8%.

Is it possible to downgrade amd-gpu-firmware? Does that only get applied once or every time the PC boots?

Every time you boot the system. You can try using a older kernel as well as downgrading the firmware.

I have been playing Metaphor: ReFantazio in Steam for the last 2 hours without a graphics glitch.

FYI I have this setup:

ystem:
  Host: worthy.internal Kernel: 6.12.4-200.fc41.x86_64 arch: x86_64 bits: 64
  Console: pty pts/1 Distro: Fedora Linux 41 (KDE Plasma)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME Z690-P WIFI v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 3401 date: 06/28/2024
CPU:
  Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700K bits: 64 type: MST AMCP cache:
    L2: 12 MiB
  Speed (MHz): avg: 800 min/max: 800/4900:5000:3800 cores: 1: 800 2: 800 3: 800 4: 800 5: 800
    6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800 15: 800 16: 800 17: 800
    18: 800 19: 800 20: 800
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] driver: amdgpu
    v: kernel
Info:
  Memory: total: 32 GiB available: 31.14 GiB used: 4.76 GiB (15.3%)

Are you playing from the steam client, and if yes did you disable the steam overlay?

If yes (this happens across most games for me too if its disabled):

2 Likes

I do have the steam overlay disabled. I’ll give this a try and thanks for the info.

[edit] After re-enabling the Steam overlay, I played for multiple hours today with no issue. Thanks for the solution.

Okay, this worked for most games but I still get the same issue with Dragon Age: The Veilguard. Anyone have any more suggestions?

Its a new game, maybe lack of optimisation?