I finally got it compiled and installed on my Fedora 9 box. However I’m getting errors I didn’t see in ubuntu as well as horrible performance.
Here is the output. All apps are running very very slow and laggy:
[nmcbride@localhost Roaming-Ralph]$ python Tut-Roaming-Ralph.py
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:audio(error): OpenALAudioManager: alcOpenDevice(NULL): ALC couldn’t open device
:audio(error): OpenALAudioManager: No open device or context
:audio(error): OpenALAudioManager: alcOpenDevice(NULL): ALC couldn’t open device
:audio(error): OpenALAudioManager: No open device or context
:util(warning): Adjusting global clock’s real time by 0.650505 seconds.
:util(warning): Adjusting global clock’s real time by -12.7837 seconds.
do_wait: drmWaitVBlank returned -1, IRQs don’t seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
:08-03-2008 12:19:36 TaskManager(warning): task igLoop ran for 3.01 seconds
:08-03-2008 12:19:39 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:42 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:46 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:49 TaskManager(warning): task igLoop ran for 3.04 seconds
:08-03-2008 12:19:52 TaskManager(warning): task igLoop ran for 3.02 seconds
:08-03-2008 12:19:55 TaskManager(warning): task igLoop ran for 3.02 seconds
You’re probably running in software mode. On a bare Linux installation, you’re almost always set up to run OpenGL in software mode, which works but is really slow for all but the simplest scenes.
You’ll have to go find the hardware-accelerated driver appropriate to your graphics card and install it. Go to nvidia.com or amd.com or intel.com or whatever, according to your graphics card manufacturer. They should have a driver for you there. Follow the instructions to install it carefully.
Direct rendering has nothing to do with hardware rendering. And even an integrated graphics card will require a specialized driver to access the 3-D hardware.
It’s possible that Ubuntu installs the appropriate driver for you by default, while Fedora does not. Each distro has a different philosophy about installing third-party drivers.
I’m afraid I can’t help you much with this error, but I can help you actually with your audio errors. You’re running Panda3D with OpenAL, but the OpenAL support for Panda3D is not yet stable. You better use FMOD. You can switch by editing your /etc/Config.prc in a text editor, and search for the line “audio-library-name”. Change the value behind it to p3fmod_audio.
OK, from the output, I can see that you are indeed running the appropriate hardware driver. As to why you’re getting poor performance, then, it’s hard to guess. Maybe it has something to do with this:
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.
That message isn’t generated by Panda; it must be coming from your graphics driver. I’ve never seen anything like it before. It suggests you should try adjusting vblank_mode, though, which means you should try putting:
sync-video 0
in your Config.prc file.
I don’t know about your audio issues, though. Maybe there are permissions issues on your audio hardware, or maybe there is another application running that’s keeping the hardware locked? Try shutting down any other audio applications. Or maybe you can enable software multiplexing in your system audio settings?