Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature