Legion GO - Can't sleep when a Nintendo Joycon when connected via Bluetooth.

As stated in the title, can't sleep or suspend the device when clicking the power button while a 3rd party controller's connected. I'm on Bazzite:Stable.
152 Replies
Aru
Aruā€¢8mo ago
so I was able to replicate with a 3rd party xbox controller actually, even after disconnecting the xbox controller, suspend no longer works let me try disabling + enabling bluetooth before suspend but I wonder if this is related to something antheas mentioned earlier about bluez https://discord.com/channels/1072614816579063828/1187140365115998291/1227509877409185793 @Chronus does suspend work for you after disconnecting the controller + completely turning bluetooth off in steam settings?
Chronus
ChronusOPā€¢8mo ago
Tried that as well, you have to restart the system to do sleep/suspend again.
Aru
Aruā€¢8mo ago
huh, it worked for me just now
Chronus
ChronusOPā€¢8mo ago
Btw mine's joycons.
Aru
Aruā€¢8mo ago
xbox guilikit kk2 controller
Chronus
ChronusOPā€¢8mo ago
I'm just turning it off, using the side menu (don't know the term) in game mode. Then tried sleeping and stuck in black screen for awhile. I sleep using then physical power button if that matters.
Aru
Aruā€¢8mo ago
hrm, so I did exactly that. turned off bluetooth in the quick access menu (right side menu), then tapped the power button went to sleep
Chronus
ChronusOPā€¢8mo ago
Let me try to take a video
Aru
Aruā€¢8mo ago
oh huh, this time it suspended properly with my xbox controller still connected how bizarre šŸ™ƒ
Chronus
ChronusOPā€¢8mo ago
Try launching a game while doing that.
Aru
Aruā€¢8mo ago
i'm already in a game there is a different bug now though on my end, steam still thinks there's 2 controllers connected; the LGO controller and the xbox controller that I disconnected antheas did mention the bluez issue, I wonder if that's the cause of the problems what older bazzite image might have an older bluez version? hrm might be worth seeing if older bazzite versions have the problem
Chronus
ChronusOPā€¢8mo ago
Aru
Aruā€¢8mo ago
yep, i was able to replicate that bug while the controller was still connected basically the exact same behavior
Chronus
ChronusOPā€¢8mo ago
Maybe try an older build with old bluez?
Aru
Aruā€¢8mo ago
but turning off bluetooth before suspend somehow fixed it for me šŸ¤” time to try good ol' 02/20
Chronus
ChronusOPā€¢8mo ago
I turn off the Bluetooth before sleeping in the video.
Aru
Aruā€¢8mo ago
one of the golden bazzite images for the LGO yeah, i did the exact same thing you did
Chronus
ChronusOPā€¢8mo ago
Hope it gets fixed soon.
Chronus
ChronusOPā€¢8mo ago
No description
Chronus
ChronusOPā€¢8mo ago
This will take a while.
Aru
Aruā€¢8mo ago
good news so far, 02/20 worked perfectly but i'm going to test a bit more to make sure
Chronus
ChronusOPā€¢8mo ago
Ohhhh, that's good news! Do you think it's the bluez?
Aru
Aruā€¢8mo ago
dunno, the 02/20 image is pretty old now it'd be best to track down which image introduced the bug and work from there did suspend work for you previously with external controllers? or has it always been broken for you? time to test 03/15 next, which should be bug free for the LGO
Chronus
ChronusOPā€¢8mo ago
It's always broken in the latest build as long as 3rd party controller's connected. Thank you, mine's not done yet rebasing. My phone's hotspot kinda lame..
Aru
Aruā€¢8mo ago
this is letting me test my bazzite-rollback-helper which has been working great so far šŸ‘
Chronus
ChronusOPā€¢8mo ago
If you pinpointed what build's affecting this issue, does that mean it's the bluez?
Aru
Aruā€¢8mo ago
no, it would just mean that some change between that bazzite version and the next one introduced the bug it could be bluez, could be something else
Chronus
ChronusOPā€¢8mo ago
It's kinda big deal for me because I don't use the LeGO original controller anymore. šŸ¤£
Aru
Aruā€¢8mo ago
btw rollback helper that I wrote up + am testing
====== Experimental Bazzite Rollback Helper Util ======

