Hello, I encountered a problem while trying to get graphical hardware
acceleration running.

Currently I'm working on a Beagleboard xM, with the following system installed
on a CD-Card image:

beagle# lsb_release -a
Distributor ID: Angstrom
Description:    Angstrom GNU/Linux 2011.03 (Dureza)
Release:        2011.03
Codename:       Dureza

and

beagle# uname -a
Linux beagleboard 2.6.32 #3 PREEMPT Thu Mar 17 08:56:19 CET 2011 armv7l unknown

The following packages were installed with opkg:

beagle# opkg info libgles-omap3
Package: libgles-omap3
Version: 4.03.00.02-r15.6
Depends: fbset, devmem2, update-rc.d, libgles-omap3-linuxfbwsegl, 
libgles-omap3-blitwsegl, libgles-omap3-flipwsegl, libgles-omap3-frontwsegl, 
libc6 (>= 2.9), libgcc1 (>= 4.3.3), libstdc++6 (>= 4.3.3)
Recommends: omap3-sgx-modules
Provides:
Status: install user installed
Section: base
Architecture: armv7a
Maintainer: Angstrom Developers <angstrom-distro-de...@linuxtogo.org>
MD5Sum: edf4e4ccb872877fcd52d4ade7c00c03
Size: 4481496
Filename: libgles-omap3_4.03.00.02-r15.6_armv7a.ipk
Conffiles:
 /etc/powervr.ini 0e6110282173e1073105acac1a5fbda2
 Description: libGLES for the omap3
 Installed-Time: 1329226659

beagle# opkg info libgles-omap3-demos
Package: libgles-omap3-demos
Version: 3.01.00.02-r1.5
Depends: libgles-omap3 (>= 3.01.00.02), libx11-6 (>= 1.3.3), libxau6 (>= 
1.0.5), libstdc++6 (>= 4.3.3), libc6 (>= 2.9), libgcc1 (>= 4.3.3)
Provides:
Status: install user installed
Section: base
Architecture: armv7a
Maintainer: Angstrom Developers <angstrom-distro-de...@linuxtogo.org>
MD5Sum: 5c35e0d292b09cb3fe1b96746a7ebfdb
Size: 8256622
Filename: libgles-omap3-demos_3.01.00.02-r1.5_armv7a.ipk
Description: libGLES for the omap3
Installed-Time: 1329227039

After that the following was installed:

beagle# cat /etc/powervr.ini
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so.1

beagle# cat /etc/powervr-esrev
5

beagle# cat /proc/pvr/version
Version 1.4.14.2616 (release) 
/OE/angstrom-dev/work/beagleboard-angstrom-linux-gnueabi/omap3-sgx-modules-1.4.14.2616-r100h/Graphics_SDK_4_00_00_01/GFX_Linux_KM
System Version String: None

The following modules are loaded:

beagle# lsmod
Module                  Size  Used by
bufferclass_ti          4596  0
omaplfb                 8749  0
pvrsrvkm              126503  2 bufferclass_ti,omaplfb
...

And in dmesg the following message appears:

beagle# dmesg
...
[ 9826.807098] PVRSRV_PIXEL_FORMAT_ARGB8888

So, it looks like everything is correclty installed. But when I run

beagle:/usr/bin/ES5.0# ./pvr2d_test
PowerVR device not found

(I also tried the pvr2d_test's in all ESx.0 directories just to be sure).

Okay, the strace gave the following ioctl() call which failed:

ioctl(4, 0xc01c6700, 0xbecc88c4)        = -1 EFAULT (Bad address)

Also the demo programs in /usr/demos/OGLES/EvilSkull gives the following error
message:

beagle:/usr/demos/OGLES/EvilSkull# ./OGLESEvilSkull 0
Exit message has been set to: "PVRShell: Unable to initialise EGL".
PVRShell: EGL Error (EGL_BAD_ALLOC)
InitAPI failed!
PVRShell: Unable to initialise EGL

Can anybody give a hint what I can do to get hardware acceleration up and
running?


Thanks in advance,

Frank

_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to