Worms W.M.D

Worms W.M.D

View Stats:
Worms W.M.D > Solved Problems > Topic Details
wuffie Aug 23, 2016 @ 2:33pm
[SOLVED] [Linux] No audio after intro
The intro's sound works, but everything after it is completely muted. Everything in the options is default. I see the following output on startup:
Client name = alsa-jack.jackP.27671.0 conflits with another running client Cannot connect to the server

If I change the startup parameters to
LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" %command%
I receive audio, implying that one of the included libraries (not fmod, surprisingly enough, as I don't have it installed) could be out of date. However, after ~10 seconds, the game will freeze and crash, giving no additional output.

Pavucontrol will show two separate applications for Worms WMD: one for the intro, and an additional one for the actual game if I perform the LD_LIBRARY_PATH trick. Wild guess: is fmod being initialized twice?

EDIT: Looks like I figured it out.
First, set the launch options of the game to
DISCARD=%command% ~/worms.sh
as a cheap hack to run a script. Create worms.sh in your home directory and set its contents to:
#!/usr/bin/env sh LD_PRELOAD="$( printf "%s " ~/.steam/steam/steamapps/common/WormsWMD/lib/Qt5*.so* \ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libdbus-1.so.3 \ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 )" LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" \ gdb ~/.steam/steam/steamapps/common/WormsWMD/Worms\ W.M.Dx64 \ -batch \ -ex run \ -ex bt
Voila! Now you have audio without having to worry about dbus being too new, as well as wrapping the game with gdb in the case of something else going wrong.
Last edited by wuffie; Aug 23, 2016 @ 6:37pm
< >
Showing 1-3 of 3 comments
wuffie Aug 23, 2016 @ 6:18pm 
Here is a dump for the fix/crash. Looks like my libdbus is too new.
ERROR: ld.so: object '/home/wuffie/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/wuffie/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/wuffie/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/Worms W.M.Dx64: /usr/lib/libldap_r-2.4.so.2: no version information available (required by /home/wuffie/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-l inux-gnu/libcurl-gnutls.so.4) /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/Worms W.M.Dx64: /usr/lib/liblber-2.4.so.2: no version information available (required by /home/wuffie/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-l inux-gnu/libcurl-gnutls.so.4) [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffdb9db700 (LWP 8159)] libpng warning: iCCP: known incorrect sRGB profile [New Thread 0x7fffd3fff700 (LWP 8186)] IN XGLContextBase :: Initialise IN XGLContext :: __Create GetCurrentDirectoryA buffer /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD [New Thread 0x7fffd34fd700 (LWP 8277)] [New Thread 0x7fffd2cfc700 (LWP 8278)] [New Thread 0x7fffd24fb700 (LWP 8279)] [New Thread 0x7fffd1cfa700 (LWP 8281)] [New Thread 0x7fffd14f9700 (LWP 8282)] [New Thread 0x7fffd0cf8700 (LWP 8283)] [New Thread 0x7fffcbfff700 (LWP 8284)] [New Thread 0x7fffcb7fe700 (LWP 8285)] [New Thread 0x7fffcaffd700 (LWP 8299)] GetCurrentDirectoryA buffer /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD INFO: [Aug 18 2016] [18:46:37] --> [UI System --> Loading Textures] GetCurrentDirectoryA buffer /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD [New Thread 0x7fffb417d700 (LWP 8670)] [New Thread 0x7fffb397c700 (LWP 8671)] [New Thread 0x7fffb317b700 (LWP 8672)] [New Thread 0x7fffb297a700 (LWP 8673)] [New Thread 0x7fffb2179700 (LWP 8674)] [New Thread 0x7fffb1978700 (LWP 8675)] [New Thread 0x7fffb1177700 (LWP 8676)] Setting breakpad minidump AppID = 327030 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198022639258 [API loaded no] [S_API WARN] GetClanOfficerCount() called with unknown clan ID [I:0:628939424] - has RequestClanOfficerList() been called? [S_API WARN] GetClanOfficerCount() called with unknown clan ID [I:0:628939424] - has RequestClanOfficerList() been called? [New Thread 0x7fffa4bfb700 (LWP 9408)] ERROR: ld.so: object '/home/wuffie/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/wuffie/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [New Thread 0x7fff97ffe700 (LWP 9471)] [New Thread 0x7fffd89cd700 (LWP 9472)] [New Thread 0x7fffd89c1700 (LWP 9473)] [New Thread 0x7fffd8855700 (LWP 9523)] [New Thread 0x7fffd8844700 (LWP 9531)] [Thread 0x7fffa4bfb700 (LWP 9408) exited] [New Thread 0x7fff973fd700 (LWP 11828)] [New Thread 0x7fff96bfc700 (LWP 11832)] [New Thread 0x7fff963fb700 (LWP 11833)] [New Thread 0x7fff95bfa700 (LWP 11834)] [New Thread 0x7fff953f9700 (LWP 11835)] [New Thread 0x7fff94bf8700 (LWP 11836)] [New Thread 0x7fff7fffe700 (LWP 11837)] [New Thread 0x7fff7f7fd700 (LWP 11838)] [New Thread 0x7fff7effc700 (LWP 11839)] [New Thread 0x7fff7e7fb700 (LWP 11840)] [New Thread 0x7fff7dffa700 (LWP 11841)] [New Thread 0x7fff7d7f9700 (LWP 11842)] [New Thread 0x7fff7cff8700 (LWP 11844)] [New Thread 0x7fff67ffd700 (LWP 11845)] [Thread 0x7fff7d7f9700 (LWP 11842) exited] "GameView" ::OnMinimised called "GameView" ::OnMinimised called [Thread 0x7fff7cff8700 (LWP 11844) exited] [Thread 0x7fff67ffd700 (LWP 11845) exited] [Thread 0x7fff7dffa700 (LWP 11841) exited] [Thread 0x7fff973fd700 (LWP 11828) exited] [Thread 0x7fff96bfc700 (LWP 11832) exited] [Thread 0x7fff963fb700 (LWP 11833) exited] [Thread 0x7fff95bfa700 (LWP 11834) exited] [Thread 0x7fff953f9700 (LWP 11835) exited] [Thread 0x7fff94bf8700 (LWP 11836) exited] [Thread 0x7fff7fffe700 (LWP 11837) exited] [Thread 0x7fff7f7fd700 (LWP 11838) exited] [Thread 0x7fff7effc700 (LWP 11839) exited] [Thread 0x7fff7e7fb700 (LWP 11840) exited] [New Thread 0x7fff7e7fb700 (LWP 14113)] [Thread 0x7fff7e7fb700 (LWP 14113) exited] [New Thread 0x7fff7effc700 (LWP 15205)] [New Thread 0x7fff7f7fd700 (LWP 15256)] [New Thread 0x7fff7fffe700 (LWP 15260)] [New Thread 0x7fffb7bda700 (LWP 15261)] [New Thread 0x7fffb73d9700 (LWP 15262)] [New Thread 0x7fffb6bd8700 (LWP 15263)] [New Thread 0x7fffb63d7700 (LWP 15264)] [New Thread 0x7fff973fd700 (LWP 15265)] [New Thread 0x7fff96bfc700 (LWP 15266)] [New Thread 0x7fff963fb700 (LWP 15267)] [New Thread 0x7fff95bfa700 (LWP 15268)] [New Thread 0x7fff953f9700 (LWP 15270)] [New Thread 0x7fff94bf8700 (LWP 15271)] [New Thread 0x7fff7dffa700 (LWP 15272)] [New Thread 0x7fff677fc700 (LWP 15273)] [Thread 0x7fff94bf8700 (LWP 15271) exited] [Thread 0x7fff7effc700 (LWP 15205) exited] [New Thread 0x7fff66ffb700 (LWP 15478)] [Thread 0x7fff66ffb700 (LWP 15478) exited] [New Thread 0x7fff667fa700 (LWP 15761)] [New Thread 0x7fff65ff9700 (LWP 15762)] [New Thread 0x7fff657f8700 (LWP 15763)] [Thread 0x7fff657f8700 (LWP 15763) exited] [New Thread 0x7fff64ff7700 (LWP 16121)] [Thread 0x7fff65ff9700 (LWP 15762) exited] [New Thread 0x7fff2bffe700 (LWP 16176)] [Thread 0x7fff667fa700 (LWP 15761) exited] [New Thread 0x7fff2b7fd700 (LWP 16206)] [Thread 0x7fff64ff7700 (LWP 16121) exited] [Thread 0x7fff2bffe700 (LWP 16176) exited] [New Thread 0x7fff2affc700 (LWP 16493)] [Thread 0x7fff2affc700 (LWP 16493) exited] [Thread 0x7fff677fc700 (LWP 15273) exited] [Thread 0x7fff2b7fd700 (LWP 16206) exited] process 8032: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2822. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Thread 3 "QDBusConnection" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffd3fff700 (LWP 8186)] 0x00007ffff1f7104f in raise () from /usr/lib/libc.so.6 #0 0x00007ffff1f7104f in raise () from /usr/lib/libc.so.6 #1 0x00007ffff1f7247a in abort () from /usr/lib/libc.so.6 #2 0x00007fffeec3ad64 in ?? () from /usr/lib/libdbus-1.so.3 #3 0x00007fffeec317ee in _dbus_warn_check_failed () from /usr/lib/libdbus-1.so.3 #4 0x00007fffeec1832a in ?? () from /usr/lib/libdbus-1.so.3 #5 0x00007ffff5aceea6 in ?? () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5DBus.so.5 #6 0x00007ffff6bc861a in QObject::event(QEvent*) () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #7 0x00007ffff6b9facb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #8 0x00007ffff6ba251b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #9 0x00007ffff6becc53 in ?? () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #10 0x00007fffeee9cdd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #11 0x00007fffeee9d040 in ?? () from /usr/lib/libglib-2.0.so.0 #12 0x00007fffeee9d0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #13 0x00007ffff6bed05c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #14 0x00007ffff6b9ddca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #15 0x00007ffff69d4f1c in QThread::exec() () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #16 0x00007ffff5ac0115 in ?? () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5DBus.so.5 #17 0x00007ffff69d95f9 in ?? () from /home/wuffie/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #18 0x00007ffff4db2454 in start_thread () from /usr/lib/libpthread.so.0 #19 0x00007ffff20267df in clone () from /usr/lib/libc.so.6
Last edited by wuffie; Aug 23, 2016 @ 6:25pm
da5id Aug 26, 2016 @ 9:51pm 
Worms Hangs on Linux
Booting WMD normally through steam hangs on the black screen stating game was developed by Team17.

