External Monitor not detected under Wayland and nVidia Advanced Optimus

Hi there! I am pretty certain I found a bug, and need some help reporting it to the right place.

The laptop which is showing the issue is endowed with nVidia’s Advanced Optimus.
Out of the box, it works really well, and I don’t need any configuration files for this to work absolutely perfectly in X11. Everything is automatically detected, and just works.

Co-incidentally, this is also the case on Windows, but that is not so surprising.

Under Wayland, things are a little different.
Most things work without issue, and I am really impressed with nVidia’s drivers in this case. Unfortunately, when plugging in an external monitor into the HDMI port that is directly wired to the nVidia RTX4070 dGPU, the monitor is not detected. In fact, it looks like there is no event at all.

I’ll add the required logfiles to this report, and hopefully you can use them to help me find the right person to help me track down and fix this issue.

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

About the system:

Operating System: Arch Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.5-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: PD5x_7xSNC_SND_SNE
System Version: Not Applicable

OK, just in case anyone ever sees this, you need to load the kernel modesetting driver, and then it all magically works.

1 Like

Instructions on how to turn on kernel modesetting, and thereby getting an external monitor to work with KDE, Wayland, the Nvidia binary driver (545 for me), and using an optimus configuration to save energy, visit Plasma/Wayland/Nvidia - KDE Community Wiki

This worked for me with Fedora 39 on a Dell Precision 7680 with an Nvidia RTX 3500 Ada dGPU.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.