28

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?

Jorge Castro
  • 73,717
borges
  • 525
  • 1
  • 6
  • 13

8 Answers8

9

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.

belacqua
  • 23,540
8

I've managed to get it working with sound on 12.04 in following way:

  1. Add the Wine PPA:

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    sudo apt-get update
    sudo apt-get upgrade
    winetricks directx9
    winecfg 
    
  2. Change d3dx9_43 to "(native,builtin)" in Libraries tab

  3. Download windows package and install it with wine.

  4. Launch windows LIMBO!
Jorge Castro
  • 73,717
4

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.

Agmenor
  • 16,394
3

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.

johndrinkwater
  • 735
  • 1
  • 5
  • 9
1

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.

1

Here is my workaround on getting Sound in the Linux version of LIMBO.

  1. Add your user to the audio group
    sudo adduser username audio
  2. Run a seperate xserver
    • Press CTRL+ALT+F1 and log in with your username and password
    • enter xinit -- :1 to start the second xserver
    • you can now switch between this and your regular desktop with CTRL+ALT+F7 and ...-F8
  3. run the game with pasuspender (you might need to move the mouse inside the xterm in the top-left before you can enter text).
    pasuspender /opt/limbo/launchlimbo.sh
  4. When you're done, change to VT1 with CTRL+ALT+F1 and press CTRL+C to kill the second XServer. Now you can go back to your regular desktop with ...-F7.
mniess
  • 10,904
0

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.

neonboy
  • 515
0

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.

bj0
  • 51