-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
pygame.error: No available video device #31
Comments
Original comment by René Dudfield (Bitbucket: illume, GitHub: illume):
I think maybe we should finally switch to windib being the default even on XP. We could try some complicated scheme to try to init the display with directx first in a separate process and if that fails we try windib... but I guess that might be failure prone too. |
Original comment by Lenard Lindstrom (Bitbucket: llindstrom, GitHub: llindstrom): The SDL Direct X driver is unreliable. 'windib' is the SDL default. How 'directx' behaves probably depends on which version of Direct X is installed. It would seem Microsoft has given up maintaining compatibility with Direct X 5. |
Original comment by Anonymous: Its a miracle! lol thanks illume for the code! I had issues getting my game working using the pygame library, and this fixed it! |
Original comment by Anonymous: **i was having the same problem too, can somebody help me out, i was working for a pygame project, a lil bit explanation for me to understand it well.. plzzzzz and thanks!! |
Original comment by Jason Marshall (Bitbucket: jmm0, GitHub: jmm0): I think it's time to make windib the default renderer for Windows XP. With that change, we'll be able to close this issue. In my opinion, the productivity losses due to directx renderer bugs outweigh the performance advantage of the directx renderer on some hardware. Complicated try-directx-except-windib logic would not be a good idea because sometimes after the directx renderer fails, only a system reboot can restore the PC to proper working order. This is how I think the renderer-choosing logic should work: Windows 95/98/Me without DirectX 5 or greater → windib Windows 95/98/Me with DirectX 5 or greater → directx Windows NT/2000/XP/Vista/7/8... → windib I'll implement the change if @illume doesn't object to my approach. |
Originally reported by: René Dudfield (Bitbucket: illume, GitHub: illume)
== , 2009-04-15 21:42:14 -0700
== illume, 2009-05-27 00:44:41 -0700
== Pygame XP, 2011-03-25 06:38:46 -0700
The text was updated successfully, but these errors were encountered: