[ls1028a] glmark2-es2-wayland is not working

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

[ls1028a] glmark2-es2-wayland is not working

773 Views
AristoChen
Contributor II

Hi

 

I built my own Ubuntu 22.04 image and I am trying to make the GPU work with glmark2-es2-wayland by following the documentation[1] . AFAIK, the documentation did not mention the correct path to put for those libraries, maybe /usr/lib? or somewhere else?

I did the following steps to copy those files

```
$ sudo cp imx-gpu-viv-6.4.3.p2.0d-aarch64/gpu-core/usr/lib/wayland/* /usr/lib/
$ sudo cp imx-gpu-viv-6.4.3.p2.0d-aarch64/gpu-core/usr/lib/libOpenCL.so* /usr/lib/
$ sudo cp imx-gpu-viv-6.4.3.p2.0d-aarch64/gpu-core/usr/lib/libVSC.so /usr/lib/
$ sudo cp imx-gpu-viv-6.4.3.p2.0d-aarch64/gpu-core/usr/lib/libgbm* /usr/lib/

$ sudo ln -s -f /usr/lib/libOpenCL.so.1 /lib/aarch64-linux-gnu/libOpenCL.so.1
$ sudo ln -s -f /lib/libgbm.so.1.0.0 /lib/aarch64-linux-gnu/libgbm.so.1
$ sudo ln -s -f /usr/lib/libEGL.so.1 /lib/aarch64-linux-gnu/libEGL.so.1.1.0
$ sudo ln -s -f /usr/lib/libGLESv2.so.2.0.0 /lib/aarch64-linux-gnu/libGLESv2.so.2
$ sudo reboot
```

Before executing the above steps, the GUI was running with wayland, but the speed is very slow. After the above steps, the speed is faster, but it is using Xorg instead of wayland. 

And I believe glmark2-es2-wayland needs to be executed with Wayland. So my first question is that does the libraries compatible with Ubuntu Jammy environment(AFAIK, the BSP is for Focal environment), if the answer is yes, then the next question is, what is the correct path for putting those libraries?

 

Also, I followed the steps[2] to use flex-installer to build a bootable SD card, and looks like glmark2-es2-wayland does not work at all, and it complains about cannot find /run/user/0/wayland-0 file. AFAIK that file is a socket file for communicating through wayland. May I know how to fix this issue? thanks

 

[1] https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-2B16B5FF-3862-4FE5-B...

[2] https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-63B176B2-CAC9-468B-9...

 

Labels (1)
0 Kudos
Reply
3 Replies

567 Views
AristoChen
Contributor II

Hi

 

Any updates?

 

thanks

0 Kudos
Reply

757 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

It should not using xorg, it uses wayland you are using xorg in some applications since X11 and Xorg is not installed by default in the yocto BSP

We are going to fix the girth path of libraries thank you

Regards

0 Kudos
Reply

739 Views
AristoChen
Contributor II
Thanks for the reply, but I don't feel like any of my questions were answered
0 Kudos
Reply