OpenAL error
#1
I'm playing AC 1.2.0.2 on my Linux PC. Every once in about 10-20 minutes (I'm not sure, might be more or less) I get these OpenAL errors: https://drive.google.com/file/d/199x47YA...sp=sharing
Am I missing some libraries, or what?
Specs:
160gb hdd
4gb ram
intel core 2 duo 2.26ghz
Lubuntu 17.10
Thanks given by:
#2
https://github.com/assaultcube/AC/tree/legacy1202 - you can try to use, for example, this "legacy1202" branch, it's fully compatible with 1.2.0.2 and has fixed some sound bugs, probably also this, which causes this error.
Thanks given by:
#3
Installed the required dev libs, compiled, ran the sh and here's my experience.
Good things:
I can see seconds remaining on the scoreboard!
My settings were saved
Bad things:
Game crashes almost immediately, here is the output log:
[email protected]:~/aclegacy$ ./assaultcube.sh
parsing commandline argument 1: "--home=/home/a/.assaultcube_v1.2"
Using home directory: /home/a/.assaultcube_v1.2/
parsing commandline argument 2: "--init"
writing to file: /home/a/.assaultcube_v1.2/clientlog.txt
init: sdl (1.2.15)
init: net (1.3.6)
init: world (1202)
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: Mesa DRI Mobile IntelB. GM45 Express Chipset  (Intel Open Source Technology Center)
Driver: 2.1 Mesa 17.2.2
init: console
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
init: sound
Audio devices: OpenAL Soft
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Sound: OpenAL Soft / OpenAL Soft (OpenAL Community)
Driver: 1.1 ALSOFT 1.17.2
init: cfg
init: models
init: curl
init: docs
init: localconnect
read map packages/maps/official/ac_shine.cgz rev 4 (19 milliseconds)
ac_shine by DogDancing
loaded textures (144 milliseconds)
loaded mapmodels (193 milliseconds)
loaded mapsounds (250 milliseconds)
game mode is "TDM"
init: mainloop
libpng warning: iCCP: known incorrect sRGB profile
starting botmatch..
>gtrx< called a vote: load map ac_douze in mode BDM for 8 minutes
vote passed
read map packages/maps/official/ac_douze.cgz rev 19 (8 milliseconds)
Douze (AC-Version) by makkE - layout by stanze
loaded textures (111 milliseconds)
loaded mapmodels (39 milliseconds)
loaded mapsounds (29 milliseconds)
Waypoints for map ac_douze loaded
game mode is "BDM"
Bot Deathmatch: It's every man and A.I. for themselves! Dismantle those bots!  
time remaining: 8 minutes
Reading bot_skill.cfg file...
done
(31 bots connect)
(some kill messages)

After 2 mins of gameplay:

stacktrace:
/home/a/aclegacy/bin_unix/native_client() [0x4b4a5a]
/lib/x86_64-linux-gnu/libc.so.6(+0x37140) [0x7f5586337140]
/home/a/aclegacy/bin_unix/native_client() [0x4759d0]
/home/a/aclegacy/bin_unix/native_client() [0x472be8]
/home/a/aclegacy/bin_unix/native_client() [0x47230d]
/home/a/aclegacy/bin_unix/native_client() [0x46fbee]
/home/a/aclegacy/bin_unix/native_client() [0x46fd66]
/home/a/aclegacy/bin_unix/native_client() [0x46bcae]
/home/a/aclegacy/bin_unix/native_client() [0x46bf7d]
/home/a/aclegacy/bin_unix/native_client() [0x464296]
/home/a/aclegacy/bin_unix/native_client(main+0xdda) [0x44a32a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f55863211c1]
/home/a/aclegacy/bin_unix/native_client() [0x40eb9a]
AssaultCube error (11) ()
OpenAL Error (A004): invalid operation, line 369
OpenAL Error (A004): invalid operation, line 369
OpenAL Error (A004): invalid operation, line 369
OpenAL Error (A004): invalid operation, line 369
OpenAL Error (A004): invalid operation, line 369
OpenAL Error (A004): invalid operation, line 369
AL lib: (EE) alc_cleanup: 1 device not closed
[email protected]:~/aclegacy$
Thanks given by:
#4
https://github.com/kcat/openal-soft/issu...-237942514 ?

To fix (maybe it's the reason):
Code:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Thanks given by:
#5
please re-compile in debug mode and try again:
make clean
make ACDEBUG=yes install
Thanks given by: