07th-mod / umineko-answer

28 stars 8 forks source link

No sound in Linux due to incompatible bundled library #83

Open drojf opened 3 years ago

drojf commented 3 years ago

We had this reported by @zeparu on discord

im having trouble right now getting any sound to work in umineko chiru on linux running it with proton/wine will play audio just fine, native linux version has this problem

 ~/Games/Steam Games/common/Umineko Chiru  ./Umineko5to8
System info: Intel CPU, with functions: MMX SSE SSE2 
Setting breakpad minidump AppID = 639490
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198078844818 [API loaded no]
Adding: .
Adding: ..
Adding: /home/zepar/.local/share/Steam/steamapps/common/Umineko Chiru/saves/
Adding: ./:../
Couldn't initialize SDL gamecontroller: There are 0 joysticks available
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pulse.so (/usr/lib/libsndfile.so.1: undefined symbol: ogg_stream_flush_fill)
Couldn't open audio device!
  reason: [ALSA: Couldn't open audio device: No such device or address].
Read global variables file
Error at line 13: unknown command [language]
(*define line 10)
Error at line 17: unknown command [errorsave]
(*define line 14)
Error at line 61: unknown command [addkinsoku]
(*define line 58)
Warning: alias `on' may conflict with some barewords
Warning: alias `off' may conflict with some barewords
Error at line 4174: unknown command [setlayer]
(*define line 4171)
Warning: alias `white' may conflict with some barewords
Warning: alias `black' may conflict with some barewords
Error at line 314245: unknown command [menu_waveon]
(*check_game line 6)
Error at line 314246: unknown command [menu_click_def]
(*check_game line 7)
Error at line 308962: unknown command [c4]
(*b_sakuru_logo line 10)

The problem was already reported and resolved here (remove the space from the link to view):

https://github.com /ValveSoftware/steam-runtime/issues/346

I think for now we should just put a warning in the Wiki (on the FAQ and manual install instructions) and the installer, so Linux users can take actions themselves if necessary.

TODO:

Nekkowe commented 7 months ago

Oh, I'm running into this problem right now, also with the Answers arcs - the solution described in the link (deleting libraries other than libsteam_api from lib64) unfortunately did not help in my case.

$ sudo apt install libogg0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libogg0 is already the newest version (1.3.5-0ubuntu3).

Not sure what to do now. I guess I should be running it in Proton and reinstalling the mod files with that quick-fix option checked...?

Nekkowe commented 7 months ago

Oh, I'm a fool. Partway through troubleshooting, I must've pressed "M" to (un)mute the sound some odd number of times.