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
  • You might need Wayland specific Mali Userspace drivers if you want to have a GBM library specifically tailored for Mali GPU.

    You could give the latest drivers a shot, combined with ARMbian stable (4.4 Rockchip specific) or latest (4.12-rc1) kernels for Rockchip boards. Or you can mainline kernels prepared myself for RK3288 boards, integrating the Mali r17p0 kernel drivers. You might lose some features, though, like access to the video encoder/decoder services if you use the 4.12-rc1 kernel, though.

    The latest user space drivers for Midgard GPU, provided by the ARM team, are avaiable here :
    developer.arm.com/.../user-space

    The latest user space drivers for Midgard GPU, provided by the Rockchip team, are available here :
    github.com/.../libmali

    ARMbian kernels can be installed on Debian based distributions, by following these instructions :
    www.armbian.com/.../

    Mainline kernels for RK3288 boards, patched by myself, integrating the latest Mali Midgard kernel space drivers :
    github.com/.../MyyQi

Reply
  • You might need Wayland specific Mali Userspace drivers if you want to have a GBM library specifically tailored for Mali GPU.

    You could give the latest drivers a shot, combined with ARMbian stable (4.4 Rockchip specific) or latest (4.12-rc1) kernels for Rockchip boards. Or you can mainline kernels prepared myself for RK3288 boards, integrating the Mali r17p0 kernel drivers. You might lose some features, though, like access to the video encoder/decoder services if you use the 4.12-rc1 kernel, though.

    The latest user space drivers for Midgard GPU, provided by the ARM team, are avaiable here :
    developer.arm.com/.../user-space

    The latest user space drivers for Midgard GPU, provided by the Rockchip team, are available here :
    github.com/.../libmali

    ARMbian kernels can be installed on Debian based distributions, by following these instructions :
    www.armbian.com/.../

    Mainline kernels for RK3288 boards, patched by myself, integrating the latest Mali Midgard kernel space drivers :
    github.com/.../MyyQi

Children