You are not logged in.

#1 2024-12-19 12:02:29

CrashTestDummy
Member
Registered: 2024-12-19
Posts: 5

FPS goes low some time after booting

I have a Ryzen 5 3600 and an RX 6600 PC. I installed Arch a couple of days ago as I was done with windows.

I tried gaming with steam, and it works perfectly fine. The main 2 games I have played are RDR 2 and It takes two.

What I have noticed is, I could be gaming fine for a while but after some time, it drops to low FPS for no reason. It always happens after a loading or something. For example, I could be getting around 90fps on RDR 2 and if I load a save file, it will then drop to 15-20fps. Same happens for It takes 2 where I could be playing at 200 fps but sometimes its at 40 fps. Another thing I noticed is that it also happens if I launch a game after the system has been booted for a while.

The only thing that can fix this issue is a restart, after which if I immediately launch the game after rebooting, it gives me good fps.

I am using the linux-zen kernel, I'm running Gnome on Wayland. I haven't tried X11 because I like Gnome.

Offline

#2 2024-12-19 14:58:22

pvtvega
Member
Registered: 2024-11-25
Posts: 90

Re: FPS goes low some time after booting

What GPU drivers are you using?

Offline

#3 2024-12-19 15:24:17

CrashTestDummy
Member
Registered: 2024-12-19
Posts: 5

Re: FPS goes low some time after booting

I have mesa, vulkan-radeon and their lib32 versions.

After some more testing, I found out it isnt time from boot either. Because after a long time of staying on, i tried turning on RDR 2 and its giving me good FPS. At this point I'm stumped as to what this issue even is.

Could this be a steam issue? I notice that sometimes steam may be open, as I can see the app indicator. But selecting options from it wont open the steam runtime. Only happens sometimes. I don't see a relation between that and the fps drop, but could it be a reason?

Last edited by CrashTestDummy (2024-12-19 17:11:30)

Offline

#4 2024-12-19 18:14:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,840

Re: FPS goes low some time after booting

Generally speaking, whener you enter a "new area" chances are you need to rebuild shaders so some stutters should be expected, though it should recover on it's own.

FWIW symptoms sound like some streaming shenanigans due to lacking rebar, check your UEFI on whether you can enable ReBAR it usually helps a lot for demanding games trying to stream a bunch of resources at once.

Online

#5 2024-12-19 20:05:13

seth
Member
Registered: 2012-09-03
Posts: 60,756

Offline

#6 2024-12-20 05:42:12

CrashTestDummy
Member
Registered: 2024-12-19
Posts: 5

Re: FPS goes low some time after booting

V1del wrote:

Generally speaking, whener you enter a "new area" chances are you need to rebuild shaders so some stutters should be expected, though it should recover on it's own.

FWIW symptoms sound like some streaming shenanigans due to lacking rebar, check your UEFI on whether you can enable ReBAR it usually helps a lot for demanding games trying to stream a bunch of resources at once.

It's not when I enter a new area. Like I said, sometimes it happens when I load a save file after playing for a while. Sometimes it happens when I boot a game after I've been working. It's very random. But what I can make sure is that it never happens in real time, like when I'm playing. It's always when I do a load game or if I quit and relaunch the game. If I get good fps when I'm playing, I'll get it until that session is interrupted, if you know what I mean.

Videl wrote:

so some stutters should be expected

And its not stutters either. Every time this happens, it consistently plays at 15-20fps. When maybe before loading a save file, I could be playing at 100fps. Same fore It takes two, where I could be getting around 200 and then I restart or reload the game and its now 50

Last edited by CrashTestDummy (2024-12-20 06:32:01)

Offline

#7 2024-12-20 08:49:28

seth
Member
Registered: 2012-09-03
Posts: 60,756

Offline

#8 2024-12-20 09:40:51

CrashTestDummy
Member
Registered: 2024-12-19
Posts: 5

Re: FPS goes low some time after booting

Will try this out. But the issue in the thread mentions lag spikes when moving the mouse. My issue isnt really lag, but low FPS consistently. Will try it out tho

Offline

#9 2024-12-20 10:14:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,840

Re: FPS goes low some time after booting

The assertion that it happens when you "interrupt"/switch away, sounds likely to be that issue. If that isn't it, since you didn't react to me mentioning it, check the ReBAR situation. Games with huge textures like RDR2 are likely to benefit from that regardless and there have been quite a few bugs without rebar in recent kernels (you're technically papering over an actual issue if this doesn't work out without rebar, but there are real benefits to it that might make things more seamless in general)

Online

#10 2024-12-20 12:43:28

CrashTestDummy
Member
Registered: 2024-12-19
Posts: 5

Re: FPS goes low some time after booting

V1del wrote:

The assertion that it happens when you "interrupt"/switch away, sounds likely to be that issue. If that isn't it, since you didn't react to me mentioning it, check the ReBAR situation. Games with huge textures like RDR2 are likely to benefit from that regardless and there have been quite a few bugs without rebar in recent kernels (you're technically papering over an actual issue if this doesn't work out without rebar, but there are real benefits to it that might make things more seamless in general)

I do have ReBar enabled. Should I be disabling it?

Offline

#11 2024-12-20 14:46:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,840

Re: FPS goes low some time after booting

From my experience things tend to be more stable with it on (and there was at least a case 2 or 3 kernels ago, where there was a bug in the streaming implementation that crashed games (or rather processes trying to allocate a comparatively large amount of VRAM) that could be sidestepped by enabling Rebar), but maybe for testing try with it off, but I'd say try disabling the autosuspend first.

FWIW speaking of VRAM, did you monitor that (and other system resources)? I just checked and a 6600 is "only" 8GB I could see an RDR2 potentially running into some limit here add a bit of a potentialy memleak and some VKD3D overhead or so... How do things look there? If you basically start to swap VRAM with system memory I could see this having a negative effect.

Last edited by V1del (2024-12-20 14:51:59)

Online

Board footer

Powered by FluxBB