-
Notifications
You must be signed in to change notification settings - Fork 160
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
[HOW-TO] RuntimeError: Failed to reserve DRM plane #1028
Comments
Hi. can you say what OS you are running ( |
Its a Raspbian lite 64bit and i am ssh in it libcamera-hello shows about 5s the incrementing last line:
|
Are you logged in using X forwarding, and is the machine you are using to log in running an X server? In this case you should be able to use the Qt preview window ( |
Why? |
Well, the problem you're having is because it can't create a preview window, which looks to be related to the fact that you are logged in remotely, and it doesn't have the right permissions or display resources. If all you want to do is save an image and don't need a preview, use something like this:
There are many examples here. |
I tried out some simple code to save a picture with a rpi zero v2 and rpicam 2.1:
And get this Error:
What can the reason be?
The text was updated successfully, but these errors were encountered: