bazzite icon indicating copy to clipboard operation
bazzite copied to clipboard

[Regression][SteamDeckOLED][bazzite-deck-gnome:latest] Bluetooth stopped working completely and is root cause for issue of auto-resume from suspend

Open Raltay opened this issue 10 months ago • 10 comments

Describe the bug

Description

Bluetooth is broken on Steam Deck OLED on bazzite-deck-gnome:latest after version 39.20240328.0 (this is the last version when it worked correctly).

It doesn't work at all - cannot connect to paired devices (fails immediately upon selection), doesn't detect new/unpaired devices. I'm not sure if Bluetooth on/off switch even works at all.

This issue also is most probably (from my superficial log analysis) root cause of device's "'auto-resume' after suspend" issue. When device is suspended (either via power button or via menu option), it 'auto-resumes' after a few seconds pass. It happens every time, regardless of whether Bluetooth switch is ON or OFF. Relevant logs can be found in journalctl_after-suspend.txt file.

Both of those issues occur in both gamescope and desktop mode.

Last version of bazzite-deck-gnome where neither of these issues occured was 39.20240328.0. After updating from it, both of those issues started occurring.

Captured logs

dmesg_after-suspend.txt dmesg_before-suspend.txt journalctl_after-suspend.txt journalctl_before-suspend.txt journalctl-bluetooth_after-suspend.txt journalctl-bluetooth_before-suspend.txt lshw_after-suspend.txt lshw_before-suspend.txt lspci_after-suspend.txt lspci_before-suspend.txt lsusb_after-suspend.txt lsusb_before-suspend.txt

What did you expect to happen?

I expected Bluetooth to continue to work properly (and not cause suspend issue) like in 39.20240328.0.

Output of rpm-ostree status

No response

Hardware

No response

Extra information or context

No response

Raltay avatar Apr 06 '24 14:04 Raltay

Can confirm I also have this issue on my SteamDeck OLED. Rebasing to 39.20240328.0 and sleep / bluetooth is functional now

dog-in-space avatar Apr 08 '24 09:04 dog-in-space

Yeah, that's a Qualcomm driver regression:

[  457.706090] Bluetooth: hci0: SSR or FW download time out
[  457.706106] hci_uart_qca serial0-0: PM: dpm_run_callback(): acpi_subsys_suspend+0x0/0x60 returns -110
[  457.706126] hci_uart_qca serial0-0: PM: failed to suspend: error -110

It's probably worth to open a bluetooth regression issue on the bugzilla kernel repo.

RodoMa92 avatar Apr 12 '24 10:04 RodoMa92

Also having the exact same issue with the same symptoms. Had to rebase to -gnome:39-20240328.0 to fix Bluetooth and sleep.

Hopefully Qualcomm or whoever works on that driver gets this solved quickly.

telorand avatar Apr 12 '24 12:04 telorand

Fixed on latest testing build, we are working on some unrelated sleep bugs and then will get this kernel to stable.

KyleGospo avatar Apr 12 '24 21:04 KyleGospo

I rebased back to bazzite-deck-gnome:stable on my Steam Deck OLED and I can confirm that the issue is fixed on 39-20240414.

Thank you for fast response and have a nice day 🙂

Raltay avatar Apr 15 '24 19:04 Raltay

Possibly still occurring. https://github.com/ublue-os/bazzite/issues/960#issuecomment-2063993939

telorand avatar Apr 18 '24 14:04 telorand

Hi,

I just tried with my Steam Deck OLED 1TB model, and the issue described here (non-functioning bluetooth and auto-resume from suspend) is definitely still present in bazzite-deck-gnome:stable in 39-20240419. I tried to rebase to bazzite-deck-gnome:testing, but the issue is there as well, on top of WiFi not working in testing.

I rebased back to 20240328 as @Raltay suggested in the opening post, and it works fine from there. So it's definitely a regression indeed, and it does seem to be in the latest stable. Have not tried 20240414, it could be possible that the regression slipped back in somehow.

sstendahl avatar Apr 20 '24 10:04 sstendahl

'bazzite-deck-gnome:stable in 39-20240419'

I can confirm that this also started happening again on my OLED with the above version.

Reopening ticket.

Raltay avatar Apr 20 '24 12:04 Raltay

Doesn't seem to be occurring on the latest upgrade to 40-20240427. There's still outstanding BT issues with controllers, but Sleep/Suspend and audio devices seem to be working correctly. Additionally, I've noticed that audio doesn't seem to be bugged when switching between Desktop Mode to Game Mode.

telorand avatar Apr 28 '24 21:04 telorand

Yeah this got resolved for me as well a while ago. I think the issue can be closed.

sstendahl avatar May 12 '24 06:05 sstendahl