Until I Have You

Until I Have You

View Stats:
CyberPunk Apr 6, 2016 @ 2:27pm
Sound problems on Ubuntu 15.10 x64
So firstly thanks for supporting Linux!

I seem to have sound problems on launch though.

I'm on an i3, 8GB ram SSD anda 660ti. The audio appears to be playing too fast. The audio generally seems corrupt and noisy and the character dialouges appear to be at double to tripple speed.

Any suggestions on things I can try to fix this?
< >
Showing 1-15 of 20 comments
James Spanos  [developer] Apr 6, 2016 @ 5:43pm 
Can you send out the terminal log, so we can look into it. I'm sorry for this in advance. We'll hopefully get it sorted!
James Spanos  [developer] Apr 6, 2016 @ 5:51pm 
Also followup question, have you made any custom settings to your pulseaudio configuration?
qew Nemo Apr 6, 2016 @ 6:30pm 
A bit stumped tbh, seems like some kind of "allegro and pulseaudio hate each other" corner case. Can you try executing
pactl list sinks
and look at the sink that corresponds to the name of the sound card you're using and tell if the sample specification is more than 48000 Hz? Also please just paste the entire output of that for that matter.
CyberPunk Apr 7, 2016 @ 12:54pm 
Thanks for the quick reposnse.

Further testing on my Lenovo Z370 laptop didn't have the same problem so I'm sure it's local to this machine.

The logs are as follows:

AGS: Adventure Game Studio v3.4 Interpreter Copyright (c) 1999-2011 Chris Jones and 2011-2015 others ACI version 3.4.0.6 AGS: *** ENGINE STARTUP *** AGS: Reading config file AGS: Initializing allegro AGS: Setting up window AGS: Initializing game data AGS: Game data file: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/Until I Have You.exe AGS: Initializing TTF renderer AGS: Initializing mouse AGS: Checking memory AGS: Initializing speech vox Speech sample file found and initialized. AGS: Initializing audio vox Audio vox found and initialized. AGS: Initializing keyboard AGS: Install timer Checking sound inits. AGS: Initialize sound drivers AGS: Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory Unable to initialize your audio hardware. [Problem: /dev/sequencer: No such file or directory] AGS: Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0) AGS: Install exit handler AGS: Initialize path finder library AGS: Load game data AGS: Game data version: 43 AGS: Requested engine version: 3.3.4.2 AGS: Game GUI version: 116 AGS: Built library path: ./libagsjoy.so AGS: dlopen returned: ./libagsjoy.so: cannot open shared object file: No such file or directory AGS: Built library path: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/libagsjoy.so AGS: dlopen returned: (null) AGS: Plugin loading succeeded, resolving imports... AGS: Built library path: ./libagsteam.so AGS: dlopen returned: ./libagsteam.so: cannot open shared object file: No such file or directory AGS: Built library path: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/libagsteam.so AGS: dlopen returned: (null) AGS: Plugin loading succeeded, resolving imports... Setting breakpad minidump AppID = 439310 Steam_SetMinidumpSteamID: Caching Steam ID: [REMOVED] [API loaded no] AGS: Until I Have You AGS: Checking for disk space AGS: Initializing MOD/XM player AGS: Initializing resolution settings AGS: Game native resolution: 320 x 200 (32 bit) AGS: Device display resolution: 1920 x 1080 AGS: Game settings: windowed = yes, screen def: scaling, screen size: 0 x 0, match device ratio: ignore, frame placement: center AGS: Using graphics factory: DX5 AGS: Created graphics driver: Allegro/DX5 AGS: Supported gfx modes (32-bit): 640x480;640x480;640x480;800x600;800x600;800x600;800x600;1024x768; 1024x768;1024x768;1152x720;1152x864;1280x720;1280x800;1280x960;1280x1024; 1366x768;1440x900;1440x900;1680x1050;1920x1080; AGS: Supported gfx modes (24-bit): 640x480;640x480;640x480;800x600;800x600;800x600;800x600;1024x768; 1024x768;1024x768;1152x720;1152x864;1280x720;1280x800;1280x960;1280x1024; 1366x768;1440x900;1440x900;1680x1050;1920x1080; AGS: Requested gfx filter: StdScale, filter scaling: max uniform AGS: Using gfx filter: StdScale AGS: Switching to graphics mode AGS: Attempting to find nearest supported resolution for screen size 1600 x 1000 (32-bit) windowed AGS: Attempt to switch gfx mode to 1600 x 1000 (32-bit) windowed; game frame: 1600 x 1000, frame placement: center AGS: Succeeded. Using gfx mode 1600 x 1000 (32-bit) windowed filter dest (0, 0, 1599, 999 : 1600 x 1000), render dest (0, 0, 1599, 999 : 1600 x 1000) AGS: Preparing graphics mode screen AGS: Initializing colour conversion AGS: Check for preload image AGS: Initialize sprites AGS: Set up screen AGS: Initialize game settings AGS: Prepare to start game AGS: Audio is processed on the main thread AGS: Checking replay status AGS: Engine initialization complete AGS: Starting game AGS: Loading room 13 AGS: ***** ENGINE HAS SHUTDOWN

