18.04 Nvidia graphics screen flickering











up vote
4
down vote

favorite
2












This appears to be a fairly common issue but the solutions I tried have not worked. Using nvidia-340.106



Solutions I tried:




  1. compizconfig-settings-manager Force full screen redraws (buffer swap) on repaint


  2. Updating /etc/X11/xorg.conf to add (Option "FlatPanelProperties" "Dithering=Disabled")


  3. Enable triple buffering in xorg.conf


  4. Using nvidia-settings to enable Sync to Vblank, Allow Flipping, Use Conformant Texture Clamping


  5. Use KDE and GNOME



lspci output:



03:00.0 VGA compatible controller: NVIDIA Corporation MCP7A [GeForce 9400] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. MCP7A [GeForce 9400]
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
[virtual] Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia


lshw output:



  *-display                 
description: VGA compatible controller
product: MCP7A [GeForce 9400]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: b1
width: 64 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:26 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d3000000-d301ffff









share|improve this question






















  • You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
    – Jonathan
    Jun 4 at 23:51















up vote
4
down vote

favorite
2












This appears to be a fairly common issue but the solutions I tried have not worked. Using nvidia-340.106



Solutions I tried:




  1. compizconfig-settings-manager Force full screen redraws (buffer swap) on repaint


  2. Updating /etc/X11/xorg.conf to add (Option "FlatPanelProperties" "Dithering=Disabled")


  3. Enable triple buffering in xorg.conf


  4. Using nvidia-settings to enable Sync to Vblank, Allow Flipping, Use Conformant Texture Clamping


  5. Use KDE and GNOME



lspci output:



03:00.0 VGA compatible controller: NVIDIA Corporation MCP7A [GeForce 9400] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. MCP7A [GeForce 9400]
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
[virtual] Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia


lshw output:



  *-display                 
description: VGA compatible controller
product: MCP7A [GeForce 9400]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: b1
width: 64 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:26 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d3000000-d301ffff









share|improve this question






















  • You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
    – Jonathan
    Jun 4 at 23:51













up vote
4
down vote

favorite
2









up vote
4
down vote

favorite
2






2





This appears to be a fairly common issue but the solutions I tried have not worked. Using nvidia-340.106



Solutions I tried:




  1. compizconfig-settings-manager Force full screen redraws (buffer swap) on repaint


  2. Updating /etc/X11/xorg.conf to add (Option "FlatPanelProperties" "Dithering=Disabled")


  3. Enable triple buffering in xorg.conf


  4. Using nvidia-settings to enable Sync to Vblank, Allow Flipping, Use Conformant Texture Clamping


  5. Use KDE and GNOME



lspci output:



03:00.0 VGA compatible controller: NVIDIA Corporation MCP7A [GeForce 9400] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. MCP7A [GeForce 9400]
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
[virtual] Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia


lshw output:



  *-display                 
description: VGA compatible controller
product: MCP7A [GeForce 9400]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: b1
width: 64 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:26 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d3000000-d301ffff









share|improve this question













This appears to be a fairly common issue but the solutions I tried have not worked. Using nvidia-340.106



Solutions I tried:




  1. compizconfig-settings-manager Force full screen redraws (buffer swap) on repaint


  2. Updating /etc/X11/xorg.conf to add (Option "FlatPanelProperties" "Dithering=Disabled")


  3. Enable triple buffering in xorg.conf


  4. Using nvidia-settings to enable Sync to Vblank, Allow Flipping, Use Conformant Texture Clamping


  5. Use KDE and GNOME



lspci output:



03:00.0 VGA compatible controller: NVIDIA Corporation MCP7A [GeForce 9400] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. MCP7A [GeForce 9400]
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 1000 [size=128]
[virtual] Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia


lshw output:



  *-display                 
description: VGA compatible controller
product: MCP7A [GeForce 9400]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:03:00.0
version: b1
width: 64 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:26 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:1000(size=128) memory:d3000000-d301ffff






drivers nvidia xorg






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 8 at 6:07









chaNcharge

3816




3816












  • You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
    – Jonathan
    Jun 4 at 23:51


















  • You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
    – Jonathan
    Jun 4 at 23:51
















You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
– Jonathan
Jun 4 at 23:51




You can use nvidia-smi to see if nvidia is running gnome-shell on 17.04+
– Jonathan
Jun 4 at 23:51










