Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] [SOLVED] No sound in dosbox
Date: Sun, 24 May 2015 22:16:13
Message-Id: 20150524221540.GA26464@waltdnes.org
In Reply to: [gentoo-user] No sound in dosbox by Walter Dnes
1 On Sat, May 23, 2015 at 02:59:26PM -0400, Walter Dnes wrote
2 > This is not the particular game itself, it's dosbox. I.e. when I
3 > start up dosbox, it says...
4 >
5 > [d531][waltdnes][~] dosbox
6 > DOSBox version 0.74
7 > Copyright 2002-2010 DOSBox Team, published under GNU GPL.
8 > ---
9 > CONFIG:Loading primary settings from config file /home/waltdnes/.dosbox/dosbox-0.74.conf
10 > MIXER:Can't open audio: No available audio device , running in nosound mode.
11 > ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
12 > MIDI:Opened device:oss
13 >
14 > It used to work before I re-installed Gentoo (32-bit ==> 64-bit).
15 > Audio works in linux Youtube, mplayer, mpg123, etc. It's just dosbox
16 > that fails. Google searching did not help. I saw a few references to
17 > checking for missing /dev/dsp and /dev/audio. They are present on my
18 > system. Any ideas?
19
20 Turns out I had to enable alsa for sdl and dosbox. Here are the
21 required entries from my /etc/portage/package.use/package.use file...
22
23 games-emulation/dosbox alsa
24 media-libs/libsdl alsa
25
26 ...or I could've enabled alsa globally in make.conf
27
28 --
29 Walter Dnes <waltdnes@××××××××.org>
30 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] [SOLVED] No sound in dosbox Mick <michaelkintzios@×××××.com>