From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 finch.gentoo.org (Postfix) with ESMTPS id 3A05315800A for ; Thu, 31 Aug 2023 22:37:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E86A72BC022; Thu, 31 Aug 2023 22:37:47 +0000 (UTC) Received: from barracuda.ebox.ca (barracuda.ebox.ca [96.127.255.19]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A7C1D2BC01B for ; Thu, 31 Aug 2023 22:37:47 +0000 (UTC) X-ASG-Debug-ID: 1693521466-0c856e713d670820001-LfjuLa Received: from smtp.ebox.ca (smtp.ebox.ca [96.127.255.82]) by barracuda.ebox.ca with ESMTP id Uarg1Xnu45DArrES (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 31 Aug 2023 18:37:46 -0400 (EDT) X-Barracuda-Envelope-From: waltdnes@waltdnes.org X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from waltdnes.org (unknown [198.58.217.37]) by smtp.ebox.ca (Postfix) with SMTP id 8039A441B21 for ; Thu, 31 Aug 2023 18:37:45 -0400 (EDT) Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 31 Aug 2023 18:38:08 -0400 X-Barracuda-RBL-IP: 198.58.217.37 X-Barracuda-Effective-Source-IP: 198-58-217-37.on.cable.ebox.net[198.58.217.37] X-Barracuda-Apparent-Source-IP: 198.58.217.37 From: "Walter Dnes" Date: Thu, 31 Aug 2023 18:38:08 -0400 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: [SOKVED] dosbox 0.74.3 can't init SDL: No audio device on one machine Message-ID: X-ASG-Orig-Subj: Re: [SOKVED] dosbox 0.74.3 can't init SDL: No audio device on one machine References: <4840380.GXAFRqVoOG@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4840380.GXAFRqVoOG@rogueboard> X-Barracuda-Connect: smtp.ebox.ca[96.127.255.82] X-Barracuda-Start-Time: 1693521466 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at ebox.ca X-Barracuda-Scan-Msg-Size: 1230 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.113494 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: d47481d6-1f3b-49e5-8116-532b9f15de1c X-Archives-Hash: 48db2099abbaadeeb9385258680e16b3 On Thu, Aug 31, 2023 at 09:21:40PM +0100, Michael wrote > > Do both machines have alsa built the same way and working? I don't know. From the looks of it, probably not. > > Does it work without error if you specify it on the CLI? CLI doesn't make a difference. > > SDL_AUDIODRIVER=alsa /usr/bin/dosbox That changes the error message... [waltdnes][~] SDL_AUDIODRIVER=alsa /usr/bin/dosbox DOSBox version 0.74-3 Copyright 2002-2019 DOSBox Team, published under GNU GPL. --- Exit to error: Can't init SDL Audio target 'alsa' not available Later... that very same evening... After some spelunking I noticed that I had libsdl and libsdl2 flagged with "-alsa" in package.use on the non-working machine (don't know why), and "alsa" on the working machine. Changing the flags to "alsa" and updating world with "--changed-use" fixed things on the non-working machine. Thanks for everybody's help. -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.