Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been trying to get sound working in Unreal Torunament for a couple of days now.

I'm using the native Unreal Tournament version, not wine or something like that. I have sound in all other games and media applications that I have tried.

In older ubuntu versions it worked fine. I'm now using kubuntu 12.04, I have all the alsa-oss and oss-compat packages installed.

I have followed most of the advice out there, and it all seems to fall on padsp and aoss.

My problem, however, is that even when trying to use padsp or aoss, I can't get any sound at all.

(Note UT has two output modes: ALAudio and Generic(OSS), I have tried both).

Is there some configuration required to use padsp or aoss correctly?

I have ran it like padsp ./ut and aoss ./ut

If using the AL backend in UT I get (both aoss and padsp give this):
Bound to ALAudio.so
open /dev/dsp: Invalid argument
Audio initialization failed.

If using the OSS backend in UT I get (both aoss and padsp give this):
Bound to Audio.so
Failed to open audio device.
Audio initialization failed.

Note that so far, I have gotten absolutely no sound.

Thanks for any help!

share|improve this question

1 Answer

up vote 0 down vote accepted

Ok, after trying and failing a lot I finally have sound in Unreal Tournament.

(Note, it also runs at the right speed, so no more problems!)

Heres (hopefully) the important things I did:

In ~/.loki/ut/System/UnrealTournament.ini :
;AudioDevice=ALAudio.ALAudioSubsystem
AudioDevice=Audio.GenericAudioSubsystem
( ; is comment, so basicaly use the GenericAudioSubsystem)

In UnrealTournament/bin/x86/ut (note this file should be where you installed UT), line 84 should read:
exec padsp "./ut-bin" -log $*

Thus running the executable with padsp, i have tried aoss here also, didnt work.

I think though, after several upgrades of my ubuntu install. That my sound setup have completely borked itself..

I followed this post: http://ubuntuforums.org/showpost.php?p=11576732&postcount=2 to delete all my pulseaduio configuration (or misconfiguration). So:
$ rm -r ~/.pulse ~/.asound* ~/.pulse-cookie
sudo rm /etc/asound.conf
(You could of course backup these files!)

In addition, I reinstalled the pulseaudio packages and removed the alsa-oss package. Note however that this was probably not required.

Hope this can help someone else!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.