Godot 4.3 not detecting gamepad on Linux

Even though my OS (Ubuntu 24.04) detects my Dualshock 4 controller and gets input beautifully via both wired and Bluetooth connection, Godot 4.3 doesn’t.

It’s not just failing to get input. Calling Input.get_connected_joypads() returns an empty array, so it can’t even detect it.

Many months ago, when I was on Windows 10 (forgot which Godot 4 version it was, maybe 4.2) I didn’t have this issue. It was plug & play, no setup or troubleshooting required.

As a test I installed 4.2.2, not working.

Then I tried with 3.5.2, which actually worked, received input no problem.

Couldn’t find any solutions for Godot 4 that work for me.

I solved it!
Turns I out the issue was with the specific build of 4.3 I was using, which I got via the Discover app on Ubuntu. I removed it, and downloaded the official build from the Godot website. Controller’s working now!