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 94802 - xvideosink does not work on a remote X session
xvideosink does not work on a remote X session
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.4.1
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-10-03 21:21 UTC by David I. Lehn
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David I. Lehn 2002-10-03 21:21:52 UTC
xvideosink should work over a remote X connection, without XVideo
acceleration of course, but here's what happens:

Running "gst-player":

Shared memory unavailable, using regular images
The program 'gst-player' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 15 error_code 175 request_code 146 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Running "gst-inspect xvideosink":

Shared memory unavailable, using regular images
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  146 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
  Segment id in failed request:  0x1200003
  Serial number of failed request:  15
  Current serial number in output stream:  18

Inspecting videosink works fine.
Comment 1 Frederic Crozat 2002-12-11 14:18:38 UTC
Still present in 0.5.0 :

this is causing problem when upgrading a rpm gstreamer install via an
SSH tunnel..

Shared memory unavailable, using regular images
X Error of failed request:  BadShmSeg (invalid shared segment parameter)
  Major opcode of failed request:  143 (MIT-SHM)
  Minor opcode of failed request:  2 (X_ShmDetach)
  Segment id in failed request:  0x3000003
  Serial number of failed request:  14
  Current serial number in output stream:  17


Mandrake cooker..
Comment 2 David I. Lehn 2002-12-12 09:58:28 UTC
I think I fixed this in CVS.  It was either destroying resources that
shouldn't have been or some ordering issue.  I'm not quite sure and
would appriciate someone who understands this X shm programming a bit
better to take a look.  Either way, I no longer get the error message.  

Changing to FIXED.