Nothing custom in pulse as far as I'm aware. Just configured from the Gnome control panel.

The speakers are an external USB Logitech Z205 (sorry should've mentioned this up front) so I suspect something to maybe do with the DAC in them? Althoguh they've worked fine with everything I've ever thrown at them.

Sinks are as follows:

Sink #0 State: SUSPENDED Name: alsa_output.pci-0000_01_00.1.hdmi-stereo Description: GK104 HDMI Audio Controller Digital Stereo (HDMI) Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 6 Mute: no Volume: front-left: 5397 / 8% / -65.06 dB, front-right: 5397 / 8% / -65.06 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "HDMI 0" alsa.id = "HDMI 0" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "3" alsa.card = "2" alsa.card_name = "HDA NVidia" alsa.long_card_name = "HDA NVidia at 0xfaffc000 irq 17" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:01:00.1" sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2" device.bus = "pci" device.vendor.id = "10de" device.vendor.name = "NVIDIA Corporation" device.product.id = "0e0a" device.product.name = "GK104 HDMI Audio Controller" device.string = "hdmi:2" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "hdmi-stereo" device.profile.description = "Digital Stereo (HDMI)" device.description = "GK104 HDMI Audio Controller Digital Stereo (HDMI)" alsa.mixer_name = "Nvidia GPU 40 HDMI/DP" alsa.components = "HDA:10de0040,38423662,00100100" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: hdmi-output-0: HDMI / DisplayPort (priority: 5900, not available) Active Port: hdmi-output-0 Formats: pcm Sink #1 State: SUSPENDED Name: alsa_output.usb-Logicool_Logicool_Z205-00.iec958-stereo Description: Logicool Z205 Digital Stereo (IEC958) Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 7 Mute: no Volume: front-left: 61604 / 94% / -1.61 dB, front-right: 61604 / 94% / -1.61 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: alsa_output.usb-Logicool_Logicool_Z205-00.iec958-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "USB Audio" alsa.id = "USB Audio" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "1" alsa.card_name = "Logicool Z205" alsa.long_card_name = "Logicool Logicool Z205 at usb-0000:00:1a.0-1.3, full speed" alsa.driver_name = "snd_usb_audio" device.bus_path = "pci-0000:00:1a.0-usb-0:1.3:1.0" sysfs.path = "/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/sound/card1" udev.id = "usb-Logicool_Logicool_Z205-00" device.bus = "usb" device.vendor.id = "046d" device.vendor.name = "Logitech, Inc." device.product.id = "0a19" device.product.name = " Logicool Z205 " device.serial = "Logicool_Logicool_Z205" device.string = "iec958:1" device.buffering.buffer_size = "17632" device.buffering.fragment_size = "4408" device.access_mode = "mmap" device.profile.name = "iec958-stereo" device.profile.description = "Digital Stereo (IEC958)" device.description = " Logicool Z205 Digital Stereo (IEC958)" alsa.mixer_name = "USB Mixer" alsa.components = "USB046d:0a19" module-udev-detect.discovered = "1" device.icon_name = "audio-card-usb" Ports: iec958-stereo-output: Digital Output (S/PDIF) (priority: 0) Active Port: iec958-stereo-output Formats: pcm Sink #2 State: SUSPENDED Name: alsa_output.pci-0000_00_1b.0.analog-stereo Description: Built-in Audio Analogue Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 8 Mute: no Volume: front-left: 41274 / 63% / -12.05 dB, front-right: 41274 / 63% / -12.05 dB balance 0.00 Base Volume: 60694 / 93% / -2.00 dB Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC889 Analog" alsa.id = "ALC889 Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xfbff4000 irq 33" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "1c20" device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analogue Stereo" device.description = "Built-in Audio Analogue Stereo" alsa.mixer_name = "Realtek ALC889" alsa.components = "HDA:10ec0889,1458a002,00100004" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-output-lineout: Line Out (priority: 9900, not available) analog-output-headphones: Headphones (priority: 9000) Active Port: analog-output-headphones Formats: pcm
James Spanos  [developer] Apr 7, 2016 @ 2:55pm 
I assume the Lenovo is also running Linux? Regardless, I'm looking this up, thanks for staying with us so far, this seems like a weird case, but i don't wanna strike it as one, yet.
qew Nemo Apr 7, 2016 @ 11:11pm 
I'll be honest I have no idea. Considering everything else works for you, the most likely suspect is the game engine, AGS.

Could you try downloading this[lazyandsleepy.org], placing it in the "data" folder of the game and then launching it from there with
chmod +x ./ags LD_LIBRARY_PATH=. ./ags --windowed
?
It's a version of AGS I compiled from the latest source on my Arch. It's really unlikely to work better but you never know. The only other thing I can offer is I can set up docker and build AGS in Ubuntu 15.10 environment and see if that works any better, but honestly this is more and more looking like a corner case/subtle AGS/allegro bug. I guess we should report this upstream to both projects.

I mean you also could try stopping pulseaudio and seeing if the game works well without it, but even if it does it hardly provides any satisfactory possibilities.
CyberPunk Apr 10, 2016 @ 6:54am 
Hi, the lenovo is also on 15.10 x64.

I tried what you suggested which didn't seem to work:

~/.steam/steam/SteamApps/common/Until I Have You/data$ LD_LIBRARY_PATH=. ./ags --windowed ./ags: error while loading shared libraries: liballeg.so.4.4: cannot open shared object file: No such file or directory

I also tried moving the binary to lib64/ with a differnt lib error:

~/.steam/steam/SteamApps/common/Until I Have You/data$ LD_LIBRARY_PATH=./lib64/ ./ags --windowed ./ags: error while loading shared libraries: libaldmb.so: cannot open shared object file: No such file or directory

Stopping pulse didn't seem to help. I've also noticed the load time seems reasonalby slow when starting up so I'm not sure if this could indicate something a miss.
qew Nemo Apr 10, 2016 @ 7:03am 
Hmm, I guess the easiest and most reasonable way to address that is to install the allegro5 package.
Those issues manifest even with pure alsa? Geez.
Yeah the game takes a lot of time to load, it's considered normal.
James Spanos  [developer] Apr 10, 2016 @ 10:26am 
The load time is normal, it avoids loading each level, so it loads most of the resources at once.
CyberPunk Apr 16, 2016 @ 4:13am 
So I've installed Allegro and a few of the other deps, I'm now getting the following:

AGS: Adventure Game Studio v3.3 Interpreter Copyright (c) 1999-2011 Chris Jones and 2011-2015 others ACI version 3.3.4.2 NMP AGS: *** ENGINE STARTUP *** AGS: Reading config file AGS: Initializing allegro AGS: Setting up window AGS: Initializing game data AGS: Game data file: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/Until I Have You.exe AGS: Initializing TTF renderer AGS: Initializing mouse AGS: Checking memory AGS: Initializing speech vox Speech sample file found and initialized. AGS: Initializing audio vox Audio vox found and initialized. AGS: Initializing keyboard AGS: Install timer Checking sound inits. AGS: Initialize sound drivers AGS: Trying digital driver ID: 'Auto' (0xffffffff), MIDI driver ID: 'Auto' (0xffffffff) ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory Unable to initialize your audio hardware. [Problem: /dev/sequencer: No such file or directory] AGS: Installed digital driver ID: 'ALSA' (0x414c5341), MIDI driver ID: 'None' (0x0) AGS: Install exit handler AGS: Initialize path finder library AGS: Load game data AGS: Game data version: 43 AGS: Requested engine version: 3.3.4.2 AGS: Game GUI version: 116 AGS: Built library path: ./libagsjoy.so AGS: dlopen returned: ./libagsjoy.so: cannot open shared object file: No such file or directory AGS: Built library path: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/libagsjoy.so AGS: dlopen returned: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/libagsjoy.so: cannot open shared object file: No such file or directory AGS: Plugin loading failed, trying built-in plugins... AGS: No built-in plugin found. Plugin loading failed! AGS: Placeholder functions for the plugin found. AGS: Built library path: ./libagsteam.so AGS: dlopen returned: ./libagsteam.so: cannot open shared object file: No such file or directory AGS: Built library path: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/libagsteam.so AGS: dlopen returned: /home/cyberpunk/.local/share/Steam/SteamApps/common/Until I Have You/data/libagsteam.so: cannot open shared object file: No such file or directory AGS: Plugin loading failed, trying built-in plugins... AGS: No built-in plugin found. Plugin loading failed! AGS: No placeholder functions for the plugin found. The game might fail to load. Script link failed: Runtime error: unresolved import 'AGSteam::SetAchievementAchieved^1'

For some reason it doesn't look like it's honoring the LD_LIBRARY_PATH variable. Any suggestions?
qew Nemo Apr 16, 2016 @ 5:14am 
Yeah it seems for its plugins AGS ignores the path and loads every library manually from a hardcoded destination. If you're running the binary I gave you from the data directory, you need to copy (or symlink) libagsjoy.so, libsteam_api.so, libagsjoy.so into data. Just copying the symlinks that are in the parent directory (i.e. steamapps/common/Until I Have You) should be enough.
CyberPunk Apr 16, 2016 @ 8:22am 
D'oh that was obvious. I should've thought of that.

Ok so running but not great news I'm afriad. Still got the audio problem.
James Spanos  [developer] Apr 16, 2016 @ 8:54am 
http://www.adventuregamestudio.co.uk/forums/index.php?topic=53399.0 As you can see I made a post about this on the AGS(the engine) forum, and the reply below mine is given by the team leader that's handling the now open-source engine.

I'm not sure where that leaves honest. I'd be happy to make sure that you get the refund (if that's your choice). I guess, if you posted on the AGS forums (and that's a far fetch, perhaps they'd be willing, or someone would, to investigate the issue).

I'm literally clueless. I'm really sorry, sincerely.
qew Nemo Apr 16, 2016 @ 9:18am 
I've filed this issue with the allegro project[github.com]. I do believe this is all we can do at the moment.
CyberPunk Apr 17, 2016 @ 4:36am 
Not a problem really, I'll pickup another sound card and give it a go. Failing that I'll just use another machine. Thanks for looking into it and all your efforts.
< >
Showing 1-15 of 20 comments
Per page: 1530 50