ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.73k stars 267 forks source link

Jetboard Joust, the game is smooth but no sound #1462

Open ricoazzurro opened 5 months ago

ricoazzurro commented 5 months ago

Description

Jetboard Joust (Native) Jetboard Joust, v1.1.04 (63134), Linux x64, GOG, Engine: MonoGame https://github.com/ptitSeb/box86-compatibility-list/issues/276

Tested on

ptitSeb commented 5 months ago

no Screenshots?

ricoazzurro commented 5 months ago

Screenshots as below, gameplay is ok, just no sound,

Jetboard Joust-1

Jetboard Joust-2

Jetboard Joust-3

ptitSeb commented 5 months ago

Those segfault are a bit strange, I'll have to debug that on my side...

ptitSeb commented 5 months ago

So, I analyse and I reproduce the issue. Something is wrong somewhere with the libpulse mapping of box64 (it's a complex one).

In the mean time, you can enjoy sound if you use BOX64_PREFER_WRAPPED=1 env. var. (or add that to you ~/.box64rc under a new [JetboardJoust] section.

ricoazzurro commented 5 months ago

I've tested on my board and BOX64_PREFER_WRAPPED=1 works! Yahoo, I have game sound now.

Thanks for taking time to fix this :)

I'll updated rc files and send pr when git skill is ready. Have a lovely weekend.

ricoazzurro commented 5 months ago

Ah, sorry, if you'd like to fix the mapping when you have time, fyi, Box64 with Dynarec v0.2.3 1d98aa5 in my test report, I think this version has sound, iirc. I'll test it again to confirm.

ptitSeb commented 5 months ago

Yeah, I plan to look at why it doesn't work with emulated libs. I'll reopen the ticket for now, becasue I consider it's only a workaround, not a proper solution for now (even if it's better to use emulated libs for performances).