meekys / cam_overlay

MIT License
7 stars 3 forks source link

WIP: Fix cpp #26

Closed egisz closed 1 year ago

egisz commented 3 years ago

Hi, Trying to fix #25, I managed to fix cpp branch to compile code, but it still does not work for me, says:

pi@raspberrypi:~ $ ./cam_overlay_cpp/cam_overlay/bin/camoverlay.bin
Initialising DisplayBcm...
Initialising GL context...
* failed to add service - already in use?

@meekys, could you try find problem?

meekys commented 3 years ago

Hi @egisz

Great work there fixing the issues you've found.

I'd say the "failed to add service - already in use?" could be related to this? (Basically the vc4-kms-v3d overlay conflicts with the overlay in cam_overlay) It's not something I've had a chance to test with yet, but I'll see if I can get my pi into a working state to test with soon, see if there's an alternative we can use when this overlay exists. (It might just be a plain old conflict tho)

https://www.raspberrypi.org/forums/viewtopic.php?t=12581#p1234005

If you're running X11, you might be able to force cam_overlay to run with the X11 display instead? --display X11

egisz commented 3 years ago

Hi, I want wanted to use it without x11, but I'll test once I have chance.

I tested other project which works fine for me. https://github.com/AndrewFromMelbourne/dmxwebcam Tried to compare code, but it wasn't easy...