Created attachment 211772 [details]
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.
A commit references this bug:
Date: Fri Apr 17 19:01:47 UTC 2020
New revision: 531962
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.
Approved by: zeising (x11)
"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.