kivy fatal error opengl как исправить

Comments

Gillu13 commented May 17, 2015

I am not sure if this is an issue that should be reported here but I am wondering if the error I encountered while trying to run the «Hello world» program on Mac OS X Yosemite is related to the recent shift to SDL2 or just to my poor installation (I don’t know something like OpenGL extension?).

Here is the error message I get:

Just so you know it seems that I am not the only one to have encountered the issue, even though we are not that many and it was before the 1,9 release. That’s why I am not sure if it is a bug or missing library on my computer or something like an incompatibility.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

The text was updated successfully, but these errors were encountered:

We are unable to convert the task to an issue at this time. Please try again.

The issue was successfully created but we are unable to update the comment at this time.

Alamot commented Aug 25, 2015

You have to test using HARDWARE renderer and not a software renderer! When I had only software renderer available kivy throwed this message you wrote.

tito commented Sep 20, 2015

Agreed to what @Alamot. There is nothing much we can do if you don’t have hardware acceleration, or at least one of the pixel format required for Kivy. This kind of error indicate your hardware is too old and can’t be used.

If you were in software rather than hardware, that might be your solution 🙂

Areopagitics commented Feb 2, 2018 •

I am getting the same error when running Mac OS on VirtualBox; I am guessing it has to do with missing OpenGL drivers as well. I tested the glview software recommended by Alamot and it works fine. I also tried running the Mac OS Vbox with 3D acceleration enabled, but no luck. Any help would be appreciated.

[INFO ] [Text ] Provider: sdl2
[CRITICAL] [App ] Unable to get a Window, abort.`

Источник

Kivy for python 3 detect OpenGL as 1.1 on windows 10/7 #5248

Comments

srudyanto commented Jun 29, 2017 •

Versions

Description

I try to running kivy for python 3 on windows 7 but get this error
Open GL detected as 1.1, actually using opengl viewer it is 3.1
This issue not found on kivy for python 2.7 for windows or kivy for python 3 for ubuntu

Code and Logs

The text was updated successfully, but these errors were encountered:

We are unable to convert the task to an issue at this time. Please try again.

The issue was successfully created but we are unable to update the comment at this time.

KeyWeeUsr commented Jun 29, 2017

What happens if you add this before the first line of your code?

srudyanto commented Jun 29, 2017 •

nothing happened.
(clock) D:\anaconda project\clock>Scripts\python main.py
[INFO ] [Logger ] Record log in C:\Users\Yen.kivy\logs\kivy_17-06-29_9.txt
[INFO ] [Kivy ] v1.10.1.dev0, git-a4116a5, 20170507
[INFO ] [Python ] v3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the «OpenGL» graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] No framebuffers extension is supported
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 1, 1
[CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found!

OpenGL version detected: 1.1

Version: b’1.1.0′
Vendor: b’Microsoft Corporation’
Renderer: b’GDI Generic’

Try upgrading your graphics drivers and/or your graphics hardware in case of problems.

The application will leave now.

srudyanto commented Jun 29, 2017

I just try in windows 7 32 bit with python 3.6. It’s worked

dessant commented Jun 29, 2017

Ah, Anaconda. There are a couple of issues opened for their Python distribution not always working with Kivy.

srudyanto commented Jun 29, 2017

I just fresh install python 3.6 and the problem still remain.

(hello) D:\anaconda project\hello>Scripts\python main.py
[INFO ] [Logger ] Record log in C:\Users\Yen.kivy\logs\kivy_17-06-29_10.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the «OpenGL» graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] No framebuffers extension is supported
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 1, 1
[CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found!

OpenGL version detected: 1.1

Version: b’1.1.0′
Vendor: b’Microsoft Corporation’
Renderer: b’GDI Generic’

Try upgrading your graphics drivers and/or your graphics hardware in case of problems.

The application will leave now.

dessant commented Jun 29, 2017

Anaconda crashes regardless of the Windows/Python bitness combination, while the official Python distribution only has issues when the 32 bit version is executed on a 64 bit Windows?

srudyanto commented Jun 29, 2017

at the last attempt, I use python36 not anaconda bundle, and the problem still there

srudyanto commented Jun 29, 2017

Please accept my apologize, my mistake to download wrong version of python 36. This is the correct one and the problem still there.

(hello) D:\anaconda project\hello>scripts\python main.py
[INFO ] [Logger ] Record log in C:\Users\Yen.kivy\logs\kivy_17-06-29_14.txt
[INFO ] [Kivy ] v1.10.0
[INFO ] [Python ] v3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [OSC ] using for socket
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the «OpenGL» graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] No framebuffers extension is supported
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version
[INFO ] [GL ] OpenGL vendor
[INFO ] [GL ] OpenGL renderer
[INFO ] [GL ] OpenGL parsed version: 1, 1
[CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found!

OpenGL version detected: 1.1

Version: b’1.1.0′
Vendor: b’Microsoft Corporation’
Renderer: b’GDI Generic’

Try upgrading your graphics drivers and/or your graphics hardware in case of problems.

The application will leave now.

srudyanto commented Jun 29, 2017

Somehow after reinstall python and using SET KIVY_GL_BACKEND=angle_sdl2 (I also used this method before and failed). Finally it’s working. Thanks everyone for the support.
Case Closed

KeyWeeUsr commented Jun 29, 2017 •

@srudyanto I see (hello) D:\anaconda project\hello>scripts\python main.py like in virtualenv. Before I only thought that’s some kind of mistake, but now. try to install kivy normally, without virtualenv and run it normally (without angle, don’t even install it for this test). I think it might be just an issue with the virtualenv and anaconda/virtualenv somehow removed the openGL libs from the path for you which resulted in this OpenGL 1.1 error.

What you may try with the current distribution before trying a non-virtualenv one is this:

if there’s no C:\Windows\System32 (that’s where the `opengl32.dll» and other important libs are) in there, do this:

if there is that path, do this:

to show all env vars and look if anaconda doesn’t use some special path for its libs. Then just run it.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *