Audio in Linux, no not again!

Just when you thought it was safe to go back into Linux… :eek:

By following the instructions here, http://blenderartists.org/forum/showthread.php?t=84887 I had sound running on Ubuntu Dapper Drake (though it was very jumpy) .

Recently I tried OpenSUSE 10.2 and Fedora Core5. Sound didn’t work on either of these distros. Even on Ubuntu Edgy Eft which I’m running now, I havn’t had any success despite recompiling the audio as recommended in the above mentioned thread.

It seems the audio issue is across the board with all major Linux distributions, which makes me very confused. Is it a Linux problem? or a Blender problem? is it a problem at all?

I’d really like to make a full transition to Linux and open-source, but sound is very important to me. I don’t know how to post a bug, and I’ve had a look at the bug reports page. It’s all spaghetti to me :confused:

Do I have to go crawling back to Windows? :frowning:

I’ve never heard a single beep from Blender. This really is a bad issue.

Maybe we should gather all Linux and Blender related audio problems in one thread. If it is ok with Seabee, I would like to suggest that Linux people could post their experiments here.

  • what distro?
  • does sound work for you?
  • what did you do to enable it?
  • any additional information?

Maybe then we could figured out what the problem reallly is and how can we solve it.

Here’s my information:

  • Ubuntu edgy Eft
  • sound in general works but no sound in Blender:
    Couldn’t open audio: No available audio device

I tried compiling sdl like NEON suggested but that did not work for me.

EDIT:
I just got that beep!

export SDL_AUDIODRIVER=esd

That gave me a (really crappy) sound on sequence editor. But now I don’t know if compiling libsdl had anything to do with it…

btw. I’m using latest CVS-blender.

I just got audio. I did the following. I downloaded libsdl1.2debian-all as suggested in this thread. Then I did the following to start Blender,

export SDL_AUDIODRIVER=esd

export AUDIODEV=default

blender -w

I have audio in Edgy Eft, and it’s very smooth. I also recompiled SDL as outlined here . I don’t know what exactly has done it, but anyway it’s back in action.

If anyone knows how I can set up my system so that I don’t have to execute the above code each time I start blender, please let me know. Until then, thanks!

it’s stopped again… I wasn’t dreaming I promise.

If anyone knows how I can set up my system so that I don’t have to execute the above code each time I start blender, please let me know. Until then, thanks!

Make a text file and copy following content there:


#!/bin/bash
export SDL_AUDIODRIVER=esd
export AUDIODEV=default
blender -w

Then save it as a blender.sh (for example). Then you you must make it executable:

chmod u+x blender.sh

You can then run it like this: ./blender.sh

Awesome! thanks Ubuntuist. I have sound back once again. No idea why it stopped before. Fingers crossed…

I got this thread from a serch, b/c i’m having the same problem in feisty. It worked when I recompiled the library, but only once, and I can’t get it back. I tried the bash script and disabling game sound, and reloading the audio clip (both HD and RAM) but no luck. If anybody else runs into this problem, let me know if you have an answer

thanks
-dma88

my sound dusent work ether, ubuntu feisty fawn, sound works with everything else tho

Sound in Blender Video Sequence Editor now working. I am running Debian on an Intel 64. Sound did not work in the VSE. Using Synaptic package manager I installed libsdl1.2debian-all. This required the removal of libsdl1.2debian-alsa. (the ‘all’ version included alsa sound drivers) I hope this is helpful to anyone in a similar situation.
Ryan