SetPixelFormat(57) failed after window create

hi,

i just installed panda3d and created my own game with two lines specified in manual.
the whole game is :
import direct.directbase.DirectStart
run()

when i ran it, i get the following error.

DirectStart: Starting the game.
Known pipe types:
wglGraphicsPipe
(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 “test.py”, line 1, in
import direct.directbase.DirectStart
File “D:\personel projects\game_development\Panda3D-1.6.1\direct\directbase\Di
rectStart.py”, line 4, in
ShowBase.ShowBase()
File “D:\personel projects\game_development\Panda3D-1.6.1\direct\showbase\Show
Base.py”, line 229, in init
self.openDefaultWindow(startDirect = False, props=props)
File “D:\personel projects\game_development\Panda3D-1.6.1\direct\showbase\Show
Base.py”, line 726, in openDefaultWindow
raise StandardError, ‘Could not open window.’
StandardError: Could not open window.

my graphics card is ati radion x800.

Can some one please help me to solve the problem?

thanks

found out the answer here.

discourse.panda3d.org/viewtopic … 6da04ffc5a

had to change panada to use directx8 instead of opengl.

thanks.