While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Valve dev details more on the work behind making Steam for Linux more stable
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- NVIDIA detail upcoming Linux driver features for Wayland and explain current support
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
Avowed from Obsidian gets a release date, and pre-order…
- melkemind -
Half-Life: Blue Shift remake mod Black Mesa: Blue Shift…
- notmrflibble -
Half-Life: Blue Shift remake mod Black Mesa: Blue Shift…
- a0kami -
The Walking Dead, The Expanse and more in the Telltale …
- Caldathras -
Half-Life 2 free to keep until November 18th, Episodes …
- wvstolzing - > See more comments
- Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - See more posts
I have been having some rather extreme system lag over the last several weeks, and I suspect that it might be because of the NVIDIA drivers I am using. I am not sure how to produce the relevant outputs that would be helpful in diagnosing the problem, so I would be really grateful if anyone can help direct me. But also, has anyone else been having system lag issue?
It is most extreme when I am playing games, but it also becomes an issue with even running something like Discord.
Thanks for your time, and I am sorry I cannot be more specific without some initial advice.
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.0-40-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-2600 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
GeForce GTX 1070
View PC info
As for information lshw is a good place to start.
sudo apt-get install lshw
sudo lshw -sanitize > lshw.txt
and post the output to a pastebin.
inxi is also useful, but is less straightforward to use.
View PC info
You should see something like so:
View cookie preferences.
Accept & Show Accept All & Don't show this again Direct Link
Try changing the Rendering backend and Latency options, I've found the OpenGL choices can cause stutter on Nvidia (using a 970GTX on 2x 3440x1440 monitors), see if Xrender helps, though it's CPU bound.
View PC info
Just a side note. since you are using KDE and nvidia. Me and kodatarule recently discovered weird thing with nvidia+kwin. Basically open your nvidia-settings, change the openGL quality option to performance or high performance... reboot your system and start the nvidia-settings at startup once to have it super smooth for whatever reason.
so if that makes it smooth for you also like it did for us, then add
nvidia-settings --load-config-only
to the startup
Last edited by Xpander on 24 October 2021 at 9:07 am UTC
https://pastebin.com/PEURGAHB
Thanks, I tried this yesterday, but it seems like there is something going on that causes system lag, and not only video lag. Programs take painful times to load, days slow down in Stellaris, and turns take forever in Civ 6.
On this suggestion, I tried to install nvidia-settings, but when I loaded the program after it simply showed a black box, so I uninstalled it again. In terminal it was saying that it could not retrieve system information. Any recommendations on this front?
View PC info
Looking at the output, I can only say that in my experience, the only thing that has ever caused system lag is if one or more storage devices was having trouble or failing.
Your SSD is somewhat middle-of the road, but here's some things you can think about checking to get more mileage:
How full is your SSD? The less that's on it, the faster it will be. 75% full seems to be the point at which performance starts being impacted.
Is its firmware up to date?
Do you have TRIM support enabled? If not, I'd enable it. Running fstrim once a week should help.
Have you set an IO Scheduler such as deadline or bfq? It can speed up traditional SSDs and HDDs. (Don't try it with an NVME SSD though. It can actually make those slower!
Any of these can lower latency and therefore reduce lag.
Setting noatime in the fstab for the SSDs can improve write endurance.
Have you run a S.M.A.R.T. test on the HDD? The last time I had one fail it slowed my mother's computer to a crawl and it wasn't even the main drive! But your WD Blue is fairly reliable, so that might not be it. You could also test the SSD and compare the results with kingston's attribute sheet.
If I think of anything else, I'll post it.
I am moving a couple of large games off of my SSD to my HDD, so we'll see if making it less full will help. I think this started before I moved a game on there that pushed it above half full, but it's worth a try.
Yes, I do updates more or less as they come out.
I did a trim on the SSD, and I think it helped somewhat. Though, I am still getting slowdown, visual glitches, and slow response to clicks when I have steam, firefox, and Discord open, not to mention a game like Baldur's Gate 3.
I am not sure what an IO Scheduler is or does, but I can give it a try!
I ran a smart test, but I am not really sure what to make of its output. I included it in a pastebin here:
https://pastebin.com/4VQavQcE
View PC info
I am pretty sure nvidia-settings should get installed when you install the nvidia-driver, how did you install the driver, did you use a repo?
For some reason it now appears in my application menu, where it did not before. Anyway, I did as you recommended. I will report back!
Edit: I am also getting audio stuttering when playing BG3. I am not sure if this gives any further hints to potential problems or not, but I thought I would mention it just in case.
Last edited by classl3ss on 24 October 2021 at 7:22 pm UTC