2 Answers
2






active

oldest

votes

















up vote
2
down vote













I had the same issue and this is what worked for me I started following this article How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux



In a nutshell I listed the recommended drivers using



$ ubuntu-drivers devices


then to install the recommended drivers



$ sudo ubuntu-drivers autoinstall


or you can use apt to install whicheve driver you prefer if it is not the recommended one



$ sudo apt install nvidia-390


once I rebooted my system I was good to go but if you still have problems a few other things are mentioned in the article one being disabling Noveau Nvidia driver How to disable Nouveau nvidia driver on Ubuntu 18.04 Bionic Beaver Linux
To summarize you blacklist the Nvidia nouveau driver:



$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"


and then you can confirm the content of the new modprobe config file:



$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf


you should see something like



blacklist nouveau
options nouveau modeset=0





share|improve this answer

















  • 1




    That didn't work for me, still the same flickering.
    – chaNcharge
    Jun 11 at 23:19










  • That didn't work for me either
    – debugging XD
    Jun 28 at 5:19










  • This worked for me.
    – Gaurav Gandhi
    Nov 29 at 14:51


















up vote
0
down vote













Basically among other things simply, read Post 5 for the none specific version.



Run this



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


Add this line



options nvidia-drm modeset=1


Link to Source






share|improve this answer























  • Instead of sudo gedit use sudo -H gedit which is safer.
    – WinEunuuchs2Unix
    Jun 23 at 21:01










  • That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
    – chaNcharge
    Sep 16 at 6:37











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033425%2f18-04-nvidia-graphics-screen-flickering%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













I had the same issue and this is what worked for me I started following this article How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux



In a nutshell I listed the recommended drivers using



$ ubuntu-drivers devices


then to install the recommended drivers



$ sudo ubuntu-drivers autoinstall


or you can use apt to install whicheve driver you prefer if it is not the recommended one



$ sudo apt install nvidia-390


once I rebooted my system I was good to go but if you still have problems a few other things are mentioned in the article one being disabling Noveau Nvidia driver How to disable Nouveau nvidia driver on Ubuntu 18.04 Bionic Beaver Linux
To summarize you blacklist the Nvidia nouveau driver:



$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"


and then you can confirm the content of the new modprobe config file:



$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf


you should see something like



blacklist nouveau
options nouveau modeset=0





share|improve this answer

















  • 1




    That didn't work for me, still the same flickering.
    – chaNcharge
    Jun 11 at 23:19










  • That didn't work for me either
    – debugging XD
    Jun 28 at 5:19










  • This worked for me.
    – Gaurav Gandhi
    Nov 29 at 14:51















up vote
2
down vote













I had the same issue and this is what worked for me I started following this article How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux



In a nutshell I listed the recommended drivers using



$ ubuntu-drivers devices


then to install the recommended drivers



$ sudo ubuntu-drivers autoinstall


or you can use apt to install whicheve driver you prefer if it is not the recommended one



$ sudo apt install nvidia-390


once I rebooted my system I was good to go but if you still have problems a few other things are mentioned in the article one being disabling Noveau Nvidia driver How to disable Nouveau nvidia driver on Ubuntu 18.04 Bionic Beaver Linux
To summarize you blacklist the Nvidia nouveau driver:



$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"


and then you can confirm the content of the new modprobe config file:



$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf


you should see something like



blacklist nouveau
options nouveau modeset=0





share|improve this answer

















  • 1




    That didn't work for me, still the same flickering.
    – chaNcharge
    Jun 11 at 23:19










  • That didn't work for me either
    – debugging XD
    Jun 28 at 5:19










  • This worked for me.
    – Gaurav Gandhi
    Nov 29 at 14:51













up vote
2
down vote










up vote
2
down vote









I had the same issue and this is what worked for me I started following this article How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux



In a nutshell I listed the recommended drivers using



$ ubuntu-drivers devices


then to install the recommended drivers



$ sudo ubuntu-drivers autoinstall


or you can use apt to install whicheve driver you prefer if it is not the recommended one



$ sudo apt install nvidia-390


once I rebooted my system I was good to go but if you still have problems a few other things are mentioned in the article one being disabling Noveau Nvidia driver How to disable Nouveau nvidia driver on Ubuntu 18.04 Bionic Beaver Linux
To summarize you blacklist the Nvidia nouveau driver:



