Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2021 14:05:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258042] x11-wm/mutter: expose nested Wayland support
Message-ID:  <bug-258042-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258042

            Bug ID: 258042
           Summary: x11-wm/mutter: expose nested Wayland support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Created attachment 227426
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227426&action=
=3Dedit
v1

Given -Dnative_backend=3Dfalse Wayland session currently can only be nested=
 on
top of Xorg (any WM) or Sway/Wayfire/hikari/etc (requires Xwayland) or Kwin
(kwin_wayland): a Mutter window appears where one can launch other apps. Un=
like
Xephyr or Xnest the apps within such session still have GPU acceleration.

$ pkg install mutter glmark2 vkmark
$ ck-launch-session dbus-run-session mutter --wayland &
$ export WAYLAND_DISPLAY=3D$(sockstat -lu | awk '/mutter.*wayland/ { print =
$6;
exit }')
$ export DISPLAY=3D$(sockstat -lu | awk -F/ "/$(pgrep -f mutter-Xwayland)/"=
' {
sub(".*/X", ":"); print; exit }')
$ GDK_BACKEND=3Dwayland gtk3-demo &
$ GDK_BACKEND=3Dx11 gtk3-demo &
$ glmark2-wayland
$ glmark2
$ vkmark --winsys wayland
$ vkmark --winsys xcb

--=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-258042-7788>