Updated with dnf update 11 Oct. 2024 from july 2024. Delayed deliberately due to other priority tasks for which I did not want an unable system in case of a bad update.
I am documenting my experience here for others reference.
System details:
Fedora 39
kernel: 6.10.12-100.fc39.x86_64
rpmfusion Nvidia drivers 560.35.03
Initially had same problem of unable to see or configure a second monitor as per start of this post.
After a bit of research found:
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/
with prime reference:
https://www.nvidia.com/en-us/drivers/details/230929/
explained furter re dkms:
https://wiki.archlinux.org/title/Kernel_mode_setting
i.e.: For Fedora 40/39/38 and Nvidia 560.xx/550.xx/535.xx/470.xx with wayland enabled do
2.6.2 Edit /etc/default/grub Append 'rd.driver.blacklist=nouveau' and ' nvidia-drm.fbdev=1' (and 'nvidia-drm.modeset=1') to the end of GRUB_CMDLINE_LINUX="..."'.
Do not add these grub kernel boot CMDLINE with X11 enabled.
Note: This won't work with kernel 6.9.x and KDE Plasma 6 / SDDM, use wayland only
So
$ cat /proc/cmdline BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.10.12-100.fc39.x86_64 root=/dev/mapper/VG01_nvme_pcie-rootfs ro rd.lv m.lv=VG01_nvme_pcie/rootfs rd.luks.uuid=luks-160cee22-ab53-47b2-a48a-382fca72928a rhgb rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia_drm.modeset=1 nvidia_drm.fbdev=1
This did not work initially. Powered down. Unplugged second monitor, plugged back in.
Still no difference. So unplugged 2nd monitor while powered while logged in gnome and vioāla 2nd monitor detected by gnome setting - display.
Logged out then logged in via Plasma. Same again and had to unplug 2nd monitor and plug it in while powered and logged in in Plasma.
Now functional with joint 2nd monitor.
So in conclusion Wayland, Nvidia, Plasma are in a flakky transition state as these overdue Linux and desktop graphics update frm X11 to wayland works itās way through numerous developers hands. At least getting there. I do not strange plasma things like the clock in the task bar gets stuck after about an hour or so from login at a fixed time, some windows when minimised canāt be maximised. So numerous quirks. I guess we should expect that during this transition away from X11. Given these which I expect to find more of, I still think certainly re F39 pre kernel 6.9 to stick with X11. No comment on F40 but from above discussion F40 is definitely a transitional release for workstations with Nvidia cards. Depending how I go now with F39 under wayland Iāll still hangback for F41 before next upgrade.
I still need to fully get my head wrapped around the Archlinux description re kernel modesetting for Nvidia to work with Wayland. What is clear this is very much a multiyear work in progress to get nvidia working with Wayland. I hope itās worth it in the end cause X11 did work fine though Understand the ādatedā arguments against it.