mplayer: alsa fail on resume

Bug #456415 reported by Richard Jonsson on 2009-10-20
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: mplayer

1) Karmic, 9.10
2) mplayer:
  Installerad: 2:1.0~rc3+svn20090426-1ubuntu10
  Kandidat: 2:1.0~rc3+svn20090426-1ubuntu10
3) I played some music tracks through mplayer, and suspended the laptop. When resuming from suspend I expected audio to continue playing.
4) audio buffer looping continously. mplayer couldn't resume.

Output from mplayer:

AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
[AO_ALSA] Pcm in suspend mode, trying to resume.
[AO_ALSA] alsa-lib: pcm_hw.c:729:(snd_pcm_hw_resume) SNDRV_PCM_IOCTL_RESUME failed: Function not implemented

I suspect this is both a problem with mplayer not handling the error more gracefully, and a driver problem with my sound hardware. I have not encountered this problem before during a few years use of this laptop.

ProblemType: Bug
Architecture: amd64
Date: Tue Oct 20 17:24:10 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: mplayer 2:1.0~rc3+svn20090426-1ubuntu10
ProcEnviron:
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 libavcodec52 N/A
 libavcodec-extra-52 4:0.5+svn20090706-2ubuntu3
SourcePackage: mplayer
Uname: Linux 2.6.31-14-generic x86_64
UserConf: # Write your default config options here!
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-14-generic

Please use apport-collect -p alsa-base 456415

Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: NVidia [HDA NVidia], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: richie 6214 F...m rhythmbox
 /dev/snd/timer: richie 6214 f.... rhythmbox
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xb0000000 irq 22'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,103c30b5,00100100'
   Controls : 19
   Simple ctrls : 9
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=sv_SE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video

tags: added: apport-collected
MilchFlasche (robertus0617) wrote :

Hi, I have encounted exactly the same bug for more than one year (both on Ubuntu and Mardriva, on my Eee PC with HDA Intel). Should I do "apport-collect -p alsa-base" to this bug too? Or is there anything I can do to help here?

Thanks in advance!

Regards,

Robert

On Wed, Oct 21, 2009 at 4:40 AM, MilchFlasche <email address hidden> wrote:
> "apport-collect -p alsa-base" to this bug too? Or is there anything I
> can do to help here?

Yes, please also use apport-collect -p alsa-base 456415.

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7db8000 irq 16'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,1043831a,00100004'
   Controls : 12
   Simple ctrls : 7
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=zh_TW.UTF-8
 LANGUAGE=zh_TW:zh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7db8000 irq 16'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,1043831a,00100004'
   Controls : 12
   Simple ctrls : 7
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=zh_TW.UTF-8
 LANGUAGE=zh_TW:zh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7db8000 irq 16'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,1043831a,00100004'
   Controls : 12
   Simple ctrls : 7
DistroRelease: Ubuntu 9.10
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=zh_TW.UTF-8
 LANGUAGE=zh_TW:zh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare

MilchFlasche (robertus0617) wrote :

Hmmm... No confirmation yet. Please advise if the information and attachments provided have any problems.

Changed in mplayer (Ubuntu):
status: New → Confirmed
MilchFlasche (robertus0617) wrote :

After installing pulseaudio and set it as preferred handler of audio in both KDE and SMPlayer, this bug seems to have been worked around, and suspending and resuming no longer crash MPlayer. So this bug may be Alsa-relevant.

Surely you mean the pulse alsa-plugin? Because, well, if it works fine
through PulseAudio, it *has* to work through ALSA, because PulseAudio
*uses* ALSA.

Or are you referring to the priority of sound "devices" as configured
for Phonon (or KDE System Settings > Multimedia)?

Nikoli (nikoli) wrote :

This bug was reported to mplayer upstream 4 years ago, still not fixed:
https://mplayerhq.hu/trac/mplayer/ticket/1617

mpv and mplayer2 have same problem:
https://github.com/mpv-player/mpv/issues/324

But vlc-2.0.9 works fine.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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