MESSAGE
DATE | 2021-01-21 |
FROM | Javier via artix-general
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] [s6] wayland and perhaps
|
From hangout-bounces-at-nylxs.com Thu Jan 21 11:49:45 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 56E5A163FF9; Thu, 21 Jan 2021 11:49:45 -0500 (EST) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id E35F5163FF0; Thu, 21 Jan 2021 11:49:41 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Thu, 21 Jan 2021 11:49:41 -0500 Resent-Message-ID: <20210121164941.GC16824-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mail.artixlinux.org (mail.artixlinux.org [144.91.88.22]) by mrbrklyn.com (Postfix) with ESMTP id A2E2D163FEF for ; Thu, 21 Jan 2021 01:56:05 -0500 (EST) Received: by mail.artixlinux.org (Postfix, from userid 182) id 555BBA261C9; Thu, 21 Jan 2021 07:56:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on endymion X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.4 Received: from localhost.localdomain (localhost [127.0.0.1]) by mail.artixlinux.org (Postfix) with ESMTP id DA531A261BC; Thu, 21 Jan 2021 07:55:59 +0100 (CET) X-Original-To: artix-general-at-localhost Delivered-To: artix-general-at-localhost Received: by mail.artixlinux.org (Postfix, from userid 182) id 9E657A26183; Thu, 21 Jan 2021 07:55:57 +0100 (CET) Received: from mail.ecloud.global (mail.ecloud.global [135.181.85.105]) (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) (No client certificate requested) by mail.artixlinux.org (Postfix) with ESMTPS id 67AF9A26131 for ; Thu, 21 Jan 2021 07:55:55 +0100 (CET) Received: from authenticated-user (mail.ecloud.global [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.ecloud.global (Postfix) with ESMTPSA id ED5FC100030F45C9 for ; Thu, 21 Jan 2021 06:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e.email; s=mail1; t=1611212154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uD8DxaA9WbB0Fyu8a1OS3pNRiCqJO8mdQBpvcjZ5wjs=; b=m8i2JZyIZAyKB4XgZncUt3NSbQlnSBEDTNPjN6ZIjId0U/pzYE0FdHPBP8FoXLQOduMknM mqEm5liMSgYS8CMhLmbojByWiEXeNOYIbezOMeTWPIeBBRQ24hjOvdbSgRcdCEyCjRc0wT TRaH7s0tMUHOjKjN9JYciIoDpcfQxJs= To: artix-general-at-artixlinux.org References: <1701d1c9-9f9b-3ef2-6256-429c1b01e3e5-at-artixlinux.org> Message-ID: <6557b926-2a90-8b91-09d1-961c04080b9e-at-e.email> Date: Thu, 21 Jan 2021 00:55:51 -0600 MIME-Version: 1.0 In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=e.email; s=mail1; t=1611212154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uD8DxaA9WbB0Fyu8a1OS3pNRiCqJO8mdQBpvcjZ5wjs=; b=B9V22tKOh35MLgmc0PxG2tRD1jOO0bnN7kvLRFEEC5gNw0GnB5fuySFrROjIiJVhwUYTe7 76IYa4k4646YlwMFUDxgzkvyjb+OASa9zKwjZQdamu957hx3MIV7z98mPXJNcs7HTlXP80 /caqLUtFTbc4yqxhQaJaZwSDpKwCQfs= ARC-Seal: i=1; s=mail1; d=e.email; t=1611212154; a=rsa-sha256; cv=none; b=SKhcB1vSm+lJCDC0KPmt6JfxRvNqqJ7OlTiSaZnJmsWJ+C293JQvbKnoydHJpilM3SwToV ainWGjaQm7pmhU5F6Rv+ZgifZGb5ye8Q9a7EBbpY3Of+K9FI1ATglGH6+faZ1G0cWZD4fc agDEjOpAK3nWFpXs1zK3R/mYsqCvw6Q= ARC-Authentication-Results: i=1; mail.ecloud.global; auth=pass smtp.mailfrom=je-vv-at-e.email X-BeenThere: artix-general-at-artixlinux.org X-Mailman-Version: 2.1.34 Precedence: list From: Javier via artix-general Content-Type: multipart/mixed; boundary="===============1566820981614558762==" Subject: Re: [Hangout - NYLXS] [artix-general] [s6] wayland and perhaps pipewire X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Javier Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1566820981614558762== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sxYFONnAwuPMyAmMANNamd79zagFGKfLT"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sxYFONnAwuPMyAmMANNamd79zagFGKfLT Content-Type: multipart/mixed; boundary="qTtMzMBVI0R8y05PcGFLMiiZmZUrkqTrc"; protected-headers="v1" From: Javier To: artix-general-at-artixlinux.org Message-ID: <6557b926-2a90-8b91-09d1-961c04080b9e-at-e.email> Subject: Re: [artix-general] [s6] wayland and perhaps pipewire References: <1701d1c9-9f9b-3ef2-6256-429c1b01e3e5-at-artixlinux.org> In-Reply-To:
--qTtMzMBVI0R8y05PcGFLMiiZmZUrkqTrc Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable
On 1/20/21 11:29 PM, Jacob Moody via artix-general wrote: > I currently use sway with s6 and have used pipewire > for both sharing my screen through firefox with webRTC > Since it seemed impossible to find good documentation > online I figured I would put how I got screen sharing > working in this email if this was a curiosity of yours. >=20 > 1. Install pipewire from pacman > 2. Install xdg-desktop-portal-wlr(https://github.com/emersion/xdg-deskt= op-portal-wlr) > 3. Install the fedora fork of firefox for their wayland patches(fedora-= firefox-wayland-bin on the aur) > 4. Start pipewire in one terminal > 5. 'XDG_CURRENT_DESKTOP=3Dsway /usr/local/libexec/xdg-desktop-portal -r= ' in another terminal > 6. 'XDG_CURRENT_DESKTOP=3Dsway firefox' to start firefox >=20 > With that being said, I haven't run in to any issues with pipewire whil= e running without systemd, > I think Dudemanguy's assumptions are right in that it only uses systemd= for socket activation.
Cool, thanks. According to [3], FF no longer needs patches though.
> From what I understand. pipewire is the only way that screen > sharing will be done with wayland compositors of any kind. > I imagine that if electron starts getting wayland native builds > it likewise will be required for screen sharing there.
I'm afraid you're right regarding electron/flutter based apps, if they be= come waylan native, :( Hopping not becoming true though.
BTW I thought for general desktop sharing (not app specific like slack or= zoom), one could always use wayvnc [1], though now that I read the descr= iption ("VNC server for wlroots-based Wayland compositors"), and also loo= king at [2], it doesn't work for all compositors, except by sway, perhaps= wayfire, and other wlroots based compositors. But any other solution, l= ike the Gnome one mentioned in [2] most probably is based on pipewire, :(= Although my goal was to eventually use kwin, perhaps I'd have to stick = with wayfire, if I'm to use wayvnc...
Sounds like you're right though.
>=20 > As a fun aside, I did try out replacing pulseaudio with pipewire > through pipewire's pulseaudio shim and that seemed to work alright, > just started pipewire from an exec line in sway.conf and > things seemed to just kinda work(pavucontrol and firefox at least).
Does it mean, that if apps sharing video and audio, for video or audio ca= lls for example, become wayland native, such as slack and zoom, then by d= efinition pipewire's video and audio must be used? So far I've avoided u= sing pulseaudio, and I'm afraid pipewire's audio looks pretty much like a= nother pulse-audio, :( It adds a server as well [4], and it's a server p= er user, instead of a global root one (for several reasons, I don't like = this either). Also, for pulse by default apps, which haven't been tweake= d to use alsa instead, one needs to install pipewire-pulse and then make = sure the pipewire-pulse.socket is enabled for each user [5], which might = require some S6 service assistance any ways. For plain alsa apps, it see= ms OK to just install pipewire-alsa, and it sounds easier to tweak pulse = by default apps into plain alsa apps, and avoid having to deal with the p= ipewire-pulse.sockets...
So in the end, it seems some S6 assistance with those sockets might becom= e handy (I guess they need to be created when each user logs in, not sure= )...
I don't like these models, :( But it sounds like when everything is wayl= and native, there will be no other way, right? Really sad, at least for = me, :( Not sure if I like the wayland ways now, but Xorg is no more any = ways [6], :(
> Thanks, > Moody
Thanks Moody !
--=20 Javier
[1] https://aur.archlinux.org/packages/wayvnc [2] https://wiki.archlinux.org/index.php/wayland#Remote_display [3] https://wiki.archlinux.org/index.php/PipeWire#WebRTC_screen_sharing [4] https://wiki.archlinux.org/index.php/PipeWire#Audio [5] https://wiki.archlinux.org/index.php/PipeWire#PulseAudio_clients [6] https://www.theregister.com/2020/10/30/x_server_lead_maintainer_decl= ares
--qTtMzMBVI0R8y05PcGFLMiiZmZUrkqTrc--
--sxYFONnAwuPMyAmMANNamd79zagFGKfLT Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature"
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRXp3SNby6/vn/a4v9NbI1YrThcqgUCYAkldwAKCRBNbI1YrThc qtZLAQD7tZs/H7HswBjs0LLp60W0rWEF9GhfkhKAF5gUUENEfgEAgVF3Ll8q7boy CxtTZMPgHbvRvdQ+g5B1/ojTe3p37Ak= =AdPn -----END PGP SIGNATURE-----
--sxYFONnAwuPMyAmMANNamd79zagFGKfLT--
--===============1566820981614558762== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
-- artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general
--===============1566820981614558762== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1566820981614558762==--
|
|