Fedora 8 32 bit (Full update) sound problem.

Return to Installation

Fedora 8 32 bit (Full update) sound problem.

Postby edinbetancourt » Mon Mar 17, 2008 4:09 am

The sound on the desktop works perfectly.
Running an example shows the following error.

[edin@INTEL-E6850 Asteroids]$ python Tut-Asteroids.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
python: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Aborted
[edin@INTEL-E6850 Asteroids]$

Thanks.
edinbetancourt
 
Posts: 6
Joined: Tue Jan 08, 2008 5:14 am
Location: Venezuela

Postby Josh Yelon » Mon Mar 17, 2008 6:17 am

Tricky.

On linux, Panda3D's audio is a thin wrapper around a sound library called fmod. That error message isn't coming from inside Panda3D - it might be coming from fmod, or it might be coming from your sound driver.

So, you could probably spend hours trying to fix this, but I don't think it's worth the effort. Here's why. Fmod isn't free software anyway. I've been trying to phase out fmod and replace it entirely with OpenAL, which is free software. I have not been able to do that yet, since last time I checked about six months ago, OpenAL was too buggy under Linux. But the sense I got at the time was that the OpenAL developers were working very hard on the linux version. For all I know, they may have fixed OpenAL by now. What I need to do is try building Panda3D with the latest verson of OpenAL. This may simply cause your problem to disappear. So if I were you, I'd just wait for that.

As a stopgap until then, you can just disable audio. Do this by changing the line in the Panda3D config file that says 'fmod_audio' to 'null_audio'.
Josh Yelon, Teacher, Carnegie Mellon Entertainment Technology Center
Josh Yelon
 
Posts: 1360
Joined: Wed Mar 30, 2005 8:30 pm

Postby treeform » Mon Mar 17, 2008 8:33 am

I use openAL on my linux it appears fine. Although a bit slow.
User avatar
treeform
 
Posts: 2106
Joined: Sat May 05, 2007 5:15 pm
Location: SF, CA

Postby edinbetancourt » Sat Mar 22, 2008 11:25 pm

I disable the sound.

Thank you
edinbetancourt
 
Posts: 6
Joined: Tue Jan 08, 2008 5:14 am
Location: Venezuela


Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests