The Legend of Heroes: Trails of Cold Steel II (748490)
Issue transferred from https://github.com/ValveSoftware/Proton/issues/2677.
@goldhawlk posted on 2019-05-12T13:55:54:
Play button in the Steam client is sufficient.Hello @enimog, can you check if this game (Cold Steel II) has any issues with Proton 4.2-3 that would block it from being whitelisted?
Tested with a clean prefix (I deleted the old one) and Proton 4.2-3, here are the result I get:
21.3~git2108310600.213548~oibaf~f/12.0.1-1~oibaf~fWith the latest version of proton experimental video is not playing and installing xvid does not resolve the issue anymore. Now it shows a test pattern with a counter and static.
unplayable on recent versions of proton constantly crashes and audio randomly breaks after a few hours of play ( audio stops playing then the game crashes when it goes to load a new scene)
steam-Trails of Cold Steel II.log
if anyone runs into this issue on Linux I fixed it by disabling the audio patches in senpatcher. Game works flawlessly (including videos) now on proton 7.0-1
if anyone runs into this issue on Linux I fixed it by disabling the audio patches in senpatcher.
That's the first thing I tried. No dice.
Audio issue will happen a lot or not at all depending on the area, which is what I suspect you're experiencing.
yeah may have prematurely called it fixed by disabling the audio patches in senpatcher got it to happen again with no patches.
seems really busy area's with a lot of different sound sources ( like in front of barahard cathedral where there sfx from the water fountain and the npc footsteps from walking around) is more likely to trigger the bug. and causes warn:seh:OutputDebugStringA "Command buffer maxed out so refused execution of command: 63504 / 65536 bytes\n" to appear in the proton log at the same time the audio loss happens which AdmiralCurtiss from senpatcher mentioned might be related
To clarify, that message is from CS2 itself, not Proton or XAudio2. As far as I understand from reverse-engineering anyway, the way the audio logic in CS2 works is that there's a command ringbuffer that the main thread pushes commands into (play SFX, play voice, switch BGM, etc.), and a separate audio thread then processes these into actual XAudio2 calls.
The log message is repeated a lot after the bug triggers, with the same amount of bytes every time, which leads me to believe that the audio thread either dies or deadlocks on Proton and thus no new commands are processed and removed from the buffer anymore, and the main thread stops pushing new ones because the ringbuffer is full, printing the message in the process.
proton 7.0-1x1 2022-02proton experimentalx1 2021-09proton 4.2-3x2 2019-05
Compatibility Report
System Information
I confirm:
Symptoms
The following issues apply for both The Legend of Heroes: Trails of Cold Steel and The Legend of Heroes: Trails of Cold Steel II:
The following issues apply for The Legend of Heroes: Trails of Cold Steel II only:
Once these issues have been addressed, it will be possible to mark this series as platinum on protondb as both games work perfectly from the start to the end if they manage to start.
Reproduction
Try to launch the game after downloading it from the steam app.