Created attachment 211772 [details] v1 Same as ports r526006. The option can be enabled by default as it doesn't conflict with default (GBM) case.
Have you confirmed no regression at runtime in a quick smoke test?
That's what comment 0 tried to say by "don't conflict". I usually dogfood xwayland-devel but non-devel port also works fine with NVIDIA port option enabled on AMD/Intel GPUs.
Approved
A commit references this bug: Author: jbeich Date: Fri Apr 17 19:01:47 UTC 2020 New revision: 531962 URL: https://svnweb.freebsd.org/changeset/ports/531962 Log: x11-servers/xwayland: expose x11/nvidia-driver support Disabled for now as runtime wasn't tested. EGLStreams is supported by x11-wm/mutter and x11-wm/plasma5-kwin. PR: 244242 Approved by: zeising (x11) Changes: head/x11-servers/xorg-server/Makefile head/x11-servers/xwayland/Makefile
"runtime wasn't tested" in comment 4 was taken verbatim from ports r526006. wlroots-based compositors don't support NVIDIA except via nouveau. In bug 244016 comment 1 there's hope Kwin may bring Wayland to NVIDIA users.