This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Qt5 app fails creating the EGL surface - Firefly RK3288 (Mali T764)

Hi all,

I have a Firefly board with Ubuntu 14.04, Kernel 3.10, and the Mali binaries from the package "malit76xr5p006rel0linux1fbdevtar.gz". I've built the Mali SDK OpenGL demos, and they run ok over the Ubuntu X11 desktop, obviously, they override some screen area while they are running.
 
Then I've built the Qt 5.8 framework without problems, its summary shows the QPA EGLFS Mali backend available, but when later I build any Qt based app, they don't work and show the following error:
 
EGL Error: Could not create the egl surface: error = 0x3009
 
Is possible my libgbm.so is not compatible with the fbdev version of libmali.so I am using?
But in such case, why do the Mali SDK demos work correctly?
 
Thanks in advance!
Ariel.
 
Parents
  • I thought it was DMABUF, but the option is about DMA_FENCE actually. It is named CONFIG_MALI_DMA_FENCE in the kernel configuration and can lead to very good performance improvements when enabled. You might have to recompile your kernel if such support is not enabled though.

    More recent user-space binary drivers might fail to initialize if the currently used kernel driver version is not equal or superior. So for example, Midgard r12p0 user-space drivers can be used with Midgard r16p0 kernel drivers, but cannot be used with r11p0 kernel drivers.

    Concerning the driver denying lower polling timings, I don't know what could cause this exactly. The value might be hardcoded in 4.4 kernels provided by Rockchip.  : github.com/.../mali_kbase_rk.h .

    Meanwhile, I'll try to add Mali support to Firefly's 4.12 DTS files.

Reply
  • I thought it was DMABUF, but the option is about DMA_FENCE actually. It is named CONFIG_MALI_DMA_FENCE in the kernel configuration and can lead to very good performance improvements when enabled. You might have to recompile your kernel if such support is not enabled though.

    More recent user-space binary drivers might fail to initialize if the currently used kernel driver version is not equal or superior. So for example, Midgard r12p0 user-space drivers can be used with Midgard r16p0 kernel drivers, but cannot be used with r11p0 kernel drivers.

    Concerning the driver denying lower polling timings, I don't know what could cause this exactly. The value might be hardcoded in 4.4 kernels provided by Rockchip.  : github.com/.../mali_kbase_rk.h .

    Meanwhile, I'll try to add Mali support to Firefly's 4.12 DTS files.

Children
No data