Usage: ./bazzite-rollback-helper [OPTION] [ARGUMENT]
Usage: bazzite-rollback-helper [OPTION] [ARGUMENT]

Options:
list List available Bazzite images, Default is "stable"
rollback Rolls back to previously installed Bazzite image. alias for "rpm-ostree rollback"
current Show currently active Bazzite image
rebase Rebase/rollback to specified Bazzite image, Default is bazzite-deck:stable

Examples:
bazzite-rollback-helper list stable
bazzite-rollback-helper rollback
bazzite-rollback-helper current
bazzite-rollback-helper rebase bazzite-deck:39-20240315
bazzite-rollback-helper rebase bazzite-deck:stable
====== Experimental Bazzite Rollback Helper Util ======

Usage: ./bazzite-rollback-helper [OPTION] [ARGUMENT]
Usage: bazzite-rollback-helper [OPTION] [ARGUMENT]

Options:
list List available Bazzite images, Default is "stable"
rollback Rolls back to previously installed Bazzite image. alias for "rpm-ostree rollback"
current Show currently active Bazzite image
rebase Rebase/rollback to specified Bazzite image, Default is bazzite-deck:stable

Examples:
bazzite-rollback-helper list stable
bazzite-rollback-helper rollback
bazzite-rollback-helper current
bazzite-rollback-helper rebase bazzite-deck:39-20240315
bazzite-rollback-helper rebase bazzite-deck:stable
if you want to try it and give feedback, you can install it from here: https://github.com/aarron-lee/legion-go-tricks/?tab=readme-ov-file#install-experimental-bazzite-rollback-helper
Chronus
ChronusOPā€¢8mo ago
No description
Chronus
ChronusOPā€¢8mo ago
As you can see my slot's has a cover.
Aru
Aruā€¢8mo ago
yep, see that. interesting way to use the LGO basically using it as a tablet? waydroid must be super useful then but this problem only started happening for you recently right?
Chronus
ChronusOPā€¢8mo ago
Yeah, I only use small backpack when I go out so it's kinda portable for me.
Chronus
ChronusOPā€¢8mo ago
No description
Aru
Aruā€¢8mo ago
so since you rebased to 02/20, bazzite will be pinned to that OS version until you rebase back to stable so you don't need to worry about accidentally updating and reintroducing the bug not sure if you already knew 03/15 taking a long time to install šŸ˜Ŗ
Chronus
ChronusOPā€¢8mo ago
But I can't be on older build forever, some decky plugins might get broken in the future if I'm stuck on it. I think so..
Aru
Aruā€¢8mo ago
eventually, but you should be safe for a long time
Chronus
ChronusOPā€¢8mo ago
Just when I discovered I don't have to use gnome disk utility anymore. šŸ„ŗ
Aru
Aruā€¢8mo ago
at least it's easy to rollback šŸ˜…
Chronus
ChronusOPā€¢8mo ago
Yes, one of the perks of immutable OS?
Aru
Aruā€¢8mo ago
when I was on Nobara on my LGO, one time an OS update basically broke every single game I had installed
Chronus
ChronusOPā€¢8mo ago
Im not sure if I understand it correctly tho lol.
Aru
Aruā€¢8mo ago
no easy rollback on nobara, had to hunt down the issue correct, one of the perks of atomic distros btw 03/15 seems fine too
Chronus
ChronusOPā€¢8mo ago
Anything major bug I should be aware of if I'm going to stay on 03/15 or 02/20? That's awesome!! What's the next build?
Aru
Aruā€¢8mo ago
they both should be good, but one sec
Chronus
ChronusOPā€¢8mo ago
Ok.. Is the steam client will be able to update in the older build?
Aru
Aruā€¢8mo ago
yep should be fine
Chronus
ChronusOPā€¢8mo ago
I'm learning a lot, thanks Aru! :beagle_happy:
Aru
Aruā€¢8mo ago
i'm going to try 04/06 now
Chronus
ChronusOPā€¢8mo ago
I tried already
Aru
Aruā€¢8mo ago
the latest is 04/07
Chronus
ChronusOPā€¢8mo ago
It doesn't work.
Aru
Aruā€¢8mo ago
oh? ok time to try 04/05 then
Chronus
ChronusOPā€¢8mo ago
Copy. You're kinda fast, what's your internet speed? Here we got maybe 20mbps?
Aru
Aruā€¢8mo ago
300mbps? if i'm remembering right
Chronus
ChronusOPā€¢8mo ago
Holy grail.. šŸ¤£
Aru
Aruā€¢8mo ago
is your 02/20 rebase not done yet? šŸ˜…
Chronus
ChronusOPā€¢8mo ago
Still stuck on this screen Maybe it's still downloading? Should I hard reboot?
Aru
Aruā€¢8mo ago
yep, that's still downloading then
Chronus
ChronusOPā€¢8mo ago
Ohh okay..
Aru
Aruā€¢8mo ago
20mbps for a 4GB image šŸ˜±
Chronus
ChronusOPā€¢8mo ago
I only pay around 20 dollars a month for the internet connection How much is a 300mbps? I think fortune.
Aru
Aruā€¢8mo ago
not too bad considering i'm not the only one using it something like $80?
Chronus
ChronusOPā€¢8mo ago
So expensive šŸ„¹
Aru
Aruā€¢8mo ago
ok, 04/05 finished installing time to reboot
Chronus
ChronusOPā€¢8mo ago
Ok! šŸŽ‰
Aru
Aruā€¢8mo ago
04/05 was good for me so it's either 04/06 or 04/07 that introduced the bug?
Chronus
ChronusOPā€¢8mo ago
So that means if I wanted to keep my current setup, I must stay on 04/05? Let me try, I think I should cancel this downloading one.
Aru
Aruā€¢8mo ago
probably? let me confirm that i can replicate the bug on 04/06 if I can reproduce the bug on 04/06, then yes 04/05 is probably the one you'd need assuming the bug I'm seeing is the same as the one you're seeing
Chronus
ChronusOPā€¢8mo ago
No description
Chronus
ChronusOPā€¢8mo ago
Here we go again! Got it.
Aru
Aruā€¢8mo ago
it's a shame though, i think 04/06 is the image with the waydroid bug fix
Chronus
ChronusOPā€¢8mo ago
I don't use waydroid so I think it's fine for me because my Bazzite is around 40 gb only. Waydroid is the android thingy right? I think 40gb won't be enough. I'm just using Bazzite as my game/emulator launcher. All games are still on a windows partition.
Aru
Aruā€¢8mo ago
there is always a chance that your suspend problem is related to the NTFS disk I don't have an NTFS partition
Chronus
ChronusOPā€¢8mo ago
Yeah but if it works on 04/05 or 02/20, I think it's unrelated maybe?
Aru
Aruā€¢8mo ago
yep probably
Chronus
ChronusOPā€¢8mo ago
Just waiting for this to finish.
Chronus
ChronusOPā€¢8mo ago
No description
Aru
Aruā€¢8mo ago
hrm, 04/06 was fine for me too you sure 04/06 was broken for you?
Chronus
ChronusOPā€¢8mo ago
Yes, I was able to rebase 20240406 a while ago and tried sleeping while my controller's connected to the Bluetooth.
Aru
Aruā€¢8mo ago
sounds like you might have a different suspend bug than me then šŸ¤” mine worked fine on 04/06, i'm about to test stable again (04/07)
Chronus
ChronusOPā€¢8mo ago
Sleep works when I boot without my controller's connected (turned off). And then as soon as I connected the Nintendo joycon's, I'll be having the black screen again when I sleep (Sorry for my terrible English)
Aru
Aruā€¢8mo ago
no worries, your english is fine
Chronus
ChronusOPā€¢8mo ago
Urghh still not done.
No description
Aru
Aruā€¢8mo ago
but yeah, my 04/06 is working fine with external controller might only be the latest 04/07 that's affected for me
Chronus
ChronusOPā€¢8mo ago
So yours borked on 04/07? I mean stable build?
Aru
Aruā€¢8mo ago
probably yeah, i'm about to test it which is why I'm thinking your suspend bug might be slightly different than mine somehow
Chronus
ChronusOPā€¢8mo ago
Got it. Yeah but let's wait for mine to finish If 04/05 works, I think that means we're kinda similar. But not 100% because a while ago 04/06 doesn't work for me.
Aru
Aruā€¢8mo ago
yeah, i think you might need to figure out which image introduced the bug for you
Chronus
ChronusOPā€¢8mo ago
Yes, if this doesn't work maybe it has something to do with Auto Mount again, no?
Aru
Aruā€¢8mo ago
since 04/07 is now working for me too, previously it was hanging on suspend w/ external controllers šŸ¤” yeah, maybe?
Chronus
ChronusOPā€¢8mo ago
But a while ago you were able to replicate it right? šŸ„¹ I feel like a liar lol.
Aru
Aruā€¢8mo ago
yeah, i was definitely able to replicate your issue i just don't know why it's suddenly working again
Chronus
ChronusOPā€¢8mo ago
So how did yours got fixed? Mystery!
Aru
Aruā€¢8mo ago
i don't know lol
Chronus
ChronusOPā€¢8mo ago
It's generating initramfs now
Chronus
ChronusOPā€¢8mo ago
No description
Chronus
ChronusOPā€¢8mo ago
Rebooting now, I have a theory, maybe I really have to go back to 0220, maybe that's how yours got fixed? Lmao.
Aru
Aruā€¢8mo ago
no idea ĀÆ\_(惄)_/ĀÆ
Chronus
ChronusOPā€¢8mo ago
Holy nyaow! It works
Aru
Aruā€¢8mo ago
04/05?
Chronus
ChronusOPā€¢8mo ago
Yeah with one Joycon connected Let me try with both
Aru
Aruā€¢8mo ago
šŸ‘ nice
Chronus
ChronusOPā€¢8mo ago
Both Joycon works Let me try with a game now
Chronus
ChronusOPā€¢8mo ago
Chronus
ChronusOPā€¢8mo ago
I just have to pair again but that's fine! :beagle_love: Wait a minute, after that sleep, I can't pair my controller and 2nd sleep is stuck now lmao. Idk anymore šŸ¤£
Aru
Aruā€¢8mo ago
note that I did multiple suspend-resume attempts to make sure it worked for me but yeah, idk either šŸ˜… sorry that I couldn't help more, to me it sounds like you have a more unique issue maybe?
Chronus
ChronusOPā€¢8mo ago
Thank you for taking the time to investigate this.. but for now Idk anymore. Maybe I have to give up sleeping on suspending and treat it like a laptop.
Aru
Aruā€¢8mo ago
i'd say it's too early to give up
Chronus
ChronusOPā€¢8mo ago
No no, it's okay don't be sorry
Aru
Aruā€¢8mo ago
try going 02/20 or 03/15 if it's still present on 02/20 or 03/15, then the bug is probably not OS related
Chronus
ChronusOPā€¢8mo ago
Ok, I'll try 02/20 first.
Aru
Aruā€¢8mo ago
if the bug is still on images that old, most likely it's a steam or configuration bug or maybe it's a bug with just switch joycons?
Chronus
ChronusOPā€¢8mo ago
Maybe, it might be one of the two
Aru
Aruā€¢8mo ago
basically if 02/20 has the issue, your bug is most likely not an OS bug
Chronus
ChronusOPā€¢8mo ago
Btw I always boot using the fedora on boot menu instead of Bazzite. If that matters
Aru
Aruā€¢8mo ago
I'm pretty sure that either should be fine
Chronus
ChronusOPā€¢8mo ago
Does it matter? Oh okay Before going back to 0220 Let me try sleeping again for 2-3 times
Aru
Aruā€¢8mo ago
šŸ‘ i'm going to sleep for now pretty tired
Chronus
ChronusOPā€¢8mo ago
Okay sleep well Aru! :beagle_love:
Aru
Aruā€¢8mo ago
let me know if i can help with anything later, feel free to ping me
Chronus
ChronusOPā€¢8mo ago
I will, thank you so much! šŸ„¹ Controller can't connect after the first sleep, going back to 0220, sleep well Aru! Reporting, 20240220 works wonderful - 0 issues, I can always sleep and reconnect my switch joycons. šŸŽ‰ So I guess I should stay in this image for a while until this issue gets fixed. after going back to :stable again. it's broken again lmao. Time to try 20240315 Update for this one, it freezes maybe after 5-7 times of repeatedly sleeping. 20240315 is more aggressive when repeatedly sleeping continuously.
Aru
Aruā€¢8mo ago
But 03/15 works too?
Chronus
ChronusOPā€¢8mo ago
At 1-3 sleep maybe. I have something to test, I'll try going back to stable and remove auto mount from the built in KDE manager. :stable without any auto mount doesn't work. As long as the Nintendo Joycon's connected you won't be able to sleep. Lmao. Trying to turn off the Bluetooth before sleeping.. Yeah still the same. That's it there nothing more I can do :clueless: Btw @Aru is there any way I can force restart the Steam while on game mode using 3rd party controller? Like any shortcuts or something?
Aru
Aruā€¢8mo ago
šŸ¤” none that i know of
Chronus
ChronusOPā€¢8mo ago
@Aru :beagle_love: ARUUUU! I got it now!
Aru
Aruā€¢8mo ago
? figured out a fix?
Chronus
ChronusOPā€¢8mo ago
Not really a fix but I'm able to connect an Xbox controller just like you! Now on latest stable Bazzite, auto-mounted on, no issues reconnecting after sleep, no freezes!
Aru
Aruā€¢8mo ago
glad to hear it's working now
Chronus
ChronusOPā€¢8mo ago
Did it like 30 times So it's the Joycon?
Aru
Aruā€¢8mo ago
I have no idea ĀÆ\_(惄)_/ĀÆ
Chronus
ChronusOPā€¢8mo ago
It's the Joycon, I don't know how it works but yeah, no issues with Xbox controller. There I renamed this!
Aru
Aruā€¢8mo ago
nice, good to know that joycons are buggy
Chronus
ChronusOPā€¢8mo ago
Too bad I like joycons šŸ„¹
Aru
Aruā€¢8mo ago
I don't have any joycons so I can't replicate
Chronus
ChronusOPā€¢8mo ago
Maybe because it has 2 Bluetooth controllers merging into one. Idk.
Aru
Aruā€¢8mo ago
perhaps? I don't know much about joycons on linux
Chronus
ChronusOPā€¢8mo ago
But I'm glad were able to pinpoint what's the problem! THANK YOU ARU!
Aru
Aruā€¢8mo ago
you did most of the work lol
Chronus
ChronusOPā€¢8mo ago
No, not really without you there I won't be able to know it.
Aru
Aruā€¢8mo ago
this sounds like I shoudl make a video about it rollbacks, etc
Chronus
ChronusOPā€¢8mo ago
How am I going to report to Bazzite team that there's a bug.
Aru
Aruā€¢8mo ago
github probably a good place to put a bug report
Chronus
ChronusOPā€¢8mo ago
I think you should. Got it thanks Aru! Gonna buy a cool Xbox controller, I want dual sense but.. I don't wanna risk it. Dual sense is not cheap here.
Aru
Aruā€¢8mo ago
dualsense should work very well with Linux drivers are built into the OS
Chronus
ChronusOPā€¢8mo ago
But I can't find a way to test
Aru
Aruā€¢8mo ago
but up to you, regular Xbox also works well šŸ™‚
Chronus
ChronusOPā€¢8mo ago
Hmm maybe I'll ask someone
Aru
Aruā€¢8mo ago
dualsense has the trackpads, which can be nice
Chronus
ChronusOPā€¢8mo ago
Ok thank you Aru. It took us a day to figure this out.
Want results from more Discord servers?
Add your server