Other OS

QT application without X (eglfs) using SGX drivers

0 433
Hi,

I am trying to run QT application using eglfs platform but with no luck.

I have SGX drivers installed and can confirm that hardware aceleration works with X and glmark2-es. QT applications work with both xcb platform (X) and linuxfb (without X and without hardware acceleration). But when I try to use eglfs platform it only works when X server is running. Otherwhise i get the following error

  1. # ./testapp --platform eglfs
  2. Could not initialize egl display
Copy the Code
And that's it. No more information. Ldd returns
  1. # ldd /usr/lib/dri/pvrsrvkm_dri.so
  2.         libPVROGL_MESA.so => /usr/lib/libPVROGL_MESA.so (0xb6e4a000)
  3.         libegl4ogl.so => /usr/lib/libegl4ogl.so (0xb6e33000)
  4.         libdbm.so => /usr/lib/libdbm.so (0xb6e21000)
  5.         libpvr2d.so => /usr/lib/libpvr2d.so (0xb6e0c000)
  6.         libsrv_um.so => /usr/lib/libsrv_um.so (0xb6dd7000)
  7.         libglapi.so.0 => /usr/local/XSGX/lib/libglapi.so.0 (0xb6d9b000)
  8.         libexpat.so.1 => /usr/local/XSGX/lib/libexpat.so.1 (0xb6d73000)
  9.         libpthread.so.0 => /lib/libpthread.so.0 (0xb6d4a000)
  10.         libdl.so.2 => /lib/libdl.so.2 (0xb6d37000)
  11.         libdrm.so.2 => /usr/local/XSGX/lib/libdrm.so.2 (0xb6d25000)
  12.         libGL.so.1 => /usr/local/XSGX/lib/libGL.so.1 (0xb6cb9000)
  13.         libm.so.6 => /lib/libm.so.6 (0xb6c3b000)
  14.         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6c0f000)
  15.         libc.so.6 => /lib/libc.so.6 (0xb6ad4000)
  16.         libusc.so => /usr/lib/libusc.so (0xb69d6000)
  17.         librt.so.1 => /lib/librt.so.1 (0xb69bf000)
  18.         /lib/ld-linux-armhf.so.3 (0xb6fac000)
  19.         libXext.so.6 => /usr/local/XSGX/lib/libXext.so.6 (0xb69aa000)
  20.         libXdamage.so.1 => /usr/local/XSGX/lib/libXdamage.so.1 (0xb6fcc000)
  21.         libXfixes.so.3 => /usr/local/XSGX/lib/libXfixes.so.3 (0xb699e000)
  22.         libX11-xcb.so.1 => /usr/local/XSGX/lib/libX11-xcb.so.1 (0xb6994000)
  23.         libX11.so.6 => /usr/local/XSGX/lib/libX11.so.6 (0xb687c000)
  24.         libxcb-glx.so.0 => /usr/local/XSGX/lib/libxcb-glx.so.0 (0xb6861000)
  25.         libxcb.so.1 => /usr/local/XSGX/lib/libxcb.so.1 (0xb6840000)
  26.         libXxf86vm.so.1 => /usr/local/XSGX/lib/libXxf86vm.so.1 (0xb6834000)
  27.         libXau.so.6 => /usr/local/XSGX/lib/libXau.so.6 (0xb6829000)
  28.         libXdmcp.so.6 => /usr/local/XSGX/lib/libXdmcp.so.6 (0xb681d000)
Copy the Code
As we can see it is linked with X libraries. Is there even a possibility to run SGX hardware acceleration without running X server?

Regards

You have to log in before you can reply Login | Sign Up

Points Rules