OpenGL demo programs

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL demo programs

820 Views
PhilEndecott
Contributor II
Dear All, I am trying to run the demo programs in the framebuffer OpenGL package, with mixed success. Has anyone else tried this? I've installed the amd-gpu-bin-mx51-11.01.00 package, i.e. not the x11 version; this installs various libraries, header files, and test/demo executables: simple_draw - segfaults tiger - segfaults tiger_ri - At 32 bpp, draws two tigers one above the other, the bottom one flickering. At 16 bpp, draws one tiger. torusknot - segfaults vg11sanity - does nothing c2d_sanity_app_z430 - "tests passed" es11ex - shows a rotating black cube on a grey background gsl_sanity_app - outputs quite a lot of benchmarking info, and then needs ctrl-C, which takes a while to be noticed. resclient_multiprocess_test - says "no such file or directory" a few times, and then finishes. resclient_multitask_test - segfaults resclient_test - segfaults 2dblt_perf - outputs some sane-looking benchmark numbers, but nothing is seen on the screen. c2d_sanity_app_z160 - passes, after lots of "the rotation angle must be..." messages. For many of these programs, I get repeated console output saying something like "Freeing list entry #12017, gpuaddr=891ce000". strace shows them doing mostly reasonable things, though I found this surprising: open("./yamato_panel.txt", O_RDONLY) = -1 ENOENT (No such file or directory) open("c:/yamato_panel.txt", O_RDONLY) = -1 ENOENT (No such file or directory) Has anyone else tried any of this? Is anyone else using OpenGL, in particular on the framebuffer?
Labels (1)
0 Kudos
9 Replies

65 Views
claymontgomery
Contributor IV

I use OpenGL ES and OpenVG without X11 extensively on the iMX51 and iMX53.  The solution is to use the most recent drivers from the 11.09 (amd-gpu-bin-mx51-11.09.01.tar.gz) package, which is included as part of the BSP for the i.MX53.  The graphics drivers are the same for the iMX51 and iMX53, as Andre said.


0 Kudos

65 Views
admin
Specialist II

hi to all,

do any of you guys solved the issue?

erwin

0 Kudos

65 Views
SteveSparks
Contributor I

Add another to this list. I want to run OpenVG / OpenGL ES over the framebuffer.

Steve

Leon Woestenberg said:

I could not run the demos.

I found that the demos that come with amd-gpu-bin-mx51 (so not the x11 variant) still have dependencies on all kind of X11 related libraries (which I have not installed on the target).

Also make sure /dev/shm is present.

I am also stuck. I would like to use OpenVG/GLES/GLES2 without X11.

0 Kudos

65 Views
sidebranch
Contributor II

I could not run the demos.

I found that the demos that come with amd-gpu-bin-mx51 (so not the x11 variant) still have dependencies on all kind of X11 related libraries (which I have not installed on the target).

Also make sure /dev/shm is present.

I am also stuck. I would like to use OpenVG/GLES/GLES2 without X11.

0 Kudos

65 Views
andre_silva
NXP Employee
NXP Employee

> Could you elaborate on that please? Is there anything to do other than loading the kernel module and/or building that in to the kernel?

 

See if there is no errors when loading the module, if not so it is ok

 

> try using the most recent BSP for MX53

 

Every release comes with bug fixes and improvments, so it is highly recomended to use the latest version.

0 Kudos

65 Views
PhilEndecott
Contributor II
> Make sure you are loading the driver correctly. Could you elaborate on that please? Is there anything to do other than loading the kernel module and/or building that in to the kernel? > try using the most recent BSP for MX53 So is there something newer than amd-gpu-bin-mx51-11.01.00 ?
0 Kudos

65 Views
andre_silva
NXP Employee
NXP Employee

I never got these problems, including the Tiger application. Make sure you are loading the driver correctly. Also, try using the most recent BSP for MX53, it is also compatible with the MX51.

 

regards,

 

Andre

0 Kudos

65 Views
PhilEndecott
Contributor II
Thanks, that's interesting. Any idea why most of the programs segfault? Do they work for you?
0 Kudos

65 Views
andre_silva
NXP Employee
NXP Employee

the yamato_panel.txt is a GPU driver config. file and doesn't come with the BSP, in this case, GPU driver runs with its default configuration.

0 Kudos