Open nicolevella opened 3 years ago
Ok... couple of things RaspberryPi 4 have a different graphic chip... the camera does't work with MMAL and OpenMAX that's why they migrate to libCamera. You will have to wait until I add support for it. In case you want to help with it basically we need to create a similar TextureStream (https://github.com/patriciogonzalezvivo/ada/blob/00177f4fed8161e26f3f5fab064adf355521adab/include/ada/gl/textureStream.h) class but using libCamera wooks... find this example https://git.libcamera.org/libcamera/simple-cam.git/tree/simple-cam.cpp. I just push a fix for using card0 as default you can select your card this way
glslViewer shader.frag --display /dev/dri/card0
Cant get it to run on my Pi4.
Tried both desktop and headless installs of raspiban. and running it from desktop terminal and from booting into command line and running there.
any ideas?
something to do with drivers?