Mali-400 GPU no DP solutionmalimali

Hello all:

There is some issue on Mali GPU. The core board is zynq ultrascale+ mpsoc, the motherboard is designed ourselves. Our solution is using logicvc IP core(bought from xylon) in PL as the display controller and abandon the DP(Display Port). So we can't use Xilinx drm driver directly. Instead, we use the xylon drm driver.


CONFIG_DRM_XLNX is not set


As a result, the X window system don't start up. I find that X try to load armsoc module and fail to find /dev/dri/card0 device. 

I alter the X configure file to load fbdev module, the Linux gui show up. However, once a Qt example run, the xinit shutdown immediately. I check the libraries the Qt example link to using ldd command and find that it link to Also, is linked to, too.

lrwxrwxrwx 1 jinyu jinyu     14 11月  4 18:59 usr/lib/ ->*
lrwxrwxrwx 1 jinyu jinyu     16 11月  4 18:59 usr/lib/ ->*
lrwxrwxrwx 1 jinyu jinyu     14 11月  4 18:59 usr/lib/ ->*

In order to make sure applicaion that don't link to libmali won't cause the X come to a crash. I compile a simple cairo application which only use xlib and cairo. It run succefully on the board managed by the window manager.

The conclusion is that OpenGL application can't be run currently. One solution should be porting the GLES 2.0 to the board and recompile the Qt example. But we want to use the GPU to accelerate graphics processing. 

In other words, X should load armsoc module and DRM is a must.

Any advice is highly appreciated.

Need more information on this, please let me know.




More questions in this forum