flycast
flycast copied to clipboard
[Linux] Device Outputs aren't being sent
Description
*Specifically referring to device outputs, not display output. Trying to use the MAME-compatible Broadcast Digital Outputs option in Flycast does not work in RetroArch - it seemingly isn't able to open the necessary port, thus no device output data is sent (e.g. for lightgun force feedback effects, LEDs, etc.)
Expected behavior
When the network outputs option is enabled, I should be able to inspect the network traffic in localhost:8000
and see output data being sent.
Actual behavior
Port remains closed/inoperable, implying the option(s) does not even work. While I have not tested with standalone Flycast, this DOES work in standalone MAME, implying it isn't an issue with the system (unless RA/libretro needs the user to be part of a specific group for this functionality?).
Steps to reproduce the bug
- This issue specifically refers to Linux RetroArch, unless this also applies to Windows users
- Install Flycast core.
- In a booted game in the Flycast core, enable the "Broadcast Digital Outputs" option. Exit the core to commit the setting.
- Start a Naomi game in Flycast (tried hotd2, lupinsho, ninjaslt).
- In a terminal, type
nc -v localhost 8000
- Observe the error
localhost [127.0.0.1] 8000 (irdmi): Connection refused
Version/Commit
- RetroArch: 1.16.0 (from Arch
extra
repository, and official AppImage release, with fresh configs) - Flycast core: e7d0a5f
Environment information
- OS: Arch Linux
Posted this issue originally in the RetroArch frontend issues (https://github.com/libretro/RetroArch/issues/15953), but boosting here to raise awareness of the problem since it directly relates to and impacts the relevant cores themselves.