Monday, 15 September 2014

python - Kivy OpenGL requirements feasible for deployment? -



python - Kivy OpenGL requirements feasible for deployment? -

i'm in process of finding nice gui framework new project - , kivy looks quite good.

there many questions here (like this one) kivy requiring opengl >2.0 (not accepting 1.4) , problems arising that. understood, it's graphics drivers thing provide decent opengl version.

i'm concerned problems i'll have deploying app users having configuration, not willing or able have opengl >2.0 on desktop.

first off, deploying on windows in regard opengl not problem.. back upwards there.

but i'm specifially concerned people (like me) having ubuntu installation (14.4 lts) latest nvidia binary driver ubuntu. it's best driver currently, having best performance (still far superior nouveau imho)..

and seems (or wrong? great) driver provides opengl 1.4

name of display: :0 display: :0 screen: 0 direct rendering: yes server glx vendor string: nvidia corporation server glx version string: 1.4 server glx extensions: [...]

so question two-fold

i'm maybe wrong nvidia binary driver supporting opengl 1.4? if yes, doesn't exclude many users having quite mutual configuration (all ubuntu users using nvidia cards) people able utilize kivy application? way circumvent that?

i know opengl 1.4 silly old stuff, driver current , hardware (gtx 770, quite beast..)..

installed driver:

root@host:/home/user# apt-cache policy nvidia-331-updates nvidia-331-updates: installed: 331.38-0ubuntu7 candidate: 331.38-0ubuntu7 version table:

nvidia information:

version: 331.38 release date: 2014.1.13

i hope i'm wrong..

edit there has been said 1.4 glx version, not opengl version.. i've seen - thought it's 1.4 because when seek execute illustration dist, error:

vagrant@ubuntu-14:/usr/local/share/kivy-examples/guide/firstwidget$ python 1_skeleton.py [warning] [config ] older configuration version detected (0 instead of 10) [warning] [config ] upgrading configuration in progress. [info ] [logger ] record log in /home/vagrant/.kivy/logs/kivy_14-06-28_0.txt [info ] kivy v1.8.1-dev [info ] [python ] v2.7.6 (default, mar 22 2014, 22:59:56) [gcc 4.8.2] [info ] [factory ] 169 symbols loaded [info ] [image ] providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored) [info ] [window ] provider: pygame(['window_egl_rpi'] ignored) libgl error: failed load driver: swrast [info ] [gl ] opengl version <1.4 (2.1.2 nvidia 331.38)> [info ] [gl ] opengl vendor <nvidia corporation> [info ] [gl ] opengl renderer <geforce gtx 770/pcie/sse2> [info ] [gl ] opengl parsed version: 1, 4 [critical] [gl ] minimum required opengl version (2.0) not found! opengl version detected: 1.4 version: 1.4 (2.1.2 nvidia 331.38) vendor: nvidia corporation renderer: geforce gtx 770/pcie/sse2 seek upgrading graphics drivers and/or graphics hardware in case of problems.

so parses opengl version 1.4..

edit 2: i'm running kivy github (master branch) of today (28th june), should new ;-)

that's not opengl version! it's glx version. afaik glx 1.4 latest release. can utilize glxinfo command check version numbers. on machine get:

$glxinfo | grep 'glx version' glx version: 1.4 $glxinfo | grep opengl opengl vendor string: intel open source technology center opengl renderer string: mesa dri intel(r) ironlake mobile opengl version string: 2.1 mesa 10.1.3 opengl shading language version string: 1.20 opengl extensions:

see how can check opengl version? farther details.

summary: don't have worry opengl 2.0 compatibility. every device has back upwards opengl 2.0 nowadays. example, 0.1% of android devices supports opengl version 1.1.

python opengl ubuntu nvidia kivy

No comments:

Post a Comment