benfry / processing4

Processing 4.x releases for Java 17
https://processing.org
Other
1.35k stars 240 forks source link

lib egl2 fail to authenticate on RaspberryPI4 (and presence of /opt/vc folder seems to be issue) #374

Open monkstone opened 2 years ago

monkstone commented 2 years ago

I'm not sure whether vc library is required for the built in Camera interface but it just isn't needed for RaspberryPI4 graphics to function well. I use ManjaroArm (64 bit) on RaspberryPi4. With standard video setup in /boot/config.txt.

# See /boot/overlays/README for all available options

gpu_mem=64
initramfs initramfs-linux.img followkernel
kernel=kernel8.img
arm_64bit=1
disable_overscan=1

#enable sound
dtparam=audio=on
#hdmi_drive=2

#enable vc4
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
disable_splash=1

Otherwise congratulation on processing-4.0b4 release. To be clear fix was to remove the /opt/vc folder (it's presence also interfered with PiCrate).

benfry commented 2 years ago

What was the context in which you ran into this error? Just when starting the software? Trying to do something that used OpenGL?

monkstone commented 2 years ago

I'm now unsure how vc got installed (it might be legacy), but problem was when running OpenGL sketches from processing ide or PiCrate directly. Error suggests a permission thing, my user is member of video group. Unless you get further complaints I wouldn't worry about it.