From owner-freebsd-questions@freebsd.org Fri May 22 09:47:42 2020 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 BB28332BD55 for ; Fri, 22 May 2020 09:47:42 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Received: from mail.worldserver.net (mail.worldserver.net [217.13.200.26]) (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 (2048 bits) client-digest SHA256) (Client CN "*.worldserver.net", Issuer "EuropeanSSL Server CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49T1qx6y8Gz44XN for ; Fri, 22 May 2020 09:47:41 +0000 (UTC) (envelope-from listac@nebelschwaden.de) Received: from postpony.nebelschwaden.de (v22018114346177759.hotsrv.de [194.55.14.20]) (Authenticated sender: postmaster@nebelschwaden.de) by mail.worldserver.net (Postfix) with ESMTPA id 1DF00255BA for ; Fri, 22 May 2020 11:47:38 +0200 (CEST) Received: from [172.16.37.5] (kaperfahrt.nebelschwaden.de [172.16.37.5]) by postpony.nebelschwaden.de (Postfix) with ESMTP id 9BA66D950E for ; Fri, 22 May 2020 11:47:38 +0200 (CEST) Reply-To: listac@nebelschwaden.de Subject: Re: best sound subsystem for freebsd for a desktop To: freebsd-questions@freebsd.org References: <20200519141914.GF23072@bastion.zyxst.net> From: Ede Wolf Message-ID: <9bfbb6e7-9d04-bc5e-d196-9c70f59f6528@nebelschwaden.de> Date: Fri, 22 May 2020 11:47:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200519141914.GF23072@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49T1qx6y8Gz44XN X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of listac@nebelschwaden.de has no SPF policy when checking 217.13.200.26) smtp.mailfrom=listac@nebelschwaden.de X-Spamd-Result: default: False [2.83 / 15.00]; HAS_REPLYTO(0.00)[listac@nebelschwaden.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.27)[0.273]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_SPAM_MEDIUM(0.79)[0.793]; NEURAL_SPAM_LONG(0.86)[0.865]; RCVD_IN_DNSWL_NONE(0.00)[217.13.200.26:from]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[nebelschwaden.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15657, ipnet:217.13.192.0/20, country:DE]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2020 09:47:42 -0000 Just a clarification maybe, as you have mixed those up. And hopefully additional private lessons for me. If I am not mistaken, there are two soundsystems in FreeBSD: OSS and the newer pcm. OSS may just be layer ontop of pcm, these days. Those soundsystems speak to the hardware. Think of this as the drivers basically. With some added magic. Then on top of that one may have a sound server, running in userspace. Most popular nowadays being pulseaudio, the successor of ESD. Or jack, popular for low latency audio work. A sound server abstracts the low level audio api and allows stuff like multiple audio streams (like "you have new mail" and listening to bsd now on youtube), in case the hardware (or the underlying sound system) does not. Now the FreeBSD audio subsystem, to my little knowledge, allows for mixing multiple streams. The question is, does this need a special setup for typical desktop applications? I do not know. If not, you may skip using a soundserver. Due to the popularity of linux, most applications will be fine with using pulseaudio and, while not using it myself, I suspect it will run out of the box on FreeBSD. Pulseaudio is said to work quite well out of the box these days, after a couple of, um, let's say, problematic years. Decades? Deping on your choice of windowmanager or desktop environment, it would get started automatically or you may have take care of that yourself. I stand happy to be corrected in every aspect, I am aware of the thin ice I am walking on, but I suspect, the issue of terminal bells has not been the primary focus of this question ;) And of course, terminal bells are annoying. Notwithstanding, they often do contain more information than your typical youtube video, but that's another story. Am 19.05.20 um 16:19 schrieb tech-lists: > Hello, > > What's in thes list's opinion would be the "best" sound setup for a freebsd > desktop? The use case is this: > > 1. things like youtube videos, twitter multimedia, playable on firefox, > 2. vlc for streaming etc > 3. system noises like you'd expect from a desktop > 4. 12.1-stable > 5. pcm3 Realtek ALC1150 2+1 config > > Reason for the question is partly because there's all kinds of "sound > system" > like pulseaudio alsa jack oss ... which is the best for my use case? The > other > reason is there seems to be a lag between selecting something to play > like a > youtube video and sound coming out. Something like 2-5 seconds; it's > annoying > and I have no idea how to diagnose it or fix it. Any clues please? > > thanks,