Panda doesn't work.. display:x11display(error).. help?

Hi everyone,

I just installed Panda3D on my Archlinux system. Everything went smooth during the install.

I now downloaded the examples and tried using some of them… unfortunately, looks like there are some problems… if I run one example I get:

[fabio@gamma Media-Player]$ python2 Tut-Media-Player.py 2>&1 | more
DirectStart: Starting the game.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 back_buffers=1 force_hardware=1 
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
[swscaler @ 0x1ba3a40] No accelerated colorspace conversion found from yuv420p to bgr24.
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)

[/code]

And I only see a black window. What should I do?

Thanks,

Fabio Varesano

Are you sure you’ve installed graphics drivers for your hardware? You’re not running over a remote session, are you?

David

I should have.

glxinfo sprunge.us/WgfP

[fabio@gamma soya]$ glxheads
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
glxheads xdisplayname …
Example:
glxheads :0 mars:0 venus:1
Name: :0
Display: 0x16c0010
Window: 0x6400002
Context: 0x16cf400
GL_VERSION: 2.1 Mesa 7.10.2
GL_VENDOR: X.Org R300 Project
GL_RENDERER: Gallium 0.4 on ATI RV530

Let me know how to better verify…

both glxhead and glxgears run fine. I’m also using Soya3D without problems.

Do all of the examples fail in this way, or only some of them? The error message about swscaler appears to be an ffmpeg-related issue, and most of the samples don’t use ffmpeg. However, the BadDrawable error is something different, but maybe it’s triggered by the ffmpeg issue?

David

It doesn’t look so. All the examples fails the same way. See below.

[fabio@gamma Texture-Swapping]$ python2 Tut-Texture-Swapping.py 2>&1 | more
DirectStart: Starting the game.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 back_buffers=1 force_hardware=1 
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
[fabio@gamma Fireflies]$ python2 Tut-Fireflies.py 2>&1 | more
DirectStart: Starting the game.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 back_buffers=1 force_hardware=1 
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
[fabio@gamma Cartoon-Shader]$ python2 Tut-Cartoon-Basic.py 2>&1 | more
DirectStart: Starting the game.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): No suitable FBConfig contexts available; using XVisual only.
depth_bits=24 color_bits=24 alpha_bits=8 back_buffers=1 force_hardware=1 
AL lib: pulseaudio.c:612: Context did not connect: Connection refused
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)
:display:x11display(error): BadDrawable (invalid Pixmap or Window parameter)

Could you try installing different or newer drivers for your video card?

I’m running an updated version of Archlinux… this means that I’m already using the most updated stable version of my drivers.

My xorg.conf looks like sprunge.us/iZbN