Date: Sat, 25 Sep 2021 00:16:40 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: chromium@freebsd.org Subject: Re: wayland support Message-ID: <h7e9-vctz-wny@FreeBSD.org> In-Reply-To: <20210924073828.ghvqkt2b6wdrex5c@aniel.nours.eu> (Baptiste Daroussin's message of "Fri, 24 Sep 2021 09:38:28 %2B0200") References: <20210924073828.ghvqkt2b6wdrex5c@aniel.nours.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin <bapt@FreeBSD.org> writes: > Hello everyone, > > chromium in FreeBSD is build without wayland support, however, I figure on linux > it supports both x11 and wayland, would it be possible to add > ozone_platform_wayland = true in build/config/ozone.gni rtc_use_pipewire=true is also necessary[1] for screen sharing but can be postponed until Ozone Wayland works. For comparison, in Firefox it works like the following: # pkg install firefox sway pam_xdg xdg-desktop-portal-wlr xdg-desktop-portal # echo 'session optional pam_xdg.so notroot runtime' >>/etc/pam.d/system $ exit # log out to pick up XDG_RUNTIME_DIR <new login> $ dbus-daemon --session --fork --address=unix:runtime=yes $ seatd-launch sway <GUI session> $ export XDG_CURRENT_DESKTOP=sway $ export MOZ_ENABLE_WAYLAND=1 $ dbus-update-activation-environment --all $ daemon -f pipewire $ firefox https://mozilla.github.io/webrtc-landing/gum_test.html <click on "Screen Capture"> <click on "Allow" without changing "Window or screen"> <click anywhere to select the desired output/monitor> <watch mirrored content on the web page> <click on "Stop Sharing" to end the capture or just close Firefox> [1] https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_sharing
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h7e9-vctz-wny>