From nobody Fri Sep 24 22:16:40 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 430A5175B74D for ; Fri, 24 Sep 2021 22:16:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HGRG41RRCz4TQY; Fri, 24 Sep 2021 22:16:44 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1632521804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EDr5yzg3NcatkpqZGJxtY6N4HQvMEKOvDkydtS5EpD8=; b=ITu2rPsx7SFJ4upWTyq7JsqGVzcvG1hXWGo+yinOQmQhhzWKn62qSeSyqndfzqHYk8zbIp gP46W/LnYHMN128MpO+LVlxo2lgxnTGVpYib1Gpv0XSDcigv4YZ9yuFM/70hwE3yXR8RvM dgTvpfxrwG+vUo9BN2u7q5ypV3MQCkq2DIqDhDZfs1fWxI/ONyCLoCbQJ1Awvw53Bby4ni ZLGKVjPOpeDRfi8MIHICSFCJWow/MTLIK5gt1mAyVxmZ8Ics3zmLSv8NsFydNuQZr/32hl 5TRYXjTYlGDMl6EMhLxzzqdKThKuKf6qV+pgsmGerDRPfNtLoN0swm9pCDfnsQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 20AA51C5F9; Fri, 24 Sep 2021 22:16:44 +0000 (UTC) From: Jan Beich To: Baptiste Daroussin Cc: chromium@freebsd.org Subject: Re: wayland support References: <20210924073828.ghvqkt2b6wdrex5c@aniel.nours.eu> Date: Sat, 25 Sep 2021 00:16:40 +0200 In-Reply-To: <20210924073828.ghvqkt2b6wdrex5c@aniel.nours.eu> (Baptiste Daroussin's message of "Fri, 24 Sep 2021 09:38:28 +0200") Message-ID: 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 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1632521804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EDr5yzg3NcatkpqZGJxtY6N4HQvMEKOvDkydtS5EpD8=; b=BtRUli2HDUQKHMnwYT4gLWc4eoC+u5nfQ2/hb4jcDn1tALi7pifFP1jw0z+FoAHqy3bO3W eMIV5kAtrTasiexuR8V1XJtNZTOxISjlOVtjJE8ZKrLHXcyuBwNMaNW+RuNqgGFgLBeYJZ 5Svd9RD0scqeXnjpOS/khwDyEh1o1Nc7hBsRX2+8UIxaIZAJHE9oNw+zNtKz8vRNwDkJup QYOMlAyqzeIyVWz9SCkS1b4n1sS1hFyFXqjKr0hExgRsjxV5Hs3wK6VKAv7/Rivox7m/zF 8vBeIydqLTwnE3HaF/hS6XEFQcjArFWO7jbHGZHmZB+iVKdstprD+IYmz54otg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1632521804; a=rsa-sha256; cv=none; b=V/yFgo0Dc670nw9rxnIHno+WifZs+olHygENo4JM2ipwUUaMO8RPieji/7AfGL3LeqFHFo L1h5nxT4DHDbeUXYbX/heG+cK8JhcxB7AJrGa8IapzgU/ew6qIoQrWsIi/AlsMSc9FAlED mujEhuZTZQya+1uLh65nvTo2aqwcmYeQpXTEtD3HrK9VR543qySKvF9hCvcWVVss8WF00H wCQlOrwLKtv9/zE+VvSuzAAkIhW2eCTW2Vu8vIpmpiOqpx5j2U9IDfpQHoGBYEgtfFOTxb 2QKZXSlFSN8NfMU9FV9PKy6+KYkMg8Bi9O9ubDBIB980a6OymY6mSDu2U15RtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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