5

I have a GTX 750 ti and I'm using Ubuntu 18.04. I have never had problems before with graphics drivers not working well. So before I installed drivers, I was getting massive amounts of screen tearing and lag. Afterwards, I still notice a lot of lag in animations (clicking "Show Applications", maximizing windows, minimizing windows, etc.) and sometimes when moving windows around or resizing them. When scrolling through web pages on browsers it will lag and I notice screen tearing. I have tried installing many different drivers, including the nvidia-375 and nvidia-384 drivers that are in the default Ubuntu repository. I also tried using drivers from the Graphics Drivers repo (https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa). No matter what I do, it never gets rid of lag in the animations or screen tearing within browsers.

  • Have you removed all 3rd party repositories that deal with video drivers and just tried installing the nvidia-drivers-390 from the Ubuntu repositories instead? I could not get the graphics-drivers ppa to work properly. The only ones were from Ubuntu themselves. – Terrance Apr 30 '18 at 4:56
  • For me sudo ubuntu-drivers autoinstall did the job. Check this link for more options. – Cleb Jun 16 '18 at 22:39
  • Removing all 3rd party repos and reinstalling nvidia-drivers-390 does not solve the issue. – Alexandre Verri Jul 23 '18 at 20:22
1

OK now i can say this is 95% solved,

∘ 1/ The real problem comes down to Refresh Rate and Sync Rate of the Nvidia card and the screen(s)

‣ With nvidia-prime then there is no possibility of vsync yet - arghhhh

With Nvidia's drivers for linux and"Optimus" cards they left out the simple code to do this to save resources for the masses - STUPID!!!!!

‣ Get PRIME Synchronization on Optimus

Solution (now for none specific Nvidia Drivers - AWESOME!)

To check if it (Synchronization) is set or not set use this command:

sudo cat /sys/module/nvidia_drm/parameters/modeset

∘ It should say "y" for modeset=1, which means it is synchronized at 60 fps (I believe) for your Monitor.  ...  ex. HDMI-1-1, or  eDP-1-1

∘ If Not - Create a new file in  /etc/modprobe.d/nvidia-drm-nomodeset.conf 

sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf

∘ and make sure the following line is present;

options nvidia-drm modeset=1 ∘ after Update Intramfs and Reboot

sudo update-initramfs -u • reboot

ALSO reducing Swappiness may help to lower swappiness also (if you have lots of RAM)...

∘ To check the swappiness value (default=60)

$ cat /proc/sys/vm/swappiness

sudo gedit /etc/sysctl.conf

‣ Search for vm.swappiness and change its value as desired. If vm.swappiness does not exist, add it to the end of the file like so:

# sharply reduce Swappiness inclination

vm.swappiness=1

  • after doing "sudo gedit /etc/modprobe.d/nvidia-drm-nomodeset.conf" and then adding the line "options nvidia-drm modeset=1" i get stuck on a black screen with the line "/dev/sdc1: clean" and it wont boot into the OS – yeah_oh_yeah Sep 30 '18 at 22:16
  • So I’m able to access the command line, but not the operating system GUI stuff. I see that when I do “sudo cat /sys/module/nvidia_drm/parameters/modeset” it now returns “Y” – yeah_oh_yeah Sep 30 '18 at 22:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.