-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Kivy for python 3 detect OpenGL as 1.1 on windows 10/7 #5248
Comments
What happens if you add this before the first line of your code? from kivy import Config
Config.set('graphics', 'multisamples', '0') |
nothing happened. OpenGL version detected: 1.1 Version: b'1.1.0' Try upgrading your graphics drivers and/or your graphics hardware in case of problems. The application will leave now. |
I just try in windows 7 32 bit with python 3.6. It's worked |
Ah, Anaconda. There are a couple of issues opened for their Python distribution not always working with Kivy. |
I just fresh install python 3.6 and the problem still remain. (hello) D:\anaconda project\hello>Scripts\python main.py OpenGL version detected: 1.1 Version: b'1.1.0' Try upgrading your graphics drivers and/or your graphics hardware in case of problems. The application will leave now. |
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? |
at the last attempt, I use python36 not anaconda bundle, and the problem still there |
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 OpenGL version detected: 1.1 Version: b'1.1.0' Try upgrading your graphics drivers and/or your graphics hardware in case of problems. The application will leave now. |
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. |
@srudyanto I see What you may try with the current distribution before trying a non-virtualenv one is this:
if there's no
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. |
Angle backend for py3.5+. In the command line, I make this:
And change multisamples key value in config file (%HOMEPATH%.kivy\config.ini for me) from multisamples = 2 to multisamples = 0. It works perfectly on windows 10. |
I had the same problem and solved it by running this in the cmd - pip install kivy.deps.angle && set KIVY_GL_BACKEND=angle_sdl2 |
I am windows 10 user having opengl above 2.0 and face same problem and resolve it using help from ---- [link] (https://stackoverflow.com/questions/34969990/kivy-does-not-detect-opengl-2-0)
|
Thank you, Ruithlzz09. It also works on Windows 10 in combination with opengl 1.1 ! |
WARNING: after you executed pip install kivy.deps.angle and you added the KIVY_GL_BACKEND environment variable as described above by Ruithlzz09, you must restart Pycharm in order for the solution to work ! |
but isn't this a temporary solution, just for our system. what if this happens with the customer's pc? customer is not gonna go through the trouble of doing this much of settings. so is there any permanent solution? like adding new opengl libraries with the bundled files of our app or something like that? |
@thunderking2111 |
Hi! |
oh. hi. sorry for long respond (4 days). umm maybe this is bad news. the bad news is i dont use kivy and python for coding. (i just bored and wanted try coding python). the great news i just make own custom linux os (hehe) |
@TukangM Ahoy! |
Probally you dont see anything(only dark) because you dont writted nothing else |
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: