Author Topic: Error sound (Linux)  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

Offline pilotx

  • 22
In the game (FSPort 3.4 and  Freespace II - MediaVPs 3.6.12) when the big ships firing cannons and beams, I get the sound is interrupted.

I use a Linux (Debian) and the core of the game fs2_open_3.7.0, which is compiled successfully in my system. Sound settings in the system - the usual. Everything works, but in scenes with large ships with many shots I get
this (sound) error.

I reduced the video settings to the minimum, disabled 3D-sound settings, and more. But the error remains  :blah:

 

Offline LordMelvin

  • emacs ftw
  • 28
  • VI OR DEATH! DOWN WITH EMACS!
What version of OpenAL does your system use?

Can you produce debug information as described here
Error: ls.rnd.sig.txt not found

 

Offline pilotx

  • 22
Thank you for your response to my problem.

I successfully compiled SVN-snapshot (3.7.1) without any errors.  I used  "libopenal-dev 1.12.854-2" (from here: http://packages.debian.org/squeeze/libopenal-dev). OpenAL in system has same version - 1.12.854.
(Debug-Log I'll post a little later. I need time to recompile the binary.)

 

Offline pilotx

  • 22
You gave a good idea.

I started the game with the binaries 'fs2_open_3.7.1_DEBUG', after compiling with '. /autogen.sh --enable-debug'.
The log contains a lot of information about possible problems. Maybe I run the program on a slow computer, or anything else.

However, the sound system is all right:
Code: [Select]
Initializing OpenAL...                                                                               
  OpenAL Vendor     : OpenAL Community                                                               
  OpenAL Renderer   : OpenAL Soft                                                                   
  OpenAL Version    : 1.1 ALSOFT 1.12.854                                                           
                                                                                                     
  Found extension "AL_EXT_float32".                                                                 
  Found extension "ALC_EXT_EFX".                                                                     
                                                                                                     
  Sample rate: 44100 (44100)                                                                         
  EFX enabled: NO                                                                                   
  Playback device: PulseAudio Software                                                               
  Capture device: PulseAudio Capture                                                                 
... OpenAL successfully initialized!

 

Offline Fury

  • The Curmudgeon
  • 213
To me it seems as if the number of sounds FSO attempts to use concurrently is higher than what your system is capable of.

It's been really long time since I've seen what settings any of the FSO launchers have, but might there be any settings to limit number of concurrent sounds under Audio settings of whichever launcher you're using?

 

Offline niffiwan

  • 211
  • Eluder Class
What are the contents of these files on your system?

/etc/openal/alsoft.conf
~/.alsoftrc

In particular, what is the value assigned to "sources".  I've gone a little overboard and set mine to 256, but any value greater than or equal to 48 should be fine.
« Last Edit: November 18, 2013, 03:24:51 am by niffiwan »
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline pilotx

  • 22
Yes, the problem in the system settings.
I partially solved the problem by setting more "light" driver OSS in '~/.alsoftrc' ('/etc/openal/alsoft.conf'):
Code: [Select]
drivers = oss,pulse,alsa,solaris,dsound,winmm,port,waveInterrupt the sound was less. Now I will try, your suggestion with the other settings. Thank you very much for your advice.

upd: Yes. With a number of sources and the driver OSS - I have NO interrupt the sound! Great tnx!
« Last Edit: November 18, 2013, 03:01:41 am by pilotx »

  

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Sticky?