-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
DietPi-Config | RPi: Add modern RPi camera module support #5127
Comments
Many thanks for your report. Indeed I recognised this. Basically We can toggle the correct setting based on display driver:
Just to be sure, can you verify that you have full KMS enabled? grep 'vc4-.*-v3d' /boot/config.txt |
Ill investigate further... |
ok, it seems my env variables didnt work out... |
Can you check with the suggested command whether KMS is enabled or not? As said, as far as I understood, |
grep 'vc4-.*-v3d' /boot/config.txt throw nth out... |
Okay, then you do not have KMS enabled and it makes sense that sed -i 's/^[[:blank:]]*start_x=.*$/#start_x=0/' /boot/config.txt
G_CONFIG_INJECT 'dtoverlay=vc4-f?kms-v3d' 'dtoverlay=vc4-kms-v3d' /boot/config.txt
G_CONFIG_INJECT 'camera_auto_detect=' 'camera_auto_detect=1' /boot/config.txt
reboot |
doesnt boot anymore after these 4 cmds... |
?? Are you sure that it is not just the screen which stays blank for a while? It is basically impossible to break boot with those changes, even invalid entries are gracefully ignored. But when during boot it is switched from framebuffer output to KMS, the screen blanks for a while (some seconds). We also got reports where the monitor stood in energy savings mode for some reason. So check SSH. |
I am using it always per ssh... |
changed it back > boots |
Mysterious, it is actually impossible that those commands have this effect, even with typos inside. Only if somehow KMS triggers a bit of additional power usage at some boot stage or so. Ah, if I remember correctly in the one case where the screen stood blank, commenting the |
I have set it to 128MB (the GPU mem) |
Jep, with |
ok, it seems it is somehow related with the Pi4 being powered by the 3D-Printer... |
Ok, it cannot load the webcam with dtoverlay=vc4-kms-v3d |
as info... |
Ill test on the weekend a bit more... |
Hi,
just as a hint for other users,
in my Octoprint as docker container setup,
the webcam only works, if I include
camera_auto_detect=1
in the config.txt on my Pi4
Maybe put it right above the
start_x=1
BR,
Alex
The text was updated successfully, but these errors were encountered: