Installtion issue for Panda3D 1.1.0 on Win XP

Hello

I have installed Panda3D 1.1.0, but it is not possible to run tutorials, Panda Greeting

Card, and pview.

More usefull info:

1 - System specifications:

  • Win XP SP 2
  • OpenGL installed
  • 256MB physical memory
  • NVIDIA graphics card with 16MB memory.

2 - If I run pview from the XP’s command line (cmd), another black screen appears and

closes instantly. In the cmd window the following lines have been written.
D:\Panda3D110\etc>pview
Known pipe types:
wglGraphicsPipe
(3 aux display modules not yet loaded.)
:display:wgldisplay(error): Could not get any OpenGL pixel format.
:framework(fatal): open_window: failed to create gsg object!
:framework(error): Unable to create window.
:display:wdxdisplay8(warning): presentation_params->BackBufferWidth : 800
:display:wdxdisplay8(warning): presentation_params->BackBufferHeight : 600
:display:wdxdisplay8(warning): presentation_params->BackBufferFormat : 22
:display:wdxdisplay8(warning): presentation_params->BackBufferCount : 1
:display:wdxdisplay8(warning): D3D CreateDevice failed for device #0 at (c:\temp
\mkpr\panda3d-1.1.0\panda\src\dxgsg8\wdxGraphicsWindow8.cxx:653), hr=D3DERR_INVA
LIDCALL: Invalid call
:display:wdxdisplay8(warning): presentation_params->BackBufferWidth : 640
:display:wdxdisplay8(warning): presentation_params->BackBufferHeight : 480
:display:wdxdisplay8(warning): presentation_params->BackBufferFormat : 22
:display:wdxdisplay8(warning): presentation_params->BackBufferCount : 1
:display:wdxdisplay8(warning): D3D CreateDevice failed for device #0 at (c:\temp
\mkpr\panda3d-1.1.0\panda\src\dxgsg8\wdxGraphicsWindow8.cxx:653), hr=D3DERR_INVA
LIDCALL: Invalid call
:display:wdxdisplay8(fatal): Can’t create any screen buffers, bailing out.
:display:wdxdisplay8(error): fatal: must be trying to create two fullscreen wind
ows: not supported
:framework(error): Unable to create window.

3 - For the Panda Greeting Card, there is simlar error messages.

4 - There is no difference even if I change the config file to use DirectX8.

5 - There is not any ‘environmental variable’ related to Panda after installing it.

6 - I have run another OpenGL application successfully on the system.

What is wrong? What can I do to make this installation of Panda working?
I am not a new programmer but new to Panda.

Thanks

Wild guess: Shader support. Take a look at this thread with the following quote:

Even the basic shaders should not work on your card, I’d guess.

It’s not about shaders. The important error message is this one, the first one:

":display:wgldisplay(error): Could not get any OpenGL pixel format. "

It tells us that panda could not create an hardware-accelerated OpenGL window. Panda3d can use software rendering, but it is currently configured not to do so. It’s easy enough to enable software rendering, but it’s probably better to install the drivers.

He says he has OpenGL installed, but I’m not entirely convinced. I’d like to see him try installing the nvidia drivers and try again.

Please note that even if I modify the config file of Panda3D to use DirectX8 instead of OpenGL, I cannot run tutorials and Greeting Card.

That is: no difference between DirectX & OpenGL! The same error message appears in both cases.

If hardware accelerationm is missing for OpenGL, it will most likely also be missing for DirectX…

Well, go ahead and enable software rendering. Look for the word “hardware” in the config file, and add the word “software” right after hardware.

But if that makes it work, it means the drivers aren’t installed right.

After changing this line of Config.prc:
framebuffer-mode rgba double-buffer depth hardware
to this:
framebuffer-mode rgba double-buffer depth software
the pview and tutorials could not be run yet.

A few tests show that Panda3D is reading ALL of the .prc files within the etc folder !!!

That is, Panda3D not only reads the Config.prc and Confauto.prc files but also it reads the ‘Copy of Config.prc’ that I created to save original state of Config.prc.

So if I change the Config.prc, it will not solve my problem.
After removing ‘Copy of Config.prc’ from etc folder, pview and Panda Greeting Card could be run.

Also I downloaded and installed a new version of NVIDIA driver pack. With the original copy of Config.prc, the tutorials are running faster.

Unfortunately 4 of the tutorials could not be run:

  • The Glow Demo & Normal Map Demo tell me that the video driver does not support shaders.
  • The Picking & Music Box close immediately after starting them.

In all of the tutorials, CPU usage is always on 100%.

Thank All

The Glow Demo & Normal Map Demo tell me that the video driver does not support shaders.

That’s probably correct, if it’s a GeForce 4 or less.

The Picking & Music Box close immediately after starting them.

That sounds like a bug.

In all of the tutorials, CPU usage is always on 100%.

That’s normal. It’s possible to tell Panda to use less CPU time, but of course, if you do that, the framerate goes down.

  • Josh

Sorry, but I don’t know of any 16 MB graphics board that knows anything about shaders. Even some 128 MB cards like my previous GF4 only have a limited instruction set for that. Full shader support is only provided by DX9-compliant cards.