raviphulsundar
Posts: 1
Joined: Fri Aug 11, 2017 7:30 am

UDEV: Could not find DRM device!

Fri Aug 11, 2017 7:35 am

I'm using Raspberry Pi3,

I'm trying to run Qt program with EGLFS platform, and getting following error.

$./Program -platform eglfs
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_kms_egldevice","eglfs_kms","eglfs_X11")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms","eglfs_kms_egldevice","eglfs_X11")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_kms"
qt.qpa.egldeviceintegration: Using EGL device integrtion "eglfs_kms"
qt.qpa.input: udev device discovery for type QFlags(0x10)
qt.qpa.input: Found matching devices ()
qt.qpa.eglfs.kms: Found the following video devices ()
Could not find DRM device!
Aborted

There is no /dev/dri directory on traget neither /sys/class/drm
Is this pbm with udev or something else ?

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1317
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: UDEV: Could not find DRM device!

Fri Aug 11, 2017 1:18 pm

[ Moved to Graphics Programming, a more natural home ]

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4632
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: UDEV: Could not find DRM device!

Fri Aug 11, 2017 1:44 pm

What operating system? Where did the Qt install come from? If you compiled it yourself, do you have the configure output?

If you're just using the version of Qt that's in Raspbian, I don't believe it has a pi-specific eglfs backend enabled.

Return to “Graphics programming”

Who is online

Users browsing this forum: No registered users and 5 guests