apu: warn when the host has no audio output device #222
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!222
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-222"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@a55uka on GitHub · 2026-11-24 01:35 UTC · original
a55uka:fix/warn-no-audio-output→main· +26 −0 · 3 files · 1 commits · openOn Linux, if Wine has no sound driver, the game stops about 15 seconds in. It always stops at its own int3 assert at title+0x4dcbc9d, in the loading-screen loop (title+0x5ab12e0), and nothing in the crash report mentions audio.
Cause: with no output device, the game's audio never empties its command buffer. Each pass of the loading loop adds about 1.7 KB to a 96 KB buffer until the next write doesn't fit, and the game asserts. Fedora ships Wine's sound drivers as separate packages (wine-pulseaudio, wine-alsa), and installing wine alone doesn't pull them in, so this is easy to hit.
Tested:
@jeremygold02 on GitHub · 2026-11-24 05:19 UTC · original
Thanks @a55uka for adding a once-only warning when the host reports no audio output devices.
I tested commit
9a77707b01c040e7c4480fb96b2c6e17b79b04d8with:The targeted test passed (1 passed, 0 failed; 85 filtered).
decodes_opus_as_the_title_drives_itconnects throughXApuConnect, which calls the new once-only output-device check, then continues through the title-shaped Opus command flow.This confirms the connection path still succeeds with the check in place. The test does not force the no-device branch or assert the warning event/text, and it does not exercise the documented host audio-driver setup.
@Marvisak on GitHub · 2026-11-25 00:21 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:README.md.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.