PINE64
GStreamer: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: GStreamer: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server (/showthread.php?tid=2467)



GStreamer: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server - Pander - 10-27-2016

I have developed a simple GStreamer application. Works on laptops, desktops and Raspberry Pis. On PINE64 it works too, but only with autovideosink under X, not glimagesink under X. The error is

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 23 requests (22 known processed) with 0 events remaining.

This application is fairly simple, hence that it is a good way to test support for GStreamer by a certain distribution. Source code can be found at https://github.com/z25/gstcam

Note that I have configured my system according to https://github.com/avafinger/guvcview_2.0.4/issues/1 and use that particular USB camera. The application works (only from terminal in X) with the -a option. :-) It does not work from a normal terminal (Error: Failed to conenect to X display server)

The error above occurs when (from X) this application tries to use glimagesink. What is the reason that this occurs? The application should switch automatically to autovideosink when there is no glimagesink. So there is support for GL but somehow barks runtime. Any thoughts?

Solving this will increase support for GL on PINE64.