Bug 2522 - multiple xv overlays
Summary: multiple xv overlays
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All All
: high enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-11 02:44 UTC by Oswald Buddenhagen
Modified: 2010-03-27 04:06 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Oswald Buddenhagen 2005-02-11 02:44:16 UTC
i've got this strange idea ... what about overcommitting xv port grabbing? i 
often come into the situation that i am watching a video and want to suspend 
it for the time i watch tv. unfortunately this just does not work, because 
only one app can grab a port. 
i think, as an option, it would be perfectly reasonable to allow multiple apps 
to "soft-grab" the same port. minimized windows (like in my case, usually) 
don't conflict, and for conflicting cases the last updated window takes 
precedence (with some delay, to avoid trashing).  
in case of conflict one of the following could happen:  
- the excessive windows just stay empty. this sort of sucks. 
- the server could project a message like "xv conflict" into the window. this 
sucks less, but it's still not as helpful, and sounds like a hard thing to 
implement for little benefit. 
- software-xv for less priorized windows. sounds like a good plan. 
 
the obvious reaction on your side might be "WONTFIX - the apps should handle 
it", but you can be sure that this won't happen in the general case. and why 
fix 50 apps, if one can fix one server?
Comment 1 Roland Mainz 2005-03-01 23:20:46 UTC
First step to get this implemented would be bug 2635 ("Xvfb/Xvnc have no XVIDEO
driver") ... and then the question is whether the applications which use the
XVIDEO extension are "smart" enougth to pick a "free" XVIDEO channel...
Comment 2 Thomas Winischhofer 2005-04-18 01:45:09 UTC
Xine and mplayer are. They choose the first free xv port they can get. I tested
this with the SiS driver that offers two Xv ports, one for the overlay, one for
the blitter adaptor. The second invocation of xine/mplayer uses the blitter
(automatically).
Comment 3 Daniel Stone 2007-02-27 01:25:22 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Corbin Simpson 2010-03-27 04:06:51 UTC
The Big Three all support textured video in a non-competitive way. You can watch a dozen videos simultaneously if you really so desire. (Admittedly, it's gonna suck on lesser chipsets, but that's life.)

Closing as FIXED. I'd recommend opening bugs against individual drivers and/or DDXes at this point.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.