Score:0

Ubuntu 20.04 screen flickering with amdgpu and nvidia drivers

cn flag

I have freshly installed ubuntu 20.04 and Budgie desktop on an Asus ROG Zephyrus G15 (AMD Ryzen 7 4800HS, 16GB ram, integrated Renoir graphics, Nvidia GeForce 1660 TI, 144Hz 1080p monitor). Everything works fine by default, but after installing proprietary Nvidia drivers (version 495), the screen flickers every second or so after sleep. When starting up, it works fine, but after going to sleep for a bit the screen starts to flicker when it wakes up again. I usually have to restart 2 or 3 times before it stops.

I have tried:

  • restarting
  • blacklisting nouveau
  • uninstalling nouveau
  • blacklisting amdgpu (which broke the computer, it would not start, and I had to reinstall ubuntu
  • setting the nvidia gpu to primary gpu
  • turning off secure boot

Also, in Nvidia settings, when I set the Prime profile to the ADM gpu, the flickering stops, and when I reenable the Nvidia gpu, it starts again. Additionally, the times it does flicker seem to be somewhat random, usually happening after sleep, but sometimes not, and sometimes happening at startup, but also sometimes not.

I am also dual booting windows 11 on a separate partition.

Matias N Goldberg avatar
vg flag
If the output comes from the iGPU, a common cause for flickering when using the dGPU is power states. I'd start by looking there: put both GPUs in high power states and see if the issue goes away. If it does, start powering them down until you identify the culprit or thresholds
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.