Frictional Games Forum (read-only)
Cannot get sound / audio to work - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: Cannot get sound / audio to work (/thread-4368.html)



Cannot get sound / audio to work - TennSeven - 09-15-2010

I am running Ubuntu 10.04 and I cannot get my audio to work (it works fine with anything else that I run). If I choose any sound device except "ALSA Software on Default," the game is completely silent. If I choose "ALSA Software on Default" I get a segmentation fault. My terminal looks like this when I run the Launcher:

Code:
Pre-Sort
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
geforce
mobile intel(r) series express chipset family
graphics media accelerator
radeon
radeon hd
amd
mesa
Post-Sort
mobile intel(r) series express chipset family
graphics media accelerator
quadro fx
geforce fx
geforce gt
geforce gts
geforce gt2s
geforce gtx
geforce xpress
radeon hd
geforce
radeon
amd
mesa
Segmentation fault

The only log file it outputs is "launcher.log" and it looks like this:

Code:
-------- THE HPL ENGINE LOG ------------
Engine build ID 20100904171654

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
  Available OpenAL devices:
   0. PulseAudio Software(OpenAL default)
   1. ALSA Software on default
   2. ALSA Software on HDA Intel [VT1708S Analog] (hw:0,0)
   3. ALSA Software on HDA Intel [VT1708S Digital] (hw:0,1)
   4. OSS Software
   5. PortAudio Software
  Trying to open device 'ALSA Software on default'... Success!
  Number of mono sources: 32
  Streaming setup: 2 Buffers x 524288 bytes each
--------------------------------------------------------

When I run other sound options the game will start with no sound, and the log files and terminal show no errors, except that the terminal says this:

Code:
X_ChangeProperty: BadValue (integer parameter out of range for operation) 0x0

I don't think this error has anything to do with the missing sound. I have basically the same issues whether I run the launcher or Amnesia.bin directly. I have searched the forum but have not really found anything that appears to be the same issue I am having. Anyone have any ideas?

-TennSeven


RE: Cannot get sound / audio to work - Urkle - 09-15-2010

The X_ChangeProperty can be ignored.. it's caused by the ATI drivers.. (I see that one myself on my ATI hd 3000)

Can you try using the provided openal library??

go into the game install directory and run this
Code:
ln -sf all/libopenal.so.1 libs