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
Hi
Any updates?
thanks
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