1 |
Hello, |
2 |
On 18-01-20 at 08:11, tuxic@××××××.de wrote: |
3 |
> Hi, |
4 |
> |
5 |
> either by one of the last updates or by me while un-pulseaudio-fy |
6 |
> firefox (and removing pulseaudio afterwards) mpv is no longer willing |
7 |
> to play any sound. |
8 |
I don't have any particularly concrete ideas because the error log isn't |
9 |
very descriptive, but I have several things you can try that will give |
10 |
us more info/may help pinpoint the issue. |
11 |
|
12 |
You might want to post the contents of your /etc/asound.conf and your |
13 |
~/.asoundrc as well as maybe checking the contents of /usr/share/alsa if |
14 |
there's anything still referencing pulseaudio in there. Maybe also a |
15 |
qcheck media-libs/alsa-lib to check if any of the default config files |
16 |
have any changes in them (you can also diff the output of qlist alsa-lib |
17 |
and find /usr/share/alsa). |
18 |
|
19 |
You might also want to check your mpv.conf if you have change any of the |
20 |
audio settings there. |
21 |
|
22 |
[..] |
23 |
> Output on the console while playing a video: |
24 |
> mpv the_best_GPU_for_Blender-720p.mp4 |
25 |
> Playing: the_best_GPU_for_Blender-720p.mp4 |
26 |
> (+) Video --vid=1 (*) (h264 1280x720 29.970fps) |
27 |
> (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz) |
28 |
> 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 |
29 |
> [ao/alsa] Playback open error: Device or resource busy |
30 |
> [ao] Failed to initialize audio driver 'alsa' |
31 |
> Could not open/initialize audio device -> no sound. |
32 |
> Audio: no audio |
33 |
> VO: [opengl] 1280x720 yuv420p |
34 |
> V: 00:00:01 / 00:12:38 (0%) |
35 |
You can try running mpv in verbose mode (-v) to see if that prints any |
36 |
more relevant information and also try using any of the other (alsa) |
37 |
audio-devices listed by --audio-device=help. You could also try setting |
38 |
--audio-samplerate=48k and try enabling/disabling alsa resampling with |
39 |
--alsa-resample=yes/no. |
40 |
|
41 |
[..] |
42 |
> mpv --audio-device=jack the_best_GPU_for_Blender-720p.mp4 |
43 |
> Playing: the_best_GPU_for_Blender-720p.mp4 |
44 |
> (+) Video --vid=1 (*) (h264 1280x720 29.970fps) |
45 |
> (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz) |
46 |
> 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 |
47 |
> [ao/alsa] Playback open error: Device or resource busy |
48 |
> [ao] Failed to initialize audio driver 'alsa' |
49 |
> Could not open/initialize audio device -> no sound. |
50 |
> Audio: no audio |
51 |
> VO: [opengl] 1280x720 yuv420p |
52 |
> V: 00:00:01 / 00:12:38 (0%) |
53 |
> |
54 |
> (why it is accessing alsa here???) |
55 |
mpv's verbose mode will probably give more info as to why it's trying to |
56 |
open alsa, but I don't know enough about jack to give any useful ideas |
57 |
here. |
58 |
|
59 |
> Using for example zynaddsubfx (softsynth) via qjackctrl/jack I can |
60 |
> play sound. |
61 |
> Mpv does not show up in qjackctrl.... |
62 |
What samplerate does that generate sound at? 48k or 44.1k? |
63 |
|
64 |
-- |
65 |
Simon Thelen |