balena-rpiplay icon indicating copy to clipboard operation
balena-rpiplay copied to clipboard

* failed to open vchiq instance

Open tbrodbeck opened this issue 2 years ago • 4 comments

I tried to deploy the docker image. But it yields this output and does stop running immediately:

Air-Pi-Play v0.3.1 powered by RpiPlay 
Device is discoverable as Air-Pi-Play@572761756fa1 
* failed to open vchiq instance 

I have tested it on a RPi 4B and a Pi Zero (1.3)

tbrodbeck avatar Apr 10 '22 09:04 tbrodbeck

hello @tbrodbeck

Can you please clarify how you are deploying the image? Are you using balenaOS?

Thanks

rahul-thakoor avatar Apr 11 '22 11:04 rahul-thakoor

Hi Rahul. Sure. I have tried to install it with docker. I tried two Operating Systems: Raspberry Pi Os 32Bit (Release date: April 4th 2022 with Docker 20.x) and HypriotOS (Version 1.12.3 with Docker 19.x)

tbrodbeck avatar Apr 11 '22 15:04 tbrodbeck

I have not tried it on any other OS than balenaOS What command are you using to start the container? Can you please make sure you are setting the container as privileged? That is, when running the docker run command, pass the --privileged option

rahul-thakoor avatar Apr 12 '22 04:04 rahul-thakoor

or you might need to map the following device in the container https://github.com/rahul-thakoor/balena-rpiplay/blob/bc182131d90a39533b740481dd3330884de5a138/docker-compose.yml#L10

rahul-thakoor avatar Apr 12 '22 04:04 rahul-thakoor