After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 467437 - Do not make X calls in audio playback thread
Do not make X calls in audio playback thread
Status: RESOLVED INVALID
Product: rhythmbox
Classification: Other
Component: playback
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-16 20:12 UTC by freggy1
Modified: 2007-10-09 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description freggy1 2007-08-16 20:12:15 UTC
Rhythmbox can be easily made skipping when there's heavy X load. X load is causing much more problems for Rhythmbox then for example Amarok. The cause is apparently the fact that the Rhythmbox thread is making X calls. I can easily cause playback skipping when Rhytmbox is playing while I'm using the Compiz Desktop Cube on my Athlon 64 3500 with Linux 2.6.22 with CFS scheduler.

Disccussion about this problem: http://bhhdoa.org.au/pipermail/ck/2007-June/007886.html
Comment 1 Jonathan Matthew 2007-08-22 22:55:38 UTC
Unless you have the visualisation plugin enabled, none of the threads involved in audio playback will be going anywhere near X.  Even if you do, the video sink will be in its own thread, and there should be large enough buffers elsewhere in the pipeline to accommodate any delays caused by X call blockage.
Comment 2 Jonathan Matthew 2007-08-22 23:17:02 UTC
Since I can't decipher much of the scheduler terminology in that thread, maybe you could provide a simple repeatable way of triggering this problem that does not involve compiz?  I saw some mentions of 'x11perf -repeat 100 -scroll500' in the thread, but that doesn't cause rhythmbox to misbehave here.
Comment 3 freggy1 2007-08-23 09:51:23 UTC
The test case in http://bhhdoa.org.au/pipermail/ck/2007-June/007806.html makes Rhythmbox skip for me too: Start Firefox, open http://phoenity.com/newtedge/, scroll rapidly up and down with the mouse wheel.
Comment 4 Jonathan Matthew 2007-08-23 10:06:20 UTC
Still no problems here.

Does the same happen for you in totem?
Comment 5 freggy1 2007-08-23 10:24:40 UTC
No it does not happen in Totem. I disable visual effects in Totem (with xine back-end), start playing an Ogg Vorbis song, and open the mentioned page in Firefox and start scrolling: no problem. I close Totem, start Rhythmbox, start playing the same file and put Rhythmbox in minimal mode: when rapidly scrolling that page Rhythmbox starts to skip.
Comment 6 Jonathan Matthew 2007-08-23 10:27:03 UTC
I meant totem-gstreamer, as it uses largely the same playback code as rhythmbox (with crossfading disabled, at least).  Comparisons with totem-xine aren't so useful.
Comment 7 freggy1 2007-08-23 10:38:03 UTC
I installed totem-gstreamer (gstreamer 0.10.14), and it works fine too with this version.
Comment 8 freggy1 2007-10-09 18:09:00 UTC
I don't know what fixed it, but I'm now running ManDdriva 2008.0 final and the skipping does not happen anymore at all, no matter how quick I turn around the Compiz Fusion cube!