Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ys VIII: Lacrimosa of DANA (579180) #3820

Open
1 of 2 tasks
krauser87 opened this issue May 1, 2020 · 24 comments
Open
1 of 2 tasks

Ys VIII: Lacrimosa of DANA (579180) #3820

krauser87 opened this issue May 1, 2020 · 24 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem

Comments

@krauser87
Copy link

Compatibility Report

  • Name of the game with compatibility issues: Ys VIII: Lacrimosa of DANA
  • Steam AppID of the game: 579180

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • 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

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label May 1, 2020
@kisak-valve kisak-valve changed the title Ys VIII: Lacrimosa of DANA - Videos do not play Ys VIII: Lacrimosa of DANA (579180) May 1, 2020
@kisak-valve kisak-valve added the XAudio2 Uses the XAudio2 subsystem label May 1, 2020
@qsniyg
Copy link

qsniyg commented May 2, 2020

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

@krauser87
Copy link
Author

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

Tried it just now, no luck.

@lakp
Copy link

lakp commented May 3, 2020

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

@krauser87
Copy link
Author

@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

@kisak-valve
Copy link
Member

Ys VIII: Lacrimosa of DANA (579180)

Issue transferred from #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

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • 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.

@lakp
Copy link

lakp commented Oct 28, 2020

@daigennki winetricks xact will fix this

@daigennki
Copy link

@daigennki winetricks xact will fix this

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

@PeterTh
Copy link

PeterTh commented Jul 23, 2021

Just for posterity/documentation's sake, the lipsyncing issue is most likely related to an FAudio problem which we upstreamed the fix for here: FNA-XNA/FAudio#245

@pjeanjean
Copy link

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

@orbea
Copy link

orbea commented Nov 15, 2024

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?

@orbea
Copy link

orbea commented Nov 17, 2024

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.

@simifor
Copy link

simifor commented Nov 19, 2024

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

@orbea
Copy link

orbea commented Nov 20, 2024

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
Copy link

orbea commented Nov 20, 2024

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
Copy link

orbea commented Nov 20, 2024

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.

@simifor
Copy link

simifor commented Nov 20, 2024

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

@orbea
Copy link

orbea commented Nov 20, 2024

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.

@simifor
Copy link

simifor commented Nov 22, 2024

@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

@orbea
Copy link

orbea commented Nov 23, 2024

@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
Copy link

orbea commented Nov 23, 2024

As was pointed out in the FAudio issue (FNA-XNA/FAudio#367 (comment)) 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.

@simifor
Copy link

simifor commented Nov 28, 2024

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

@orbea
Copy link

orbea commented Nov 29, 2024

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
Copy link

orbea commented Dec 16, 2024

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
Copy link

orbea commented Dec 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues XAudio2 Uses the XAudio2 subsystem
Projects
None yet
Development

No branches or pull requests

9 participants