From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aK0qODIkv2ECLgEAgWs5BA (envelope-from ) for ; Sun, 19 Dec 2021 13:23:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +McQNDIkv2GyJAAAB5/wlQ (envelope-from ) for ; Sun, 19 Dec 2021 12:23:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A7C04207EB for ; Sun, 19 Dec 2021 13:23:14 +0100 (CET) Received: from localhost ([::1]:50086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myvDc-0000Jy-Ln for larch@yhetil.org; Sun, 19 Dec 2021 07:23:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myvDT-0000IR-3c for guix-patches@gnu.org; Sun, 19 Dec 2021 07:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myvDS-0001b0-Rz for guix-patches@gnu.org; Sun, 19 Dec 2021 07:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myvDS-0008Ie-Lx for guix-patches@gnu.org; Sun, 19 Dec 2021 07:23:02 -0500 Subject: bug#52492: [PATCH 0/7] Improve screen sharing support under Wayland Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 19 Dec 2021 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: 52492-done@debbugs.gnu.org Mail-Followup-To: 52492@debbugs.gnu.org, othacehe@gnu.org, dev@jpoiret.xyz Received: via spool by 52492-done@debbugs.gnu.org id=D52492.163991655431848 (code D ref 52492); Sun, 19 Dec 2021 12:23:02 +0000 Received: (at 52492-done) by debbugs.gnu.org; 19 Dec 2021 12:22:34 +0000 Received: from localhost ([127.0.0.1]:45066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myvD0-0008Hc-0E for submit@debbugs.gnu.org; Sun, 19 Dec 2021 07:22:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myvCy-0008HP-Cm for 52492-done@debbugs.gnu.org; Sun, 19 Dec 2021 07:22:32 -0500 Received: from [2001:470:142:3::e] (port=60480 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myvCt-0001XY-4O; Sun, 19 Dec 2021 07:22:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=s0z5Dw+skOLe5RL1gA8z7B2uxZkDMqZ5xRkVgkspw1A=; b=nJo9gVkduZZES1WPJLYB 4SU08NdD86s72zy8UXyxBV7LENdnxnHZGEroE+EgEv97JLNC4Dn5IRXZVUAP/ukVNuUItcmNwjpCf IzMNG8+P0HEKhpd15VjptSZ1H5Jga9Wk+PaG2EBBk/p+epA59kEHJO6tR0PT4IEJbKer6XvoDhwe8 LWkJDQsfvmbH+1HvkVhOnVE37SDHUPWk9gu2QFDgT5S4YdNBoOA5GGHQdqyzn+rLmkLYch5iRxA/i n78rhMbYax77nMrc7gUQDB3xfxY75gzV2kiG1Km/Lxp/12YSZXvRN1/nOkWUaE5LR6zldiCMxZhTC Rmy1ACCUeA35fA==; Received: from [2a01:e0a:19b:d9a0:45b5:a14a:5c75:5737] (port=54140 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myvCq-0004pI-RW; Sun, 19 Dec 2021 07:22:26 -0500 From: Mathieu Othacehe References: <20211214214502.24913-1-dev@jpoiret.xyz> Date: Sun, 19 Dec 2021 13:22:22 +0100 In-Reply-To: <20211214214502.24913-1-dev@jpoiret.xyz> (Josselin Poiret's message of "Tue, 14 Dec 2021 22:45:02 +0100") Message-ID: <87mtkwokch.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639916594; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=s0z5Dw+skOLe5RL1gA8z7B2uxZkDMqZ5xRkVgkspw1A=; b=RuHbksSl36zYJ9SjbjFquHjnsyguNcGNW3JTQHmJ5bHP6fUca5CFfhos3SaFkE3CoDoNfg I9V73TW615p0sopDpWkzW7I4YoCe6trxbRMLqRV/PjnDj5hARdhDaKYLobhR1RG3rGGsX5 WhXPIx0RYqviyu5Ib6+gWi+DCP+SpS6nNmdoi7cP4jr2FKW+pbfYsgyF7ckUfyaqVCYijO 66uMVCIoiAHFs/kbYjSutpIJmxzCK5F6jqgPoVfNHxuHJsv4wy8y/yXkOKIUgaHUVSCyVj tw/weRRG6+J00j2Dbmw81Fz0hzdcru9orERqemEwjjDn8QOJdjvgFeNb+X6WXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639916594; a=rsa-sha256; cv=none; b=BousGTpxcLRlpQE2F202YPpd4TcBgPl5R9fZdxn6p5acnTXtlfEI6fET1vkdWJX1wfodEN MXwXUaYc891Zv8x60ZWcz9e+uh0v40qa1GR9pB+oUjFh64EtjQYfc5EZFQ609TL6vAOYed RiF0OzTT2wZh/vTPSR+qnnd/i+VAEcRX+xYnvwhFoOlS6QIGMfGJ+//xZMQZfuz9LPZ0TJ e6VD8Kv5hJboefpGX9eoMbLdZXNo8xBB9RyYszzoCDWPKgJFHyGKdwDzFjfeZLRM9YzpE3 haRbw7COeDefqfn/l4uZG4lTtTkCVdXVrU1ebHAd57xk1dRUdZlHlwunLt2fOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nJo9gVkd; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nJo9gVkd; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A7C04207EB X-Spam-Score: -3.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: SoEpbpkJHcza Hey Josselin, Thanks for working on that. I fixed a few minor details and pushed the series. > I can get screensharing working in icecat on sway by manually starting > pipewire then wireplumber (and then xdg-desktop-portal-wlr followed by > xdg-desktop-portal if they're not installed in your profile, otherwise > your user DBus session will launch them automatically), and starting > icecat with As discussed on #guix, we may need to find a way to start those services automatically. > since the pipewire library is dlopened by libwebrtc rather than > statically or dynamically linked. We could possibly add this to the > icecat package, as it has a wrapper doing a similar thing for other > libraries. Seems fair. I also tried to run obs, this way: --8<---------------cut here---------------start------------->8--- QT_QPA_PLATFORM=3Dwayland obs --8<---------------cut here---------------end--------------->8--- was prompted for a screen/window to capture using pipewire, but then I have the following error, does that ring a bell? --8<---------------cut here---------------start------------->8--- info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Scene': info: - source: 'Window Capture (PipeWire)' (pipewire-window-capture-so= urce) info: ------------------------------------------------ qt.qpa.wayland: Wayland does not support QWindow::requestActivate() info: [pipewire] available cursor modes: info: [pipewire] - Metadata info: [pipewire] - Always visible info: [pipewire] - Hidden Attempted path: share/obs/obs-studio/images/overflow.png Attempted path: /gnu/store/1fp8wl9y2i72ld59d1spw85xvw9l88ws-obs-27.0.1/shar= e/obs/obs-studio/images/overflow.png info: [pipewire] screencast session created info: [pipewire] asking for window=E2=80=A6 info: adding 42 milliseconds of audio buffering, total audio buffering is n= ow 42 milliseconds (source: Mic/Aux) warning: [pipewire] Failed to start screencast, denied or cancelled by user info: PipeWire initialized (sender name: 1_1734) info: User added source 'Screen Capture (PipeWire)' (pipewire-desktop-captu= re-source) to scene 'Scene' info: [pipewire] available cursor modes: info: [pipewire] - Metadata info: [pipewire] - Always visible info: [pipewire] - Hidden info: [pipewire] screencast session created info: [pipewire] asking for desktop=E2=80=A6 warning: [pipewire] Failed to start screencast, denied or cancelled by user ^Cinfo: =3D=3D=3D=3D Shutting down =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu