summaryrefslogtreecommitdiff
path: root/known-bugs.txt
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-03 21:57:21 +0000
committerrubidium <rubidium@openttd.org>2010-01-03 21:57:21 +0000
commite9325f69fbab16e4bee0dfba017babc4b691b470 (patch)
tree11eafdcee7a0370619201564f3bab3ede84d1674 /known-bugs.txt
parent1c1035c44c00d76bfe3b42e1f4761bcd4c8c20a1 (diff)
downloadopenttd-e9325f69fbab16e4bee0dfba017babc4b691b470.tar.xz
(svn r18705) -Update: the known bugs document about the PulseAudio issue based on mgmuscari's solution/workaround
Diffstat (limited to 'known-bugs.txt')
-rw-r--r--known-bugs.txt27
1 files changed, 22 insertions, 5 deletions
diff --git a/known-bugs.txt b/known-bugs.txt
index 6410b55bc..d06c2ee59 100644
--- a/known-bugs.txt
+++ b/known-bugs.txt
@@ -135,11 +135,28 @@ 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 setup seems to be the default configuration for
- Ubuntu 9.04 and later. For Ubuntu this issue can be solved by
- installing the 'libsdl1.2debian-pulseaudio' package from Ubuntu's
- Universe repository. For other distributions a similar package needs
- to be installed.
+ 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.
OpenTTD not properly resizing with SDL on X [FS#3305]
Under some X window managers OpenTTD's window does not properly