Navigation3D demo from ImgTex SDK crashes board

Bug #883351 reported by vade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-omap4-extras-graphics
New
Undecided
Unassigned

Bug Description

Running Ubuntu 11.10 / Pandaboard, after installing ubuntu-omap4-extras, (libegl1-sgx-omap4-dev and libgles2-sgx-omap4-dev as well, so the required .so files are in the proper locations to run the demo binaries). Executing X11 navigation3D example runs for a few frames, after loading all textures, then crashes the board, hard locking the system.

Revision history for this message
Xavier Boudet (x-boudet) wrote :

Can you precise which version of pvr-omap4 package you are using?
Are you rebuilding Navigation3D demo or are you using pre-built binary?

Revision history for this message
vade (vade-j) wrote :

Hello Xavier.

I was running the pre-compiled binary of Navigation3D, direct from the ImgTek download from their SDK site.

Can you tell me how to find the pvr-omap4 version? Apologies, I am new to the platform/pandaboard world, and not very familiar with Linux nuances these days (but am attempting to learn.)

Thank you.

Revision history for this message
Vincent Stehlé (vstehle) wrote :

Vade, you can do a 'dpkg -l pvr-omap4' for example.

Revision history for this message
Xavier Boudet (x-boudet) wrote :

Vade, I would prefer 'dpkg -l | grep pvr-omap4' as far as 'dpkg -l pvr-omap4' might truncate the version.

Revision history for this message
Xavier Boudet (x-boudet) wrote :

Vade, in addition to pvr-omap4 version, can you also share the output of command "ldd" on Navigation3D binary please?
For you information, I have OGLES2Navigation3D working fine on my side. Nevertheless it was natively built on PandaBoard using IMG SDK version 1.0.295

Revision history for this message
vade (vade-j) wrote :

Hello

Output of dpkg -l | grep pvr-omap4:

ii pvr-omap4 1.7.9.2.1.4-1 PowerVR SGX540 libraries for OMAP4, remaining libs and binaries
ii pvr-omap4-data 1.7.9.2.1.4-1 PowerVR SGX540 libraries for OMAP4, data files
ii pvr-omap4-dkms 1.7.9.2.1.1-1 PowerVR SGX540 kernel driver for OMAP4 in DKMS format.

Not sure why dkms is at different version.

ldd output:
 libEGL.so => /usr/lib/libEGL.so (0x40182000)
 libGLESv2.so => /usr/lib/libGLESv2.so (0x40091000)
 libX11.so.6 => /usr/lib/arm-linux-gnueabi/libX11.so.6 (0x4018d000)
 libXau.so.6 => /usr/lib/arm-linux-gnueabi/libXau.so.6 (0x4010a000)
 libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6 (0x40274000)
 libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0x4031f000)
 libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0x40115000)
 libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0x4038b000)
 libIMGegl.so => /usr/lib/libIMGegl.so (0x4003a000)
 libsrv_um.so => /usr/lib/libsrv_um.so (0x40141000)
 libpthread.so.0 => /lib/arm-linux-gnueabi/libpthread.so.0 (0x4046c000)
 /lib/ld-linux.so.3 (0x400e1000)
 libxcb.so.1 => /usr/lib/arm-linux-gnueabi/libxcb.so.1 (0x4001e000)
 libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0x40126000)
 librt.so.1 => /lib/arm-linux-gnueabi/librt.so.1 (0x4005b000)
 libdrm.so.2 => /usr/lib/arm-linux-gnueabi/libdrm.so.2 (0x4016f000)
 libXdmcp.so.6 => /usr/lib/arm-linux-gnueabi/libXdmcp.so.6 (0x40480000)

Thank you.

Revision history for this message
Xavier Boudet (x-boudet) wrote :

The pvr-omap4 packages versions are correct, the different version with dkms package is normal.
Is it possible for you to natively re-compile your application againt the pvr-omap4 libs and headers, you shall need to install ubuntu-omap4-extras-graphics-dev first to get all the headers.
Can you also give us more details on the failure: do you have any trace in dmesg, /var/log/Xorg.0.log or in the prompt itself that would explain a little bit more the problem?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers