BUG: wayland EGL applications not working with dual nvidia gpus

I have a Dell Precision 5820 workstation with dual GPUs (RTX A2000 and RTX A5000) and wayland egl apps don’t work. They just display garbage.

The issue is always reproducible in my system under both kde plasma 6 and weston compositor. Easiest way to reproduce it is to start weston compositor and then run the weston-simple-egl application. I have tried the 535, 545 and 550 drivers.

You can see some screenshots of the issue in the bug report I created for kde plasma at

https://bugs.kde.org/show_bug.cgi?id=482256

nvidia-bug-report.log.gz attached

nvidia-bug-report.log.gz (1.2 MB)

please let me know if you need any additional info and/or clarification

Please post the output of

sudo cat /sys/module/nvidia_drm/parameters/modeset

It prints “Y”

It would be nice if someone could provide any kind of feedback. Is there something I need to do?

Might a driver bug with your specific setup. Only thing I notice is that everything is running/rendered on the first gpu but all your displays are connected to the second one. Does it render correctly if you connect your monitors to the other gpu?

No! It’s even worse! It looks like in the attached photo and my system becomes unresponsive: not even the mouse and keyboard works and I can’t switch to a console to run nvidia-bug-report