every time i try using dx9 it does not work.
it’s never done this before and for some reason i can’t figure it out normally i could fix these kind of errors, but i cant find the source this one.
C:\Documents and Settings\David>python C:\wwwroot\Panda3D-1.5.3\test\main.py
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
wdxGraphicsPipe9
(all display modules loaded.)
:display:wdxdisplay9(error): adapter #0 CheckDeviceType failed for surface fmt D
3DFMT_A8R8G8B8
:display:wdxdisplay9(error): adapter #0 CheckDeviceType failed for surface fmt D
3DFMT_A8R8G8B8
:display:wdxdisplay9(fatal): Can’t create any screen buffers, bailing out.
:display:wdxdisplay9(error): Unable to create window with specified parameters.
:display(error): Window wouldn’t open; abandoning window.
:ShowBasewarning: Unable to open ‘onscreen’ window.
Traceback (most recent call last):
File "C:\wwwroot\Panda
3D-1.5.3\test\main.py", line 1, in
import direct.directbase.DirectStart
File “C:\wwwroot\Panda3D-1.5.3\direct\src\directbase\DirectStart.py”, line 4,
in
ShowBase.ShowBase()
File “C:\wwwroot\Panda3D-1.5.3\direct\src\showbase\ShowBase.py”, line 241, in
init
self.openDefaultWindow(startDirect = False, props=props)
File “C:\wwwroot\Panda3D-1.5.3\direct\src\showbase\ShowBase.py”, line 706, in
openDefaultWindow
raise StandardError, ‘Could not open window.’
StandardError: Could not open window.
can anyone help me out?
drwr
October 23, 2008, 12:07am
#2
Check the “Color quality” Preferences settings on your desktop. Make sure you’re set to 32-bit color and not 16-bit color.
Also try rebooting the computer. Sometimes the driver gets its bloomers all in a knot.
David
omg, how did i miss that!?
I’ve never changed my settings
32bit 1280x1024 is always what I’ve used now I have to find out how they got changed. lol
anyway thanks that did it
Would this affect game play for the users of my games?
would they not be able to use 16 bit color with dx9?
drwr
October 23, 2008, 6:03am
#5
Yes, it’s a bug in Panda. It’s on our list.
David
rdb
October 23, 2008, 9:44am
#6
Hmm, isn’t this configurable in the Config.prc by setting the color-bits?
drwr
October 23, 2008, 4:10pm
#7
You’d think, wouldn’t you? But the bottom line is, our pandadx9 code is really lousy, and doesn’t do smart things like this.
David