External monitor display issue on ubuntu 24+, nvidia 560+

Hi all

This is the kind of display issues that happen constantly on my external monitor when using the nvidia driver on my eGPU Quadro RTX 4000.

Notes:

  • this does not happen on my built-in monitor

  • this does not happen when xserver-xorg-nouveau is configured as the display driver, but I really need to use the nvidia driver for ML purposes !

Would you have any pointer to solve this issue ? I have not found any in a few weeks of thorough internet browsing.

Thanks a lot !

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| 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  Quadro RTX 4000                On  |   00000000:08:00.0  On |                  N/A |
| 30%   26C    P8              6W /  125W |      53MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A           11869      G   /usr/bin/gnome-shell                     42MiB |
+-----------------------------------------------------------------------------------------+
# /etc/X11/xorg.conf.d/nvidia.conf

Section "Device"
        Identifier      "Videocard0"
        BusID           "PCI:11:0:0" # This must be what your lspci command gave you
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        Option          "AllowEmptyInitialConfiguration"
        Option          "AllowExternalGpus"
EndSection