How to enable EGLFS KMS
-
I was trying to use EGLFS KMS through command-line configuration -platform eglfs and setting QT_QPA_EGLFS_INTEGRATION=eglfs_kms. Unfortunately, it did not work. Then I found out that the EGLFS KMS is not enabled at my configuration:
QPA backends:
DirectFB ............. no
EGLFS ................ yes
EGLFS i.MX6....... . no
EGLFS KMS .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. yes
XCB .................. no
...It is not cleared how to enable EGLFS KMS. Any help will be highly appreciated.
Best regards,
Eric
-
Hi and welcome to devnet,
to enable kms from configure you can call
configure -kms
, you also need to have libdrm-dev installed. -
Hi and welcome to devnet,
to enable kms from configure you can call
configure -kms
, you also need to have libdrm-dev installed.@SGaist said in How to enable EGLFS KMS:
Hi and welcome to devnet,
to enable kms from configure you can call configure -kms, you also need to have libdrm-dev installed.Hi I need to do this too. But i didn't get where to call this command. Could you help? Thanks.
Also, I don't see eglfs_kms option in configure summary. So I don't know what's missing here.
QPA backends:
DirectFB ............. no
EGLFS ................ yes
EGLFS i.MX6....... . no
EGLFS GBM .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. no
XCB .................. no -
Hi,
It's an option of the
configure
script. -
Hi and welcome to devnet,
to enable kms from configure you can call
configure -kms
, you also need to have libdrm-dev installed.Hi,
I want enable this EGLFS.........no to EGLFS ........yes(in my case it is no,)so how enable this one?
QPA backends:
DirectFB ............. no
EGLFS ................ yes( in my case, this one is no ,after configuration ,so i want to enable this one ,how to enable )
EGLFS i.MX6....... . no
EGLFS KMS .......... no
EGLFS Mali ......... no
EGLFS Raspberry Pi . no
EGLFS X11 .......... no
LinuxFB .............. yes
XCB .................. no
... -
Hi,
Check the configuration logs and see why the test failed. Usually it's a library missing so a development package to install.
-
Hi,
Check the configuration logs and see why the test failed. Usually it's a library missing so a development package to install.
Hello,
configurating with -kms fails.
When installing libdrm-dev, it adds header files into this path:sysroot/usr/include/libdrm/
while the file xf86drmMode.h is trying to include <drm.h>, but is in this path
sysroot/usr/include/
Do i have to manually add sysroot/usr/include/libdrm/ as an include path before configurating Qt, so that xf86drmMode.h can find the <drm.h> which is in the subdirectory libdrm?