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
  • Hi Myy,
    your help is always very valuable for me!

    How could I check if the DMABUF is activated? And assuming it is not activated, is there a way for activated it? Or it requires rebuild the kernel again?

    In the meantime I tried your suggestion changing the GPU min and max frequencies, and it provided around 40% more FPS (in the same previously condition). But I could not change the polling_interval because the Bash says me 'write error'... the interval is now set to 100 so if I could change it, maybe it help a bit more.
    This is an interesting optimization!

    I've also assured myself that there is none 3D Compositor activated, and the board power supply I think is ok (5V 4A external power supply).
    But I'm not using the latest user space drivers because they don't work on my Ubuntu 14.04 (I think they were built with a GCC newer than mine).

    Thank you very much!

    Ariel.

Reply
  • Hi Myy,
    your help is always very valuable for me!

    How could I check if the DMABUF is activated? And assuming it is not activated, is there a way for activated it? Or it requires rebuild the kernel again?

    In the meantime I tried your suggestion changing the GPU min and max frequencies, and it provided around 40% more FPS (in the same previously condition). But I could not change the polling_interval because the Bash says me 'write error'... the interval is now set to 100 so if I could change it, maybe it help a bit more.
    This is an interesting optimization!

    I've also assured myself that there is none 3D Compositor activated, and the board power supply I think is ok (5V 4A external power supply).
    But I'm not using the latest user space drivers because they don't work on my Ubuntu 14.04 (I think they were built with a GCC newer than mine).

    Thank you very much!

    Ariel.

Children