Page 1 of 1

About OpenGL in python

Posted: Sat Dec 13, 2014 11:17 am
by maatong
Hi there:
I now need to use odroid u3 to write a program to display some 3D plots on PyQt/PySide widgets.
And I tried to install PyOpenGL on this board, and when I tried some examples, the system give me these error information:

Code: Select all

libGl error: unable to load driver: exynos_dri.so
libGl error: driver pointer missing
libGl error: failed to load driver: exynos
So how can I install that driver?
And I searched online, some websites told me that odroid u3 doesn't support opengl, it only supports opengl-es, is that true?

Thank you.

Yini

Re: About OpenGL in python

Posted: Sat Dec 13, 2014 11:31 am
by robroy
odroid u3 doesn't support opengl, it only supports opengl-es, is that true?
Yes. Supposedly the "glshim" application (https://github.com/lunixbochs/glshim) can be used, but I haven't seen any actual reports of success yet.

Re: About OpenGL in python

Posted: Tue Dec 16, 2014 3:33 am
by maatong
Hi Rob:
Thank you for your reply.
And how about rpigl or other 3d libraries that can run on raspberry pi, can I run them on odroid u3?
Or is there any python 3D library that developed for odroid u3?
Thanks.

Re: About OpenGL in python

Posted: Tue Dec 16, 2014 6:35 am
by meveric
if rpigl is liked only against GLESv1_CM or GLESv2 it might work.. if it's linked against bcmhost or other RPi only libraries you won't have much luck.

besides a few people that work on the Kernel, or on XBMC and MFC you won't find much developers for the board. You won't find much publishing work here. Most people just setup servers or run Android apps.
I doubt there are much people that would be able to program anything OpenGL ES related directly for the ODROID like you can see on other communities such as RPi or OpenPandora.

There is one exception.. Retroarch actually has some support for ODROID devices, which require very special Kernel drivers and can't be used for anything else, that was actually a development directly made for the ODROID Community.. sadly it's useless when you want to run anything else besides Retroarch.

Re: About OpenGL in python

Posted: Tue Dec 16, 2014 7:51 am
by maatong
meveric wrote:if rpigl is liked only against GLESv1_CM or GLESv2 it might work.. if it's linked against bcmhost or other RPi only libraries you won't have much luck.

besides a few people that work on the Kernel, or on XBMC and MFC you won't find much developers for the board. You won't find much publishing work here. Most people just setup servers or run Android apps.
I doubt there are much people that would be able to program anything OpenGL ES related directly for the ODROID like you can see on other communities such as RPi or OpenPandora.

There is one exception.. Retroarch actually has some support for ODROID devices, which require very special Kernel drivers and can't be used for anything else, that was actually a development directly made for the ODROID Community.. sadly it's useless when you want to run anything else besides Retroarch.
Ho meveric:
Thanks for the reply.
And I choose this board because it's faster than raspberry pi, but like you said, the support documents are really hard to find.
I found a opengl es 2.0 python binding called pogles 1.0, so far it seems like successfully installed, I'll try to see if it works for u3.

Re: About OpenGL in python

Posted: Tue Dec 16, 2014 2:45 pm
by meveric
i just checked on pogles... it's looking good so far and what i can see.. just make sure to use X11 EGL and you should be good to go :)

Re: About OpenGL in python

Posted: Thu Dec 18, 2014 3:00 am
by maatong
meveric wrote:i just checked on pogles... it's looking good so far and what i can see.. just make sure to use X11 EGL and you should be good to go :)
I'm trying pogles,and when I tried to run an example on it.
The program seemed run well, but after I tried to close the windows, there is an error information read:

Code: Select all

X Error of failed request: BadWindow (invalid Window parameter)
   Major opcode of failed request: 3 (X_GetWindowAttributes)
   Resource id in failed request: 0x2200001
Does it mean that it doesn't work on X11 EGL?

Thanks.