Debian Bug report logs - #512603
xmms2 fails with esound installed

version graph

Package: xmms2; Maintainer for xmms2 is Benjamin Drung <bdrung@debian.org>; Source for xmms2 is src:xmms2.

Reported by: Kushal Koolwal <kushalkoolwal@hotmail.com>

Date: Thu, 22 Jan 2009 03:30:01 UTC

Severity: wishlist

Tags: upstream, wontfix

Found in version xmms2/0.5DrLecter-2

Forwarded to http://bugs.xmms2.xmms.se/view.php?id=2120

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, kushalkoolwal@hotmail.com, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Thu, 22 Jan 2009 03:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kushal Koolwal <kushalkoolwal@hotmail.com>:
New Bug report received and forwarded. Copy sent to kushalkoolwal@hotmail.com, Florian Ragwitz <rafl@debian.org>. (Thu, 22 Jan 2009 03:30:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Kushal Koolwal <kushalkoolwal@hotmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xmms2 fails with esound installed
Date: Wed, 21 Jan 2009 19:27:34 -0800
Package: xmms2
Version: 0.5DrLecter-2
Severity: important

xmms2 play music files (MP3) just fine when we don't have esound package 
installed. However as soon as we install esound xmms2 won't play songs 
and gives following error message in the xmms2d.log file:
--- Starting new xmms2d ---
 INFO: ../src/xmms/log.c:36: Initialized logging system :)
 INFO: ../src/xmms/ipc.c:950: IPC listening on 
'unix:///tmp/xmms-ipc-user'.
 INFO: ../src/xmms/main.c:507: Using output plugin: alsa
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ERROR: ../src/plugins/alsa/alsa.c:213: Couldn't open device: default
ERROR: ../src/xmms/output.c:957: Could not initialize output plugin
..cache/xmms2/xmms2d.log (END) 

I need esound package (esd utility) so that I can hear my GNOME events 
and sounds. Looks like esound takes control over alsa plugin and hence 
xmms2 fails. 

In xmms - pervious version of xmms2 I use to get around this by forcing 
xmms2 to use the libesdout.so output plugin and everything was happy - 
GNOME sound events and XMMS player. With XMMS2 I was not able to find a 
similar libesdout plugin.

Thanks


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-ebx12-test5 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmms2 depends on:
ii  xmms2-client-cli           0.5DrLecter-2 XMMS2 - cli client
ii  xmms2-core                 0.5DrLecter-2 XMMS2 - core package
ii  xmms2-plugin-alsa          0.5DrLecter-2 XMMS2 - ALSA output
ii  xmms2-plugin-id3v2         0.5DrLecter-2 XMMS2 - ID3v2 plugin
ii  xmms2-plugin-mad           0.5DrLecter-2 XMMS2 - libmad based mp3 decoder
ii  xmms2-plugin-vorbis        0.5DrLecter-2 XMMS2 - vorbis decoder

xmms2 recommends no packages.

xmms2 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Sat, 24 Jan 2009 13:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Frauendorfer <thomas.frauendorfer@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Sat, 24 Jan 2009 13:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 512603@bugs.debian.org (full text, mbox):

From: Thomas Frauendorfer <thomas.frauendorfer@googlemail.com>
To: 512603@bugs.debian.org
Subject: Re: xmms2 fails with esound installed
Date: Sat, 24 Jan 2009 14:43:09 +0100
xmms2 has no esound output plugin, as nobody wrote one yet.
But you could try to use the libao output plugin and configure ao to
output to esd.
(According to the libao2 description that should be possible)

Or you could try to use pulse




Tags added: upstream Request was from Thomas Frauendorfer <thomas.frauendorfer@googlemail.com> to control@bugs.debian.org. (Sat, 24 Jan 2009 13:51:04 GMT) Full text and rfc822 format available.

Severity set to `wishlist' from `important' Request was from Thomas Frauendorfer <thomas.frauendorfer@googlemail.com> to control@bugs.debian.org. (Sat, 24 Jan 2009 13:51:05 GMT) Full text and rfc822 format available.

Noted your statement that Bug has been forwarded to http://bugs.xmms2.xmms.se/view.php?id=2120. Request was from Thomas Frauendorfer <thomas.frauendorfer@googlemail.com> to control@bugs.debian.org. (Sat, 24 Jan 2009 13:51:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Mon, 26 Jan 2009 18:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kushal Koolwal <kushalkoolwal@hotmail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Mon, 26 Jan 2009 18:33:02 GMT) Full text and rfc822 format available.

Message #21 received at 512603@bugs.debian.org (full text, mbox):

From: Kushal Koolwal <kushalkoolwal@hotmail.com>
To: <512603@bugs.debian.org>
Subject: Re: xmms2 fails with esound installed
Date: Mon, 26 Jan 2009 10:31:06 -0800
[Message part 1 (text/plain, inline)]
Hi Thomas,

I tried using pulse output plugin but no luck. Here is what I get:

user@debian:~$ killall xmms2d
user@debian:~$ xmms2d -o pulse
 INFO: ../src/xmms/log.c:36: Initialized logging system :)
 INFO: ../src/xmms/ipc.c:950: IPC listening on
'unix:///tmp/xmms-ipc-user'.
 INFO: ../src/xmms/main.c:507: Using output plugin: pulse

user@debian:~$ xmms2 add sound_test.mp3

Added sound_test.mp3

user@debian:~$ xmms2 play
 INFO: ../src/xmms/xform.c:1461: Successfully setup chain for
