SGX packages for Ubuntu 11.04 beta

Hi,

I've been trying to get Ubuntu running on my shiny new beagle board xM rev B. I'm new to the beagle board but not linux in general.

I followed the instructions here:

https://wiki.ubuntu.com/ARM/OMAPMaverickInstall

but used the 11.04 beta 1 image available here:

http://cdimage.ubuntu.com/ubuntu-netbook/releases/natty/beta-1/

(linked from http://www.ubuntu.com/testing/natty/beta -> ubuntu netbook arm)

The initial bootup went well. I followed the instructions here:

https://wiki.ubuntu.com/ARM/OMAP/Graphics

and maybe X performance improved. Unfortunately when I rebooted I got:

FATAL: Module omaplfb not found

and X doesn't start, so I can't verify that.

The kernel claims to be 2.6.38-7-omap (built by Ubuntu).

The troubleshooting instructions proposed here:

http://elinux.org/BeagleBoardUbuntu#SGX_Video_Acceleration

didn't do much as there is no omaplfb module and /etc/init.d/pvr does not exist.

Any tips?

cheers
peter

I just updated the SGX packages for Ubuntu, that should be compatible
with kernel 2.6.38, please give it a try and let me know if you're
still facing this issue.

Package version now is 4.00.00.01 (unfortunately 4.03.00.02 is quite
unstable, giving sgx hardware recover all the time).

Cheers,

Hi Ricardo,

I just moved to 4.03.00.02 with my 2.6.38 kernel, so far my xM/C4 have
been happy.. Which error are you seeing, and does it only occur on the
xM over the C4 or what?

Regards,

While testing with the SDK, running the GLES2 examples, I was getting
lots of SGX hardware recovery messages at the dmesg, that then would
let the whole system quite slow.

But it worked fine with the es2gears and es2_info, so I believe it's
something that the demo is triggering.

Cheers,

Hi Ricardo,

I just updated the SGX packages for Ubuntu, that should be compatible
with kernel 2.6.38, please give it a try and let me know if you're
still facing this issue.

I installed your packages and rebooted (just to be sure), and they seem to have no effect - the demo suggested here:

https://wiki.ubuntu.com/ARM/OMAP/Graphics

fails to run. You did cure the dying-after-reboot problem though.

To paraphrase the error message (sorry, the BB xM is still being set up):

$ ./OGLESEvilSkull
... [ window comes up and then dies ]
PVRShell: EGL Error (EGL_BAD_ALLOC)
InitAPI failed!
PVRShell: Unable to initialise EGL

There is nothing interesting in the X logs, apart from this:

(II) Warning, couldn't open module omapfb
...
and then it seems to use fbdev.

lsmod(8) tells me:

$ lsmod | grep omap
omaplfb ...
pvrsrvkm ...
omap_wdt ...
omap2_mcspi ...

Naively I see "omapfb" and "omaplfb" and wonder if something isn't talking to something else...

Thanks for any advice you might have.

(I can't believe I'm the only person trying to get the latest Ubuntu running - has anyone else had any luck?)

cheers
peter

Are you sure your user is also part of the group 'video'?

Could be a permission problem.

Cheers,

Err, no, I wasn't.

The evil skull now works but the other demos do not - e.g. OGLESChameleonMan appears to lock up the X server (and then the whole system). Is this expected?

Thanks again for the advice.

cheers
peter

For me it works *most of the time* hehe :slight_smile:

I'm also getting some X lock ups once in a while, but unfortunately we
can't debug and fix because it's closed software :frowning:

Cheers,

Hi Ricardo,

I just updated the SGX packages for Ubuntu, that should be compatible
with kernel 2.6.38, please give it a try and let me know if you're
still facing this issue.

I installed your packages and rebooted (just to be sure), and they seem to have no effect - the demo suggested here:

ARM/OMAP/Graphics - Ubuntu Wiki

fails to run. You did cure the dying-after-reboot problem though.

To paraphrase the error message (sorry, the BB xM is still being set up):

$ ./OGLESEvilSkull
... [ window comes up and then dies ]
PVRShell: EGL Error (EGL_BAD_ALLOC)
InitAPI failed!
PVRShell: Unable to initialise EGL

The reason may cose of
1. the lack of Video RAM (I have faced this issue with my beagleboard
C4), so try to define the VRAM settings with the bootarg.
2.omapfb module is not the proper one which needs for the
OS/kernel.(May be wrong version of SGX Lib)