-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry pi egl fails #21
Comments
R-Pi requires non-standard egl init code (needs calls to proprietary APIs before stadard egl init), so somebody has to write platform file first with all that proprietary crap or use some helper library that does it. |
@notaz I was half asleep last night, actualy have trg running nicely atm, working on a platform file for rpi and fixing up the makefile |
@notaz the following flags need to be added Also the gles v1 library on the pi is GLESv1_CM instead of GLES_CM and Easily fixed by appending a _ after the method and the method call in imagelib I have been unsuccessful at getting gles2 to compile (complains about gles_init_extensions) |
@clienthax - have you got any other applications beside trg running? I've tried once, and some (most?) Android games only target ARMv7, which the RPi doesn't have (it only has ARMv6) - that's why I really didn't pursue getting apkenv running on the Pi any further. |
Tryed angry birds but it needs gles2 which complains of errors while
|
All supported AB versions/variants require only GLES1. Which version did you try? |
Original, it was saying a shader hook was missing, I'll grab the log from
|
pi@raspberrypi ~/pushthis/apkenv/libs/raspberrypi $ sudo ../../apkenv ~/apkenv/Angry-birds-star-wars-apk-armv6-7-andropalace.net.apk linker/linker.c:1382| ERROR: 0 cannot locate 'glAttachShader'... linker/linker.c:2057| ERROR: failed to link libangrybirdsstarwars.so Illegal instruction linker/linker.c:1382| ERROR: 0 cannot locate 'glBindFramebuffer'... linker/linker.c:2057| ERROR: failed to link libAngryBirdsSpace.so |
Try rpi platform from my fork. I've not tested it, but after some changes it may work. |
@mittorn interesting, want to do a pull request for your changes? Some of these seem really interesting (especially the evdev stuff and native EGL). |
I want to make pull request, but i removed some blobs from all repository history and moved it to mittorn/apkenv-libs., so it may cause conflicts I have slow internet connection, so it's very dificult to work with 20MB repository. |
There is an x11 egl implementation for RPi, that would be availiable soon: ssvb/xf86-video-fbturbo#24 (comment) |
That X11 EGL implementation already works for OpenGL ES 2.0 using apkenv! I've written it myself. |
This bug should be closed. |
Is it possible to get a platform file for the raspberry pi, i have managed to get libsdl-gles to compile and install, if it works is another matter..
Since there wasn't a platform file and the n9xx code wouldn't compile (references to sdl1.3 ?) i tryed pandora=1
Currently getting a egl surface on screen but the program kicks out the following
http://i.imgur.com/C1qEb1D.png
The text was updated successfully, but these errors were encountered: