From: caldercay on 9 Jan 2010 16:42 On Jan 8, 4:55 pm, caldercay <calder....(a)gmail.com> wrote: > openSUSE 11.2 x86_64 (ADM64), KDE4 ... As in the Subject, after the > machine boots up and I'm logged in, there is no sound from local software > (video or audio) or web-based (as in Pandora, youtube, etc). [snipped] It looks like the issue is with the VLC media player, and what is strange, it only has to do with one AVI file. With all other AVI files, when I run "lsof...", the output is typically this: user(a)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(a)mach:~> .... *BUT*, when I play this one particular AVI video and run the "lsof" command, we see this: user(a)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(a)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. ... as a result, those two processes have those devices "locked", which is why sound will not play after this particular AVI is played. 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"
From: rafter22 on 10 Jan 2010 10:11 On 01/09/2010 04:42 PM, caldercay wrote: > On Jan 8, 4:55 pm, caldercay <calder....(a)gmail.com> wrote: >> openSUSE 11.2 x86_64 (ADM64), KDE4 ... As in the Subject, after the >> machine boots up and I'm logged in, there is no sound from local software >> (video or audio) or web-based (as in Pandora, youtube, etc). > [snipped] > > It looks like the issue is with the VLC media player, and > what is strange, it only has to do with one AVI file. > > With all other AVI files, when I run "lsof...", the > output is typically this: > > user(a)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(a)mach:~> > > ... *BUT*, when I play this one particular AVI video > and run the "lsof" command, we see this: > > user(a)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(a)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. ... as a result, > those two processes have those devices "locked", which is > why sound will not play after this particular AVI is played. > > 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" That is very interesting. I never associated it with any certain avi file. I just never had any sound when I booted up the PC with KDE 4. KDE 3.5 worked fine. However, I'll stick with Gnome. Glad you found a fix and hope you reported the bug.
|
Pages: 1 Prev: Yast/Zypper - Install previous packages version Next: mplayer problem |