audio problem with version 1.3.1 in Kubuntu Edgy

Hi,

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?

Thanks in advance.

Not sure. Do any of your other programs produce sound?

Yes, Amarok and Kaffeine are working fine; i haven’t tested any other program as of now (i installed the system last Tuesday).

That’s tricky. We use fmod for audio, but we didn’t write fmod. If it’s not working, I’m not sure what to do.

I’ll look at the code in greater detail when I get back from thanksgiving break.

  • Josh

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:

: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

On the other side, doing “ls /usr/local/lib/libfmo*”, i see this:

/usr/local/lib/libfmodexp.so /usr/local/lib/libfmodex.so
/usr/local/lib/libfmodexp.so.4.04.30 /usr/local/lib/libfmodex.so.4.04.30

If i can help you with any other info when you return from the thanksgiving break, let me know. And thanks anyway. :slight_smile:

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.

That’s funny, I thought that bug was supposed to be fixed in 1.3.1

  • Josh

I first installed 1.3.0 and then 1.3.1 using the FC6 rpms. I will try completely removing panda3d and then installing 1.3.1.

Nope, did not work. So that bug is still there :confused:

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.

Hope this helps :slight_smile:

Regards, Bigfoot29

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.

:slight_smile: Ok! No real hurry from my side.

Okay. These days i’m a little busy, but i wil try it when possible.

yeh… no hurry :slight_smile:
Just wanted to chip in my 2 (euro)cents… :wink:

Regards, Bigfoot29

Edit: a PS here was wrong - removed it :slight_smile: