-
Notifications
You must be signed in to change notification settings - Fork 5
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
Real-time dGPU power status update #15
Comments
Thank you and you're absolutely right again, this is quite the problem. I've been trying to get asusctltray to automatically update itself with the latest information from the system every time it pop up but sadly it's proven to be extremely difficult to do in the right way because of deliberate Gtk library choices for the AppIndicator bindings. I'm exploring the following solutions (this is more of a reminder for my future self):
I'll be working more on it at a later date because exams anyways, so more updates will be coming when I can find some spare time here and there. |
Thank you. Good luck with your exams. :) |
Alas, I have bad news regarding this issue. After looking into it and having a functional (and rather slick, if I say so myself) implementation of async signal handlers for power profiles, I checked the
As you can clearly see, there's no signal sender for changes in the power status of the dGPU, although they added ones for user required action when switching and for some vendor thing. Funnily enough, not even
Until then, I'll put this on the backburner (the issue will be pinned and stay open of course). I'll probably still end up pushing the aformentioned signal-handler-for-profiles thing in the future. |
Ah, that is a shame. I understand Fluke is very busy, and wouldn't like to ask him to implement a niche feature. I've semi solved the issue for me, by adding a kdeplasma-applets-supergfxctl to monitor the dGPU status. Thanks for looking into this. |
This may seem a naive question/suggestion, but would it be possible to use |
P.S. if it isn't clear, the |
Thanks for the response. Hopefully, it would be possible for this feature to be implemented in the future. |
On booting the dGPU is active, and then goes to suspended after a short while of the desktop loading. If asusctltray is started during the time when the dGPU is active, then the status line always shows active, even after the dGPU has successfully suspended afterwards (as confirmed by supergfxctl -S). I haven't tested, but presuming that if some task/app managed to wake the dGPU and not successfully suspend it afterwards, asusctltray would always show suspended when it wasn't?
Would it be possible to re-get the status of the dGPU either on a timer, or some onClick event (if there is such a thing) of the asusctltray widget?
Thanks. :)
The text was updated successfully, but these errors were encountered: