IMX6 GPU demo test

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6 GPU demo test

2,946 次查看
huocan
Contributor I

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

标签 (1)
0 项奖励
回复
2 回复数

2,098 次查看
junzhu-b40054
NXP Employee
NXP Employee

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)

                 

 

 

0 项奖励
回复

2,168 次查看
westbrook
Contributor III

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?

0 项奖励
回复