[Ubuntu 9.10]futex_queue_wait_me

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
keuvie
Engineer
Engineer
Posts: 37
Joined: 01 Oct 2004 14:38
Location: Wijchen, The Netherlands

[Ubuntu 9.10]futex_queue_wait_me

Post by keuvie »

When I want to close Openttd, it keeps the openttd window open(but frozen). I have end the process by clicking End Process.

I don't know how the debugging works. So if anyone could help me, that would be great!

Edit: I'm using Openttd 1.0 beta3
Attachments
A print-screen
A print-screen
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: [Ubuntu 9.10]futex_queue_wait_me

Post by petert »

See known-bugs.txt, specifically line 135:
http://vcs.openttd.org/svn/browser/trunk/known-bugs.txt#L135 wrote: Extreme CPU usage/hangs when using SDL and PulseAudio [FS#3294]
OpenTTD can be extremely slow/use a lot of CPU when the sound is
played via SDL and then through PulseAudio's ALSA wrapper. Under the
same configuration OpenTTD, or rather SDL, might hang when exiting
the game. This problem is seen most in Ubuntu 9.04 and higher.

This is because recent versions of the PulseAudio sound server are
configured to use timer-based audio scheduling rather than
interrupt-based audio scheduling. Configuring PulseAudio to force
use of interrupt-based scheduling may resolve sound problems for
some users. Under recent versions of Ubuntu Linux (9.04 and higher)
this can be accomplished by changing the following line in the
/etc/pulsa/default.pa file:
load-module module-udev-detect
to
load-module module-udev-detect tsched=0
Note that PulseAudio must be restarted for changes to take effect.
Older versions of PulseAudio may use the module-hal-detect module
instead. Adding tsched=0 to the end of that line will have a similar
effect.

Another possible solution is selecting the "pulse" backend of SDL
by either using "SDL_AUDIODRIVER=pulse openttd" at the command
prompt or installing the 'libsdl1.2debian-pulseaudio' package from
Ubuntu's Universe repository. For other distributions a similar
package needs to be installed.
keuvie
Engineer
Engineer
Posts: 37
Joined: 01 Oct 2004 14:38
Location: Wijchen, The Netherlands

Re: [Ubuntu 9.10]futex_queue_wait_me

Post by keuvie »

Thank you for the fast reply, I couldn't find anything with the search and nothing with google.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: [Ubuntu 9.10]futex_queue_wait_me

Post by petert »

So, does that solve the problem if you install "libsdl1.2debian-pulseaudio"?
keuvie
Engineer
Engineer
Posts: 37
Joined: 01 Oct 2004 14:38
Location: Wijchen, The Netherlands

Re: [Ubuntu 9.10]futex_queue_wait_me

Post by keuvie »

Yes this worked for my pc, later today i'm giving my laptop a try and will give a shout here if it works (or not).

Thanks Petert
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 18 guests