Screen Flicker Randomly Ubuntu

Screen randomly flickers when I’m in the middle of something. Seems to go away more reliably if I move the mouse around. Could be 10-15 minutes before I see it again, could see it right away again. It’s quite sporadic.

nvidia-smi
Mon Apr 15 23:48:13 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.171.04             Driver Version: 535.171.04   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4090 ...    Off | 00000000:01:00.0  On |                  N/A |
| N/A   48C    P3              13W /  80W |   1007MiB / 16376MiB |     62%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      4025      G   /usr/lib/xorg/Xorg                          342MiB |
|    0   N/A  N/A      4380      G   /usr/bin/gnome-shell                        239MiB |
|    0   N/A  N/A     36854      G   ...ures=SpareRendererForSitePerProcess       22MiB |
|    0   N/A  N/A     56269      G   ...rker,SpareRendererForSitePerProcess       20MiB |
|    0   N/A  N/A     56275      G   ...seed-version=20240414-180149.278000      283MiB |
|    0   N/A  N/A     56701      G   ...yOnDemand --variations-seed-version       63MiB |
+---------------------------------------------------------------------------------------+

cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"

nvidia-bug-report.log.gz (696.3 KB)

Bueller?

This is expected, you will need explicit sync support to get rid of this.

On Nvidia’s side, that’s waiting for 555 series driver (and some bits in 560), so that’s an entire month away just for the beta release.

You could try using the Wayland session + apps in Wayland (not XWayland) + your current 535 driver to attempt to work around it, but upgrade to Ubuntu 24.04 first before doing that(to be released in a week), otherwise you’re going to have a very bad time.

1 Like

Hello @C0rn3j , could you please help me check if what I encountered is also expected?

A few days ago, I updated my Ubuntu 22.04.1 without paying much attention to the automatic update messages. Ever since then, I’ve been experiencing screen flickering issues with my NetBeans IDE 21. The problem seems to extend to other JetBrains CLion IDE and jEdit text editor as well, although other applications like Firefox are unaffected.

I’ve recorded the screen flickering, and you can check it out in this Google Drive *.mov file and this one. As for system details, my memory usage stands at 7.38GB out of 126GB, and I’m running Linux kernel version 6.5.0-28-generic.

I’ve searched online for solutions but haven’t had any luck so far. Could you please take a look at this issue for me?

Below is my current setup.

  • Ubuntu 22.04.01 x84_64
  • Nvidia 535.171.04
  • 1920 x 1080 @ 60Hz and 50Hz
  • RTX 4060 Ti
  • X11
Tue Apr 23 12:08:50 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.171.04             Driver Version: 535.171.04   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4060 Ti     Off | 00000000:01:00.0  On |                  N/A |
|  0%   34C    P3              22W / 160W |    485MiB /  8188MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1976      G   /usr/lib/xorg/Xorg                          189MiB |
|    0   N/A  N/A      2156      G   /usr/bin/gnome-shell                        125MiB |
|    0   N/A  N/A      4664      G   ...irefox/4173/usr/lib/firefox/firefox      161MiB |
+---------------------------------------------------------------------------------------+

Here is the log report. Somehow there is no response in uploading the file, so I upload to Google drive. Hopefully, it helps investigate the issue.
nvidia-bug-report.log.gz

I would retry with 550.76 (and keep X, as 2022 Ubuntu is not ready for anything Wayland)

Hello @C0rn3j,

Thank you so much for your prompt reply! I have been struggling with this issue for several days. I will back up the system and retry with 550.75 and let you know. Thanks again!

By the way, I just uploaded the nvidia-bug-report.log.gz here. Somehow I can’t upload to this forum, so I put it on my Google drive. I hope it helps! Thank you.