Ubuntu 18.04 after installing NVIDIA graphics drivers still getting lag
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
5
down vote
favorite
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.
drivers nvidia graphics 18.04
add a comment |Â
up vote
5
down vote
favorite
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.
drivers nvidia graphics 18.04
Have you removed all 3rd party repositories that deal with video drivers and just tried installing thenvidia-drivers-390
from the Ubuntu repositories instead? I could not get thegraphics-drivers
ppa to work properly. The only ones were from Ubuntu themselves.
â Terrance
Apr 30 at 4:56
For mesudo ubuntu-drivers autoinstall
did the job. Check this link for more options.
â Cleb
Jun 16 at 22:39
Removing all 3rd party repos and reinstallingnvidia-drivers-390
does not solve the issue.
â Alexandre Verri
Jul 23 at 20:22
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
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.
drivers nvidia graphics 18.04
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.
drivers nvidia graphics 18.04
asked Apr 30 at 2:13
![](https://lh4.googleusercontent.com/-UgQQgwLSEGk/AAAAAAAAAAI/AAAAAAAAACk/m5SOkVh2wpA/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-UgQQgwLSEGk/AAAAAAAAAAI/AAAAAAAAACk/m5SOkVh2wpA/photo.jpg?sz=32)
yeah_oh_yeah
4116
4116
Have you removed all 3rd party repositories that deal with video drivers and just tried installing thenvidia-drivers-390
from the Ubuntu repositories instead? I could not get thegraphics-drivers
ppa to work properly. The only ones were from Ubuntu themselves.
â Terrance
Apr 30 at 4:56
For mesudo ubuntu-drivers autoinstall
did the job. Check this link for more options.
â Cleb
Jun 16 at 22:39
Removing all 3rd party repos and reinstallingnvidia-drivers-390
does not solve the issue.
â Alexandre Verri
Jul 23 at 20:22
add a comment |Â
Have you removed all 3rd party repositories that deal with video drivers and just tried installing thenvidia-drivers-390
from the Ubuntu repositories instead? I could not get thegraphics-drivers
ppa to work properly. The only ones were from Ubuntu themselves.
â Terrance
Apr 30 at 4:56
For mesudo ubuntu-drivers autoinstall
did the job. Check this link for more options.
â Cleb
Jun 16 at 22:39
Removing all 3rd party repos and reinstallingnvidia-drivers-390
does not solve the issue.
â Alexandre Verri
Jul 23 at 20:22
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 at 4:56
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 at 4:56
For me
sudo ubuntu-drivers autoinstall
did the job. Check this link for more options.â Cleb
Jun 16 at 22:39
For me
sudo ubuntu-drivers autoinstall
did the job. Check this link for more options.â Cleb
Jun 16 at 22:39
Removing all 3rd party repos and reinstalling
nvidia-drivers-390
does not solve the issue.â Alexandre Verri
Jul 23 at 20:22
Removing all 3rd party repos and reinstalling
nvidia-drivers-390
does not solve the issue.â Alexandre Verri
Jul 23 at 20:22
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
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
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
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
add a comment |Â
up vote
0
down vote
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
add a comment |Â
up vote
0
down vote
up vote
0
down vote
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
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
answered Aug 7 at 15:35
![](https://i.stack.imgur.com/gXlYS.jpg?s=32&g=1)
![](https://i.stack.imgur.com/gXlYS.jpg?s=32&g=1)
markackerman8-gmail.com
503510
503510
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029926%2fubuntu-18-04-after-installing-nvidia-graphics-drivers-still-getting-lag%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 thegraphics-drivers
ppa to work properly. The only ones were from Ubuntu themselves.â Terrance
Apr 30 at 4:56
For me
sudo ubuntu-drivers autoinstall
did the job. Check this link for more options.â Cleb
Jun 16 at 22:39
Removing all 3rd party repos and reinstalling
nvidia-drivers-390
does not solve the issue.â Alexandre Verri
Jul 23 at 20:22