Power Off & Restart Not Working As Intended?

Hello, On my OneXPlayer G1 with Bazzite, using the power menu "Shutdown" and "Restart" options simply put the device to sleep, 100% of the time. I play almost exclusively with a controller plugged into my glasses as a secondary monitor, which makes using console commands to shut down or restart frustrating. Is there a way to find out why this is happening, and fix it? Alternatively, is there a way to put a shutdown/restart command as Non-Steam games, similar to the "Boot to Windows" one using ujust? For information, I was using the test branch for the last month, and have now switched to official, but it is still having the issue.
26 Replies
皇家海星
皇家海星3w ago
I think it might be possible by making a bash script that runs systemctl reboot and then adding it as a non-steam game but that's kind of a weird way of doing it definitely not officially supported
jacobchins
jacobchinsOP3w ago
Ok - I'll wait to hear something official. I don't know why no one else is having this issue! Do you know if there is somewhere else I can post for admins to see?
皇家海星
皇家海星3w ago
you can ask around in the bazzite channel, though remember to put the solution here and mark it with the tool, so that the cause and solution doesn't get lost in the chat and don't ping any devs directly
antheas
antheas3w ago
my aokzoe sleeps and shutsdown fine i havent tested my x1 in a bit
jacobchins
jacobchinsOP3w ago
Is there any sort of log I can post somewhere to show that it refuses to shutdown or restart?
antheas
antheas3w ago
yes, bug report from hhd, select logs from previous boot
jacobchins
jacobchinsOP3w ago
With it saying "from previous boot", do I need to use the shutdown or restart button, causing it to sleep instead, then simply hard shutdown and boot back up, selecting that option? Additionally, how do I followup on the bug report? Does it send the logs to me so I can post them here?
antheas
antheas3w ago
yes post the link
antheas
antheas3w ago
how do you try to turn it off
jacobchins
jacobchinsOP3w ago
There is the log. For information, I just realized that the issue only happens when a) plugged into power (in either USB C port), and b) using my external monitor via USB C. I always use the power menu from within Gamemode, by going to the left menu>Power>Shutdown
antheas
antheas3w ago
and it sleeps? Hm nobody has ever had this issue before
jacobchins
jacobchinsOP3w ago
I almost exclusively use my handheld with my external monitor (XREAL glasses) and a controller. Having to type a command or hold the power button isn't ideal. were you able to review the log listed above? From my current boot, after holding the power button down to power off and powering it back up to do the "previous boot" log. https://paste.centos.org/view/562d1e53
antheas
antheas3w ago
you have the lid closed?
jacobchins
jacobchinsOP3w ago
When using the external display, yes.
antheas
antheas3w ago
thats whats causing it im not saying it should... i dont test on clamshells
jacobchins
jacobchinsOP3w ago
Is that some thing that can be changed in the settings or via code? the stand I have for the device is one that requires it be closed, which is great since the built-in display is disabled when using my monitor.
antheas
antheas3w ago
its a bug that needs to be fixed
jacobchins
jacobchinsOP3w ago
Ok! If there's anything else you need for testing or logs, I'm happy to help provide it. Let me change my "when lid closed" setting in desktop to see if it fixes it. I believe I set it to "do nothing", but will check.
antheas
antheas3w ago
it doesnt affect it what happens is that the inhibitor for sleep gets closed when the session closes and systemd tries to suspend before it powers off i dont know how we'd fix this
jacobchins
jacobchinsOP3w ago
Oof, ok! I guess I'll continue powering off via the power button! Can I ask a question unrelated to this one from you, since you're here? I can make a post about it, but it's been driving me nuts since using Bazzite and my external monitor. ^
antheas
antheas3w ago
youll end up corrupting your system
jacobchins
jacobchinsOP3w ago
So I need open the lid, then use the shutdown option in the power menu, then wait for it to shutdown, then close the lid?
antheas
antheas3w ago
i guess so for now
jacobchins
jacobchinsOP3w ago
Ok. I'll make a new post for my other issue. I appreciate you looking at this one!
antheas
antheas3w ago
np

Did you find this page helpful?