Jovian-Experiments / Jovian-NixOS

Discussions: https://matrix.to/#/#Jovian-Experiments:matrix.org
https://jovian-experiments.github.io/Jovian-NixOS/
MIT License
522 stars 51 forks source link

Touchscreen on Steam Deck (OLED?) is misbehaving in non-Steam games. #328

Open Naxdy opened 6 months ago

Naxdy commented 6 months ago

On my Steam Deck OLED I'm having an issue in non-steam games where the touchscreen is misbehaving in the following way: Whenever a touch is input, it registers that touch where the cursor was last let go, instead of the location I actually touched. Furthermore, the cursor has to be dragged before being let go, for the "location change" to be registered.

NOTE: The touchscreen is behaving normally in Gamescope and in the desktop environment (Plasma 6). Steam-native games have not yet been tested. Non-Steam games exhibit the erratic behavior described above.

Naxdy commented 6 months ago

Also, not sure if it makes a difference, but so far I've tested only Qt6 apps: Citra, qpwgraph, Dolphin Emulator

Naxdy commented 6 months ago

This problem was solved, at least for me, by adding gnome.caribou to environment.systemPackages

Perhaps this should be included by default?

samueldr commented 2 weeks ago

Hi, sorry it took a while until you got a response.

You've stated in non-Steam games, but just to be clear, that is in non-Steam games running in the Steam session, right?

On my systems, I can't see that behaviour happening. Though I also have heard some users on the LCD model have had issues with touch in games. So I'm wondering if there's a common element here.

And I suppose you meant more that adding gnome.caribou to environment.systemPackages was a workaround. It's more likely it's not directly that package, but a side-effect from ambient impurities that helps here.

(And I suppose it's possible that the bug comes from another ambient impurity, or that I myself in my non-gnome non-plasma end-up with the same or another impurity that makes me not observe any issue.)

Naxdy commented 2 weeks ago

Greetings, no worries.

You've stated in non-Steam games, but just to be clear, that is in non-Steam games running in the Steam session, right?

Yes, correct.

It's also possible that the bug "fixed itself" some other way just around the same time I happened to add caribou. The device is out of my hands now however (got it as a gift for someone) so tracing this will be a bit difficult for me now. What matters to me is that now it works :p

samueldr commented 2 weeks ago

Thank you for coming back to me much quicker than me to you :sweat_smile:.

Alright, I'll consider this "blocked" until further information comes from anyone with any model Steam Deck is seeing issues with touch, only in non-steam games. Only because I don't know how to make it fail at the moment.