visualisation plugin blocks video output when not active

Bug #84245 reported by wiertel
48
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Medium
rhythmbox (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

Using feisty
mplayer 2:1.0~rc1-0ubuntu3
rhythmbox 0.9.7.90-0ubuntu1

After dist-upgrade I have to use -vo x11 with mplayer. First I thought it was bug in mplayer, but when the rhythmbox is not playing I can watch movies with default options.

Run Rhythmbox and make it play some music
$ mplayer -vo xv some.avi # gives:
(...)
Xv: could not grab port 73
Could not find free Xvideo port - maybe another process is already using it.
Close all video applications, and try again. If that does not help,
see 'mplayer -vo help' for other (non-xv) video out drivers.
Error opening/initializing the selected video_out (-vo) device.

Totem shows the message "An error occurred
The video output is in use by another application. Please close other video pplications, or select another video output in the Multimedia Systems Selector."

When I close Rhythmbox mplayer and totem works normal again.

Revision history for this message
Simon Law (sfllaw) wrote :

Please attach the output of "gconftool --recursive-list /" to this bug report, so we can figure out why rhythmbox is using your video output. Thanks!

Changed in rhythmbox:
assignee: nobody → sfllaw
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

No need to dump the whole gconf database it can contain private datas, "gconftool-2 -R /system/gstreamer/0.10" is enough for that

Revision history for this message
wiertel (wiertel) wrote :

Here is /system/gstreamer/0.10 and /apps/rhythmbox

I've tried downgrading rhythmbox and it helps.
In the latest release the Visualisation plugin was added, this was causing the problem. Disabling the plugin solves the problem.
I don't know if it's enabled by default or not. It may be that I've enabled this plugin myself. I recall noticing new position in the Control menu.

Revision history for this message
Sebastien Bacher (seb128) wrote :

that works fine on my box. What videocard and videodriver do you use? Can you start 2 mplayer to play video in the same time? That might be a limitation due to the videodriver for your card

Revision history for this message
wiertel (wiertel) wrote :

I can not start 2 mplayer at the same time using xv (-vo xv). I newer was. I even thought it is natural.
My videodriver is savage, videocard - S3 Inc. SuperSavage IX/C SDR on Thinkpad T23. Support for this card is not too good.

Revision history for this message
Sebastien Bacher (seb128) wrote :

if you thought it was natural for a video player why do you think it's different for visual effects like that? That doesn't look like really a bug, you try to make different applications using xv at the same time

Revision history for this message
wiertel (wiertel) wrote :

I'm not using any visualisation/effects. It's enough that the Visualisation plugin is enabled in the "Configure plugins". It doesn't have to be active. Moreover Rhythmbox is hidden (Ctrl+W).
At first I had no idea that Rhythmbox is causing my problems with mplayer and I was wondering what's wrong with mplayer.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've updated the title to reflect the problem and forwarded that upsream: http://bugzilla.gnome.org/show_bug.cgi?id=406807

Changed in rhythmbox:
assignee: sfllaw → desktop-bugs
importance: Undecided → Low
status: Needs Info → Confirmed
Changed in rhythmbox:
status: Unknown → Unconfirmed
Changed in rhythmbox:
status: Unconfirmed → Confirmed
Revision history for this message
unggnu (unggnu) wrote :

I have the same problem under Gutsy. This is really weird at least for an audio player.
Btw. Totem has the same problem while playing audio files even if the audio visualisation is disabled under options.

Revision history for this message
Daniel Burke (dan-p-burke) wrote :

Just dist-upgraded to gutsy, and Rhythmbox wont play anything if the visualization plugin is enabled, regardless of other video apps playing or not. If RB is loaded, Totem complains another video app has grabbed the video overlay, but plays anyway.

I'm sure you wont like me for this, but my video driver is fglrx (;_;)

It should be added, that this behavior is an improvement, previously attempting to use the visualization with fglrx caused X to crash instantly.

Revision history for this message
unggnu (unggnu) wrote :

This still happens in Hardy. Since the visualization isn't shown without user interaction there would be no problem if the plugin is deactivated per default. At least as long as Xorg without nvidia driver or maybe fglrx isn't able to manage more than one active 3D app.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you still get the issue in hardy or intrepid?

Changed in rhythmbox:
status: Confirmed → Triaged
Changed in rhythmbox:
status: Confirmed → Fix Released
Changed in rhythmbox (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is fixed in the karmic version

Changed in rhythmbox (Ubuntu):
status: Fix Committed → Fix Released
Changed in rhythmbox:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.