[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] BUG: non-fullscreen display on Windows is not responding



My System
=========
OS: Windows XP
Video Card: Intel(R) 82845G/GL/GE/PE/GV Graphics
Controller
Drivers: DirectX 8.1 with Intel's geniuin driver.
PyGame Version: 1.7.1 (for python 2.4)

The problem
===========
The following code:

pygame.init()
s = pygame.display.set_mode( <whatever-size> )

creates a non-responding window!
(I can't draw into it, nor close it)

None of the pygame examples work, of course, nor any
other non-fullscreen pygame application.


Interesting Synopsis
====================

* when working in fullscreen, everything is fine.
* when I disable DirectDraw Acceleration, everything
is fine too.
* dosbox works fine in non-fullscreen mode. (therefore
I suspect pygame, and not SDL itself)


One Reasonable Fix
==================
Disable DirectDraw Acceleration for non-fullscreen
pygame application, and enable it in again to run
fullscreen applications.
For disabling DirectDraw:
Start -> Programs -> Accessories -> System Tools ->
System Information -> Tools -> DirectX Diagnostics
Tool -> Display -> DirectDraw Acceleration -> Disable.


Gal.




		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com