Running from CLI lets me get into the game, which then crashes with a dbus error.

Steps to repro
# Start as below
# Wait a few seconds
$ cd ~/.local/share/Steam/steamapps/common/WormsWMD $ ./Worms W.M.Dx64 /usr/lib/libcurl-gnutls.so.4: no version information available (required by ./Worms W.M.Dx64) libpng warning: iCCP: known incorrect sRGB profile IN XGLContextBase :: Initialise IN XGLContext :: __Create GetCurrentDirectoryA buffer /home/david/.local/share/Steam/steamapps/common/WormsWMD GetCurrentDirectoryA buffer /home/david/.local/share/Steam/steamapps/common/WormsWMD INFO: [Aug 25 2016] [15:07:00] --> [UI System --> Loading Textures] GetCurrentDirectoryA buffer /home/david/.local/share/Steam/steamapps/common/WormsWMD "GameView" ::OnMaximised called Setting breakpad minidump AppID = 327030 Steam_SetMinidumpSteamID: Caching Steam ID: 76561197964234395 [API loaded no] process 4564: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2822. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted (core dumped)

Trace from GDB as follows
Thread 3 "QDBusConnection" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffd7fff700 (LWP 5149)] 0x00007ffff219104f in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff219104f in raise () from /usr/lib/libc.so.6 #1 0x00007ffff219247a in abort () from /usr/lib/libc.so.6 #2 0x00007fffeee5ad64 in ?? () from /usr/lib/libdbus-1.so.3 #3 0x00007fffeee517ee in _dbus_warn_check_failed () from /usr/lib/libdbus-1.so.3 #4 0x00007fffeee3832a in ?? () from /usr/lib/libdbus-1.so.3 #5 0x00007ffff5d03ea6 in ?? () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5DBus.so.5 #6 0x00007ffff6dfd61a in QObject::event(QEvent*) () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #7 0x00007ffff6dd4acb in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #8 0x00007ffff6dd751b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #9 0x00007ffff6e21c53 in ?? () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #10 0x00007fffef0bcdd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #11 0x00007fffef0bd040 in ?? () from /usr/lib/libglib-2.0.so.0 #12 0x00007fffef0bd0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #13 0x00007ffff6e2205c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #14 0x00007ffff6dd2dca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #15 0x00007ffff6c09f1c in QThread::exec() () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #16 0x00007ffff5cf5115 in ?? () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5DBus.so.5 #17 0x00007ffff6c0e5f9 in ?? () from /home/david/.local/share/Steam/steamapps/common/WormsWMD/lib/libQt5Core.so.5 #18 0x00007ffff4fe7454 in start_thread () from /usr/lib/libpthread.so.0 #19 0x00007ffff22467df in clone () from /usr/lib/libc.so.6
da5id Aug 27, 2016 @ 2:31am 
Bit more cruising around the forums and this has let me get the game running and stable.

http://steamcommunity.com/app/327030/discussions/2/355043117527093578/

Can Team17 please add support for a modern release of dbus to remove the need for this?
< >
Showing 1-3 of 3 comments
Per page: 15 30 50

Worms W.M.D > Solved Problems > Topic Details