this post was submitted on 31 Mar 2025
13 points (84.2% liked)

Linux

52724 readers
531 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

SOLVED - "Allow screen tearing" was ON and caused this issue.

I have some constant stuttering on my current setup. Every 4-5 seconds, almost like a hiccup, I drop about 100 ms worth of frames.

Video:
https://picoshare.jau.nz/-VnpPP8z6xR

Full specs:

5600X

3080 Ti on 570.124.04

Nobara with KDE

Wayland

This has been persistent through several GPU driver updates and I'm tired of trying to troubleshoot it. I don't know what the exact cause is. Any ideas?

Also, related note, how easy is it to migrate from one distro to another? I am thinking about trying something else - maybe base Fedora or Arch - to hopefully have better performance.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 days ago (1 children)

Try this setting: Display Configuration > Screen tearing: Allow in fullscreen windows. Whatever it's set to, try the other setting. I had a similar issue once and this fixed it. The issue came back a long time later and switching it again fixed it. 🤷‍♂️

It's a difficult issue to pin down. I've also read about video stuttering while trying to stay synched to pipewire audio which is having buffer underruns, even if your audio sounds fine. To check the audio buffer, you install and run pw-top and then watch it while you are having the video problem.

[–] jws_shadotak 5 points 2 days ago (1 children)

Well god damn, that fixed it. What an odd issue.

Thanks a ton.

[–] [email protected] 1 points 2 days ago

No problem. I think in my case only Wine/Proton games were doing it and native Linux games were fine. I shake my fist at Nvidia and carry on. 😂

[–] [email protected] 4 points 2 days ago (1 children)

Just check your driver version, today I read about a bad Nvidia driver and everyone saying to roll back.

[–] jws_shadotak 3 points 2 days ago

But that's the thing - it's been a persistent issue over the past 4 drivers. Just a permanent stutter no matter what I'm doing.

[–] [email protected] 3 points 2 days ago (1 children)

Also, related note, how easy is it to migrate from one distro to another? I am thinking about trying something else - maybe base Fedora or Arch - to hopefully have better performance.

You can backup your data and restore but will have to reinstall all your apps.

Also have you tried asking in the nobara discord? GE and other devs are in there so you likely to get help there.

[–] jws_shadotak 2 points 2 days ago

I'll give the discord a try

[–] [email protected] 2 points 2 days ago (1 children)

Does it happen with all games or GL engagement, or just the heavier ones?

What's your memory util?

Does your machine use swap when gaming?

Are you overclocking your memory or CPU freq?

[–] jws_shadotak 2 points 2 days ago (1 children)

Does it happen with all games or GL engagement, or just the heavier ones?

It's just constant - the video I provided shows the UFO test. The stuttering is on the desktop.

What's your memory util?

I don't know what that is

Does your machine use swap when gaming?

No, 32 GB RAM. I rarely go above 40%.

Are you overclocking your memory or CPU freq?

No, using XMP settings

[–] [email protected] 2 points 2 days ago (1 children)

What's the output of nvidia-smi?

[–] jws_shadotak 1 points 2 days ago (1 children)
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080 Ti     Off |   00000000:07:00.0  On |                  N/A |
|  0%   59C    P0            116W /  350W |    1160MiB /  12288MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2966      G   /usr/bin/kwalletd6                        3MiB |
|    0   N/A  N/A            3065      G   /usr/bin/kwin_wayland                    55MiB |
|    0   N/A  N/A            3180      G   /usr/bin/maliit-keyboard                102MiB |
|    0   N/A  N/A            3198      G   /usr/bin/Xwayland                         4MiB |
|    0   N/A  N/A            3303      G   /usr/bin/ksmserver                        3MiB |
|    0   N/A  N/A            3309      G   /usr/bin/kded6                            3MiB |
|    0   N/A  N/A            3353      G   /usr/bin/plasmashell                    198MiB |
|    0   N/A  N/A            3438      G   /usr/bin/kaccess                          3MiB |
|    0   N/A  N/A            3439      G   ...it-kde-authentication-agent-1          3MiB |
|    0   N/A  N/A            3441      G   ...ibexec/xdg-desktop-portal-kde          3MiB |
|    0   N/A  N/A            3637      G   /usr/bin/kdeconnectd                      3MiB |
|    0   N/A  N/A            4108      G   /usr/bin/xwaylandvideobridge              3MiB |
|    0   N/A  N/A            4158      G   /usr/libexec/DiscoverNotifier             3MiB |
|    0   N/A  N/A            4292      G   keepassxc                                 3MiB |
|    0   N/A  N/A            4515    C+G   /usr/bin/sunshine                       253MiB |
|    0   N/A  N/A            5924      G   /usr/lib64/firefox/firefox              172MiB |
|    0   N/A  N/A           56842      G   /usr/bin/konsole                          3MiB |
+-----------------------------------------------------------------------------------------+
[–] [email protected] 3 points 2 days ago (2 children)

Well my first guess is that your GPU is engaged by every single process you seem to have running. Any idea why?

[–] jws_shadotak 1 points 2 days ago (1 children)

I have only the discrete GPU - no integrated GPU or anything. Wouldn't any process with a GUI need to utilize the GPU?

[–] [email protected] 2 points 2 days ago

Not this much. Try disabling desktop effects and see if anything improves: https://userbase.kde.org/Desktop_Effects_Performance

[–] jws_shadotak 1 points 2 days ago

Is that not normal?

[–] [email protected] 1 points 2 days ago

Are you using multiple screens and have something open on another screen that periodically rerenders? I have had a similar problem when having Ksysguard open on a second screen - every time the graphs rendered a new time step, my game lagged. Only happened on Wayland. My solution was to run the game inside of gamescope or to close the offending application.