Freescale / meta-freescale

Layer containing NXP hardware support metadata
Other
168 stars 254 forks source link

imx-gpu-viv-demos: differences between linux-imx and linux-fslc-imx kernels #1744

Closed blemouzy closed 7 months ago

blemouzy commented 7 months ago

Hello,

I'm working with Yocto Kirkstone on i.MX6 CPU (i.MX6D rev1.3 at 792MHz).

meta-freescale imx-gpu-viv recipe provides imx-gpu-viv-demos package which can be used to test the GPU. The script /unit_tests/GPU/gpu.sh run the following tests:

With linux-imx kernel:

But with linux-fslc-imx kernel:

Do you know:

blemouzy commented 7 months ago

tiger test doesn't work due to missing libOpenVG.so link.

The link is located in the -dev package:

$ oe-pkgdata-util find-path /usr/lib/libOpenVG.3d.so.1.1.0
libopenvg-imx: /usr/lib/libOpenVG.3d.so.1.1.0

$ oe-pkgdata-util find-path /usr/lib/libOpenVG.so
libopenvg-imx-dev: /usr/lib/libOpenVG.so

But I still don't understand the low FPS issue.

blemouzy commented 7 months ago

And the low FPS issue is due to a different environment variable between our BSP (FB_MULTI_BUFFER=2). Unset it leads to same result between linux-fslc-imx and linux-imx.