libgstopengl seems to result in illegal operation

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

libgstopengl seems to result in illegal operation

Postby freaxtux » Sat Apr 10, 2021 6:57 am

Platform: Raspberry Pi Zero W

`gst-inspection-1.0 /usr/lib/gstreamer-1.0/libgstopengl.so` ends up with `Illegal operation (core dumped)`.
Along with `GST_DEBUG=4`, the last debug message it shows before the error is `initialized GStreamer successfully`.
`gst-inspection-1.0 -b` shows only libgstopengl.so

I don't think I installed wrong package or binary.
Traceback with the dumped core shows libgobject-2.0 and libglib-2.0 listed.
Both are from glib2 package, but reinstalling glib2 did not improve the situation.
`readelf` on each library file shows armv6l

It doesn't seem to be the fault of OpenGL, either.
It happens regardless of enabling vc4-(f)kms-v3d dtoverlay.
I have confirmed glxgears executes without error like that
and could apply hardware acceleration in another app as well. (qv4l2)
freaxtux
 
Posts: 9
Joined: Sun Jun 08, 2014 10:59 pm

Re: libgstopengl seems to result in illegal operation

Postby freaxtux » Tue May 25, 2021 2:36 pm

Anybody? I have tried again today, with the package compiled on my RPi Zero, still illegal operation.
Grabbed PKGBUILD from arch official, and ran `makepkg -sAe`. (I'm not strong at cross compiling yet. It took so long with a couple of hiccups :P)
freaxtux
 
Posts: 9
Joined: Sun Jun 08, 2014 10:59 pm

Re: libgstopengl seems to result in illegal operation

Postby freaxtux » Tue May 25, 2021 11:29 pm

It appears gst-opengl turns on -mvfp=neon even though I manually disabled the test for NEON.
I solved it by manually removing the flag from `compile_commands.json` and `build.ninja`. plugin works well.
It looks like it's an upstream bug.
freaxtux
 
Posts: 9
Joined: Sun Jun 08, 2014 10:59 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 1 guest