mplayer vlc kaffeine all players hang/pause when I switch away from the VT they use (to other desktop or terminal)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I play video in any player which I tried - mplayer, vlc, kaffeine, totem,
they all "hang" when I switch to other VT.
While I'm on another VT (say vt-1 konsole, or vt-9 desktop 2) then no sounds is playing.
If I switch back, then player behaves as if it was hanging all the time - it "chokes", jumps to the position that should be playing now, shows jumpy video for a moment, and then continues normally.
ii xserver-xorg 1:7.3+10ubuntu10.2
ii xorg 1:7.3+10ubuntu10.2
ii xserver-
ii xserver-
ii nvidia-glx-dev-envy 1:96.43.
ii nvidia-glx-envy 1:96.43.
ii nvidia-
ii nvidia-
2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
I tried strace, but I was yet not able to find any abnormal behaviour visible via strace when I switch to VT and back.
I tried gdb, and it did showed following.
Each time I stoped program in gdb to show it current bt, it was in select(), both when normally working and while hanging (when on other VT).
Only thing so far I noticed is that while in other VT, then atop cpu usage kaffeine=3% pulseaudio=~0%, and in same VT kaffeine=6% pulseaudio=5%
All the above is on geforce 2 mx gfxcard;
Section "Device"
Identifier "Device0"
Driver "nvidia"
# VendorName "NVIDIA Corporation"
EndSection
#0 0xb7f9e410 in __kernel_vsyscall () i686/cmov/ libc.so. 6 :processEvents (this=0x81c9eb0, flags=4) qeventloop_ x11.cpp: 294 :enterLoop (this=0x81c9eb0) qeventloop. cpp:201 qeventloop. cpp:148 qapplication. cpp:2761 buildd/ kaffeine- 0.8.6/. /kaffeine/ src/main. cpp:120
#1 0xb63aa881 in select () from /lib/tls/
#2 0xb6a930e3 in QEventLoop:
at kernel/
#3 0xb6b08f90 in QEventLoop:
at kernel/
#4 0xb6b08c8e in QEventLoop::exec (this=0x81c9eb0)
at kernel/
#5 0xb6aef7df in QApplication::exec (this=0xbfce3140)
at kernel/
#6 0x08075f40 in main (argc=22904, argv=0x0)
at /build/