this post was submitted on 16 Jun 2024
39 points (100.0% liked)

Linux

5409 readers
61 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

TL:DR Emulators installed via Flatpak won't recognize steam inputs during remote play, However AppImages will work. So if you want to play PCSX2 via Steam Link from your main rig, install the AppImage version.

So this whole journey started when I wanted to play PS2 games from my PC on my Big Screen TV. Years ago I got a Steam Link, and outside of it forgetting my Bluetooth devices it's been quite reliable.

However when I switched over to Linux and installed my emulators via Flathub, I could start the emulator, but outside of mouse inputs, the emulator refused to recognize the inputs outside of those directly connected to the PC. I presume it's due to how Flatpaks work.

Reported the problem on the Steam Linux Beta github page, but that still left me without a solution. It's not like there exists a *.deb for every emulator, and if there existed one, it was out dated, so it was hit or miss if I could start a game with a controller.

However when I tried AppImages, it worked! I presume it's due to the fact that the AppImage runner is a locally installed package, which means it can hook into the systems inputs, like Steam Input. Thus far I've tested PCSX2, DuckStation and Retroarch, and everything appears to be working beautifully!

you are viewing a single comment's thread
view the rest of the comments
[–] Sethayy 4 points 5 months ago (1 children)

2 things,

Moonlight + sunshine have a lot better performance than steam link, although are less polished

And its most likely due to flatpak's sandbox, which installing appimage will work as a workaround, but proper permissions should do the same (not too sure how steam link handles input so I can't be much help on how). Never had permissions issued with moonlight though

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

I presumed the issue was probably Flatpak Sandboxing (Steam is natively installed but my emulators were not). However Sunshine + Moonlight isn't a viable alternative since I am trying to play on my TV with a Gamepad, and Moonlight wasn't controller friendly on Android the last I checked.

That said if this was PC -> PC then yeah Sunshine + Moonlight is amazing.

[–] Sethayy 1 points 5 months ago

Yeah, so something like steam link may use a nontraditional input that the flatpaks weren't setup to expect.

I've used moonlight myself quite a lot on Xbox with the controller, but admittedly a good game list like steam requires setup (or ES-DE or equivalents)

Might help your case if you set it up to launch steam on connect if it helps the controller input (again though not 100% sure it will, I just know moonlight shows its controllers as a Microsoft Xbox 360 so its pretty supported)