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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 0 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...