$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"


and then you can confirm the content of the new modprobe config file:



$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf


you should see something like



blacklist nouveau
options nouveau modeset=0





share|improve this answer












I had the same issue and this is what worked for me I started following this article How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux



In a nutshell I listed the recommended drivers using



$ ubuntu-drivers devices


then to install the recommended drivers



$ sudo ubuntu-drivers autoinstall


or you can use apt to install whicheve driver you prefer if it is not the recommended one



$ sudo apt install nvidia-390


once I rebooted my system I was good to go but if you still have problems a few other things are mentioned in the article one being disabling Noveau Nvidia driver How to disable Nouveau nvidia driver on Ubuntu 18.04 Bionic Beaver Linux
To summarize you blacklist the Nvidia nouveau driver:



$ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
$ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"


and then you can confirm the content of the new modprobe config file:



$ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf


you should see something like



blacklist nouveau
options nouveau modeset=0






share|improve this answer












share|improve this answer



share|improve this answer










answered May 17 at 19:58









mkrinblk

1234




1234








  • 1




    That didn't work for me, still the same flickering.
    – chaNcharge
    Jun 11 at 23:19










  • That didn't work for me either
    – debugging XD
    Jun 28 at 5:19










  • This worked for me.
    – Gaurav Gandhi
    Nov 29 at 14:51














  • 1




    That didn't work for me, still the same flickering.
    – chaNcharge
    Jun 11 at 23:19










  • That didn't work for me either
    – debugging XD
    Jun 28 at 5:19










  • This worked for me.
    – Gaurav Gandhi
    Nov 29 at 14:51








1




1




That didn't work for me, still the same flickering.
– chaNcharge
Jun 11 at 23:19




That didn't work for me, still the same flickering.
– chaNcharge
Jun 11 at 23:19












That didn't work for me either
– debugging XD
Jun 28 at 5:19




That didn't work for me either
– debugging XD
Jun 28 at 5:19












This worked for me.
– Gaurav Gandhi
Nov 29 at 14:51




This worked for me.
– Gaurav Gandhi
Nov 29 at 14:51












up vote
0
down vote













Basically among other things simply, read Post 5 for the none specific version.



Run this



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


Add this line



options nvidia-drm modeset=1


Link to Source






share|improve this answer























  • Instead of sudo gedit use sudo -H gedit which is safer.
    – WinEunuuchs2Unix
    Jun 23 at 21:01










  • That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
    – chaNcharge
    Sep 16 at 6:37















up vote
0
down vote













Basically among other things simply, read Post 5 for the none specific version.



Run this



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


Add this line



options nvidia-drm modeset=1


Link to Source






share|improve this answer























  • Instead of sudo gedit use sudo -H gedit which is safer.
    – WinEunuuchs2Unix
    Jun 23 at 21:01










  • That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
    – chaNcharge
    Sep 16 at 6:37













up vote
0
down vote










up vote
0
down vote









Basically among other things simply, read Post 5 for the none specific version.



Run this



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


Add this line



options nvidia-drm modeset=1


Link to Source






share|improve this answer














Basically among other things simply, read Post 5 for the none specific version.



Run this



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


Add this line



options nvidia-drm modeset=1


Link to Source







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 30 at 3:09









Gaurav Gandhi

8791819




8791819










answered Jun 23 at 20:37









markackerman8-gmail.com

657610




657610












  • Instead of sudo gedit use sudo -H gedit which is safer.
    – WinEunuuchs2Unix
    Jun 23 at 21:01










  • That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
    – chaNcharge
    Sep 16 at 6:37


















  • Instead of sudo gedit use sudo -H gedit which is safer.
    – WinEunuuchs2Unix
    Jun 23 at 21:01










  • That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
    – chaNcharge
    Sep 16 at 6:37
















Instead of sudo gedit use sudo -H gedit which is safer.
– WinEunuuchs2Unix
Jun 23 at 21:01




Instead of sudo gedit use sudo -H gedit which is safer.
– WinEunuuchs2Unix
Jun 23 at 21:01












That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
– chaNcharge
Sep 16 at 6:37




That doesn't seem to work for me either, so I've stuck to using the nouveau drivers. Is there a step I'm missing?
– chaNcharge
Sep 16 at 6:37


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033425%2f18-04-nvidia-graphics-screen-flickering%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局