http://bugs.winehq.org/show_bug.cgi?id=58498
Bug ID: 58498 Summary: OSS driver is triggering Rocket League crash Product: Wine Version: 10.10 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineoss.drv Assignee: wine-bugs@winehq.org Reporter: sean-freebsd@farley.org
This is an odd issue. Rocket League currently has an issue that causes it to crash with a very brief burst of static related to the sound device used. One reported workaround for Windows is to switch from headphones to speakers in settings: https://www.reddit.com/r/RocketLeague/comments/1lflw0s/were_aware_of_a_seaso... However, I already have it set to speakers in the game and stereo in winecfg.
I tried most configuration of OSS on my system without luck. The only thing that made it run was to change dev.pcm.4.rec.vchanformat from s16le:2.0 to s32le:2.0, however, this causes this game (not others) to produce very distorted sounds.
OTOH, I can run the game using ALSA, so that helps push the theory that the OSS driver is reporting something odd to the game or looks like headphones to it. Unfortunately, I have no idea.
System: - FreeBSD 14.3-STABLE - Wine 10.10 - Nvidia 4070 - Both ALC4080 and Creative AE-5 Plus
wineoss.drv trace of the primary playback device: 01fc:trace:oss:oss_create_stream OSS audioinfo: 01fc:trace:oss:oss_create_stream devnode: /dev/dsp4 01fc:trace:oss:oss_create_stream name: dsp4.virtual_play.0 01fc:trace:oss:oss_create_stream busy: 2 01fc:trace:oss:oss_create_stream caps: 63200 01fc:trace:oss:oss_create_stream iformats: 0 01fc:trace:oss:oss_create_stream oformats: 10 01fc:trace:oss:oss_create_stream enabled: 1 01fc:trace:oss:oss_create_stream min_rate: 1 01fc:trace:oss:oss_create_stream max_rate: 2016000 01fc:trace:oss:oss_create_stream min_channels: 2 01fc:trace:oss:oss_create_stream max_channels: 2 01fc:trace:oss:setup_oss_device returning: 00000000 020c:trace:oss:oss_write_data New buffer size (8192) is larger than old buffer size (0)
winealsa.drv trace of the primary playback device: 022c:trace:alsa:map_channels Mapping mmdevapi channel 0 (0x1) to ALSA channel 0 022c:trace:alsa:map_channels Mapping mmdevapi channel 1 (0x2) to ALSA channel 1 022c:trace:alsa:map_channels need_remapping: 0, alsa_channels: 2 022c:trace:alsa:alsa_create_stream ALSA period: 480 frames 022c:trace:alsa:alsa_create_stream ALSA buffer: 1920 frames 022c:trace:alsa:alsa_create_stream MMDevice period: 480 frames 022c:trace:alsa:alsa_create_stream MMDevice buffer: 2048 frames
sndctl information about device: pcm4: <Creative CA0132 (Rear Analog)> on hdaa1 (play/rec) name = pcm4 desc = Creative CA0132 (Rear Analog) status = on hdaa1 devnode = dsp4 from_user = 0 unit = 4 caps = INPUT,MMAP,OUTPUT,REALTIME,TRIGGER bitperfect = 0 autoconv = 1 realtime = 0 play.format = s16le:2.0 play.rate = 48000 play.vchans = 1 play.min_rate = 1 play.max_rate = 2016000 play.min_chans = 2 play.max_chans = 2 play.formats = s16le,s32le rec.rate = 48000 rec.format = s16le:2.0 rec.vchans = 1 rec.min_rate = 1 rec.max_rate = 2016000 rec.min_chans = 2 rec.max_chans = 2 rec.formats = s16le,s32le