| Summary: | External monitor not detected on Advanced Optimus | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Evert Vorster <evorster> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nicolas.fella, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.8 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Evert Vorster
2023-10-03 10:30:09 UTC
Did you do the necessary setup to enable modesetting for the NVidia driver? As stated, everything on this driver works except for the monitor detection under Wayland when it is plugged into the HDMI port on the laptop. No configurations were necessary, just the nVidia driver installed from Arch Linux and rebooted. The monitor detection works properly when changing the session type from Wayland to X11. If there is something special that must be done to get this driver to work under Wayland, can you point me to the documentation for that, please? I have not found anything online after quite a bit of searching. You need to opt in to making the NVidia driver work with Wayland, see https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting Thanks for providing the fix. I can confirm that the HDMI port now properly works under Wayland, after adding in the kernel parameter as suggested by the Arch Wiki. It is strange that something special is still needed to make it work with Wayland where it's not needed with X11, but at least this bug report will show other people with the same symptoms what to do. Thanks so much, again! Yeah it would be good if NVidia would change the default. There's a lot of other users that have been confused by this |