> Please find attached a port of dolphin. Dolphin is an emulator for
> GameCube and Wii consoles. It supports various gamecontrollers and is
> optimized for dual-core use.
> 
> It runs GameCube and Wii ROMs well on my limited testing with a handful
> of them. Performance-wise there's mild stuttering in games that make
> heavy use of shaders, otherwise running quite well on i3-7100 (with HT
> disabled).
> 
> A few notes about the port:
> - ONLY_FOR_ARCHS=amd64 was in the original draft and I kept it - reason
>   seems to be that other archs likely won't be powerful enough
> - Requires USE_WXNEEDED, unless building with '-DENABLE_GENERIC=ON'
>   which disables all JITs, but then is unplayably slow
> - No releases available since 2016 ("Nobody on the project really cares
>   about stable releases. It's too much of a burden to care")
> - Only works with the builtin soundtouch because of a similar issue as
>   with citra. In addition, builtin soundtouch errors out during build
>   when disabling audio/pulseaudio.
> - Needs a large datasize, up to ~16GB (allocated at startup and then
>   reduced to what's actually needed).
> - Qt5 is used for the GUI because theres no wxWidgets3 available yet,
>   but Qt5 GUI is experimental and at least on OpenBSD causes a bus
>   error on exit (not present with dolphin-emu-nogui).
> 
> Original draft was by bentley@, picked up by me from openbsd-wip.
> 
> ok?

There was temporary confusion as to why dolphin was running on some
machines, but not on others.

It turns out that I had an old Dolphin.ini still present where Fastmem
was disabled while dolphin enables it now by default. Fastmem uses
unsafe, but fast memory operations in the JIT that are bound to trigger
SIGSEGV in some cases and the intention is apparently that dolphin
catches those and then applies the slower usual memory access. I
haven't heard of this being an issue on other platforms, but it causes a
segfault on OpenBSD.

This new draft fixes this by disabling fastmem by default. It's probably
best to remove stray dolphin-emu directories in ~/.config and
~/.local/share before using this port.

I wouldn't have found the issue with fastmem without the testing by
bentley@, Ryan Freeman, and anthk_ (on #openbsd-gaming on freenode).

Another hint: sound works with cubeb (in the audio settings).

Attachment: dolphin.tgz
Description: Binary data

Reply via email to