NVIDIA / nvidia-settings

NVIDIA driver control panel
http://www.nvidia.com/object/unix.html
GNU General Public License v2.0
296 stars 77 forks source link

nvidia-settings crashes when more displays are corrected (Ubuntu 24.04, 550 and 560 drivers) #109

Open mantiuk opened 4 weeks ago

mantiuk commented 4 weeks ago

We have a workstation driving in total 10 displays via 3 GPUs:

nvidia-smi -L GPU 0: NVIDIA GeForce RTX 4090 (4 displays) GPU 1: NVIDIA GeForce GTX 1650 (2 displays) GPU 2: NVIDIA GeForce RTX 4090 (4 displays)

The CPU does not have an integrated GPU: AMD Ryzen Threadripper PRO 5955WX

The two "monitoring" displays are connected GPU 1 (GTX 1650) and they work fine.

When another display is connected to GPU0 (RTX 4090), it is recognized as a "PRIME" display in nvidia-settings (please check the screenshot).

When more displays are connected to GPU0, nvidia-settings crashes when I click on "X Server Display Configuration" with "core dump". No other error messages are shown in the terminal.

The same happens with 550 and 560 drivers.

xrandr --listmonitors shows all connected displays.

Is there any way to prevent the nvidia-settings from crashing? We have quite complicated display configuration with multiple screens, and it is very difficult to create xorg.conf manually.

Further details: NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6

Linux version 6.8.0-45-generic (buildd@lcy02-amd64-115) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024Image

gilvbp commented 4 weeks ago

@mantiuk Hi, I have a similar setup (it's hard to find). I'm using Wayland, and I have an open issue with using multiple GPUs with multiple monitors attached. Could you please check this: https://forums.developer.nvidia.com/t/using-two-nvidia-gpus-monitor-ok-in-the-first-gpu-one-is-always-black-on-second-gpu-although-shows-the-mouse-cursor-ok/309912 and this: https://github.com/NVIDIA/egl-wayland/issues/152 (Also, report on forum if possible). Thanks!

mantiuk commented 4 weeks ago

@mantiuk Hi, I have a similar setup (it's hard to find). I'm using Wayland, and I have an open issue with using multiple GPUs with multiple monitors attached. Could you please check this: https://forums.developer.nvidia.com/t/using-two-nvidia-gpus-monitor-ok-in-the-first-gpu-one-is-always-black-on-second-gpu-although-shows-the-mouse-cursor-ok/309912 and this: NVIDIA/egl-wayland#152 (Also, report on forum if possible). Thanks!

Thank you for linking those issues. This gave me another idea: I will try Xorg instead of Wayland.

mantiuk commented 3 weeks ago

Here is a link to the Developer forums, in which I raised this issue in the first instance:

https://forums.developer.nvidia.com/t/nvidia-settings-crashes-displays-recognized-as-prime-displays-ubuntu-24-04-550-and-560-drivers/310309/3

I posted there a work-around that worked for me.