I am working on writing a graphical application that uses the Pi's GPU, and I constantly get
* failed to open vchiq instance errors when running my programs. This is usually fixed by a
sudo chmod 777 /dev/vchiq, but (1) this is a very insecure fix that is definitely not suited to deployment to user-owned devices, and (2) it gets reset after each reboot.
How can I fix my
/dev/vchiq problems "the right way", persistently, without introducing security issues?