Hi there,
i hope i created it in the right category
cause this is not only related to camera, touchscreen or so but of a combination of everything.
i have the following setup:
RPI4
7" Touchscreen
Camera Module v3
i want to archive the following:
- run a flask app in chromium displaying the camera output on my touchscreen.
my OS:
- bookworm 64bit
initial problem:
- chromium is not able to grab directly the output of libcamera. On older bullseye install with rpi3 i used: viewtopic.php?t=351986 this explanation with v4l2loopback and it worked. But i destroyed the camera when installing it. So i ordered a new one and made a fresh reinstall after everything.
- now the libcamera thrown some errors and the image was not displayed correctly in the browser.
- so moved on to a RPI4 i have laying around and installed bookworm on it.
my problem:
- standard install is resulting in flickering or white fade out of the display
- i used the solution here: viewtopic.php?t=367495 and updated the firmware with sudo rpi-update
- now the display is showing my desktop and without the flickering and fade out.
- new problem now the v4l2loopback-dkms package is not working and says because of missing linux headers. Due to the experimental kernel used.
My question:
- does anyone how i can install it without the headers or make v4l2loopback work?
- alternatively does someone has an idea how to get the camera module work with chromium?
Other Infos:
- kernel version: 6.6.28-v8+
i would be happy if anyone had a similar setup and was able to get bookworm, touchscreen, camera module + v4l2loopback run together.
Best Regards
Daniel
i hope i created it in the right category

i have the following setup:
RPI4
7" Touchscreen
Camera Module v3
i want to archive the following:
- run a flask app in chromium displaying the camera output on my touchscreen.
my OS:
- bookworm 64bit
initial problem:
- chromium is not able to grab directly the output of libcamera. On older bullseye install with rpi3 i used: viewtopic.php?t=351986 this explanation with v4l2loopback and it worked. But i destroyed the camera when installing it. So i ordered a new one and made a fresh reinstall after everything.
- now the libcamera thrown some errors and the image was not displayed correctly in the browser.
- so moved on to a RPI4 i have laying around and installed bookworm on it.
my problem:
- standard install is resulting in flickering or white fade out of the display
- i used the solution here: viewtopic.php?t=367495 and updated the firmware with sudo rpi-update
- now the display is showing my desktop and without the flickering and fade out.
- new problem now the v4l2loopback-dkms package is not working and says because of missing linux headers. Due to the experimental kernel used.
My question:
- does anyone how i can install it without the headers or make v4l2loopback work?
- alternatively does someone has an idea how to get the camera module work with chromium?
Other Infos:
- kernel version: 6.6.28-v8+
i would be happy if anyone had a similar setup and was able to get bookworm, touchscreen, camera module + v4l2loopback run together.
Best Regards
Daniel
Statistics: Posted by DaMuBo — Sun Apr 21, 2024 10:34 am — Replies 0 — Views 13