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)
It turned out the problem is easily solvable by adding the user runnning the application to the group "video":
$ sudo usermod -aG video alarm
(don't forget to logoff and login again for changes to take effect)
Monday, June 8, 2020
Error "Could not open DRM device" running Qt app with platform eglfs in Raspberry Pi
Labels:
5.15.x,
5.x,
DRM,
EGLFS,
Qt,
Raspberry Pi,
Raspberry Pi 3,
RPi,
video
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment