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
http://bugs.winehq.org/show_bug.cgi?id=58498
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- If there's a crash then you should have a backtrace to attach. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs
http://bugs.winehq.org/show_bug.cgi?id=58498
--- Comment #2 from Sean C. Farley sean-freebsd@farley.org --- Created attachment 79005 --> http://bugs.winehq.org/attachment.cgi?id=79005 backtrace
Sorry. Wine is not crashing. The game is but only if the sound driver is OSS. I get this message yet winedbg cannot attach to the process. Actually, I typed that and tried again. Finally, I got a backtrace. :)
wine: Unhandled page fault on write access to 0000000018C02000 at address 00006FFFFF47D589 (thread 0200), starting debugger...
Game version: BC2_Update55+487806b
The same Wine binaries can be used successfully with Alsa but not OSS. I am just tweaking the sound with winetricks (sound=alsa and sound=oss).
http://bugs.winehq.org/show_bug.cgi?id=58498
Sean C. Farley sean-freebsd@farley.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|OSS driver is triggering |Rocket League: OSS driver |Rocket League crash |is triggering game to crash
http://bugs.winehq.org/show_bug.cgi?id=58498
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- How are you running the game (Steam/Epic/etc.)?
http://bugs.winehq.org/show_bug.cgi?id=58498
--- Comment #4 from Sean C. Farley sean-freebsd@farley.org --- I am running it from Epic using Legendary (https://github.com/derrod/legendary) with some environment variables set. I typically use dxvk, but it fails without it installed too.
Basically: WINEDEBUG=-all,+warn legendary launch Sugar -nomovie
From the Legendary log: wine /home/sean/Games/rocketleague/Binaries/Win64/RocketLeague.exe -nomovie -AUTH_LOGIN=unused -AUTH_PASSWORD=redacted -AUTH_TYPE=exchangecode -epicapp=Sugar -epicenv=Prod -EpicPortal -epicusername=redacted -epicuserid=redacted -epiclocale=en -epicsandboxid=redacted
I almost forgot something. If I have OSS enabled and run the game with the -nosound argument, it will not crash. Of course, the sounds are missing, so that is not much of an option.