picks oss over pulse/alsa

Bug #549613 reported by Paddy Launch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Fix Released
Medium
Reinhard Tartler

Bug Description

Binary package hint: mplayer

When adjusting volume using '0' and '9' on the console version of mplayer, the volume adjusts, but the change in volume is delayed by about 2-3 seconds after the volume percentage has decreased on the console display.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mplayer 2:1.0~rc3+svn20090426-1ubuntu15
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic x86_64
Architecture: amd64
Date: Sat Mar 27 14:48:36 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: mplayer

Related branches

Revision history for this message
Paddy Launch (paddylaunch-deactivatedaccount) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

what audio output module did you use? please show the complete mplayer output, including the exact command line that you have used

Changed in mplayer (Ubuntu):
status: New → Incomplete
Revision history for this message
Paddy Launch (paddylaunch-deactivatedaccount) wrote :

$ mplayer brownian.ogg
MPlayer UNKNOWN-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing brownian.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 96.0 kbit/13.61% (ratio: 12000->88200)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 549613] Re: mplayer exhibits delayed response to volume adjustment

it seems that you are using oss. Did you configure that in your profile
or in /etc/mplayer.

are you running pulseaudio?

Does the delay occur if you use some other audio module, like the
pulseaudio module or alsa?

Revision history for this message
Paddy Launch (paddylaunch-deactivatedaccount) wrote :

On Sat, Mar 27, 2010 at 08:37:33PM -0000, Reinhard Tartler wrote:
> it seems that you are using oss. Did you configure that in your profile
> or in /etc/mplayer.

no, i have done no manual configuration of mplayer (just 'sudo apt-get
install mplayer')

> are you running pulseaudio?

pgrep shows that it is running

> Does the delay occur if you use some other audio module, like the
> pulseaudio module or alsa?

i tried:

  $ mplayer -ao pulse brownian.ogg

and there was no lag in changing the volume (i.e. it worked correctly)

when i tried to change volume with alsa i get:

     [AO_ALSA] Unable to find simple control 'PCM',0.

Revision history for this message
Reinhard Tartler (siretart) wrote :

On Sa, M��r 27, 2010 at 23:18:40 (CET), Paddy Launch wrote:

> On Sat, Mar 27, 2010 at 08:37:33PM -0000, Reinhard Tartler wrote:
>> it seems that you are using oss. Did you configure that in your profile
>> or in /etc/mplayer.
>
> no, i have done no manual configuration of mplayer (just 'sudo apt-get
> install mplayer')

with the normal ubuntu package? for me, it tries pulseaudio first.

>> are you running pulseaudio?
>
> pgrep shows that it is running

ok

>> Does the delay occur if you use some other audio module, like the
>> pulseaudio module or alsa?
>
> i tried:
>
> $ mplayer -ao pulse brownian.ogg
>
> and there was no lag in changing the volume (i.e. it worked correctly)

excellent, so there is probably no problem in mplayer.

> when i tried to change volume with alsa i get:
>
> [AO_ALSA] Unable to find simple control 'PCM',0.

but does it produce any sound? or are you 'just' not able to change the
volume?

in any case, please attach:

 a) the full mplayer output, including the full command line
 b) the contents of /etc/mplayer/mplayer.conf
 c) the contents of ~/.mplayer/config

Revision history for this message
Paddy Launch (paddylaunch-deactivatedaccount) wrote :

On Sat, Mar 27, 2010 at 10:40:54PM -0000, Reinhard Tartler wrote:
>
> with the normal ubuntu package?

yes, i think so

> > [AO_ALSA] Unable to find simple control 'PCM',0.
>
> but does it produce any sound? or are you 'just' not able to change the
> volume?

it plays, but i cannot adjust the volume

> in any case, please attach:
>
> a) the full mplayer output, including the full command line

$ mplayer -ao alsa brownian.ogg
MPlayer UNKNOWN-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing brownian.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 96.0 kbit/13.61% (ratio: 12000->88200)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
[AO_ALSA] Unable to find simple control 'PCM',0.
[AO_ALSA] Unable to find simple control 'PCM',0.
[Mixer] No hardware mixing, inserting volume filter.
Volume: 88 %
[AO_ALSA] Unable to find simple control 'PCM',0.
[AO_ALSA] Unable to find simple control 'PCM',0.
Volume: 85 %
[AO_ALSA] Unable to find simple control 'PCM',0.
[AO_ALSA] Unable to find simple control 'PCM',0.

A: 3.0 (03.0) of 3600.0 ( 1:00:00.0) 0.4%

> b) the contents of /etc/mplayer/mplayer.conf

this file doesn't exist on my system (only input.conf and menu.conf)

> c) the contents of ~/.mplayer/config

this file is empty:

     # Write your default config options here!

Revision history for this message
Reinhard Tartler (siretart) wrote :

On Mon, Mar 29, 2010 at 00:12:59 (CEST), Paddy Launch wrote:

>> a) the full mplayer output, including the full command line
>
> $ mplayer -ao alsa brownian.ogg

interesting. How can you please also attach the following outputs:

mplayer -v -ao alsa brownian.ogg
mplayer -v -ao pulse brownian.ogg
mplayer -v -ao oss brownian.ogg
mplayer -v brownian.ogg

Ideally in seperate *attached* files so that we can "diff" them.

My current suspicion is that mplayer behaves different on amd64, but I
don't know yet why.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

summary: - mplayer exhibits delayed response to volume adjustment
+ picks oss over pulse/alsa on amd64
Changed in mplayer (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Paddy Launch (paddylaunch-deactivatedaccount) wrote : Re: [Bug 549613] Re: picks oss over pulse/alsa on amd64

On Mon, Mar 29, 2010 at 07:17:17AM -0000, Reinhard Tartler wrote:
>
> mplayer -v -ao alsa brownian.ogg
> mplayer -v -ao pulse brownian.ogg
> mplayer -v -ao oss brownian.ogg
> mplayer -v brownian.ogg
>

see attached

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: picks oss over pulse/alsa on amd64

okay, this is essentially an effect of bug #540491. working on a fix

summary: - picks oss over pulse/alsa on amd64
+ picks oss over pulse/alsa
Changed in mplayer (Ubuntu):
status: Incomplete → In Progress
assignee: nobody → Reinhard Tartler (siretart)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mplayer - 2:1.0~rc3+svn20090426-1ubuntu16

---------------
mplayer (2:1.0~rc3+svn20090426-1ubuntu16) lucid; urgency=low

  * move config file and apport hook 'mplayer-nogui'->'mplayer'
    LP: #540491, #549613
  * improve mplayer version output
  * no longer build depend on libfaac, see LP #374900 for details
  * attach alsa_information in the apport hook
 -- Reinhard Tartler <email address hidden> Wed, 31 Mar 2010 19:54:53 +0200

Changed in mplayer (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.