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 460047 - [x/xv] gst-launch lacks window border in composited environment
[x/xv] gst-launch lacks window border in composited environment
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-24 22:27 UTC by Martin Ejdestig
Modified: 2007-10-28 17:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Ejdestig 2007-07-24 22:27:31 UTC
gst-launch playbin uri=file://<path to movie on my disk> results in a borderless window. Or perhaps I should say, the borders etc aren't draw but they are still there (dragable and all). Moving the window also leaves a black trail on the desktop.

Stuff like "xvimagesink.c(1197): gst_xvimagesink_handle_xevents " is printed so it might have somethig to do with XV in Composite.
Comment 1 David Schleef 2007-07-25 00:05:43 UTC
This doesn't sound like a gstreamer bug, but rather an X bug.
Comment 2 Martin Ejdestig 2007-07-25 09:20:59 UTC
Ok. I've only seen it with gst-launch though.
Comment 3 Edward Hervey 2007-07-25 10:04:53 UTC
It could be the use of X in xvimagesink not entirely compatible with composited environment...
Comment 4 Martin Ejdestig 2007-07-25 13:03:25 UTC
Other players (mplayer -vo xv, Totem with xine backend) seem to work fine in the same environment though.

Though Totem with the GStreamer backend gives me a black window. You can make the video appear if you grab hold of the title bar, but as soon as you let go.... back to black.

I was going to file a Totem bug about this (since at least the video shows up when running bare gst-launch)... what do you think?
Comment 5 Martin Ejdestig 2007-07-27 12:48:48 UTC
Just to be clear, the whole window doesn't go black with Totem. Just the video part. Filed bug 460757 for this.

Also, with gst-launch, the video appears correctly. It's just the window border that's borked (and the black trail thing when moving... but it's probably(?) the same problem).
Comment 6 Tim-Philipp Müller 2007-09-23 14:33:29 UTC
Does this also happen with  gst-launch-0.10 videotestsrc ! ximagesink  ?

Could you attach a debug log of:


 $ GST_DEBUG=xvimagesink:5 gst-launch-0.10 videotestsrc num-buffers=250 ! xvimagesink 2>dbg.log

Comment 7 Martin Ejdestig 2007-09-23 19:22:22 UTC
I'm unable to run xorg's ati driver at the moment (I think randr1.2 is to blame) and have resorted to fglrx. In other words, no AIGLX. I'm hoping it will get fixed before the final release of Gutsy. Will try to answer your questions then.
Comment 8 Tim-Philipp Müller 2007-10-28 13:53:30 UTC
So, any change with gutsy final?
Comment 9 Martin Ejdestig 2007-10-28 15:30:26 UTC
Yes. The window borders are displayed properly now.

Any theories as to why there was a problem with gst-launch and not Totem (GSTreamer backend) and mplayer?
Comment 10 Tim-Philipp Müller 2007-10-28 17:30:58 UTC
Great, thanks for confirming.  Guess this can be closed than.  No idea what might have caused it.