Re: Attempting to use rpihddevice on Debian

Marko Mäkelä <[email protected]> Mon, 3 Jan 2022 09:47:11 +0200
Newsgroups gmane.linux.vdr
Message-ID <YdKp/+KVKjdyqbt5@jyty>
Sat, Jan 01, 2022 at 06:41:19PM +0200, Marko Mäkelä wrote:
>sudo make -C vdr install
>LD_LIBRARY_PATH=/opt/vc/lib:/opt/vc/lib/plugins vdr -Prpihddevice
>
>It failed due to an unresolved symbol:
>
>vdr: /opt/vc/lib/libEGL.so: undefined symbol: glPointSizePointerOES
>
>A similar problem (with no solution yet) has been reported in
>https://github.com/malcolmstill/cl-egl/issues/1
>
>I might next try a recent Raspberry OS.

I tried two versions of it. The most recent one indeed is not only 
missing the OMX interface, but there also is no source package available 
for its version of raspberry-userland.

Raspberry OS Legacy (based on Debian 10 and a 5.10 kernel) worked almost 
out of the box, and it had /opt/vc and the development tools 
preinstalled.

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy

In the rpihddevice/Makefile I additionally had to replace -lGLESv2 -lEGL 
with -lbrcmGLESv2 -lbrcmEGL. In fact, if -lGLESv2 -lEGL of the wrong 
kind were available, you could end up with no picture or OSD. This was 
actually reported on vdr-portal.de already in 2017. :-o

Maybe using the Broadcom libraries would also have fixed the above issue 
when using Debian and self-built rasberry-userland; I am yet to try 
that.

I have submitted the patches to the author of rpihddevice, hoping to see 
them in the repository soon.

	Marko

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr