All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] QT 5.6 app with eglfs and etnaviv (imx6 solo, buildroot 2018.02.5)
@ 2019-03-07 23:00 Juan A. Rubio
  2019-03-08 22:52 ` Peter Seiderer
  0 siblings, 1 reply; 5+ messages in thread
From: Juan A. Rubio @ 2019-03-07 23:00 UTC (permalink / raw)
  To: buildroot

Hello,

I'm trying to get my Qt 5.6 app to run with the etnaviv driver instead
of vivante. My app has so far been running without any problems with
the vivante driver (I'm using NXP's 4.9.11 kernel). So now I would
like to try and see if I can switch to the community driver and mesa.

These are the variables that I've been exporting with the vivante driver:
FB_MULTI_BUFFER=3
QT_QPA_EGLFS_INTEGRATION=eglfs_viv

For etnaviv, I'm doing:
QT_QPA_EGLFS_INTEGRATION=eglfs_kms

But I'm getting this error::
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/vivante_dri.so: cannot open
shared object file: No such file or directory
failed to load driver: vivante

These are the contents of /usr/lib/dri/
# ls /usr/lib/dri/
etnaviv_dri.so     imx-drm_dri.so     kms_swrast_dri.so  swrast_dri.so

And I'm enabling these packages:
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_DRI_DRIVER=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT=y

BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_LIBDRM_HAS_ATOMIC=y
BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC=y
BR2_PACKAGE_LIBDRM_ETNAVIV=y
BR2_PACKAGE_KMSXX=y

I'm obviously missing something here. Any help would be very much appreciated.

Thanks,
Juan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-09 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-07 23:00 [Buildroot] QT 5.6 app with eglfs and etnaviv (imx6 solo, buildroot 2018.02.5) Juan A. Rubio
2019-03-08 22:52 ` Peter Seiderer
2019-03-08 23:04   ` Fabio Estevam
2019-03-08 23:42     ` Juan A. Rubio
2019-03-09 14:06       ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.