I have installed panda3d on Kubuntu 6.10 using the panda3d_1.3.1-ubuntudapper_i386.deb package. When i run the GreetingCard demo, i’m obtaining this output:
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
libGL warning: 3D driver claims to not support visual 0x5b
:audio(error): FMOD Error: Error initializing output device.
:audio(error): FMOD Error: Error initializing output device.
:util(warning): Adjusting global clock’s real time by 1.88781 seconds.
:pgraph(warning): Using deprecated LightAttrib interface.
:pgraph(warning): Using deprecated LightAttrib interface.
:util(warning): Adjusting global clock’s real time by -2.43937 seconds.
although the animation can be seen, the audio isn’t working, as can be seen in the output. I have compiled panda3d from sources too (by the way, you have to use a --version 1.3.1 option with makepanda or it complains when running the demos, and the help info about the --v1 --v2 and --v3 options is somewhat misleading) and the same thing happens.
I have tried to install the latest version from here: fmod.org/ , but i have still the same issue.
Any idea of how can this be solved? There are alternatives to the FMOD library that can be set in the Config.prc file? Am i missing something?
Yes, i suppose it’s difficult to know what is failing… i’m fearing i could be doing wrong something very basic, but i don’t know how panda3d is built. I have done a test setting the “debug” level in the notify options in the Config.prc corresponding to the compiled version, and doing a ‘grep “audio”’ over the error output, this is what can be seen:
I also have a similar problem with sound in the latest version of panda3d (I did not install fmod myself; my OS is Fedora Core 6 and otherwise I seem to have no sound trouble). However, in my case panda can create the first AudioManager (the one for sound fx), but not the one for music. So in the sound tutorial I do hear the opening and closing of the box, but not the music.
Doing a a grep audio on the debug output gives:
:interrogatedb(debug): Got interrogate data for module libaudio
:audio(debug): create_AudioManager()
audio_library_name=“fmod_audio”
:audio(debug): dl_name=“libfmod_audio.so”
:audio(debug): create_AudioManager()
audio_library_name=“fmod_audio”
:audio(error): FMOD Error: Error initializing output device.
:audio(debug): create_NullAudioManger()
:audio: NullAudioManager
I am not sure if our problems are related and sadly also don’t know a remedy.
I second that… Ubuntu Edgy Eft with Panda 1.3.1 gives another error this time - but still no sound…
ppython Tut-Music-Box.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:audio(error): FMOD Error: Error initializing output device.
:util(warning): Adjusting global clock's real time by 1.32379 seconds.
:util(warning): Adjusting global clock's real time by -0.723241 seconds.
:audio(error): FMOD Error: The specified channel has been reused to play another sound.
Andreas: I think that your problem goes beyond panda. Try installing the fmod sample programs, and see if you can get any of them to work.
Bigfoot and Laurens: you guys have an easy problem. In panda3d 1.3.1, I thought I released David’s fmod fixes, but I didn’t. Duh. I’ll release them in 1.3.2, very soon.