os icon indicating copy to clipboard operation
os copied to clipboard

Problems with micro-stuttering

Open jtrees opened this issue 4 years ago • 10 comments

Prerequisites

  • [x] I have searched open and closed issues for duplicates.

Describe the bug

Sometimes the desktop environment doesn't feel smooth. It's a bit hard to describe but it's like some things are capped to 30Hz or respond with a delay of a single frame. It's not consistent but feels like about 90% of the time that this micro-stuttering is present.

To Reproduce

Steps to reproduce the behavior (any of the following)

  • Open the applications menu
  • Have the dock hide itself and/or return back to view
  • Move a window

Expected behavior

Everything* should respond immediately and animate smoothly (at the refresh rate of the monitor - probably 60 Hz for most users).

Platform Information

Screenshot from 2020-05-18 12-38-25

  • [ ] I'm using the latest version from git that I've manually compiled
  • [x] I'm using the latest released stable version

Using Nvidia propitiatory drivers, currently at version 440.82, but have used several different versions in the past.

Additional context

  • This behavior has been present for a long time. Possibly since Juno. It was not present on Loki.
  • I use a dual screen setup.
  • I believe many other users are experiencing similar issues so I'm trying to gather more information here: https://ethercalc.org/usfdfp40bdea

jtrees avatar May 18 '20 10:05 jtrees

I have the same experience. Maximizing windows and minimizing them cuts half way into the process. It stops half way then does the job. It is most noticeable when I use overview to show all the running apps. I thought it was my 4k screen, but it's running at 60. But now I think it is only on nvidia devices. I have another laptop without nvidia and it is smooth as ever. To eliminate it, I'd have to switch the screen resolution to 1150, make the refresh rate 120 and enable "LoDpi", but then the screen looks grainy. I have tried switching to the intel graphics, but that didn't help much. Some of the stutter goes away, but then the screen would look like it is only 30 FPS at all times. Edit: slowing the animations down doesn't do anything. I've tried to slow it down hoping it would fix the problem.

KarkanAlzwayed avatar May 18 '20 13:05 KarkanAlzwayed

I'd like to add that I have these issues too, but only after I have been using my computer for a while. For example, I have firefox open right now as well as 3 other gtk apps with planner running in the background, yet the window animations are buttery smooth. I will continue testing in the mean time to see if I can figure out what could be the root of the issue. (I only have this issue on proprietary nvidia drivers)

hanaral avatar Jun 07 '20 18:06 hanaral

I have a 1660 Ti, hooked up to two 60hz non-g/free-sync monitors, and am using the nvidia proprietary drivers also. Performance can be pretty choppy, and screen tearing in games is basically unavoidable - I really think the drivers are the culprit. I'm not sure what they can do to fix it.

TheGag96 avatar Jun 11 '20 02:06 TheGag96

I really think the drivers are the culprit. I'm not sure what they can do to fix it.

I don't know either. But doing whatever other distros that have solved this issue are doing is probably a good start.

jtrees avatar Jun 14 '20 16:06 jtrees

Bumping with a bit more info: In my experience, it seems as though in full screen games, I get really bad screen tearing issues basically all the time. In Pantheon, I never get any screen tearing, but performance can basically switch between a smooth 60 fps, lots of choppiness, back to smooth, then repeat. No idea, but it honestly seems as though the refresh rate itself isn't right (like a mismatch between 59.94 FPS or whatever vs. 60). I believe I tried modifying this before just to test it out without luck, so I dunno.

TheGag96 avatar Jul 16 '20 00:07 TheGag96

I noticed that nvidia-450 came out recently and tried it. It appears as though my screen tearing issues are gone! That's great. And when I booted up for the first time with the new drivers, the DE UI (workspace switching, window overview, etc.) seemed pretty smooth. However, I left my computer on over night, and came back to a really stuttery DE UI. I closed all my programs that were open, and it didn't get smoother. A restart has made it smoother again (for now). It's like something gets out of sync over time... It's hard to say whether it's elementary's fault at all.

EDIT: My bad, screen tearing issues are not fixed. Thought they were.

TheGag96 avatar Jul 24 '20 23:07 TheGag96

I'm also struggling with this! Specially when navigating or randomly while using the system

When I get a Whatsapp Web notification, it starts stuttering when I scroll pages in the browser for example

hugopy avatar Jul 27 '20 04:07 hugopy

It seems an issue on Gala was made a couple years that sounds a lot like this one: https://github.com/elementary/triage/issues/405

TheGag96 avatar Aug 26 '20 02:08 TheGag96

Yes, I believe this issue is with Gala, not with the OS itself. It totally seems like the mouse moves at the proper speed but the window manager doesn't.

coppolaemilio avatar Aug 26 '20 08:08 coppolaemilio

I also see these weird jitters when opening applications panel or minimizing, maximizing but when closing windows, it closes smoothly... It is to be noted that I dont have a discrete GPU and Im using a intel celeron N3050 CPU and its iGPU with 4 GB of RAM

Faaiqishere avatar Mar 24 '22 15:03 Faaiqishere