Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2751  / 2 Years ago, sat, august 27, 2022, 4:57:25

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!


More From » 12.04

 Answers
6

Ok, after trying and failing a lot I finally have sound in Unreal Tournament. It also runs at the right speed, so no more problems! Here are the important things I did:



In ~/.loki/ut/System/UnrealTournament.ini :



;AudioDevice=ALAudio.ALAudioSubsystem
AudioDevice=Audio.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, didn't work.






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



I followed this Ubuntu Forums post to delete all my pulseaduio configuration (or misconfiguration):



$ rm -r ~/.pulse ~/.asound* ~/.pulse-cookie
sudo rm /etc/asound.conf


You should probably make a backup of these files before attacking them. 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!


[#35337] Sunday, August 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pilun

Total Points: 270
Total Questions: 100
Total Answers: 94

Location: England
Member since Sat, Feb 13, 2021
3 Years ago
;