Jump to content
The Dark Mod Forums

No sound on linux 64bit


MarioMaster100

Recommended Posts

Check these settings in your darkmod.cfg file (no guarantee these will work for you):

seta s_dsp "/dev/dsp0"
seta s_driver "best"
seta s_alsa_lib "libasound.so.2"

Also I have the following:

seta s_numberOfSpeakers "2"
seta s_alsa_pcm "front:CARD=halo,DEV=0"

That last part is specific to the audio card. Use 'aplay -l' to list the audio devices and fill in the names for 'CARD=' and 'DEV=' accordingly.

Also, the numberofspeakers value also depends on whether you have chosen stereo or surround device...an 5.1 surround has 6 speakers including center & subwoofer.

 

Also, if your debian system uses pulseaudio and phonon, install the 'phonon-vlc' backend and use that instead of 'phonon-gstreamer'.

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

I'm still kind of unsure what to put for that last part, I'm using the laptop's built in speakers.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

I have phonon, phonon-backend-gstreamer, and phonon-backend-vlc installed, I think I needed all of those for something I use.

Link to comment
Share on other sites

If you use KDE, then run systemsettings and go to hardware > phonon/multimedia/audio/video-settings (wording has changed throughout the years)...then > "Backend" tab. Move phonon-vlc to the top of the list, apply and log out-in again.

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

  • 1 month later...

You should have multi-arch enabled. I think this is the default for a while now. Just install the libraries you need like `apt-get install packagename:i386`. It doesn't matter that you probably have the x64 version of the library installed, you need to get the 32-bit version, and they'll both live happily together on the system, not conflict, and both will get upgrades when you upgrade.

 

I think I needed to install zlib1g for uncompressing the pk4s right off the bat, and then to fix sound, libasound2 and libasound2-plugins. Just watch the output in the terminal you launch ./thedarkmod.x86 from (launch the game, then quit and scroll through what's in the terminal window). If you can't guess what package owns a file named in the error message, install the apt-file package.

Link to comment
Share on other sites

I had TDM running with sound fine on Debian X64 a wile ago, so it can be done. I always scrub Pulseaudio from my installs though. If you do not want to scrub PA, you can run the game with pasuspender. That will supposedly allow an app to use ALSA without Pulseaudio "modernizing" your sound experience. :)

  • Like 1

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

  • 5 months later...

This is how I fixed the sound on Ubuntu 14.04, 64 bit:

 

Looked at the game initialisation output in the cmd so I can see what it's looking for. For me, this fixed it:

 

sudo apt-get install libasound2:i386

sudo apt-get install libasound2-plugins:i386

 

and it now works with sound with no command line parameters etc. It needed the 32 bit libraries to work on a 64 bit system by the looks of it.

 

Hope this helps someone who like me, was scouring the forums looking how to fix this problem...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...