I just bought a game called Limbo in Humble Bundle V. The site says that all games are cross-platform but in my computer the game has no sound. I've searched in google and looked in the official FAQ, but none of them helped me.
How can I fix this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI just bought a game called Limbo in Humble Bundle V. The site says that all games are cross-platform but in my computer the game has no sound. I've searched in google and looked in the official FAQ, but none of them helped me.
How can I fix this?
I got sound working after killing pulse audio. You'll have to get rid of the autospawn feature though.
See : http://forum.winehq.org/viewtopic.php?t=1457&sid=b61a832efcbda1807f7d3791e7a46a67
Summary:
sudo nano /etc/pulse/client.conf
(Or use editor of choice instead of nano
.)
Uncomment and change the autospawn line as follows:
; autospawn = yes
autospawn = no
Otherwise pulseaudio will always restart.
In a terminal, killall pulseaudio
. This kills pulseaudio for your current session.
I've managed to get it working with sound on 12.04 in following way:
Add the Wine PPA:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get upgrade
winetricks directx9
winecfg
Change d3dx9_43 to "(native,builtin)" in Libraries tab
Download windows package and install it with wine.
According to an email I got from the Humble Bundle support:
A new version of Limbo is being uploaded to the download pages today that should fix the Linux sound issue. Please check back on your download page for the updated timestamp below the download buttons on that page and try out the new version.
The update from the Ubuntu Software Center will probably appear soon too, as they confirmed in a second email:
Codeweavers is still finishing up the update, but we will have that posted to the download pages and the Ubuntu Center as soon as possible.
And indeed, I checked the last version that was updated: sound works fine now.
Sadly Limbo is just the Windows version with an emulator called wine bundled ‐ it is known for flakey audio. You may have to wait for them to update the release.
From what I can tell, the bundled version tries to talk to ALSA directly and this doesn't work while you have PulseAudio running. Simple solution: pasuspender ./launch-limbo.sh. Complex solution: make Limbo use your system version of Wine.
Here is my workaround on getting Sound in the Linux version of LIMBO.
sudo adduser username audio
xinit -- :1
to start the second xserverpasuspender /opt/limbo/launchlimbo.sh
Download Windows version (.exe) and run it under Wine (check for it on the Ubuntu Software Center), follow the wizard, answer yes when asking for directx install and everything will work fine, I'm playing it now :)
Basically that's what the .deb package does, but doing it manually will not encounter in bugs like that.
winetricks
.
First try restarting pulseaudio:
In a terminal (ctrl+alt+t) type: (that's two minus (-) characters)
pulseaudio --kill
Then give it a few seconds to restart itself (watch the volume icon in the top right), then launch Limbo.
Limbo works fine for me with no special audio configurations mentioned in the other answers, but It (and wine in general) sometimes has issues with pulseaudio. In my case a restart of pulseaudio fixes it.
Note, you may or may not need to restart other programs that use sound (like firefox) after restarting pulseaudio.