Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [SOLVED] No sound in dosbox
Date: Mon, 25 May 2015 00:00:29
Message-Id: 20150524235954.GA26635@waltdnes.org
In Reply to: Re: [gentoo-user] [SOLVED] No sound in dosbox by Mick
1 On Mon, May 25, 2015 at 12:10:56AM +0100, Mick wrote
2 > On Sunday 24 May 2015 23:15:40 Walter Dnes wrote:
3 > > On Sat, May 23, 2015 at 02:59:26PM -0400, Walter Dnes wrote
4 > >
5 > > > This is not the particular game itself, it's dosbox. I.e. when I
6 > > >
7 > > > start up dosbox, it says...
8 > > >
9 > > > [d531][waltdnes][~] dosbox
10 > > > DOSBox version 0.74
11 > > > Copyright 2002-2010 DOSBox Team, published under GNU GPL.
12 > > > ---
13 > > > CONFIG:Loading primary settings from config file
14 > > > /home/waltdnes/.dosbox/dosbox-0.74.conf MIXER:Can't open audio: No
15 > > > available audio device , running in nosound mode. ALSA:Can't subscribe
16 > > > to MIDI port (65:0) nor (17:0)
17 > > > MIDI:Opened device:oss
18 > > >
19 > > > It used to work before I re-installed Gentoo (32-bit ==> 64-bit).
20 > > >
21 > > > Audio works in linux Youtube, mplayer, mpg123, etc. It's just dosbox
22 > > > that fails. Google searching did not help. I saw a few references to
23 > > > checking for missing /dev/dsp and /dev/audio. They are present on my
24 > > > system. Any ideas?
25 > >
26 > > Turns out I had to enable alsa for sdl and dosbox. Here are the
27 > > required entries from my /etc/portage/package.use/package.use file...
28 > >
29 > > games-emulation/dosbox alsa
30 > > media-libs/libsdl alsa
31 > >
32 > > ...or I could've enabled alsa globally in make.conf
33 >
34 > It is enabled in make.defaults for all desktop profiles I think.
35
36 USE="X apng bindist ffmpeg jpeg png truetype xorg mmx mmxext sse sse2 sse3 ssse3 -acl -berkdb -chatzilla -cracklib -crypt -gallium -gdbm -gmp-autoupdate -gstreamer -iconv -introspection -ipc -iptables -ipv6 -libav -llvm -nls -openmp -pam -roaming -sendmail -tcpd -udev -unicode"
37
38 I'm running default/linux/amd64/13.0/no-multilib. Out of sheer
39 curiousity, is it OK to remove the x86 CPU flags from USE yet and assume
40 that CPU_FLAGS_X86 is used by all ebuilds? The news item suggested
41 keeping them around for a while.
42
43 --
44 Walter Dnes <waltdnes@××××××××.org>
45 I don't run "desktop environments"; I run useful applications

Replies

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