xM 3D support broken

I try to run 3D applications supplied with Koen’s demo and can see that they are absolutely broken! These applications work fine at BB-C3 and here I expected something more (may be faster?)

What is wrong?

regards,
Max

Is this the same exact card used with the C3?

What's the value of: "/etc/powervr-esrev" on your xM when running the
failed demos..

The C3 uses different sgx binaries (version 3) vs the xM which use
(version 5) of the binaries..

If it is 3, "rm /etc/powervr-esrev" and "/etc/init/rc.pvr start" (dir
might be a little off for angstrom)..

Regards,

Hi Robert!

The card is the same, though I haven’t ever inserted it into the C3 :). I just got xM and reformated the card immidiately for use with Koen’s demo filesystem. I wanted to use the Narcissus image but the online builder is overloaded.

Answers to your questions:
the value of: “/etc/powervr-esrev” is 2 (even not 3!) - removed
removed /etc/init.d/pvr-init

the result is when I run any demo I see the following log:

beagle@beagleboard:~$ /usr/bin/SGX/demos/X11/
OGLESVase
Exit message has been set to: “PVRShell: Unable to initialise EGL”.
PVRShell: EGL Error (EGL_BAD_ALLOC)
InitAPI failed!
PVRShell: Unable to initialise EGL

Well, since there is no idea how to enable 3D support at XM I tried to generate a rootfs at Narcissus Online builder, hoping that rootfs contains all necessary libraries… Unfortunately Online builder seems to be dead as I had waited about 1 hour and got nothing now. It just prints that preconfiguring is fine and nothing happens.

2010/11/10 Robert Nelson <robertcnelson@gmail.com>

Hi Maxim

Hi Robert!

The card is the same, though I haven't ever inserted it into the C3 :). I
just got xM and reformated the card immidiately for use with Koen's demo
filesystem. I wanted to use the Narcissus image but the online builder is
overloaded.

Answers to your questions:
the value of: "/etc/powervr-esrev" is 2 (even not 3!) - removed

This is why it didn't work, it was detecting the wrong version...

removed /etc/init.d/pvr-init

Actually you should have rerun that script, but...

I'd rerun the script found here:
http://elinux.org/BeagleBoardUbuntu#SGX_Video_Acceleration

Since I've made a bunch of improvements since your original email.

The sgx drivers work just fine on my xM A2 and xM B boards.. Tested
while running xfce on top of the two lucid/maverick demo images on
elinux...

Regards,