The handbook states (in chapter 5.10): "The current Nvidia driver should work with most wl-roots compositors, but it may be a little unstable and not support all features at this time. Volunteers to help work on the Nvidia DRM are requested." This is misleading, since due to missing module nvidia-drm basically no wayland compositor can be started. This can also be seen from the package message of wlroots port: "Known issues: NVIDIA option (aka wlroots-eglstreams) requires nvidia-drm.ko from nvidia-driver" This means wayland is not functional with nvidia driver, but it may take a lot of time for users to figure this out, since the handbook makes the impression that wayland would work with nvidia.
See also: bug 258264
Probably caused by a misunderstanding in review D32436. However, NVIDIA situation should improve in 2022Q4 per https://gitter.im/FreeBSDDesktop/Lobby?at=627c635510cfc315bc75313f > all nvidia-drm internal changes are in and will be present in a > couple driver release cycles (roughly fall ish I'm guessing). So at > that time I'll start populating my github with driver versions with > the nvidia-drm patches applied and everyone can start testing
(In reply to Jan Beich from comment #2) > … per https://gitter.im/FreeBSDDesktop/Lobby?at=627c635510cfc315bc75313f … Thanks, and for users of Matrix (from where ashafer made the comment): <https://matrix.to/#/!CqdVWXhlVNfayrEMmW:gitter.im/$B4Ta2dHN0gtr7CMsBmncGzsq9Ixs5gRgv-FwmCYUiNU?via=gitter.im&via=matrix.org&via=mozilla.org>
nvidia-drm is now in ports 4754e9fd33c4. After the next /latest package rebuild or after /quarterly moves to 2023Q4 the following maybe enough: # pkg install nvidia-drm-kmod # sysrc kld_list+=nvidia-drm # service kld restart Disclaimer: I didn't test the above instructions due to lack of an NVIDIA GPU.
(In reply to Jan Beich from comment #4) Thanks (to all involved)! From <https://old.reddit.com/r/freebsd/comments/15wzyln/-/>: > … a first attempt to expand upon > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264389#c4: …