The Legend of Heroes: Trails through Daybreak II (2668430)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, linux, wasm
- Ambito
- audio-video-rtc, compilers, operating-systems
Direzione di ricerca
The fault is in FAudio's mixer thread (DspReverb_INTERNAL_ProcessChannel), not in this Proton repository, and the work is already tracked upstream at FNA-XNA/FAudio#425. Start by reading the linked upstream report and its stack samples, then check whether Proton's FAudio version includes the FTZ/DAZ change. Done means a verified fix or a confirmed upstream resolution, and no workaround is needed in this repo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Compatibility Report
- Name of the game with compatibility issues: The Legend of Heroes: Trails through Daybreak II
- Steam AppID of the game: 2668430
System Information
- GPU: NVIDIA GeForce RTX 4090
- Video driver version: nvidia 620.70.06
- Kernel version: 7.3.4 (Bazzite / Fedora Atomic, KDE Plasma on Wayland)
- Link to full system information report as Gist: not provided; the relevant details are above and can be supplied on request
- Proton version: Proton Hotfix (hotfix-20261110); also reproduced on Proton Experimental (experimental-11.0-20261112)
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.
Symptoms
Severe audio stutter and video hitching during pre-rendered cutscenes. Gameplay is fine. The video is slaved to the audio clock, so the video hitches along with the audio.
Cause: the FAudio_AudioClientThread mixing thread sits at about 99% of one CPU core inside FAudio's software reverb (DspReverb_INTERNAL_ProcessChannel). The thread's MXCSR was 0x1fb2, which has the sticky denormal and underflow flags set and FTZ/DAZ clear. Setting FTZ|DAZ on the live thread (gdb -p <tid> -batch -ex 'set $mxcsr = $mxcsr | 0x8040') dropped it from 99.8% to about 10% CPU within seconds and fixed the audio. PipeWire showed 0 xruns, and the GPU and the rest of the CPU were idle.
This is a bug in FAudio's mixer thread, not in the game. I have filed it upstream with the stack samples, the MXCSR values and a suggested fix (enable FTZ/DAZ inside the mixer thread): https://github.com/FNA-XNA/FAudio/issues/425
Filing here so Proton users can find it, and so the fix can be picked up when Proton's FAudio is updated. Note that an LD_PRELOAD workaround is not possible because Wine resets MXCSR to 0x1f80 when each thread starts.
Reproduction
- Run the game under Proton Hotfix or Proton Experimental.
- Play any story cutscene or the opening movie.
top -H -p $(pgrep -x kuro2.exe): theFAudio_AudioClithread sits near 100% and the audio crackles.
I have not attached a PROTON_LOG because the cause was found with gdb on the live process rather than from Proton's logs. I can capture one if it would help.
- Lingua principale
- C++
- Stelle
- 33.4k
- Fork
- 1.8k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/Proton
-
Mixed-case DriverStore/FileRepository path for igdext64.dll duplicates Wine's driverstore folder and breaks Steam's "Move install folder"Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ValveSoftware/Proton#10270 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
ValveSoftware/Proton#10167 ·
-
Game compatibility - Unofficial
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
ValveSoftware/Proton#10105 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ValveSoftware/Proton#10098 · 2 reazioni ·
-
DarkOrbit Reloaded (4054110)ApertaGame compatibility - Unofficial
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
ValveSoftware/Proton#9612 ·
Tutte le issue di ValveSoftware/Proton
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
deepseek-ai/DeepGEMM#529 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ucb-bar/libgemmini#10 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Quantinuum/tket#2282 ·
I maintainer di solito rispondono entro 1 giorno