'file:///usr/share/xmms2/mind.in.a.box-lament_snipplet.ogg' (1)
containing file:magic:vorbis:segment
ERROR: ../src/xmms/outputplugin.c:439: Could not open output
.cache/xmms2/xmms2d.log (END)

Also I tried libao plugin but again no luck. I get lots of error messages as soon as I tell xmms2d to use libao plugin.
user@debian:~$ killall xmms2d
user@debian:~$ xmms2d -o ao
 INFO: ../src/xmms/log.c:36: Initialized logging system :)
 INFO: ../src/xmms/ipc.c:950: IPC listening on                  
'unix:///tmp/xmms-ipc-user'.
 INFO: ../src/xmms/main.c:507: Using output plugin: ao          
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: Device or resource busy                
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
........
........

Also I tried to look for some documentation which can explain to how to configure libao to use esd but I was not able to. Can you point me to it please?


Kushal Koolwal

I do blog at http://blogs.koolwal.net/




_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Tue, 27 Jan 2009 07:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Svensson <dsvensson@gmail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Tue, 27 Jan 2009 07:36:03 GMT) Full text and rfc822 format available.

Message #26 received at 512603@bugs.debian.org (full text, mbox):

From: Daniel Svensson <dsvensson@gmail.com>
To: Kushal Koolwal <kushalkoolwal@hotmail.com>, 512603@bugs.debian.org
Subject: Re: Bug#512603: xmms2 fails with esound installed
Date: Tue, 27 Jan 2009 08:30:34 +0100
On Mon, Jan 26, 2009 at 7:31 PM, Kushal Koolwal
<kushalkoolwal@hotmail.com> wrote:
> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> ALSA snd_pcm_open error: Device or resource busy

That's because you haven't killed esd first. It's hogging your soundcard.

Here's how to setup pulseaudio if your distribution doesn't do it for you:

http://www.pulseaudio.org/wiki/PerfectSetup

esd is really not worth supporting unless you write an output plugin
for us and maintain it, the whole world is moving away from it in a
rapid pace.

-- 
Daniel Svensson




Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Tue, 27 Jan 2009 17:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Frauendorfer <thomas.frauendorfer@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Tue, 27 Jan 2009 17:51:02 GMT) Full text and rfc822 format available.

Message #31 received at 512603@bugs.debian.org (full text, mbox):

From: Thomas Frauendorfer <thomas.frauendorfer@googlemail.com>
To: 512603@bugs.debian.org
Date: Tue, 27 Jan 2009 18:48:43 +0100
Hi,

File /etc/libao.conf
Change default_driver=alsa to default_driver=esd




Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Tue, 27 Jan 2009 21:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kushal Koolwal <kushalkoolwal@hotmail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Tue, 27 Jan 2009 21:03:02 GMT) Full text and rfc822 format available.

Message #36 received at 512603@bugs.debian.org (full text, mbox):

From: Kushal Koolwal <kushalkoolwal@hotmail.com>
To: <512603@bugs.debian.org>
Date: Tue, 27 Jan 2009 13:00:37 -0800
Hi Daniel,

Thanks for info.

Two questions:

1. Also while searching other bug report on similar issue I found this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453105

So I installed the libesd-alsa0 package and I got my GNOME sound events and xmms2 sound back. Do you see any potential danger/conflict in using this approach?

2. If I go with pulseaudio approach (looks like this will replace esd based on above link) can I play my GNOME events and sounds from other media player (like xmms2) without having to install esd?

Thanks for your help! Appreciate it.

I do blog at http://blogs.koolwal.net/




_________________________________________________________________
Hotmail® goes where you go. On a PC, on the Web, on your phone. 
http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208 



Information forwarded to debian-bugs-dist@lists.debian.org, Florian Ragwitz <rafl@debian.org>:
Bug#512603; Package xmms2. (Wed, 28 Jan 2009 07:03:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Svensson <dsvensson@gmail.com>:
Extra info received and forwarded to list. Copy sent to Florian Ragwitz <rafl@debian.org>. (Wed, 28 Jan 2009 07:03:05 GMT) Full text and rfc822 format available.

Message #41 received at 512603@bugs.debian.org (full text, mbox):

From: Daniel Svensson <dsvensson@gmail.com>
To: Kushal Koolwal <kushalkoolwal@hotmail.com>, 512603@bugs.debian.org
Subject: Re: Bug#512603:
Date: Wed, 28 Jan 2009 08:01:13 +0100
[Message part 1 (text/plain, inline)]
Evil topposting androidmailclient! Sorry bout that. If you have a working
esd setup I suggest you stay with that until debian defaults to pulseaudio.
Pulseaudio can be a little tricky to setup so it's less work to stay with
something already working.

On Jan 27, 2009 10:07 PM, "Kushal Koolwal" <kushalkoolwal@hotmail.com>
wrote:


Hi Daniel,

Thanks for info.

Two questions:

1. Also while searching other bug report on similar issue I found this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453105

So I installed the libesd-alsa0 package and I got my GNOME sound events and
xmms2 sound back. Do you see any potential danger/conflict in using this
approach?

2. If I go with pulseaudio approach (looks like this will replace esd based
on above link) can I play my GNOME events and sounds from other media player
(like xmms2) without having to install esd?

Thanks for your help! Appreciate it.

I do blog at http://blogs.koolwal.net/




_________________________________________________________________
Hotmail(R) goes where you go. On a PC, on the Web, on your phone.
http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208
[Message part 2 (text/html, inline)]

Added tag(s) wontfix. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Mon, 18 Apr 2011 16:42:13 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 13:31:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.