xvimagesink: X Error of failed request: BadAlloc on very basic example with gst-launch-1.0
I am trying to run the basic example from the tutorial
gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink and it crashes:
$ gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 150 (XVideo) Minor opcode of failed request: 19 () Serial number of failed request: 66 Current serial number in output stream: 67
gst-launch-1.0 -v videotestsrc ! xvimagesink. Changing to
gst-launch-1.0 -v videotestsrc ! ximagesink works.
It seems to be a problem with X video extension: If I compile this, the same error appears. In that, code putting a
XvShmPutImage fixes the problem.
I am on
gst-libav 1.16.2-2 gst-plugins-bad 1.16.2-13 gst-plugins-bad-libs 1.16.2-13 gst-plugins-base 1.16.2-2 gst-plugins-base-libs 1.16.2-2 gst-plugins-good 1.16.2-3 gst-plugins-ugly 1.16.2-4 gstreamer 1.16.2-2 lib32-gstreamer 1.16.2-1