Ys VIII: Lacrimosa of DANA (579180)
Compatibility Report
- Name of the game with compatibility issues: Ys VIII: Lacrimosa of DANA
- Steam AppID of the game: 579180
System Information
- GPU: Geforce RTX 2060
- Driver/LLVM version: nvidia 440.82
- Kernel version: 5.4.0-0.bpo.4-amd64
- Link to full system information report as [Gist]https://gist.github.com/krauser87/22adf2831c7f5de0deee8467d3fba499
- Proton version: 5.0-7, 4.11-13, 4.2-9
I confirm:
- [ ] that I haven't found an existing compatibility report for this game.
- [x] that I have checked whether there are updates for my system available.
Symptoms
The videos(and the falcom logo) do not play. Tried using winetricks in the game prefixe and install directshow, didn't work. Tried also installing lavfilters via wine into the prefix, didn't work. Tried with lavfilters only, same result.
Reproduction
Looks like it uses media foundation. Does GloriousEggroll's proton branch work?
Looks like it uses media foundation. Does GloriousEggroll's proton branch work?
Tried it just now, no luck.
winetricks directshow cinepak and installing LAVFilters 0.74.1 into the prefix worked for me.
@lakp Thank you, installing cinepak via winetricks was what I was missing. Now the Falcom logo shows up and I can watch the movies too
Ys VIII: Lacrimosa of DANA (579180)
Issue transferred from https://github.com/ValveSoftware/Proton/issues/4325. @daigennki posted on 2020-10-28T14:24:59:
Compatibility Report
- Name of the game with compatibility issues: Ys VIII: Lacrimosa of DANA
- Steam AppID of the game: 579180
System Information
- GPU: AMD Radeon R9 390
- Driver/LLVM version: amdvlk 2020.Q4.1-1 (happens with Mesa vulkan-radeon 20.2.1-1 as well)
- Kernel version: 5.9.1-arch1-1
- Link to full system information report as Gist: https://gist.github.com/daigennki/973117d6025250d6403458074b7225d1
- Proton version: 5.13-1 (happens with 5.0-9 as well)
I confirm:
- [x] that I haven't found an existing compatibility report for this game.
- [x] that I have checked whether there are updates for my system available.
Symptoms
This is a weird one. Lipsyncing in cutscenes with full voiceovers doesn't seem to work. To be specific, none of the characters' lips move in cutscenes ("events") with voiceovers and subtitles at the bottom of the screen, but they do move in short cutscenes with the text in speech bubbles. This problem definitely doesn't happen when run on Windows natively.
Reproduction
Launch the game and start a new game, then wait for voiceovers to be played in the opening cutscene. If there is already a save file, either load that and trigger a cutscene with full voiceovers, or go to the event gallery in "Gallery" in the title screen and play any event. Happens for save files that were created on either a Windows or Linux machine.
@daigennki winetricks xact will fix this
@daigennki
winetricks xactwill fix this
Ah, that seems to have fixed it. Thank you.
Just for posterity/documentation's sake, the lipsyncing issue is most likely related to an FAudio problem which we upstreamed the fix for here: https://github.com/FNA-XNA/FAudio/pull/245
I just wanted to add to this issue, since the game is now Deck Verified.
I played the whole game on Steam Deck, everything worked great except for the final cutscenes that are still missing (I got the placeholder instead and had to watch them on YouTube).
After a short amount of time after starting the game I get a constant audio buzzing or static sound. It will go away if I turn off the BGM in the sound settings and come back if I increase the volume again. I am also getting this issue with Tales of Symphonia (https://github.com/ValveSoftware/Proton/issues/822#issuecomment-2326999328), but not any other games including Ys X and Ys Origin.
Anything that can be done to solve this?
After a short amount of time after starting the game I get a constant audio buzzing or static sound. It will go away if I turn off the BGM in the sound settings and come back if I increase the volume again. I am also getting this issue with Tales of Symphonia (#822 (comment)), but not any other games including Ys X and Ys Origin.
Anything that can be done to solve this?
I was unable to reproduce this with the GOG version using wine 9.21 so I think that suggests its a problem in Proton and/or FAudio.
@orbea Unfortunately, I was unable to reproduce the audio issue, tried HDMI and the motherboard's analog output but in both cases it worked as expected. I advanced enough to clear the prologue, without issue.
I wonder if its only with alsa? I think that might reach different code paths in wine. If there is any information I can provide to help narrow this down please let me know.
Testing the GOG version led to a game breaking crash when trying to return to Castaway Village in Chapter 2 for the first raid. Copying the save file into my Steam version avoided the crash, but the sound issue returned. Copying a save made in Castaway village to my GOG game directory would crash when trying to load it. So I copied the whole Steam game directory, replaced steam_api64.dll with a fake .dll and ran it with the system wine instead of Proton. This avoids both the game crash and the audio issue. Additionally with the same settings it also has better performance than when running the game with Proton in Steam....
I built wine-proton-9.0.3 from the Gentoo repos and tested the Steam version outside of Steam where I was unable to reproduce the audio issue or the performance issues. To make sure I selected the same Proton version in Steam and was able to reproduce both the audio and performance issues. The problem seems to not be Proton, but somewhere else in the Steam ecosystem?
The game crash is specific to the GOG version and is fixed with the Steam version already where it seems the fix was never applied to GOG.
@orbea Tried the game with alsa today, and still no audio issues after an hour. A proton log may or may not have more information about the issue. Changing the game's launch parameter to PROTON_LOG=1 will generate a log file in your home folder called steam-579180.log, if you play until the audio issue appears, there might be some information about it.
I followed your instructions and created a proton log. I suspect the ALSA underrun spam towards the end of the log is related, but I may be missing other clues? I am using alsa-lib-1.2.12.
ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Also this is my current /etc/asound.conf (With an exact copy in /home/steam/.asoundrc).
defaults.pcm.card 0
defaults.pcm.device 9
defaults.ctl.card 0
defaults.pcm.rate_converter "speexrate_medium"
pcm.!default {
type plug
slave.pcm "dmixer"
hint {
show on
description "Default ALSA Output"
}
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:0,9"
period_size 1024
buffer_size 4096
format S32_LE
rate 48000
}
bindings {
0 0
1 1
}
}
I use this so that the steam user and my normal user can both have access to the sound device and it generally works well.
@orbea Yeah, that alsa message appears to be a symptom of the issue you're seeing. I think it'd be a good idea to change your file descriptor limit and see if that has an effect.
WARNING: Low file descriptor limit: 4096 (see https://github.com/ValveSoftware/Proton/wiki/File-Descriptors)
WARNING: Low /proc/sys/vm/max_map_count: 65530 will prevent some games from working
For the second one, you can try setting a value such as 1000000 with a command like this # sysctl -w vm.max_map_count=1000000
@simifor
I also noticed the warnings and fixed both of them, but unfortunatey this didn't make a difference. For the second one I created /etc/sysctl.d/80-gamecompatibility.conf that contains:
vm.max_map_count=1048576
I read somewhere this is the steamdeck default value, but I am not sure if that was correct? Regardless both of the warnings are gone while the audio issue remains.
As was pointed out in the FAudio issue (https://github.com/FNA-XNA/FAudio/issues/367#issuecomment-2488938684) it plausibly works with my system wine/proton because gstreamer is using ffmpeg while in Steam because of patents it uses protonmediaconverter.
However I am not sure what can be done to confirm or resolve this.
@orbea I could reproduce the issue with your configuration file, tried a few things like increase the buffer size but the issue would crop up regardless, without your configuration file, the issue doesn't happen. Also tried the game on wine 9.20 by installing the windows version of steam, but while it was fine without your configuration, it'd crash with yours a few seconds after launch (sometimes before the main menu, sometimes after it pops up, but never had enough time to launch the game).
I tried reducing my configuration file to:
defaults.pcm.card 0
defaults.pcm.device 9
defaults.ctl.card 0
But unfortunately I can still reproduce it, I am using a TV as my monitor so avoiding HDMI audio would be difficult.
The fake steam_api64.dll I am using was from some Github repo a few years ago which I don't recall and with it I have been able to reach the third chapter of the game already without issues. However I would prefer if I could just run the game inside of Steam.
Also to be clear I have run at least several dozen games with this configuration file where the only ones to be problematic yet are Ys VIII and Tales of Symphonia.
I noticed that Proton currently has gstreamer 1.22.5 while Gentoo has 1.22.11 which is a significant diff. I wonder if that could account for why my local wine is unaffected?
@kisak-valve Would it be possible to get a new gstreamer version in proton-experimental to see if that makes a difference?
I found an issue with Ys VIII specifically on intel GPU when loading text. https://gitlab.freedesktop.org/mesa/mesa/-/issues/14429