Monday, June 8, 2020

Error "Could not open DRM device" running Qt app with platform eglfs in Raspberry Pi

While testing recently cross-compiled Qt libraries (5.15.0) for Raspberry Pi 3 running ArchLinuxARM using a sample application (qopenglwidget) I received error:

Could not open DRM device /dev/dri/card0 (Permission denied)