Recent Linux Mint (possibly other) Nvidia Proprietary Driver Frame Drops/Stuttering

I have been using Linux Mint for about 6 or 7 months now as my daily driver, but I have been playing with Linux for a few years. Linux Mint seems to be very good with the Nvidia drivers, I added the xorg-edgers ppa and I can easily switch between a bunch of different driver versions. I am using the most recent version of Linux Mint, 17.2 or something, with cinnamon as my DE.

I believe it was this past Sunday, July 12th that I started to experience frame dropping/stuttering. It doesn't happen in any one particular application, but on the entire desktop. It occurs in games, movies, and just dragging windows around on a blank desktop so it looks like it is the desktop's problem, like cinnamon is dropping frames. I initially thought it started because I had messed something up in the nvidia settings as I was playing around with these at the time. When I drag a window around in a smooth motion, about every second it looks either like the window just stops moving for a frame or two, or maybe even jumps back a few frames. Sometimes it happens at a higher frequency, like maybe 500ms, sometimes it happens at around 2 second intervals, but it occurs at a constant frequency once it starts. Sometimes the stutter or jump isn't as big as others, and I'm not sure if the jumps or stutters get bigger over time. A reboot stops the stuttering for a time, anywhere from 10 minutes to an hour after rebooting the stuttering starts happening again.

This initially started on the nvidia proprietary driver version 349.16, so i upgraded to the 352.21 available from xorg-edgers and selectable in the cinnamon/mint Driver Manager. This update did not fix anything. So I changed it to 346.72 which I used a few months ago and this problem did not happen back then. The problem still occurred with 346. So I changed it to the nouveau driver (in the Driver Manager, you can just select a driver version, I have 6 proprietary versions and the nouveau one to select, and then it applies the changes, reboot and you are on a different driver) and on the nouveau driver this problem did not occur. I then switched back to 349 to see if that switch somehow cleared something, and the problem still persisted.

So I thought I screwed something up, so I decided to revert back to an image I took of the drive back at the start of May, I use Clonezilla to image my drives for backups. I reverted the image and everything seemed fine, so I started to apply the updates that have come through the past few months. Then I started getting the same stuttering issue, on the 349 driver that I was on 3 months ago. I did not have this problem three months ago, so I believe this problem may be because of the recent updates to the cinnamon desktop, as I applied all the updates to my image from a few months ago and started getting this problem.

My solution would appear to be to use nouveau until some updates come through (or revert again and try to determine which update starts the stuttering), but I was wondering if anyone else running Linux Mint with Cinnamon and the Nvidia proprietary driver has experienced this issue.

It does sound like a cinnamon issue. I do not have Nvidia on my machine that uses Mint so I cannot check...I would report this on the Mint forums and until it is fixed I would install Mate and use that until the bug is fixed, (with a next update).

Mate is a great environment (even though I prefer cinnamon) and lightweight so you should be fine.

EDIT: BTW You can also try to install the driver from the Mint default repository (331 or sth. Check the drivers application). This also might work fine (old I know it should be ok).

I've noticed this too! I'm using 352.21-0ubuntu0~xedgers15.04.1 and have not quite been bothered enough to try other versions, so it's good to know that rolling back didn't help you. For now I guess I'll keep my fingers crossed every time I run an update, hoping there's nvidia or xorg updates.

I'm using Ubuntu 15.04 and my window manager is Awesome (with compton for compositing), so it doesn't seem to be Mint or Cinnamon specific.

I have reverted again to my image from a few months ago, I will not install any updates for a bit and see what happens. As it happens, I was actually on 17.1, not 17.2, so I installed 17.2 before reverting and I still had the problem.

I was looking through the updated packages and I saw drm stuff for intel, nouveau, and amd, but no nvidia. I'm guessing that some new linux kernel(maybe kernel, maybe not quite kernel) stuff has been released that deal with gpus and how video memory works maybe? I think I was reading stuff on Phoronix about new DRM stuff that has to do with graphics and GPUs. It makes sense that this would cause problems on things outside of mint and cinnamon, like you said @freqlabs.

@C11
Yeah, I like Mint and cinnamon but I have been playing around with other distros/DEs too. I am thinking about getting into KDE, seems like my cup of tea, but I think I will need to stay in Ubuntu land because I will start using ROS (Robot OS) for university soon and it runs best on ubuntu things. But it can run on arch, probably don't have the time to play with arch right now.

So I'm running on my reverted image, haven't updated or changed anything, and I am STILL getting the stuttering. This is very odd, this was not happening 2 months ago, and the software is the same as 2 months ago, and I still get the issue. I do not believe I have flashed anything on my graphics card for a while (I can boot into windows if needed, I do so from time to time) so I am at a loss here.

Maybe my GPU is starting to go? it works fine in windows, and other users are having this problem, so not likely.

I literally just booted up after reverting the image, and like 5-10 minutes in the stuttering happens. It would seem to point to a hardware issue.

Maybe next course of action is to install Kubuntu on a partition of one of my hard drives (i have an ssd for linux, an ssd for windows, two data hard drives that back up each other, and a third hard drive that i just play with linux installs on). Maybe a better course of action is install a clean version of the latest mint cinnamon on a partition and see how it works.

@C11
Yeah, no worries about your grammar, the important thing is that you are responding and I can understand you :). Good advice too, thanks.

I'll be sticking with Ubuntu and its derivatives for a while it seems. I do have a partially finished arch install on one partition, just to play around with in my spare time.

I would think the GPU problem is software, but when I restored my hard drive image from a few months ago, I still had the problem, which makes it seem that it is beyond software.

I installed Linux Mint 17.2 fresh on a separate partition, still had the problem on Nvidia proprietary drivers. I installed Kubuntu 14.04 on another partition, didn't see the problem for a while. I didn't update for an hour, didn't see the problem, then I switched to the Nvidia 331 driver, didn't see the problem but I didn't wait for hours to see if it popped up. I then went to the Nvidia 352 driver, saw the problem. Then I went back to the nvidia 331 drivers and waited, after like an hour and 15 minutes the problem resurfaced.

For now, I am just going to do my work on my Windows install and check back in linux from time to time to see if any updates fix anything. If anyone knows how to fix this I would love to know how it is done! :)