Setting Device Index and Reservation results in crash at start
Is there an existing issue for this?
- [x] This is a bug in RetroArch frontend
- [x] I have searched the existing issues
Description
In Settings > Input > RetroPad Binds > Port 1 Controls, when I update the Device Index from my keyboard to port 1 of my GameCube Controller adapter ("Keychron Keychron K8 Pro System control" -> "Nintendo GameCube Controller Adapter (1)") and update Device Reservation Type from "No Reservation" to "Preferred", the subsequent attempts of launching RetroArch result in a crash about a second after launching.
Screen recording attached with the following sequence of events:
- Deletion of config file
- Restart of RetroArch
- Set only Device Index to GameCube Controller 1
- Restart of RetroArch (issue does not occur)
- Set Device Index back to original value
- Set only Reservation Type to Preferred
- Restart of RetroArch (issue does not occur)
- Set Device Index to GameCube Controller 1 (both settings now changed)
- Restart of RetroArch (issue occurs)
- Couple more attempts at launching RetroArch unsuccessfully
- Deletion of config file
- Launch of RetroArch (issue does not occur)
https://github.com/user-attachments/assets/4e018f67-8fa8-4074-9ab3-08844f25b730
Expected behavior
After updating both values, RetroArch should not be crashing at launch.
Steps to reproduce the bug
- Start from a fresh config file.
- Navigate to Settings > Input > RetroPad Binds > Port 1 Controls.
- Set Device Index to "Nintendo GameCube Controller Adapter (1)".
- Set Device Reservation Type to "Preferred".
- Restart RetroArch.
Version/Commit
1.21.0 (Git baee906ef3)
Bisect Results
No response
Present in the nightly version
I don't know
Platform & operating system
Linux jesses-arch 6.17.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 24 Nov 2025 15:21:09 +0000 x86_64 GNU/Linux
Affected Cores
N/A
Environment information
OS: Arch Linux x86_64 Host: MS-7C91 (2.0) Kernel: Linux 6.17.9-arch1-1 Uptime: 3 hours, 6 mins Packages: 1227 (pacman) Shell: zsh 5.9 Display (DELL E2417H): 1920x1080 in 24", 60 Hz [External] Display (DELA16E): 1920x1080 in 24", 144 Hz [External] * Display (DELL P2219H): 1920x1080 in 21", 60 Hz [External] DE: KDE Plasma 6.5.3 WM: KWin (Wayland) WM Theme: Breeze Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3] Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4] Font: JetBrainsMono Nerd Font Mono (10pt) [Qt], JetBrainsMono Nerd Font Mono (10pt) [GTK2/3/4] Cursor: KDE_Classic (24px) Terminal: alacritty 0.16.1 Terminal Font: JetBrainsMono Nerd Font (11pt) CPU: AMD Ryzen 7 5800X (16) @ 4.85 GHz GPU: NVIDIA GeForce RTX 2080 Ti Rev. A [Discrete] Memory: 6.67 GiB / 62.72 GiB (11%) Swap: 10.43 MiB / 32.00 GiB (0%) Disk (/): 81.17 GiB / 294.23 GiB (28%) - ext4 Disk (/hdd): 1.48 TiB / 1.79 TiB (83%) - ext4 Disk (/home): 941.70 GiB / 1.47 TiB (63%) - ext4 Disk (/ssd): 646.06 GiB / 937.82 GiB (69%) - ext4 Local IP (enp42s0): 192.168.1.2/16 Locale: en_US.UTF-8
Relevant log output
[INFO] RetroArch 1.21.0 (Git baee906ef3)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 7 5800X 8-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2
[INFO] Version: 1.21.0
[INFO] Git: baee906ef3
[INFO] Built: Sep 26 2025
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Video]: Set video size to: 960x720.
[DEBUG] [Wayland]: Add global 1, interface wl_compositor, version 6
[INFO] [Wayland]: Registered interface wl_compositor at version 6
[DEBUG] [Wayland]: Add global 3, interface zwp_tablet_manager_v2, version 2
[DEBUG] [Wayland]: Add global 4, interface zwp_keyboard_shortcuts_inhibit_manager_v1, version 1
[DEBUG] [Wayland]: Add global 5, interface zxdg_decoration_manager_v1, version 1
[INFO] [Wayland]: Registered interface zxdg_decoration_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 6, interface wp_viewporter, version 1
[INFO] [Wayland]: Registered interface wp_viewporter at version 1
[DEBUG] [Wayland]: Add global 7, interface wp_security_context_manager_v1, version 1
[DEBUG] [Wayland]: Add global 8, interface wp_fractional_scale_manager_v1, version 1
[INFO] [Wayland]: Registered interface wp_fractional_scale_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 9, interface wl_shm, version 2
[INFO] [Wayland]: Registered interface wl_shm at version 2
[DEBUG] [Wayland]: Add global 10, interface wl_seat, version 10
[INFO] [Wayland]: Registered interface wl_seat at version 10
[DEBUG] [Wayland]: Add global 11, interface zwp_pointer_gestures_v1, version 3
[DEBUG] [Wayland]: Add global 12, interface zwp_pointer_constraints_v1, version 1
[INFO] [Wayland]: Registered interface zwp_pointer_constraints_v1 at version 1
[DEBUG] [Wayland]: Add global 13, interface zwp_relative_pointer_manager_v1, version 1
[INFO] [Wayland]: Registered interface zwp_relative_pointer_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 14, interface wl_data_device_manager, version 3
[INFO] [Wayland]: Registered interface wl_data_device_manager at version 3
[DEBUG] [Wayland]: Add global 15, interface ext_data_control_manager_v1, version 1
[DEBUG] [Wayland]: Add global 16, interface wp_cursor_shape_manager_v1, version 2
[INFO] [Wayland]: Registered interface wp_cursor_shape_manager_v1 at version 2
[DEBUG] [Wayland]: Add global 17, interface zwp_primary_selection_device_manager_v1, version 1
[DEBUG] [Wayland]: Add global 18, interface org_kde_kwin_idle, version 1
[DEBUG] [Wayland]: Add global 19, interface zwp_idle_inhibit_manager_v1, version 1
[INFO] [Wayland]: Registered interface zwp_idle_inhibit_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 20, interface ext_idle_notifier_v1, version 2
[DEBUG] [Wayland]: Add global 21, interface org_kde_plasma_shell, version 8
[DEBUG] [Wayland]: Add global 22, interface org_kde_kwin_appmenu_manager, version 2
[DEBUG] [Wayland]: Add global 23, interface org_kde_kwin_server_decoration_palette_manager, version 1
[DEBUG] [Wayland]: Add global 25, interface org_kde_plasma_virtual_desktop_management, version 3
[DEBUG] [Wayland]: Add global 27, interface org_kde_kwin_shadow_manager, version 2
[DEBUG] [Wayland]: Add global 28, interface org_kde_kwin_dpms_manager, version 1
[DEBUG] [Wayland]: Add global 29, interface org_kde_kwin_server_decoration_manager, version 1
[DEBUG] [Wayland]: Add global 30, interface kde_output_management_v2, version 16
[DEBUG] [Wayland]: Add global 31, interface zxdg_output_manager_v1, version 3
[DEBUG] [Wayland]: Add global 32, interface wl_subcompositor, version 1
[DEBUG] [Wayland]: Add global 33, interface zxdg_exporter_v2, version 1
[DEBUG] [Wayland]: Add global 34, interface zxdg_importer_v2, version 1
[DEBUG] [Wayland]: Add global 37, interface xdg_activation_v1, version 1
[DEBUG] [Wayland]: Add global 39, interface wp_content_type_manager_v1, version 1
[INFO] [Wayland]: Registered interface wp_content_type_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 40, interface wp_tearing_control_manager_v1, version 1
[DEBUG] [Wayland]: Add global 41, interface xdg_toplevel_drag_manager_v1, version 1
[DEBUG] [Wayland]: Add global 42, interface xdg_toplevel_icon_manager_v1, version 1
[DEBUG] [Wayland]: Add global 43, interface kde_screen_edge_manager_v1, version 1
[DEBUG] [Wayland]: Add global 44, interface frog_color_management_factory_v1, version 1
[DEBUG] [Wayland]: Add global 45, interface wp_presentation, version 2
[DEBUG] [Wayland]: Add global 46, interface wp_color_manager_v1, version 1
[DEBUG] [Wayland]: Add global 47, interface xdg_wm_dialog_v1, version 1
[DEBUG] [Wayland]: Add global 48, interface kde_external_brightness_v1, version 3
[DEBUG] [Wayland]: Add global 49, interface wp_alpha_modifier_v1, version 1
[DEBUG] [Wayland]: Add global 50, interface wl_fixes, version 1
[DEBUG] [Wayland]: Add global 51, interface wp_fifo_manager_v1, version 1
[DEBUG] [Wayland]: Add global 52, interface wp_single_pixel_buffer_manager_v1, version 1
[INFO] [Wayland]: Registered interface wp_single_pixel_buffer_manager_v1 at version 1
[DEBUG] [Wayland]: Add global 53, interface xdg_toplevel_tag_manager_v1, version 1
[DEBUG] [Wayland]: Add global 54, interface wp_color_representation_manager_v1, version 1
[DEBUG] [Wayland]: Add global 55, interface wp_pointer_warp_v1, version 1
[DEBUG] [Wayland]: Add global 57, interface wl_drm, version 2
[DEBUG] [Wayland]: Add global 58, interface zwp_linux_dmabuf_v1, version 5
[DEBUG] [Wayland]: Add global 59, interface wp_linux_drm_syncobj_manager_v1, version 1
[DEBUG] [Wayland]: Add global 61, interface xdg_wm_base, version 6
[INFO] [Wayland]: Registered interface xdg_wm_base at version 6
[DEBUG] [Wayland]: Add global 62, interface zwlr_layer_shell_v1, version 5
[DEBUG] [Wayland]: Add global 64, interface kde_output_device_v2, version 16
[DEBUG] [Wayland]: Add global 65, interface kde_output_device_v2, version 16
[DEBUG] [Wayland]: Add global 66, interface kde_output_device_v2, version 16
[DEBUG] [Wayland]: Add global 67, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 68, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 69, interface wl_output, version 4
[DEBUG] [Wayland]: Add global 70, interface wp_drm_lease_device_v1, version 1
[DEBUG] [Wayland]: Add global 71, interface kde_output_order_v1, version 1
[DEBUG] [Wayland]: Add global 72, interface zwp_text_input_manager_v1, version 1
[DEBUG] [Wayland]: Add global 73, interface zwp_text_input_manager_v2, version 1
[DEBUG] [Wayland]: Add global 74, interface zwp_text_input_manager_v3, version 1
[DEBUG] [Wayland]: Add global 76, interface org_kde_kwin_blur_manager, version 1
[DEBUG] [Wayland]: Add global 77, interface org_kde_kwin_contrast_manager, version 2
[DEBUG] [Wayland]: Add global 78, interface org_kde_kwin_slide_manager, version 1
[DEBUG] [Wayland]: Add global 79, interface xdg_system_bell_v1, version 1
[INFO] [Wayland]: Registered interface wl_output at version 4
[INFO] [Wayland]: Registered interface wl_output at version 4
[INFO] [Wayland]: Registered interface wl_output at version 4
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.5
[INFO] [GL]: Found GL context: "wayland".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [EGL]: Current context: 0x55cdadfc50e1.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 580.105.08.
[INFO] [GL]: Using resolution 960x720.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [udev]: Pad #0 (/dev/input/event4) supports 0 force feedback effects.
[INFO] [udev]: Pad #1 (/dev/input/event8) supports force feedback.
[INFO] [udev]: Pad #1 (/dev/input/event8) supports 16 force feedback effects.
[INFO] [Autoconf]: Keychron Keychron K8 Pro System Control (13364/640) not configured.
[INFO] [udev]: Pad #2 (/dev/input/event9) supports force feedback.
[INFO] [udev]: Pad #2 (/dev/input/event9) supports 16 force feedback effects.
[INFO] [Autoconf]: Nintendo GameCube Controller Adapter configured in port 2.
[INFO] [Autoconf]: Nintendo GameCube Controller Adapter configured in port 3.
[INFO] [udev]: Pad #3 (/dev/input/event10) supports force feedback.
[INFO] [udev]: Pad #3 (/dev/input/event10) supports 16 force feedback effects.
[INFO] [Autoconf]: Nintendo GameCube Controller Adapter configured in port 4.
[INFO] [udev]: Pad #4 (/dev/input/event11) supports force feedback.
[INFO] [udev]: Pad #4 (/dev/input/event11) supports 16 force feedback effects.
[INFO] [Autoconf]: Nintendo GameCube Controller Adapter configured in port 5.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Wayland]: Enabling idle inhibitor
[INFO] [Video]: Found display server: "null".
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[DEBUG] [PulseAudio]: Sink detected: alsa_output.pci-0000_2d_00.4.analog-stereo
[DEBUG] [PulseAudio]: Sink detected: alsa_output.pci-0000_2b_00.1.hdmi-stereo
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [ALSA] Using ALSA version 1.2.14
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Playlist]: Loading history file: "/home/jesse/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jesse/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jesse/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jesse/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/jesse/.config/retroarch/content_favorites.lpl".
[DEBUG] [Audio]: Stopped audio driver "pulse"
[DEBUG] [Autoconf]: First unconfigured / unreserved player is 1
[DEBUG] [Autoconf]: Device "Keychron Keychron K8 Pro System Control" (3434:280) is not reserved for any player slot.
Any chance you can try a newer stable or nightly build? Cannot reproduce it right now, and there have been some fixes in this area since 1.21.0.
My normal RetroArch installation is done through pacman (which currently installs 1.21.0 (Git baee906)), which is where I experience this issue with. 1.21.0 stable (Git 05f94af) and 1.22.2 stable (Git 69a4f0e) both do not experience this issue. However, 1.20.0 stable (Git 6412f4f) was able to reproduce the issue.
That sounds weird, the 1.21.0 Pacman version and 1.21.0 stable are literally subsequent commits, and both are translation updates, unlikely to cause anything like this. Is there any difference in retroarch --features output?