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

Use RustiCL driver to enable Raspberry Pi 5 to use OpenCL #13

Open
rrhan0 opened this issue Sep 18, 2024 · 0 comments
Open

Use RustiCL driver to enable Raspberry Pi 5 to use OpenCL #13

rrhan0 opened this issue Sep 18, 2024 · 0 comments
Assignees

Comments

@rrhan0
Copy link
Member

rrhan0 commented Sep 18, 2024

Describe the requested feature

Camera can do 5 fps now because it has been changed to output an 8 bit per pixel Bayer format. It previously used the "debayering core" inside the camera to convert the 8 bit Bayer into 24 bit BGR8. Trying to demosaic on the raspberry pi uses too much CPU, causing massive packet loss. Hopefully using the GPU will decrease the load. OpenCV has demmosaicing support for OpenCL and CUDA. Raspberry Pi 5 uses a VideoCore VII GPU. It did not support OpenCL until RustiCL added support for the GPU. This may allow the pi to do 5 fps rgb video. We should also test an SBC with GPU that has better support for OpenCL/CUDA. If all else fails, we will have to do demosaicing on the ground.

https://www.phoronix.com/news/Rusticl-V3D-OpenCL-Raspberry-Pi

Additional context

No response

@rrhan0 rrhan0 added Priority: Medium Status: Available Issue can be picked up Type: Enhancement New feature or request labels Sep 18, 2024
@rrhan0 rrhan0 self-assigned this Sep 18, 2024
@rrhan0 rrhan0 removed Status: Available Issue can be picked up Type: Enhancement New feature or request Priority: Medium labels Nov 4, 2024
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

1 participant