Date: Mon, 02 Jan 2023 05:06:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268702] graphics/blender: enable WAYLAND by default Message-ID: <bug-268702-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268702 Bug ID: 268702 Summary: graphics/blender: enable WAYLAND by default Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: FreeBSD@ShaneWare.Biz Flags: maintainer-feedback?(FreeBSD@ShaneWare.Biz) CC: FreeBSD@ShaneWare.Biz Created attachment 239189 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239189&action= =3Dedit v1 (apply via "git am") After bug 227509 Wayland is supposed to be enabled by default to make binary package(s) usable for more users (aka "batteries included"). Blender uses dlopen() via WITH_GHOST_WAYLAND_DYNLOAD for Wayland support, so there would= be no extra dependencies... except libxkbcommon. "poudriere bulk -t" passed on 12.3/13.1 amd64. Runtime tested inside 12.3/1= 3.1 jails on 14.0 host under Sway with X11/Wayland/DBus sockets passed through. To test Wayland support from X11 (Xorg) comfort zone: $ pkg install cage blender $ export XDG_RUNTIME_DIR=3D${XDG_RUNTIME_DIR=3D/tmp} $ cage -d env -u DISPLAY blender & $ sockstat -cu | (read h; echo "$h"; fgrep blender) USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS foo blender-bi 1234 3 stream -> /tmp/wayland-0 foo blender-bi 1234 6 stream -> /tmp/pulse/native Note, on NVIDIA without nvidia-drm.ko (for DMABUF) GPU acceleration may not work, so set WLR_RENDERER=3Dpixman for Cage to use more efficient software rendering. Note2, Cage is minimalistic and doesn't require configuration. Other Wayland compositors can also run from X11, see "pkg rquery %ro wlroots wlroots015" = for a list. Note3, "env -u DISPLAY" force-disables X11 connection. DISPLAY is path to X= 11 socket, by default under /tmp/.X11-unix; WAYLAND_DISPLAY is a path to Wayla= nd socket, by default under XDG_RUNTIME_DIR. Disclaimer: I don't use Blender, so my runtime testing maybe superficial. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268702-7788>