[fix] Sound issues on Ubuntu 9.10

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
User avatar
Fastdeath
Trained
Trained
Posts: 115
Joined: 16 Jan 2010, 08:52

[fix] Sound issues on Ubuntu 9.10

Post by Fastdeath » 28 Jan 2010, 16:58

I found a final fix for sound issues on Ubuntu 9.10, install the following packages:

32bit
libopenal1_1.11.753-0ubuntu1_i386.deb
libopenal-dev_1.11.753-0ubuntu1_i386.deb

64bit
libopenal1_1.11.753-0ubuntu1_amd64.deb
libopenal-dev_1.11.753-0ubuntu1_amd64.deb

Relogin/reboot after you have installed that packages.

Please report if this works for you!
Nightly builds available here see buildbot for more infos about them
Lobby Server: here and here
SharpFlame the new WZ Map Editor

Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: [fix] Sound issues on Ubuntu 9.10

Post by Safety0ff » 28 Jan 2010, 19:23

Update 2:So far so good with their lastest 1.12 source/release on Lucid Lynx!
Update:After further testing my issues are still there. :stare:

So far this has worked great! I definitely recommend linux users to update their openal-soft drivers!

Launchpad link which some people may prefer:
https://launchpad.net/ubuntu/+source/op ... ld/1453101

* Note, those are lucid debs, which I didn't notice until Fastdeath pointed it out, but they seem to work fine on Karmic *

Update: Yes, this doesn't completely fix things, but it greatly reduced the frequency that audio break's and reduces freezing on exit.

User avatar
Fastdeath
Trained
Trained
Posts: 115
Joined: 16 Jan 2010, 08:52

Re: [fix] Sound issues on Ubuntu 9.10

Post by Fastdeath » 11 Feb 2010, 00:01

Hmm i changed my alsoft.conf "/etc/openal/alsoft.conf"
line 71: "drivers = pulse"
Nightly builds available here see buildbot for more infos about them
Lobby Server: here and here
SharpFlame the new WZ Map Editor

User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: [fix] Sound issues on Ubuntu 9.10

Post by Berg » 11 Feb 2010, 03:25

Fastdeath
Please report if this works for you!
Report:-
It definitly worked for me.
End report.

User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: [fix] Sound issues on Ubuntu 9.10

Post by Buginator » 11 Feb 2010, 05:07

Dunno if this helps anyone, but I will throw it in this thread as well.

http://pulseaudio.org/wiki/PerfectSetup ... plications
Latest OpenAL Soft, an implementation of OpenAL, supports PulseAudio starting from release 1.8.466. By default OpenAL Soft will try first to open ALSA and OSS, so it will clash with the previous ALSA workaround. Instead OpenAL Soft should be configured to use PulseAudio via /etc/openal/alsoft.conf:

drivers = pulse

Or alternatively via the user-specific ~/.alsoftrc using a similar line.

For older OpenAL, editing ~/.openalrc to look like following seems to work nice:

(define devices '(sdl))

Or alternatively

(define devices '(alsa))
(define alsa-device "pulse")
and it ends here.

User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: [fix] Sound issues on Ubuntu 9.10

Post by Berg » 21 Feb 2010, 12:52

You might need to Put a short explanation on how to install them packages Fastdeath.

Could This thread be made sticky?

User avatar
Kreuvf
Global Moderator
Global Moderator
Posts: 254
Joined: 22 Sep 2006, 20:56
Contact:

Re: [fix] Sound issues on Ubuntu 9.10

Post by Kreuvf » 09 Apr 2010, 12:46

Fastdeath wrote:Please report if this works for you!
Is working here for 2.2.4 and trunk r10515.

EDIT: The snippet from the Pulseaudio guys Buginator pasted makes things worse: WZ hangs at start (only tested for trunk r10515 here without the other openal packages).

User avatar
sentinal
Greenhorn
Posts: 8
Joined: 15 Apr 2010, 19:08

Re: [fix] Sound issues on Ubuntu 9.10

Post by sentinal » 17 Apr 2010, 22:52

Had the same problem with sound issues - stuttering after about 15mins, especially when there is lots of activity on the screen, followed by massive slow downs.

Using PCLinuxOS 2010, which has openal 0.0.8 or some such horrible version out of the box.

Downloaded and compiled openal-soft-1.12.854, built this (no dramas compiling), and re-linked warzone2100 (rm src/warzone2100 && make && make install)

Tested it pretty thoroughly - creating hundreds of units, and let the enemy gather forces as well, then send everything in for a 2 hour long shoot em up fest. No sound issues at all - works great.

User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA
Contact:

Re: [fix] Sound issues on Ubuntu 9.10

Post by macuser » 17 Apr 2010, 23:10

Although this may sound strange, please post what graphics card you have :)

-regards macuser
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6

portaro
Greenhorn
Posts: 10
Joined: 08 Aug 2010, 20:42

Re: [fix] Sound issues on Ubuntu 9.10

Post by portaro » 14 Sep 2010, 01:56

I think this work but iḿ not stay with game many time in this days but i experiment the game and in the 5 minutes i was in game the sound not failed but comand line still says this
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)

thanks

User avatar
Fastdeath
Trained
Trained
Posts: 115
Joined: 16 Jan 2010, 08:52

Re: [fix] Sound issues on Ubuntu 9.10

Post by Fastdeath » 16 Sep 2010, 15:35

portaro wrote:I think this work but iḿ not stay with game many time in this days but i experiment the game and in the 5 minutes i was in game the sound not failed but comand line still says this
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
bt_audio_service_open: connect() failed: Ligação recusada (111)
thanks
If you can upgrade to Ubuntu 10.04 there all the issues are gone.
Nightly builds available here see buildbot for more infos about them
Lobby Server: here and here
SharpFlame the new WZ Map Editor

rimu
New user
Posts: 1
Joined: 24 Jan 2011, 03:46

Re: [fix] Sound issues on Ubuntu 9.10

Post by rimu » 24 Jan 2011, 03:47

/etc/openal/alsoft.conf changed to
drivers = oss,alsa,pulse

worked for me

Post Reply