[SDL] Failed to open vchiq device on RPi

Eric Wing ewmailing at gmail.com
Thu Sep 1 11:43:20 PDT 2016

On 9/1/16, Andreas Falkenhahn <andreas at falkenhahn.com> wrote:
> I've compiled SDL 2.0.4 on my Raspberry Pi 2 (running Raspbian) and followed
> all
> the instructions in docs/README-raspberrypi.md. However, it doesn't work. I
> always
> get the following error:
>     * failed to open vchiq device
> I've googled the error and tried all the solutions I could find (e.g. doing
> a
> "sudo chmod 777 /dev/vchiq" or adding user pi to the video group by doing
> "sudo usermod -a -G video pi") but nothing helped. I still get the error.
> What is causing this and how can I fix this?

I'm assuming you are using Raspbian Jessie.

I don't remember having to do anything special on my Pi that required
privileged access (besides cranking up the amount of GPU memory). But
I have a pretty boring Pi setup. (Just the basic with a HDMI into a
TV. No cameras or touch screen, etc.)

Does my demo program work for you?

Run the ./FlappyBlurrrC
Everything should be self-contained. I ship my own copy of SDL with it.


More information about the SDL mailing list