cancel
Showing results for 
Search instead for 
Did you mean: 

GPU support while using X server in STM32MP157

Mitra
Associate

I am trying to use the GPU with an application where using X display is a prerequisite. I have successfully used GPU previously with Qt5 and simple kms applications like kmscube, but cannot get it working with X. Mesa is always used as the renderer with 0% load on GPU. My question is that is this at all supported with the binaries packed in the gcnano repo?

https://github.com/STMicroelectronics/gcnano-binaries

The Yocto recipes point out the following (meta-st-stm32mp/conf/machine/include/gpu_vivante.inc) :

GPU_USERLAND_LIBRARIES_X11   ?= "mesa"

My doubt arises because of the following:

1) In mesa there is no *_dri.so binary available for the particular GPU to support h/w acceleration.

2) If I look for suitable hardware drivers *_drv.so files in xorg, there is no support for Vivante.

I could not find these anywhere in the ST resources as well.

I have tried using "etnaviv" too, but not much luck there.

The last point is that ST wiki doesn't have much documentation on the GPU.

https://wiki.st.com/stm32mpu/wiki/Category:GPU

Is there any way to procure or access them?

P.S: Please excuse me , if some information is missing. If pointed out, I will edit them in. Thanks in advance.

0 REPLIES 0