Game performance drastically decreases for no apparent reason, only fixed by a reboot

Ever since I upgrade my GPU from an RX 5700 XT to an RX 6700 XT, I’ve been getting this issue where I’ll launch a game and be getting around 30 FPS vs. >100 FPS I was getting before. This only seems to be fixed by a reboot.

Config: PopeRigby/nixos: My NixOS configuration for all of my systems. - Codeberg.org

could you post your dmesg maybe?
If yes please post it on pastbin.com because of the 32000 character limit.
Do you use dual Monitors?
And when do the fps decrease in your games. Is it when you start them or after some time?
When it happens after some time could you look wich temperature you get on your GPU?

Also I could not find the graphics configuration in you Config. Have you tried following:

# as of 24.11
hardware.graphics = {
  enable = true;
  enable32Bit = true;
};

https://wiki.nixos.org/wiki/AMD_GPU

I recently had it happen once that AMDGPU got my 6800XT stuck in a mode where memory clocks were at their minimum. For me it was closer to ~30% drop in perf but, depending on the game, I could very well see that causing a 60% drop too.

Check whether the memory clocks ramp to where they should be while you’re in-game.

For me a suspend-resume cycle fixed the issue.

If you can reproduce the issue, I’d recommend you open a bug report at Issues · drm / amd · GitLab because I doubt this has to do with NixOS.

Here ya go: gist:423b49e67fd5099dcc1f60e48c05566b · GitHub

Do you use dual Monitors?

Nope

And when do the fps decrease in your games. Is it when you start them or after some time?

As soon as I start it, but it doesn’t happen right after a reboot, it takes a least a couple of hours of games running fine, and then they all run horribly.

When it happens after some time could you look wich temperature you get on your GPU?

Also I could not find the graphics configuration in you Config. Have you tried following:

That’s been enabled by enabling Steam.

Here’s what my clocks look like while playing with the issue:

Here it is when the issue isn’t happening:

For me a suspend-resume cycle fixed the issue.

Yeah, that fixes it for me too.

If you can reproduce the issue, I’d recommend you open a bug report

I have no idea how to reproduce it, it seems almost random :frowning:.

yeah so the problem seems with your Vram clock rate. Its just 10% of the normal clock rate when you have the issue.This issue seems to also happen on windows:
First of all, do you have free sync activated, if so try to disable it:
https://bbs.archlinux.org/viewtopic.php?id=287990

second:
This issue seems to also happen on windows:
https://www.reddit.com/r/AMDHelp/comments/sbh48e/is_my_vram_speed_running_super_slow/
So there could be nothing wrong with the software but with the hardware.
If you like you could test it on windows and see if it is also happening there.
If so you should maybe return your GPU to get a new one and try again.

1 Like

Don’t disable VRR. It’s an extremely useful feature and you shouldn’t recommend people to randomly just disable useful features.

This could very well just be the same software issue on Windows too. This never happened to me in multiple years and just recently ocured once. I highly doubt this is a hardware issue.

1 Like

I meant that he should try to disable it to see if it the problem of the low Vram Clockspeed goes away. And as told in the link it helped to increase the Clockspeed (if it is the same problem is uncertain but he has the same low Clock Speed at 96 Mhz and the same GPU)

But if this error occured on windows too there would be some sort of bug report or forum entry since much more people use windows.

Disabling FreeSync also seems to fix it, and it’s still fixed after turning it back on.

I sadly won’t be able to return this at this point as it’s my brother’s old GPU.

That is actually great news. I would not send it back then. However you should report this on the Amd GPU Driver Issues · drm / amd · GitLab.
They can help you with this problem.

2 Likes