On Saturday, 20 January 2018 07:11:52 GMT tu...@posteo.de wrote: > Hi, > > either by one of the last updates or by me while un-pulseaudio-fy > firefox (and removing pulseaudio afterwards) mpv is no longer willing > to play any sound. > > > Some informations: > > [I] media-video/mpv > Available versions: 0.18.0-r1 0.25.0-r2 (~)0.26.0 (~)0.27.0-r1 > [M](~)0.28.0 **9999 {+X +alsa aqua archive bluray cdda +cli coreaudio > cplugins cuda doc drm dvb dvd +egl +enca encode gbm +iconv jack javascript > jpeg lcms +libass libav libcaca libguess libmpv (+)lua luajit openal > +opengl oss pulseaudio raspberry-pi rubberband samba sdl selinux test tools > (+)uchardet v4l vaapi vdpau vf-dlopen wayland xinerama +xscreensaver +xv > zlib zsh-completion CPU_FLAGS_X86="sse4_1" PYTHON_TARGETS="python2_7 > python3_4 python3_5 python3_6"} Installed versions: 0.27.0-r1(06:53:23 AM > 01/04/2018)(X alsa archive cdda cli cplugins cuda doc drm dvb dvd egl > encode iconv jack jpeg libass lua luajit opengl tools uchardet v4l vdpau xv > zlib zsh-completion -aqua -bluray -coreaudio -gbm -javascript -lcms -libav > -libcaca -libmpv -openal -oss -pulseaudio -raspberry-pi -rubberband -samba > -sdl -selinux -test -vaapi -wayland PYTHON_TARGETS="python2_7 python3_5 > python3_6 -python3_4") Homepage: https://mpv.io/ > Description: Media player based on MPlayer and mplayer2 > > > Output on the console while playing a video: > mpv the_best_GPU_for_Blender-720p.mp4 > Playing: the_best_GPU_for_Blender-720p.mp4 > (+) Video --vid=1 (*) (h264 1280x720 29.970fps) > (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz) > ALSA lib > /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_ > dmix.c:1099:(snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open > error: Device or resource busy > [ao] Failed to initialize audio driver 'alsa' > Could not open/initialize audio device -> no sound. > Audio: no audio > VO: [opengl] 1280x720 yuv420p > V: 00:00:01 / 00:12:38 (0%) > > > Exiting... (Quit) > > > Or with jack: > > (replaced my username by 'user') > > ps -ef | grep jack > user 4299 1 0 02:47 ? 00:01:34 jackd -t5000 -dalsa -dhw:0 > -r48000 -p1024 -n2 -H -M -Xseq user 24837 24766 0 08:05 pts/3 00:00:00 > grep -E --color jack > > id > uid=1001(user) gid=100(users) > groups=100(users),10(wheel),12(mail),14(uucp),18(audio),19(cdrom),27(video) > ,35(games),80(cdrw),85(usb),103(docker),237(wireshark),244(vboxusers),245(vl > ock),246(realtime) > > [I] media-sound/jack-audio-connection-kit > Available versions: 0.121.3-r1 (~)0.124.1-r1 (~)0.125.0 {alsa altivec > coreaudio cpudetection debug doc examples oss pam ABI_MIPS="n32 n64 o32" > ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="3dnow > mmx sse"} Installed versions: 0.125.0(07:33:45 AM 12/05/2017)(alsa pam > -altivec -coreaudio -debug -doc -examples -oss ABI_MIPS="-n32 -n64 -o32" > ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" > CPU_FLAGS_X86="3dnow sse") Homepage: http://www.jackaudio.org > Description: A low-latency audio server > > (using zsh): > l /dev/**/*jack* > srwxr-xr-x 1 user users 0 2018-01-20 02:47 > /dev/shm/jack-1001/default/jack_0 srwxr-xr-x 1 user users 0 2018-01-20 > 02:47 /dev/shm/jack-1001/default/jack_ack_0 prw-r--r-- 1 user users 0 > 2018-01-20 08:07 /dev/shm/jack-1001/default/jack-ack-fifo-4299-0 prw-r--r-- > 1 user users 0 2018-01-20 08:07 > /dev/shm/jack-1001/default/jack-ack-fifo-4299-1 prw-r--r-- 1 user users 0 > 2018-01-20 02:47 /dev/shm/jack-1001/default/jack-ack-fifo-4299-2 prw-r--r-- > 1 user users 0 2018-01-20 02:49 > /dev/shm/jack-1001/default/jack-ack-fifo-4299-3 > > /dev/shm/jack-1001: > total 0 > > mpv --audio-device=jack the_best_GPU_for_Blender-720p.mp4 > Playing: the_best_GPU_for_Blender-720p.mp4 > (+) Video --vid=1 (*) (h264 1280x720 29.970fps) > (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz) > ALSA lib > /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_ > dmix.c:1099:(snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open > error: Device or resource busy > [ao] Failed to initialize audio driver 'alsa' > Could not open/initialize audio device -> no sound. > Audio: no audio > VO: [opengl] 1280x720 yuv420p > V: 00:00:01 / 00:12:38 (0%) > > (why it is accessing alsa here???) > > > Using for example zynaddsubfx (softsynth) via qjackctrl/jack I can > play sound. > Mpv does not show up in qjackctrl.... > > The situation does not change if doing anything of the above as root. > > Mplayer plays sound...but fails to play the video instead. > > Currently I dont know what the problem here. > > If anyone has any idea...heartly welcome... :) > > Cheers > Meino
I'd start by running 'alsactl init' to (re)initialise alsa and see if it reports any errors. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.