Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Device Outputs aren't being sent with output network set #466

Open
SeongGino opened this issue Jan 7, 2024 · 0 comments
Open

[Linux] Device Outputs aren't being sent with output network set #466

SeongGino opened this issue Jan 7, 2024 · 0 comments

Comments

@SeongGino
Copy link

Description

*Specifically referring to device outputs, not display output.
Trying to use the -output network option in MAME does not work - 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 outputs option is enabled via [system]/mame/ini/mame.ini, 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. 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

  1. This issue specifically refers to Linux RetroArch, unless this also applies to Windows users
  2. Install the latest MAME core.
  3. Create a mame.ini in $system/mame/ini with the contents:
output network
  1. Start a game in MAME (like term2).
  2. In a terminal, type nc -v localhost 8000
  3. 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)
  • MAME (Current) Core: 0.261 (68520cf)

Environment information

  • OS: Arch Linux

I've previously posted about this issue in the RetroArch frontend side here (libretro/RetroArch#15953), wondering if this is more an issue with the core, frontend, or my system in some manner and how to resolve.

@SeongGino SeongGino changed the title [Linux] Device Outputs aren't being sent from compatible cores [Linux] Device Outputs aren't being sent with output network set Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant