[Bug 59548] New: Neko Project emulator no longer works with 96 kHz sampling rate (Gentoo Linux)
http://bugs.winehq.org/show_bug.cgi?id=59548 Bug ID: 59548 Summary: Neko Project emulator no longer works with 96 kHz sampling rate (Gentoo Linux) Product: Wine Version: 11.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv Assignee: wine-bugs@list.winehq.org Reporter: enkiferreiracosta867@gmail.com Distribution: --- Created attachment 80601 --> http://bugs.winehq.org/attachment.cgi?id=80601 Crash Backtrace After the update to Wine 11.5, I can no longer launch the Neko Project 21/W emulator, as it crashes right at startup (see backtrace.txt in attachment). However, if I lower the sampling rate from 96000 Hz to just 48000, it works again. There has been no change to my system whatsoever besides this update to Wine. This sampling rate and beyond have always been supported by both my hardware and software, so I dunno what's going on here. Looking at the changelog, the most related change I can find is related to bit depth, which's not configurable in Neko Project, only the sampling rate. Plus, these changes were only done to the winepulse driver, not winealsa, which is the one I'm using. However, recompiling Wine to use only the PulseAudio driver instead of the ALSA one makes it work again, somehow. I'd still prefer to use the ALSA driver, tho'. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Michael Stefaniuc <mstefani@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@winehq.org --- Comment #1 from Michael Stefaniuc <mstefani@winehq.org> ---
From what version did you upgrade? There were a ton of changes this year to dlls/mmdevapi/ regarding valid formats. So you'll have to run a regression test to find the culprit commit.
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 --- Comment #2 from ruby R53 <enkiferreiracosta867@gmail.com> --- from 11.4··· how do i run a regression test tho' -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 --- Comment #3 from Michael Stefaniuc <mstefani@winehq.org> --- https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 --- Comment #4 from ruby R53 <enkiferreiracosta867@gmail.com> --- i'm compiling it from the latest commit and i'm somehow unable to make it use the winealsa driver, even if i make a new prefix and explicitly add --without-pulse and --with-alsa in the configure options -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Bernhard Übelacker <bernhardu@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org --- Comment #5 from Bernhard Übelacker <bernhardu@mailbox.org> --- Created attachment 80633 --> http://bugs.winehq.org/attachment.cgi?id=80633 59548_downsample.txt Hello, I could reproduce this crash inside a test VM. A backtrace with debug symbols with winehq wine-11.5 looks like this: Backtrace: =>0 downsample [dlls/dsound/mixer.c:335] in dsound 1 resample [dlls/dsound/mixer.c:371] in dsound 2 cp_fields_resample [dlls/dsound/mixer.c:439] in dsound 3 cp_fields [dlls/dsound/mixer.c:474] in dsound 4 DSOUND_MixToTemporary [dlls/dsound/mixer.c:528] in dsound 5 DSOUND_MixInBuffer [dlls/dsound/mixer.c:599] in dsound 6 DSOUND_MixOne [dlls/dsound/mixer.c:604] in dsound 7 DSOUND_MixToPrimary [dlls/dsound/mixer.c:658] in dsound 8 DSOUND_PerformMix [dlls/dsound/mixer.c:793] in dsound 9 DSOUND_mixthread [dlls/dsound/mixer.c:832] in dsound More details in attached notes. This seems to manifest also in the tests quartz:filtergraph, winmm:mci and wmp:media. A git bisect leads to this commit: 97f3bffa60b173c43ceef6c96ed5d9a46fccef12 is the first broken commit commit 97f3bffa60b173c43ceef6c96ed5d9a46fccef12 Author: Anton Baskanov <baskanov@gmail.com> Date: Wed Jan 14 12:35:19 2026 +0700 dsound: Swap around the two nested loops in downsample. This makes the FIR array index in the inner loop to advance in fixed steps equal to fir_step. As a side effect this also eliminates the FIR step rounding. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Bernhard Übelacker <bernhardu@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Regression SHA1| |97f3bffa60b173c43ceef6c96ed | |5d9a46fccef12 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Anton Baskanov <baskanov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |baskanov@gmail.com --- Comment #6 from Anton Baskanov <baskanov@gmail.com> --- Hi, Thank you for debugging this. Should be fixed by https://gitlab.winehq.org/wine/wine/-/merge_requests/10479 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 --- Comment #7 from ruby R53 <enkiferreiracosta867@gmail.com> --- ohh that's awesome, really hope this simple change is the fix -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Bernhard Übelacker <bernhardu@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c59db3f5443b075738d260552e8 | |0d01d721e4366 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #8 from Bernhard Übelacker <bernhardu@mailbox.org> --- https://gitlab.winehq.org/wine/wine/-/commit/c59db3f5443b075738d260552e80d01... Merge request got included, should be available in next release wine-11.6. Following tests look also much better in todays run: https://test.winehq.org/data/patterns.html#quartz:filtergraph https://test.winehq.org/data/patterns.html#wmp:media -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 --- Comment #9 from ruby R53 <enkiferreiracosta867@gmail.com> --- sweet, thanks -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59548 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.6. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla