I’ve been working on my timelapse camera setup with my raspberry pi and when trying to run my python script I got the following error.
* failed to open vchiq instance
This is a permissions error because I had created a new user that wasn’t in the video group.
All you have to do is make sure that your new user is added to the video group. My username is timepi so I had to run the following command.
Update from Chris’ comment below:
usermod -G video timepi
usermod -a -G video timepi
This allows the timepi user to use the video camera device and it should all be working now.
Update: Don’t forget to log out and log back in for good measure.