Bug 244242

Summary: x11-servers/xwayland: expose x11/nvidia-driver support
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: Closed FIXED    
Severity: Affects Only Me CC: danfe, imp, x11, zeising
Priority: --- Keywords: patch
Version: LatestFlags: zeising: maintainer-feedback+
Hardware: Any   
OS: Any   
Bug Depends on: 196678    
Bug Blocks:    
Description Flags
v1 none

Description Jan Beich freebsd_committer 2020-02-20 11:49:45 UTC
Created attachment 211772 [details]

Same as ports r526006. The option can be enabled by default as it doesn't conflict with default (GBM) case.
Comment 1 Warner Losh freebsd_committer 2020-02-20 18:10:09 UTC
Have you confirmed no regression at runtime in a quick smoke test?
Comment 2 Jan Beich freebsd_committer 2020-02-20 18:48:25 UTC
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.
Comment 3 Niclas Zeising freebsd_committer 2020-02-20 21:18:28 UTC
Comment 4 commit-hook freebsd_committer 2020-04-17 19:02:49 UTC
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

  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)

Comment 5 Jan Beich freebsd_committer 2020-04-17 19:12:16 UTC
"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.