Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with cam_overlay in EGL mode #688

Open
georgi-m-iliev opened this issue Nov 2, 2024 · 2 comments
Open

Issue with cam_overlay in EGL mode #688

georgi-m-iliev opened this issue Nov 2, 2024 · 2 comments

Comments

@georgi-m-iliev
Copy link

Hello,

I am not sure if this is the right place to ask my question, but at least I'd gather attention. I am trying to run Crankshaft in EGL mode and have a reverse camera at the same time. Of course this isn't going as planned. I am using an AV to USB dongle, which supports YUYV. The issue comes when starting cam_overlay:

Opened device '/dev/video0'
Dimensions: 480 x 320 Pixel Format: YUYV
* failed to add service - already in use

I have tried to understand the inner workings of Crankshaft and cam_overlay and came to the conclusion that EGL mode needs to use the GPU of the RPi, so I need dtoverlay=vc4-fkms-v3d for it to work, but from what I've seen on the topic it also breaks cam_overlay for some reason. I even tried building it myself - the main and cpp branch, and failed...

So I guess my question is - Is it possible to run Crankshaft in EGL mode and have cam_overlay work at the same time?

Thanks in advance! I am attaching a debug.zip if anyone is interested.
debug.zip

@Geekyadz
Copy link

What are you using to run crankshaft?

@georgi-m-iliev
Copy link
Author

Pi Zero 2 W and a Waveshare Zero-DISP-7A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants