From nobody Sat Sep 25 00:52:34 2021 X-Original-To: chromium@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E156517C9A00 for ; Sat, 25 Sep 2021 00:53:32 +0000 (UTC) (envelope-from CeDeROM@tlen.pl) Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HGVl04gPNz4gDh for ; Sat, 25 Sep 2021 00:53:32 +0000 (UTC) (envelope-from CeDeROM@tlen.pl) Received: (wp-smtpd smtp.tlen.pl 18513 invoked from network); 25 Sep 2021 02:53:29 +0200 Received: from mail-ot1-f53.google.com (cederom@tlen.pl@[209.85.210.53]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 25 Sep 2021 02:53:29 +0200 Received: by mail-ot1-f53.google.com with SMTP id h9-20020a9d2f09000000b005453f95356cso15449901otb.11 for ; Fri, 24 Sep 2021 17:53:29 -0700 (PDT) X-Gm-Message-State: AOAM5316QnpiH9tz/9h0GhqPE+dhs0UPT01Em1TGl6atsPABjoby0KnB 8f1ALJm3ijB+xG/58XsKiwkcyT9Xbj1tebDGGiiSpw== X-Google-Smtp-Source: ABdhPJzKxLQHhXEiFBYBMTcEeS+/CZ8HllFsp1Jlq5JfdxuaCW/09VBE5e3jbpCdx8maNr3pF9ipyxjqzr7wK+GFX8Y= X-Received: by 2002:a9d:6c8a:: with SMTP id c10mr6743635otr.359.1632531208855; Fri, 24 Sep 2021 17:53:28 -0700 (PDT) List-Id: FreeBSD-specific Chromium issues List-Archive: https://lists.freebsd.org/archives/freebsd-chromium List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-chromium@freebsd.org MIME-Version: 1.0 References: <20210924073828.ghvqkt2b6wdrex5c@aniel.nours.eu> In-Reply-To: From: CeDeROM Date: Sat, 25 Sep 2021 02:52:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: wayland support To: Jan Beich Cc: Baptiste Daroussin , chromium@freebsd.org Content-Type: text/plain; charset="UTF-8" X-WP-MailID: 43af79a79fad3d1a396b913e996f0f56 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0W00003 [0UCg] X-Rspamd-Queue-Id: 4HGVl04gPNz4gDh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, Sep 25, 2021 at 12:16 AM Jan Beich wrote: > > Baptiste Daroussin 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 > > $ dbus-daemon --session --fork --address=unix:runtime=yes > $ seatd-launch sway > > $ 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 > > > > > > > [1] https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility > https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_sharing Thank you Jan :-) Do you think this we could add this instructions to wiki? Is there any WM that could provide Xorg like experience on Wayland (I did not make there yet some time ago tried with Enligthenment) ? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info