Keyboard and gamepad stopped working

I’ve got my RetroArch setup on Arch running for quite a while now, but haven’t played that much recently. When I launch it now there is no input, from either keyboard or my dualshock 4.

RetroArch: parse_config_file: Loading config from: /home/user/.config/retroarch/retroarch.cfg.
RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch: rarch_verify_api_version: Version of libretro API: 1
RetroArch: rarch_verify_api_version: Compiled against API: 1
RetroArch: audio_monitor_adjust_system_rates: Set audio input rate to: 29975.00 Hz.
RetroArch: init_video: Video @ fullscreen
RetroArch [ERROR] :: gfx_ctx_wl_init :: Failed to connect to Wayland server.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Found 3 connectors.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 0 connected: no
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 0 has 0 modes.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 1 connected: no
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 1 has 0 modes.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 2 connected: yes
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 2 has 48 modes.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Connector 2 assigned to monitor index: #1.
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 2: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 3: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 4: (1920x1080) 1920 x 1080, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 5: (1920x1080i) 1920 x 1080, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 6: (1920x1080) 1920 x 1080, 30 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 7: (1920x1080) 1920 x 1080, 30 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 8: (1920x1080) 1920 x 1080, 25 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 9: (1920x1080) 1920 x 1080, 24 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 10: (1920x1080) 1920 x 1080, 24 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 11: (1680x1050) 1680 x 1050, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 12: (2880x576) 2880 x 576, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 13: (1600x900) 1600 x 900, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 14: (2880x480) 2880 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 15: (2880x480) 2880 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 16: (1280x1024) 1280 x 1024, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 17: (1280x1024) 1280 x 1024, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 18: (1440x900) 1440 x 900, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 19: (1366x768) 1366 x 768, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 20: (1280x800) 1280 x 800, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 21: (1152x864) 1152 x 864, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 22: (1280x720) 1280 x 720, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 23: (1280x720) 1280 x 720, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 24: (1280x720) 1280 x 720, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 25: (1280x720) 1280 x 720, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 26: (1440x576) 1440 x 576, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 27: (1024x768) 1024 x 768, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 28: (1024x768) 1024 x 768, 70 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 29: (1024x768) 1024 x 768, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 30: (1440x480) 1440 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 31: (1440x480) 1440 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 32: (832x624) 832 x 624, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 33: (800x600) 800 x 600, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 34: (800x600) 800 x 600, 72 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 35: (800x600) 800 x 600, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 36: (720x576) 720 x 576, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 37: (720x576i) 720 x 576, 50 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 38: (720x480) 720 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 39: (720x480) 720 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 40: (720x480i) 720 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 41: (720x480i) 720 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 42: (640x480) 640 x 480, 75 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 43: (640x480) 640 x 480, 73 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 44: (640x480) 640 x 480, 67 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 45: (640x480) 640 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 46: (640x480) 640 x 480, 60 Hz
RetroArch: gfx_ctx_drm_egl_init: [KMS/EGL]: Mode 47: (720x400) 720 x 400, 70 Hz
RetroArch: gl_init: Found GL context: kms-egl
RetroArch: gl_init: Detecting screen resolution 1920x1080.
RetroArch: drm_fb_get_from_bo: [KMS/EGL]: New FB: 1920x1080 (stride: 7680).
RetroArch: gl_init: [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Haswell Mobile .
RetroArch: gl_init: [GL]: Version: 3.0 Mesa 10.5.6.
RetroArch: gl_query_extension: Querying GL extension: ARB_ES2_compatibility => exists
RetroArch: gl_query_extension: Querying GL extension: ARB_sync => exists
RetroArch: gl_query_extension: Querying GL extension: ARB_texture_float => exists
RetroArch: gl_query_extension: Querying GL extension: EXT_texture_sRGB => exists
RetroArch: gl_query_extension: Querying GL extension: ARB_framebuffer_sRGB => exists
RetroArch: gl_init: GL: Using resolution 1920x1080
RetroArch: gl_init: [GL]: Default shader backend found: glsl.
RetroArch: gl_shader_init: [GL]: Using GLSL shader backend.
RetroArch: gl_glsl_init: Checking GLSL shader support ...
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: compile_program: Linking GLSL program.
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: compile_program: Linking GLSL program.
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: compile_program: Linking GLSL program.
RetroArch: gl_init: [GL]: Using 4 textures.
RetroArch: gl_init: [GL]: Loaded 1 program(s).
RetroArch: gl_set_texture_fmts: [GL]: Using GL_RGB565 for texture uploads.
RetroArch: font_renderer_create_default: Using font rendering backend: freetype.
RetroArch: init_video_input: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch [WARN] :: udev_input_init :: [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
RetroArch: input_joypad_init_driver: Found joypad driver: "udev".
RetroArch: rarch_get_cpu_features: [CPUID]: Vendor: GenuineIntel
RetroArch: rarch_get_cpu_features: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
RetroArch: find_float_format: ALSA: Using signed 16-bit format.
RetroArch: alsa_init: ALSA: Period size: 768 frames
RetroArch: alsa_init: ALSA: Buffer size: 3072 frames
RetroArch: alsa_init: ALSA: Can pause: yes.
RetroArch: rarch_get_cpu_features: [CPUID]: Vendor: GenuineIntel
RetroArch: rarch_get_cpu_features: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
RetroArch: event_command: SRAM will not be saved.
RetroArch: gl_set_nonblock_state: [GL]: VSync => on
RetroArch: event_command: Loading history file: [/home/user/.config/retroarch/content_history.rpl].
RetroArch: gl_set_nonblock_state: [GL]: VSync => on
RetroArch: drm_fb_get_from_bo: [KMS/EGL]: New FB: 1920x1080 (stride: 7680).
RetroArch: data_thread_loop: [Data Thread]: Initializing data thread.
RetroArch: data_thread_loop: [Data Thread]: Starting data thread.
RetroArch: drm_fb_get_from_bo: [KMS/EGL]: New FB: 1920x1080 (stride: 7680).
^CRetroArch: config_save_file: Saving config at path: "/home/user/.config/retroarch/retroarch.cfg"
RetroArch: video_monitor_compute_fps_statistics: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch: video_monitor_compute_fps_statistics: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

I’m guessing it’s related to this line: RetroArch [WARN] :: udev_input_init :: [udev]: Couldn’t open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?

Permissions are correct though, and the same happens even if I run it as root. Keyboard and gamepad works fine in other applications.

Any ideas?

Turned out to be a problem with systemd 219 -> 220, downgrading made everything work.