Closed pjagiello closed 2 years ago
It looks like there's an audio issue with ALSA or pulse on your machine. Try using a different audio driver, such as sdl2 (Settings > Audio).
Here it's fully functional latest master
with ArchLinux and Intel HD 4400 (i3 4130T).
Tested both Dreamcast games and NAOMI roms.
Don't know if it's related but did you try using another audio driver?
Hm I kinda dismissed this message because I'm used to seeing various ALSA errors all over the place while everything is working, but you're right, switching to e.g. "sdl2" makes the crash go away. Not sure if anything on my machine changed audio-wise though, I'm using Pipewire (with the pipewire-pulse comp. layer) and this configuration worked in some earlier flycast version.
Apparently the configured ALSA device is pulse
and it can't be found anymore. Switching the device to auto
or default
would probably fix the crash as well.
I'll push a change to default to auto
if the configured ALSA device can't be opened.
Actually, I had it set to auto
to begin with, and switching to auto
now also triggers the same crash.
EDIT: ah, right, you meant the "auto" device, not the "auto" audio setting. To be clear, what I mean here is that the automatic driver selection crashes.
Even more interestingly, even just setting it to pulse
or alsa
works fine - in the case of alsa
I don't even need to pick a device from a list and it just works (and I can't set the alsa device to "pulse" because it's not even on the list, I have a "pipewire" device instead). The only setting that crashes seems to be auto
.
I guess I forgot to write that, but on newest master the automatic detection option indeed doesn't crash anymore. Thanks!
Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.
Platform / OS / Hardware: Linux 64-bit, OpenGL Github hash: b240da4
Hardware: CPU: Intel i5-4200M GPU: Intel(R) HD Graphics 4600
Description of the Issue
On newest master, attempting to play any game results in a crash just after the decryption step is done.
Logs Gathered
Let me know if I can provide anything else to debug the issue.