streetpea / chiaki-ng

Next-Generation of Chiaki (the open-source remote play client for PlayStation)
https://streetpea.github.io/chiaki-ng/
GNU Affero General Public License v3.0
1.15k stars 74 forks source link

[BUG] Steam deck stream inputs not recognizing #396

Open NarrowMacaroon opened 2 months ago

NarrowMacaroon commented 2 months ago

i got chiaki NG to work on my steam deck but i have an issue with the inputs, essentially sometimes my inputs go through and sometimes they dont, i have to spam a button for it to go through, steam deck is latest version, stable and beta have been tested both dont seem to do anything, tried in both desktop and game mode and both do the same thing, a little help would really be appreciated

streetpea commented 2 months ago

Please make sure you are using the default control scheme for chiaki-ng. You can get it by searching for chiaki4deck+ mic by gmoney23 in the community layouts tab or adding the steam game via the create steam shortcut button.

NarrowMacaroon commented 2 months ago

I have the control scheme from gmoney, and i havent messed with the control scheme for chiaki

streetpea commented 2 months ago

Is your connection very choppy as well. It is possible you're controller input is not going through to your PlayStation (i.e., the packet is dropped) due to extremely poor connection quality. However, it's more likely an issue with SteamOS as chiaki-ng just uses SDL to pick up inputs and works fine on my machine with the latest stable version (it wouldn't if the SDL/chiaki-ng implementation had a bug causing this, which means the issue is localized to your system). Have you tried connecting an external controller and testing with that?

NarrowMacaroon commented 2 months ago

yes ive tried to hook up my ps5 controller to my steam deck and the issue persists, the stream is fine and its running on a local network, as i said i tried both stable and pre release versions of steam os and both seem to not do any difference for me

streetpea commented 2 months ago

Have you tried multiple games?

NarrowMacaroon commented 2 months ago

yes even the ps5 ui freaks out, i tried both local and over the internet and both just do the same thing which is have major lag on inputs or not input registration at all

streetpea commented 2 months ago

Please post a log with verbose logging enabled

NarrowMacaroon commented 2 months ago

here is the log https://pastebin.com/QipwFxab , idk how to turn on verbose logging

NarrowMacaroon commented 2 months ago

here is the new log with verbose on https://drive.google.com/file/d/1F_X0u026To3Pu5SOpeaBZxF1M9lNGXMI/view?usp=drive_link, paste bin wouldnt let me post it since its larger than 512 KB

streetpea commented 1 month ago

@NarrowMacaroon it seems chiaki-ng is streaming your inputs fine. Thus, it's likely a problem registering inputs / something running on your Steam Deck interfering with the inputs.

streetpea commented 1 month ago

@NarrowMacaroon have you tried attaching an external controller?

NarrowMacaroon commented 1 month ago

Yeah i have both an Xbox and ps5 controller both tried to use over Bluetooth and got nothing to work same issues with inputs not being registered

NarrowMacaroon commented 1 month ago

The only mods I’ve done to my steam deck is deckyloader and emu deck

streetpea commented 1 month ago

@NarrowMacaroon This build will log button presses so you can see if they are registering if you launch it via the konsole in desktop mode and look at the console as you input buttons. This will help determine if the issue is actually in registering the inputs or packets getting dropped by the PlayStation https://github.com/streetpea/chiaki-ng/actions/runs/10981768188/artifacts/1963288164

You can first unzip it to your downloads folder and then make it executable with:

chmod +x ~/Downloads/chiaki-ng.Appimage

and then open it with:

~/Downloads/chiaki-ng.Appimage

Then, close it and you can copy settings from the flatpak with

cp ~/.var/app/io.github.streetpea.Chiaki4deck/config/Chiaki/Chiaki.conf ~/.config/Chiaki/Chiaki.conf

and then you can reopen the appimage and use it to test it out.