[BUG] Eden (Switch) doesn't detect Selkies virtual gamepad; other emulators do
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- dockerfile, linux
- Bereich
- desktop, embedded-iot
Rechercherichtung
Start by reading the container configuration and the Eden launch setup under /opt/eden, then trace how SELKIES_INTERPOSER and the virtual gamepad devices reach Eden's SDL runtime. Compare Eden's input visibility with jstest-gtk and PCSX2 in the reported container setup. Done when Eden lists the Selkies virtual gamepad as an input device; the issue does not identify the relevant repository files or tests.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Eden v0.2.1 lists only Keyboard/Mouse under Configure → Controls → Input Device, so no controller can be bound.
In the same session the virtual gamepad is clearly working:
- container log:
INFO:input:Client controller 'xinput' (17b, 4a) is now associated with persistent virtual gamepad slot 0. - jstest-gtk on the desktop sees the controller and its inputs
- PCSX2 works with the controller
Tried, no change:
SDL_JOYSTICK_DEVICE=/dev/input/event1000SDL_JOYSTICK_DEVICE=/dev/input/js0withSDL_JOYSTICK_LINUX_CLASSIC=1- pressing a controller button before launching Eden; restarting the container
Suspected cause: Eden runs from /opt/eden with its own bundled libraries (shared/lib, its own Vulkan loader and Mesa layers). It looks like Eden's bundled loader/runtime doesn't pick up selkies_input_interposer.so (SELKIES_INTERPOSER), so SDL never reaches the interposed js/event devices.
Expected Behavior
The Selkies virtual gamepad should appear as an input device in Eden, as it does in jstest-gtk and PCSX2.
Steps To Reproduce
- Start the
rommtag container with an NVIDIA GPU and launch a Switch game from RomM streaming (Eden), or open Eden from the desktop. - Connect a gamepad in the browser and press a button; confirm the container log associates it with virtual gamepad slot 0 and that jstest-gtk sees it.
- In Eden open Emulation → Configure → Controls → Input Device.
- Only Keyboard/Mouse is listed.
Related notes for NVIDIA hosts (may be worth documenting):
- Eden's Vulkan init failed (
VK_ERROR_INITIALIZATION_FAILED) until I setVK_DRIVER_FILES=/etc/vulkan/icd.d/nvidia_icd.json,NODEVICE_SELECT=1andVK_LOADER_LAYERS_DISABLE=~implicit~— the bundled MesaVK_LAYER_MESA_device_selectin/opt/eden/share/vulkan/implicit_layer.dreplaces the system one. After that, Eden had savedvulkan_device=-1from the earlier failed runs and needed the device re-selected. - Games then crashed with
host_memory.cpp: assert mprotect failed: Cannot allocate memoryuntilvm.max_map_countwas raised on the host (default 65530 → 1048576).
Environment
- OS: Unraid 7.4.0
- How docker service was installed: Unraid built-in Docker
- GPU: NVIDIA Tesla V100 (PG500-216), driver 580.196.07, kernel params nvidia-drm.modeset=1 nvidia_drm.fbdev=1
- Selkies: Wayland zero-copy NVENC working
CPU architecture
x86-64
Docker creation
Unraid template, equivalent to:
docker run -d --name=webstation \
--net=br0.2 --ip=192.168.2.199 \
--runtime=nvidia --gpus all \
--device=/dev/dri --device=/dev/nvidia-modeset \
--shm-size=1g \
-e PUID=99 -e PGID=100 -e TZ=America/New_York \
-e SUBFOLDER=/streaming/ \
-e BROKER_SECRET=<redacted> \
-e NVIDIA_DRIVER_CAPABILITIES=compute,video,graphics,utility \
-e VK_DRIVER_FILES=/etc/vulkan/icd.d/nvidia_icd.json \
-e NODEVICE_SELECT=1 \
-e VK_LOADER_LAYERS_DISABLE=~implicit~ \
-v /mnt/cache/appdata/webstation:/config \
-v /mnt/user/Roms:/romm/library:ro \
ghcr.io/linuxserver/webstation:romm
Container logs
Relevant excerpt (full log has nothing controller-related beyond this):
INFO:ws:Client ('127.0.0.1', 37944) connected (token, role controller, slot 1).
[Wayland] Encoder: NVENC H264 4:2:0 8-bit on Tesla PG500-216 (render node 0, nvidia driver), 3 engines.
[Wayland] Zero-copy capture: output 1 1878x862 rendered on /dev/dri/renderD128, encoded in place on NVENC.
INFO:input:Client controller 'xinput' (17b, 4a) is now associated with persistent virtual gamepad slot 0.
Eden log (eden_log.txt) shows only these input lines at startup:
Input <Info> input_common/drivers/udp_client.cpp:140:UDPClient: Udp Initialization started
Input <Info> input_common/drivers/joycon.cpp:25:Joycons: Joycon driver Initialization started
Frontend <Info> yuzu/main_window.cpp:502:MainWindow: Eden Version: Eden Development Build | v0.2.1-v0.2.1
- Vorherrschende Sprache
- Dockerfile
- Sterne
- 18
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus linuxserver/docker-webstation
-
no-issue-activity
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
linuxserver/docker-webstation#11 · 7 Kommentare ·
Alle Issues in linuxserver/docker-webstation
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ardia-browser/ardia#4778 ·
Maintainer antworten meist innerhalb von 1 Tag
-
p2 ready-mac
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug from-app needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nightly-labs/openbot#18462 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input boxEvtl. vergeben @PranavTJ-05 hat das heute übernommen. Offencomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
NousResearch/hermes-agent#161023 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag