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.18k stars 76 forks source link

[BUG] Gyro too shaky to play Until Dawn #455

Open piojanu opened 1 week ago

piojanu commented 1 week ago

Describe the bug When I play the game Until Dawn, the native gyro input is too sensitive (or just lacks the deadzone) so the gyro QTE always fail.

To Reproduce You can see the shakiness when you open the keyboard on PS5 (in the remote play through chiaki ofc) and just lay down the SD. The gyro isn't stable, it moves in random directions.

Expected behavior I'd expect no gyro input when you hold the SD still.

Desktop (please complete the following information):

streetpea commented 1 week ago

It does apply a deadzone for gyro. It’s not gyro that’s changing, it’s the orientation values. This is due to switching from using the Steam deck’s orientation values to calculating an orientation in 1.9.1 using madgwick bc it was needed for calculating orientation correctly when a signal is received and for calculating correctly when using vertical gyro (holding steam deck vertically instead of horizontally and moving forward to back instead of tilting.

streetpea commented 1 week ago

@piojanu you can change back to 1.9.0 which has more steady motion for Steam Deck. See https://itsfoss.com/downgrade-flatpak-packages/#downgrade-flatpak-packages-in-linux

streetpea commented 1 week ago

@piojanu I added a fuzz to the calculated quaternion which should fix the problem. I tested it with the keyboard motion function and it appears to be applied well. Here is the updated build: https://github.com/streetpea/chiaki-ng/actions/runs/11698586254/artifacts/2150696534

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

Then you can launch it again and use it.

piojanu commented 4 days ago

I've downgraded and it seems to work fine thanks! 🙏

Side note: other than in the guide, don't use sudo when downgrading - just run the flatpak update command without sudo.

streetpea commented 4 days ago

@piojanu can you try the new build? It should fix it as well and then contains the improvements. This is also important bc this is what all future versions will use.