On Mon, May 11, 2009 at 11:25 AM, Adam Li <
adamli@xxxxxxxxxxxxxx <mailto:
adamli@xxxxxxxxxxxxxx>> wrote:
Hi Rene,
Thanks for your reply. The little Atom board (it is a custom-built
board) is running standard Windows XP.
pygame.display.list_modes() returns:
[(1280, 1024), (1280, 1024), (1280, 960), (1280, 768), (1280,
720), (1152, 864), (1024, 768), (960, 540), (800, 600), (800,
480), (720, 480), (640, 480)]
The LCD is 1280x1024. I have tried to call set_mode with (0, 0),
(1280, 1024), and (640, 480) and all getting the same problem.
On a plus note, after a lot of tried this afternoon, I was able to
get it to work by shuffling the order of the initialization code
between pygame and other modules I am loading. So maybe the
problem is with the conflicting access to resources, or something.
I am using pygame, PIL, and a webcam module called VideoCapture.
Hope it helps.
Thanks,
Adam
René Dudfield wrote:
hi,
definitely sounds like a bug... but most likely in the X.
Have you used list_modes first?
http://www.pygame.org/docs/ref/display.html#pygame.display.list_modes
What does your little computer say are available?
cu,
On Mon, May 11, 2009 at 8:47 AM, Adam Li
<
adamli@xxxxxxxxxxxxxx <mailto:
adamli@xxxxxxxxxxxxxx>