SIGSEGV in glGetError

Hi,
i get error SIGSEGV in glGetError in background thread (debugger show file /usr/lib/aarch64-linux-gnu/tegra/libGL.so.1) when in main thread i create Argus::OutputStream
I’m trying to create application which capture frame from CSI with Argus library and analyze motion with VisionWorks. Have this error if use nvxio::Renderer.
Could you advise what i’m doing wrong?
Thanks

Hi Fobos,
Can you refer to tegra_multimedia_api/samples/09_camera_jpeg_capture and try NvEglRenderer?

Hi Dane,
My experimental application based on this samples and i use NvVideoEncoder to encode captured frame with H265. NvEglRenderer is working properly. But if i start use nvxio::Renderer or ovxio::Renderer i have crash.

[url]https://imgur.com/a/An9ub[/url]

Hi,

We don’t enable Argus + VisionWorks.
Please try GStreamer + VisionWorks with –source=“device:///nvcamera?index=0”

Thanks.

Hi AastaLLL,

Raise the question differently.
I convert your tegra_multimedia_api/samples/09_camera_jpeg_capture to QtCreator project and run it.
Everything works great, but if i place in .pro file

CONFIG += link_pkgconfig
PKGCONFIG += gl

this error is repeated: i have same SIGSEGV in glGetError on background thread

Can you explain what happens?

Hi Fobos, qt is from 3rd party and we don’t have much experience in using it. Can you please try gstreamer + visionworks?