Dear team,
We are using imx6Q sabresd platform for our development with Linux 3.14.521.0.0-GA BSP.
We would like to test the OpenGL and OpenVG and the executed file local in /opt/fsl-gpu-sdk/GLES2 of my board;
and we have executed below commands
root@imx6qsabresd:/opt/fsl-gpu-sdk/GLES2/S01_SimpleTriangle#./S01_SimpleTriangle_X11
ERROR: demo setup failed with: Could not open display
root@imx6qsabresd:/opt/viv_samples/es20/vv_launcher# ./vv_launcher
Segmentation fault
I have created the binary in Yocto build environment with below commands:
DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b imx6q-x11
bitbake fsl-image-qt5
the executed file is contained by rootfs which come from bitbake fsl-image-qt5
how could I can run those demo? I search of all community,but can not find answer.
Please help me?I am hurry
Hi,
The application "S01_SimpleTriangle_X11" is targeted for X11 display, so before running the application, you should set the "DISPLAY" environment:
export DISPLAY=:0.0
I tried i.MX6 SabreSD board + Linux 4.1.15 bsp, the application can work with DISPLAY environment setting. Thanks.
B.R
Zhu Jun(nxa07822)
Is there anyone know something about this question? I am just update the GPU viviante driver and file system packages, I want to know how to test the GPU works fine or not?