The Legend of Heroes: Trails through Daybreak II (2668430)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, linux, wasm
- Lĩnh vực
- audio-video-rtc, compilers, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 33.4k
- Fork
- 1.8k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ValveSoftware/Proton
-
Mixed-case DriverStore/FileRepository path for igdext64.dll duplicates Wine's driverstore folder and breaks Steam's "Move install folder"Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ValveSoftware/Proton#10270 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ValveSoftware/Proton#10167 ·
-
Game compatibility - Unofficial
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ValveSoftware/Proton#10105 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ValveSoftware/Proton#10098 · 2 reaction ·
-
DarkOrbit Reloaded (4054110)Đang mởGame compatibility - Unofficial
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
ValveSoftware/Proton#9612 ·
Tất cả issue của ValveSoftware/Proton
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
deepseek-ai/DeepGEMM#529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ucb-bar/libgemmini#10 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Quantinuum/tket#2282 ·
Maintainer thường phản hồi trong vòng 1 ngày