From owner-freebsd-questions@freebsd.org Thu Jul 15 10:11:16 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF8EB663AA2 for ; Thu, 15 Jul 2021 10:11:16 +0000 (UTC) (envelope-from hruodr@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQVWl71dFz4XRt for ; Thu, 15 Jul 2021 10:11:15 +0000 (UTC) (envelope-from hruodr@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id g8-20020a1c9d080000b02901f13dd1672aso4947041wme.0 for ; Thu, 15 Jul 2021 03:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:in-reply-to:message-id:references:mime-version; bh=UeCsJlKD+YJz1retOa0XtPwJWkS+VDPeTMF+TUfhfBk=; b=lcHBdgRar3nHTZvuEkb707hntXraXhNNNq8lnIvCYEOPTCih2jr6XH8iFubZPAz3PO Or2RntRlZGIgrC7WOnT44ABCUz9d/DTtFaVcS6PbMyptkGvhkIXZ6XzcGIgsTi1EGHNW JmzjpiJrwLTZiGvcFgb8YOpyAzIxyJYPswiiG/G0uiwVDp2tJgBBgwE0E3aHWxdRRjH0 QMr2sDtpLUGMb0LkAc0rHGH39cneo9++YBgQgTrqSONTA1rSFrsecbyxxZwZ7PLsQWOs lxM0tFtftzU+2Qd4zj4CQtsEtrUfbLIh6frFuyLAA+AlKcqMz/ik5kjNhwaoSGuBXq4l ubQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:message-id :references:mime-version; bh=UeCsJlKD+YJz1retOa0XtPwJWkS+VDPeTMF+TUfhfBk=; b=tD/y16I++Hsl6xWDvXWBKAPAIA90vxdl9eOrKfbr7Ke+RDsAt63xg/OWevDzIrTxzl 9BT65WBB4S2K1jgFgP/zE98OVc8DFH8Job0f5aLmgtgV7z4V/KSkDAnPYSIydJQmiMOH pov0uy1s8lisSNnIOJuseSyRZWt2oUyuetgmL2tVdqkB/qp5wJbjviSLMdI8dgbxEvUW /lm0FYTe2qaOrTLnh5zSv0qLijFvI7Xga3eYtsYWhE6Q+wGddKh/jUjLpbi/iq2oXzJq xrJm7jPB1Llhto18rUeiwNJAZbK+VmyrvtFwgPm1ewHZajfKtD0lFLLn+7UF9Q++/bte piuA== X-Gm-Message-State: AOAM532wNn/1kQDs14AZQupg+2uo2VDpTdVIBDq6kjq0R2leQ5cJLzQw yP0mnbCoZ2tx45hcXVfnYzCXKpM7kfM= X-Google-Smtp-Source: ABdhPJx64Ac9FhWOiBSguSHfq1cFH3I4H4u7zLM6mH4RWUk3xbNcdtFYW4shtxqW5lzouIcdQAT/9w== X-Received: by 2002:a7b:c083:: with SMTP id r3mr3686537wmh.97.1626343874616; Thu, 15 Jul 2021 03:11:14 -0700 (PDT) Received: from [192.168.178.26] (dslb-178-008-021-173.178.008.pools.vodafone-ip.de. [178.8.21.173]) by smtp.gmail.com with ESMTPSA id m6sm7559384wrw.9.2021.07.15.03.11.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jul 2021 03:11:14 -0700 (PDT) Date: Thu, 15 Jul 2021 10:04:18 +0000 (UTC) From: Roderick To: freebsd-questions@freebsd.org Subject: Re: What the hell starts pulseaudio?! In-Reply-To: <20210715105229.50fee7b3@archlinux> Message-ID: <23e852c3-b9f4-3e7a-777c-50ff3c222f16@gmail.com> References: <5b18f5de-7aae-a226-88cd-a210507d5c5@gmail.com> <72194e9f-261c-c3da-996-f8e1bcad2164@gmail.com> <20210715063116.85e42de5c276f40c8920ee2c@sohara.org> <20210715105229.50fee7b3@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4GQVWl71dFz4XRt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lcHBdgRa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hruodr@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=hruodr@gmail.com X-Spamd-Result: default: False [0.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SUBJECT_ENDS_EXCLAIM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::329:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[178.8.21.173:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.29)[-0.290]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::329:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.99)[0.989]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2021 10:11:16 -0000 In my opinion it is clear that the problem is firefox. Trying to solve it tricking the system is the false way. The main problem is, that most web sites are de facto written for chrome, and perhaps firefox. We need a browser, but are not free to select a browser. Although there is a standard, we have something like a monople. I ask me how difficult could be to write something lightweight, but fully compatible with chrome and mantain it compatible. The similar question with firefox. Perhaps something scriptable. It seems that most of the browser is the render engine. But we have the same problem with a much simpler technic: email. The only lightweight mail client I know that is usable for actual demand is: alpine. It is developed and mantained by only one person. I have the impression that free software movement has one side very demanding goals, on the other side is neglecting very elementary things. Rod. On Thu, 15 Jul 2021, Ralf Mardorf wrote: > On Thu, 15 Jul 2021 06:31:16 +0100, Steve O'Hara-Smith wrote: >> you'll almost certainly have to build it from source > > This could take hours, at least on Linux with an Intel Celeron dual-core > CPU G1840 @ 2.80GHz, with 8 GiB RAM, so a regular tmpfs is too small to > build Firefox and it needed to get build on a SATA3 SSD. Let alone > building the Electron framework, based on Chromium, IIRC it took 1/4 > day. There's no reason that it can be expected to compiled faster on > FreeBSD, just a computer with more horsepower can workaround this issue. > > Building those bloated browsers takes way longer then building kernels > and due to security related updates you have to build browsers very > often. > > On Linux pulseaudio became a default annoyance earlier than on FreeBSD > and in the beginning there where absolutely no working ways just to > disable an installed pulseaudio. > > If you just delete the pulseaudio related files, nothing that was > compiled against it breaks, resp. audio might break, if no alternative > sound architecture or a workaround is provided, but even then Firefox > works without audio. > > On Linux an alternative apulse worked and it might still work, I don't > know, since the packages of the Linux distro I'm using provide Firefox > build against jack and ALSA, too. > > I still prefer to build empty dummy packages on Linux to fulfil > dependencies of packages that were build against pulseaudio, instead of > installing and disabling pulseaudio. > > Assuming "autospawn = no" is a solution that works without issues > nowadays, the problem would be solved without a dirty hack. However, > I'm in favour of the dirty hack, since it works without fail, even if a > drop-in file or something else that gets introduced the other day, will > break a solution that works today. > > If you rely on using Linux software on your FreeBSD install, than I've > got bad news for you. If you prefer to stay with a reliable old-school > environment, you are forced to get used to dirty hacks or to fork > software, since it's even not granted that annoying things can be > disabled or replaced by something else via config flags at build time. > > My all-day workstation is a _rolling release_ Linux distro, that > follows upstream as close and fast as possible. > > Installed > local/apulse 0.1.13-1 > PulseAudio emulation for ALSA > multilib/lib32-libpulse 14.2-2 > A featureful, general-purpose sound server (32-bit client libraries) > extra/pulseaudio 2013.08.18-1 > Dummy package > extra/pulseaudio-alsa 1:1.2.5-2 > ALSA Configuration for PulseAudio > extra/pulseaudio-bluetooth 2017.12.19-1 > Dummy package > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >