-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BthPS3.sys DRIVER_POWER_STATE_FAILURE restoring from hibernate - Windows 10/11 #19
Comments
Aw sh... It's back 😭 |
Just had this too |
yup same lol hopefully they can fix it. i think it happens when you leave controller plugged in then turn on pc to desktop then wait maybe around 5-20 mins then it happened. not really sure if it happens consistent, ill test it later. |
Yes, it's a known issue. As a workaround make sure to disconnect your controllers before you send the machine to sleep. The behaviour is pretty consistent to reproduce, connect controller, send PC to sleep, wake it up, almost exactly 10 minutes later (Windows Kernel Watchdog Timer) the BSOD happens. I haven't had the time to look into it yet so simply watch this issue's progress and I don't need anymore "happens to me too" comments for the time being, thank you 😛 |
Still happens while controller is disconnected hope this helps you to find those lines. Sorry if im bothering you. |
No worries, mate, I just need a time slot to dig into this and will update my progress on GitHub, if there is any 😜 |
Maybe I'm just getting lazy; I had two of these crashes this week. |
That sucks but the status is still unchanged so that shouldn't come as a surprise 😛 |
On my last GSOD (they are green on Insider Preview instead of blue or black) I noticed a DS3 HID device with an error in Device Manager before the system crashed. So yes it appears to be due to having the controller connected to Bluetooth when the system goes to sleep. |
I. Know. 🙂 |
I'm now also getting this on Windows 10 21H1 with latest patches as of writing. |
Yes, I will confirm on 21H1/2 as well. Usually happens about :30-1 minute after resuming from sleep. Subscribed. It tricks you as you get going with what you were doing upon resume as there is no issue then you get the bluescreen haha. |
I'll double this Same bsod |
I am aware 🙂 It's an issue independent from OS (version) and I'll look into it when there's time, I kindly don't need more notifications about this thread 😉 |
Found the issue. Will need a bit of rework to address it fully but we're getting there 😌 |
Work to tackle this has started on the branch The plan is to remove chunks of legacy verbose sections with DMF, especially the child device creation and lifetime handling. The underlying issue is, that currently upon power down for sleep/hibernation the controller gets disconnected, but it also destroys the The plan is to rewrite the child handling code with modern substitutes and change the behaviour on power down to keep the device and resume it when the user wakes up the machine and connects the controller again. This sounds simple on paper but will require a fair bit of work and testing, but it's the way to go, so stay tuned 😉 |
How is this fix coming along? Just ran in to this problem on win11 as well. |
I was buried in company work last couple weeks so not much progress, as can be seen by the commits messages. |
Ah, understandable sorry to bother you. Hadn't read the thread. I wish I could help, but unfortunately I am not very familiar with developing for windows. |
Oof, looking at the code again with a few months break is an experience... Like "who wrote this... oh, right, it was me..." |
Sorry for making a Duplicate was tired while looking into this but I just realised this morning that it was caused by Fastboot (still technically hibernate issue) as I turned my pc off with the controller also off then booting it back up later in the day |
Aye, it's on the Roadmap. For 2022. I hope. 😬 So much to do lately it's crazy. |
still waiting for the fix, my laptop bsod a couple of times:) i thought my windows/other devices on my laptop making the bsod happen. |
Can you guys that add nothing to the issue stop spamming/whining? Its annoying when you‘re subscribed here. |
It's the social media generation. Gotta post something even if it adds nothing whatsoever. |
Seriously, people, what do you expect posting the same thing over and over again? That I magically get more time to work on the fix? If anything, now it will take longer 😒 |
I am ocassionally getting a STATUS_DEVICE_POWER_FAILURE error in device manager for the Nefarius Bluetooth PS Enumerator device. No *SOD, though, just the device and thus the PS3 controller (over BT, USB is fine) doesn't work until restart. I didn't hibernate/sleep, just turned bluetooth on/off a few times. DsHidMini claims everything is fine, even though it's not. Restart fixes this. Windows 11, Intel BT v22.130.0.2 Not a big deal to me, just here to comment that I am not using sleep/hibernate at all. |
And locked until further notice. |
Found and reported a bug in DMF that currently keeps this on hold, hopefully MS' guys soon have an update, then a huge chunk of legacy code is ready to be replaced with Dmf_Pdo 🎉 |
Nice! Continuing... |
Alright, the DMF bug was squashed, replacement code works a treat, now fixing and testing the power-related issues. |
The issue is resolved 🥳 a few more things are left to do, then a new release will be published. |
Here we go, have fun testing! |
BthPS3 version v2.0.144
Windows 11 version 22000.100
Had a DRIVER_POWER_STATE_FAILURE after restoring from Hibernate
WinDBG log as follows:
The text was updated successfully, but these errors were encountered: