Good day,
As the title says, after updating to 20.1 my frame rate has gone to some pretty unplayable levels.
Specs:
Desktop PC with Manjaro 20.1 KDE
Nvidia GTX 970 using video-nvidia-450xx driver (nuveau removed)
Steam with some older titles like Wolfenstein Colossus as benchmark
I am not certain when the problem started manifesting itself, after the major upgrade or the kernel 5.8.6-1 (used to run 5.7.19-2). I ran into issues booting into 5.8 but that is resolved now.
I have since reinstalled nvidia driver and re-applied screen tearing fix. In desperation, I even tried to revert to a snapshot from a week back using Timeshift. Again, no change.
As a test, I decided to completely reload Manjaro 20.1 on a separate SSD drive (same system). I installed the same nvidia driver, Steam and the game and the frame rate is back to being great.
What can I check on my existing Manjaro install that is responsible for this reduced frame rate in game?
Any help is appreciated.
Have you tried installing/enabling feral gamemode incase there’s some throttling going on? Its not going to diagnose the issue but will prevent any throttling if that’s the issue
@sawdoctor, Very interesting, installing/enabling gamemode for that game has helped tremendously!
I feel like it is back to normal but not 100% sure just yet. First, I will try enabling gamemode on the other fresh Manjaro install where the game plays flawlessly without it.
The question is now then, what can be throttling my system?
Yes, I tried it with kernels 5.6/5.7/5.8 with no difference. I am still pretty green in the linux realm myself. Do I need to “re-build” the nvidia driver for each kernel? Hopefully, experts will shed some light.
Thanks so much for getting me thus far @sawdoctor!
If you are updating with pacman,pamac,gui then the nvidia drivers will automatically get added to any new kernel that you get. I’ve been on linux for 5 years (2 months on manjaro) and still very green myself, trying to learn more about the cli
Hi, I had a similar thing happen to me with Manjaro XFCE. In my case, it was the screen compositor, I binded a key that was unused on my laptop to toggle it on/off. I don’t recommend to keep it off, specially in KDE since it has so many animations and such that would be gone without the compositor, without mentioning the screen tearing, but definitely disable it when you play games. It makes my games go from sluggish to fully playable, at the press of a button, literally. I call it my “lag switch”.
Thanks @tralph3,
It appears to be driven by some black magic.
Normally after installing Manjaro, I do this tweak that removes most of the tearing/lag on the desktop (not all): disable most of Compositor options and lean on Nvidia to handle composition. Perhaps this is part of the problem.
That said, on a fresh Manjaro install, with above tweak, I experience no issues in the game. That is (as per my testing yesterday) until I load the Global theme. I disable the Global Theme and it is back to normal.
I tried this approach on my current Manjaro and that does not appear to make a difference. Seems like more work to be done.
Looking for keyboard shortcuts for Compositor, i stumble upon “Kwin”? Is that it?
That’s for xfce, I doubt it will work for KDE but you can give it a shot. I usually check if it’s off by opnening a terminal and seeing if the window borders on the right side have a shadow, if yes, it’s on.
Sadly. no change to gameplay with Plasmashell stopped.
All my experimentation points to a conflict with Compositor and Nvidia driver.
I switched to LTS Kernel 5.4.64-1, re-installed nvidia driver (450), still no luck.
Now the entire desktop is sluggish.
As per suggestion on the forum, in Compositor, switched to from OpenGL3.0 to XRender for backend.
Dekstop UI has become quite pleasant and smooth but the gaming experience has not changed:
I came by this post which appears similar in nature to what I am experiencing. I am not skilled enough to understand what is happening in that config. Perhaps @anon89812132 can show me the light
I have a GTX 960 and works flawlessly. Give me a sec to come back with a custom config eventually, but the topic i pointed to should clarify a few things.
Thank you so much @anon89812132.
I have just tried implementing these changes but sadly both the desktop and game performance are still pretty bad.
I will re-try this now again, perhaps I missed a step.
I have re-done/reapplied these setting a number of times now. Even switched to the kernel 5.8.11 to see if there is a difference.
The Desktop UI performance is reasonable now but the gaming is still pretty laggy unfortunately.
OK, i got a bit crazy again.
Wiped my drive and reinstalled Manjaro 20.1 again.
Applied aforementioned settings and now both the Desktop and Game performance is back to normal.
I am not sure what to make of it.