Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Ys VIII: Lacrimosa of DANA (579180)

Open krauser87 opened this issue 5 years ago • 25 comments

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.

steam-579180.log

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

krauser87 avatar May 01 '20 20:05 krauser87

Looks like it uses media foundation. Does GloriousEggroll's proton branch work?

qsniyg avatar May 02 '20 23:05 qsniyg

Looks like it uses media foundation. Does GloriousEggroll's proton branch work?

Tried it just now, no luck.

krauser87 avatar May 03 '20 09:05 krauser87

winetricks directshow cinepak and installing LAVFilters 0.74.1 into the prefix worked for me.

lakp avatar May 03 '20 14:05 lakp

@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

krauser87 avatar May 03 '20 15:05 krauser87

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.

steam-579180.log

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.

kisak-valve avatar Oct 28 '20 14:10 kisak-valve

@daigennki winetricks xact will fix this

lakp avatar Oct 28 '20 19:10 lakp

@daigennki winetricks xact will fix this

Ah, that seems to have fixed it. Thank you.

daigennki avatar Oct 28 '20 23:10 daigennki

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

PeterTh avatar Jul 23 '21 10:07 PeterTh

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).

pjeanjean avatar Oct 24 '22 22:10 pjeanjean

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?

orbea avatar Nov 15 '24 02:11 orbea

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 avatar Nov 17 '24 15:11 orbea

@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.

simifor avatar Nov 19 '24 19:11 simifor

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.

orbea avatar Nov 20 '24 04:11 orbea

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....

orbea avatar Nov 20 '24 06:11 orbea

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 avatar Nov 20 '24 15:11 orbea

@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.

simifor avatar Nov 20 '24 15:11 simifor

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

steam-579180.log

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 avatar Nov 20 '24 17:11 orbea

@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 avatar Nov 22 '24 18:11 simifor

@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.

orbea avatar Nov 23 '24 03:11 orbea

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 avatar Nov 23 '24 15:11 orbea

@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).

simifor avatar Nov 28 '24 20:11 simifor

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.

orbea avatar Nov 29 '24 19:11 orbea

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?

orbea avatar Dec 16 '24 05:12 orbea

@kisak-valve Would it be possible to get a new gstreamer version in proton-experimental to see if that makes a difference?

orbea avatar Dec 16 '24 15:12 orbea

I found an issue with Ys VIII specifically on intel GPU when loading text. https://gitlab.freedesktop.org/mesa/mesa/-/issues/14429

kevinwidjaja21 avatar Dec 07 '25 08:12 kevinwidjaja21