Jump to content
The Dark Mod Forums

No Sound on Ubuntu 17.10


GilGiy

Recommended Posts

So I am running Ubuntu 17.10 (Pop!_OS) and the sound is not working. I've seen lots of discussions on this topic but none of the solutions have worked for me.

 

Here's a small section of the output when I run ./thedarkmod.x86

dlopen(libasound.so.2)
asoundlib version: 1.1.3
Alsa is available
------ Alsa Sound Initialization -----
ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM sysdefault:CARD=0
snd_pcm_open SND_PCM_STREAM_PLAYBACK 'sysdefault:CARD=0' failed: No such file or directory
dlclose
WARNING:sound subsystem disabled
--------------------------------------
----------- Alsa Shutdown ------------
--------------------------------------

Here's the output when I run aplay -l

gilbert@gilbertyoder:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC 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

And here is a few possibly relevant snippets from the Darkmod.cfg file

seta s_dsp "/dev/dsp"
seta s_driver "best"
seta s_alsa_underrun_extrafill "1024"
seta s_alsa_lib "libasound.so.2"
seta s_alsa_pcm "sysdefault:CARD=0"

Any help would be greatly appreciated!

Edited by GilGiy
Link to comment
Share on other sites

Any Help? ok. But I dont have any experience on this one.

Please let us know which sollution worked for you.

 

Error: "ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so"

People say install package "libasound2-plugins:i386", but your running the x86 binary.

 

Some topics on tdm and wiki (if you havent read them)

tdm wiki: http://wiki.thedarkmod.com/index.php?title=FAQ#The_sound_lags_behind_the_picture

http://forums.thedarkmod.com/topic/17414-how-to-configure-the-sound-system-on-linux

http://forums.thedarkmod.com/topic/18577-no-sound-on-ubuntu-1604/?hl=alsa

http://forums.thedarkmod.com/topic/17187-solved-no-audio-on-ubuntu-1404

tdm Search function with subject alsa: http://forums.thedarkmod.com/index.php?app=core&module=search&do=search&search_term=alsa&search_app=forums

 

Some sollutions to be found here:

https://www.google.com/search?q=doom+3+alsa

People say use the "oss" sound driver.

https://forums.gentoo.org/viewtopic-t-506390-start-0-postdays-0-postorder-asc-highlight-.html?sid=50f951228fd392b1d1a3f82935fe67c1

http://zerowing.idsoftware.com/linux/doom/Doom3FrontPage/#head-bbf251e26f02e635b5df3b186f54ac0ae8bafe17

Edited by freyk
  • Like 1

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Error: "ALSA lib conf.c:3523:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so"

People say install package "libasound2-plugins:i386", but your running the x86 binary.

 

Installing the package "libasound2-plugins:i386" and rebooting fixed the problem!

apt install libasound2-plugins:i386

Thanks a bunch!

 

Update:

 

So after I solved the problem above, I connected my Bluetooth headphones (Sony MDR-XB950BT) and started the game--and the sound played through my laptop speakers...

 

So I changed the line in Darkmod.cfg from:

seta s_alsa_pcm "sysdefault:CARD=PCH"

to:

seta s_alsa_pcm "default"

(it may be set that way by default I'm not sure since I had done quite a bit of messing around before I posted to the forum)

 

and now it plays through my bluetooth headphones...

 

 

Its kind of strange but I lack the ability to change the volume after I have started the game, If someone had a fix for that that would be awesome, but for now I'm good since I can control the volume of my headphones...

Edited by GilGiy
Link to comment
Share on other sites

To give some background context on this (based on my own understanding, although I am not an expert by any means): the libasound_module_conf_pulse.so plugin is a compatibility tool that allows ALSA-only applications (like TDM/Doom 3) to interact with modern distributions which use PulseAudio as their audio server (which is pretty much all of them at this point, I believe). The ALSA application opens the ALSA device in the normal way, and this plugin then redirects the audio to the PulseAudio server which of course is using the "real" ALSA devices as its own backend.

 

If this plugin works on your system, it should in theory allow you to control the volume of the application via the normal PulseAudio control panels, as well as redirecting it to a particular sound device. If you can't get it to work, then configuring the game to directly use the low-level ALSA devices is an alternative, but you may in this case need to temporarily disable the PulseAudio server with a tool like pasuspender in order to make the low-level device available for use by another application.

 

The ideal 2018 solution would be to add PulseAudio support directly into the game so that it could work flawlessly on modern distributions, but that would require someone with sufficient expertise to work on implementing it.

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

    • 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
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...