Gpu performance on imx7ulp device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gpu performance on imx7ulp device

2,020 Views
ravicalm
Contributor I

Hi all,

I am using the imx7ulp board for my project . I am using yoct os . I have to know the gpu performance while rendering or capturing the image. I observed while rendering the image , the logs present in the code was used it under os/linux/drivers/gpu/drm/etnaviv that means my gpu using the ethnaviv driver instead of galcore driver. could you please help me in meausring the performance of gpu which is using the ethnaviv driver for rendering. 

Labels (1)
0 Kudos
9 Replies

1,983 Views
ravicalm
Contributor I

I have the following info

Operating System: Poky (Yocto Project Reference Distro) 2.7.1 (warrior)

Kernel: Linux 4.14.98

uname -a Linux fly 4.14.98

#1 SMP PREEMPT Mon Jul 10 16:01:38 UTC 2023

armv7l GNU/Linux build/yocto/poky/meta-yocto-bsp/conf : file content

# We have a conf and classes directory, add to

BBPATH BBPATH .= ":${LAYERDIR}" # We have recipes-* directories,

add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "yoctobsp" BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"

BBFILE_PRIORITY_yoctobsp = "5"

LAYERVERSION_yoctobsp = "4"

LAYERSERIES_COMPAT_yoctobsp = "warrior"

0 Kudos

2,019 Views
ravicalm
Contributor I
@Dhruvit/@chivara could you please respond i hope u guys have given info on gputop tool/gpuinfo.sh script which will internally uses galcore but in my case while rendering I am seeing the logs in ethnaviv module instead of galcore so could you please share any tool or point to the code where we can see the percentage of gpu used .
0 Kudos

2,017 Views
ravicalm
Contributor I

is ethanaviv driver runs/helps  on gpu or helps the gpu for rendering could you please confirm?

is ethanviv driver will run on cpu?

could you please clarify me about the ethnaviv driver

0 Kudos

1,985 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which version BSP are you using, we can help confirm.

0 Kudos

1,976 Views
ravicalm
Contributor I
I have the following info

Operating System: Poky (Yocto Project Reference Distro) 2.7.1 (warrior)

Kernel: Linux 4.14.98

uname -a Linux fly 4.14.98

#1 SMP PREEMPT Mon Jul 10 16:01:38 UTC 2023

armv7l GNU/Linux build/yocto/poky/meta-yocto-bsp/conf : file content

# We have a conf and classes directory, add to

BBPATH BBPATH .= ":${LAYERDIR}" # We have recipes-* directories,

add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "yoctobsp" BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"

BBFILE_PRIORITY_yoctobsp = "5"

LAYERVERSION_yoctobsp = "4"

LAYERSERIES_COMPAT_yoctobsp = "warrior"
0 Kudos

1,812 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You are using the ethnaviv driver not the GPU driver we using, so we do not have test the performance for this driver.

If you want to use the GPU of NXP, you can modify in the Menuconfig.

You can refer to our i.MX_Graphics_User's_Guide.pdf document.

In menu configuration enable the following module for the GPU driver:
CONFIG_MXC_GPU_VIV is a configuration option for GPU driver. In the menuconfig this option is available under Device Drivers
> MXC support drivers > MXC Vivante GPU support > MXC Vivante GPU support.
On the screen displayed, select Configure the kernel, select Device Drivers > MXC support drivers > MXC Vivante GPU support
> MXC Vivante GPU support, and then exit. When the next screen appears, select the following options to enable the GPU driver:
• Package list > imx-gpu-viv
• This package provides proprietary binary libraries, and test code built from the GPU for framebuffer

0 Kudos

1,805 Views
ravicalm
Contributor I

@Rita_Wang I am not able to found MXC support drivers under the menuconfig I will give the screen shot of my menuconfig

0 Kudos

1,757 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can following our i.MX Graphics User’s Guide document.

0 Kudos

1,947 Views
ravicalm
Contributor I
@Rita_Wang reply??
0 Kudos