It looks like the issue is with the VLC media player, and
what is strange, it only has to do with one AVI file.
I checked your post in the other thread shown above.
With all other AVI files, when I run “lsof…”, the
output is typically this:
user@mach:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 10040 user 11u CHR 116,7 0t0 37391 /dev/snd/controlC0
vlc 10272 user mem CHR 116,5 37339 /dev/snd/pcmC0D0p
vlc 10272 user 15r CHR 116,2 0t0 37269 /dev/snd/timer
vlc 10272 user 16u CHR 116,5 0t0 37339 /dev/snd/pcmC0D0p
user@mach:~>
… BUT, when I play this one particular AVI video
and run the “lsof” command, we see this:
user@mach:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 10040 user 11u CHR 116,7 0t0 37391 /dev/snd/controlC0
vlc 10272 user mem CHR 116,5 37339 /dev/snd/pcmC0D0p
vlc 10272 user 14u CHR 116,2 0t0 37269 /dev/snd/timer
vlc 10272 user 15r CHR 116,5 0t0 37339 /dev/snd/pcmC0D0p
xdg-scree 10393 user 14r CHR 116,2 0t0 37269 /dev/snd/timer
xdg-scree 10393 user 15u CHR 116,5 0t0 37339 /dev/snd/pcmC0D0p
xprop 10415 user 14r CHR 116,2 0t0 37269 /dev/snd/timer
xprop 10415 user 15u CHR 116,5 0t0 37339 /dev/snd/pcmC0D0p
user@mach:~>
When this one particular AVI is played, you can see that
the “xprop” and “xdg-screensaver” processes are associated
to /dev/snd/timer and /dev/snd/pcmC0D0p.
With all other AVI files, “xprop” and “xdg-screensaver”
processes are launched by VLC, but they aren’t associated
to /dev/snd/timer and /dev/snd/pcmC0D0p.
I also noticed that when I “Quit” VLC, the two processes
(xprop and xdg-screensaver) linger … AAMOF, for every
AVI file that is opened and played, two new xprop and
xdg-screensaver processes are launched. So, if I’ve
opened and played 8 AVI files, there will be 8 different
“xprop” and “xdg-screensaver” processes running (even
after I quit VLC).
So this appears to be a bug with the VLC player. And I
find it strange that this one particular AVI file affects
VLC to associate “xprop” and “xdg-screensaver” to the
two devices /dev/snd/timer and /dev/snd/pcmC0D0p.
To “recover” the audio, I simply run: “killall -9 xprop xdg-screensaver”