ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.12k stars 251 forks source link

GPD Gyro stop working after suspend (sleep) #1763

Closed Avsklpok closed 1 month ago

Avsklpok commented 1 month ago

Describe the bug

After entering "sleep" mode gyro stop working.

What did you expect to happen?

Before last Bazzete update - gyro work greate after suspend.

Output of rpm-ostree status

State: idle Deployments: ● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:60f6adbb2243bc30cdfdbad16d4abec69a46231630e01ac099580f830114cc02 Version: 40.20241020 (2024-10-21T05:06:16Z)

ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck:stable Digest: sha256:6bb8ce8809f31105691dcdbab8d3f9b1106e4544ee98ebe9f1077865b8592b5d Version: 40.20241014 (2024-10-15T09:01:54Z)

Hardware

G1617-01

Extra information or context

GPD Win mini 2024 R7 8840 Bazzite f40.20241020 HHD - 3.5.6 , HHD UI - 3.2.2 I hope the problem can be solved without reinstalling the system!

Avsklpok commented 1 month ago

I think the problem with Kernel patch is bmi260. 2 weeks ago updated to version 1.0.0: "Fixes 2 major bugs with the driver: Certain devices cut power to the IMU. So suspend it, save the register list, and resume it for sleep HR-timer causes oops if it fires the IRQ during sleep. After we suspend, just ignore IRQ if it fires." But I couldn't update it on my own. I spent a lot of time and couldn't install DKMS.

antheas commented 1 month ago

This kernel patch is already on Bazzite and it fixed the issue on my OneXPlayer X1 and I also tested a GPD Win 4 8840u. You should not be having an issue right now.

sudo dmesg | fpaste

Did you install the gyro workaround previously? If yes, remove it.

antheas commented 1 month ago

I will look at it again.

Avsklpok commented 1 month ago

I will look at it again.

thanks I've decided to completely reinstall the system - if the problem is solved, I'll close it.

antheas commented 1 month ago

I looked at it again. It works. The gyro workaround might be interfering

If it does we will force delete it in a future version