run errors in windows xp - panda version 1.6.0

Microsoft Windows XP [Version 5.1.2600]
© Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Dad>cd C:\Panda3D-1.6.0\samples\Asteroids

C:\Panda3D-1.6.0\samples\Asteroids>C:\Panda3D-1.6.0\python\python.exe -E Tut-Ast
DirectStart: Starting the game.
Known pipe types:
(all display modules loaded.)
:display:wgldisplay(error): SetPixelFormat(57) failed after window create
:display(error): Window wouldn’t open; abandoning window.
:ShowBase(warning): Unable to open ‘onscreen’ window.
Traceback (most recent call last):
File “”, line 13, in
import direct.directbase.DirectStart
File “C:\Panda3D-1.6.0\direct\directbase\”, line 4, in
File “C:\Panda3D-1.6.0\direct\showbase\”, line 229, in init
self.openDefaultWindow(startDirect = False, props=props)
File “C:\Panda3D-1.6.0\direct\showbase\”, line 726, in openDefaultW
raise StandardError, ‘Could not open window.’
StandardError: Could not open window.


Thanks for any help - JV Gallagher

is your desktop set to 16bit color-depth? if so try to increase it if possible. otherwise try the DirectX instead of opengl for rendering.

Otherwise, try editing your Config.prc file and replacing the xxx-bits values to 1 instead of 16.