Retroarch works but won't respond to keypresses or mouse action

Here’s an odd one: after getting everything set up, Retroarch will now launch just fine, and will play games, but the GUI is totally unresponsive. The background animation is still happening, but I can’t change anything at all. Can’t click anything, or just over to Settings tab, nothing.

I’m on Ubuntu.

Here’s the output when I launch Retroarch:

wrybread@wrycade:~$ retroarch
[INFO] RetroArch 1.9.0 (Git 5e551dd92b)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i3 CPU         540  @ 3.07GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2
[INFO] Built: Aug 10 2020
[INFO] Version: 1.9.0
[INFO] Git: 5e551dd92b
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Overrides]: Redirecting save file to "/home/wrybread/.config/retroarch/saves/.srm".
[INFO] [Overrides]: Redirecting save state to "/home/wrybread/.config/retroarch/states/.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ 960x720
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 2704x1050.
[INFO] [GLX]: Window manager is Openbox.
[INFO] [GLX]: X = 0, Y = 0, W = 960, H = 720.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [GL]: Vendor: nouveau, Renderer: NVA5.
[INFO] [GL]: Version: 3.3 (Compatibility Profile) Mesa 20.0.8.
[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] Setting up menu pipeline shaders for XMB ... 
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[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.
[WARN] [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
[INFO] [udev]: Pad #0 (/dev/input/event13) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event13) supports 16 force feedback effects.
[INFO] [udev]: Pad #1 (/dev/input/event14) supports force feedback.
[INFO] [udev]: Pad #1 (/dev/input/event14) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [DBus]: Suspended screensaver via DBus.
[INFO] [Video]: Found display server: x11
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "alsa" driver.
[INFO] Disconnecting device from port 6.
[INFO] Disconnecting device from port 7.
[INFO] Disconnecting device from port 8.
[INFO] Disconnecting device from port 9.
[INFO] Disconnecting device from port 10.
[INFO] Disconnecting device from port 11.
[INFO] Disconnecting device from port 12.
[INFO] Disconnecting device from port 13.
[INFO] Disconnecting device from port 14.
[INFO] Disconnecting device from port 15.
[INFO] Disconnecting device from port 16.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [/home/wrybread/.config/retroarch/content_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/wrybread/.config/retroarch/content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/wrybread/.config/retroarch/content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/wrybread/.config/retroarch/content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [/home/wrybread/.config/retroarch/content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [GL]: VSync => on
[INFO] [GLX]: glXSwapInterval(1)
[INFO] [PulseAudio]: Pausing.

I’ve rebooted, no change.

Any ideas?

Aha, weird, it’s reacting to input from the joysticks. Just not keyboard or mouse.

I wonder if I disabled something accidentally.

Hmm.

I think I found the issue. In retroarch.cfg, somehow my input_driver changed from “x” to “udev”. I changed that back and it’s responding to keypresses again.

I don’t imagine anyone has any idea how that happened?

I’m also getting lots of output to the console from Retroarch now, which started when the problem did. And I’m still getting lots of console output… I don’t mind it, but worried it means some other things got changed…

And at least one lesson learned: back up the retroarch.cfg often…

Udev is typically the default input driver. Sometimes you need change your udev perms a little to make it work, though: https://docs.libretro.com/guides/input-joypad-drivers/#setting-up-udev-permissions

Weird, it was definitely x on my system by default, or at least before the issue started happening. I found a backup I had made the day before and it had x as the input driver.