Skip to content

Conversation

@Cod3dDOT
Copy link

@Cod3dDOT Cod3dDOT commented Dec 12, 2025

noctalia-supergfxctl

Adds a bar widget plugin to switch GPU modes with supergfxctl.
Development happens here: https://github.com/Cod3dDOT/noctalia-supergfxctl

Main.qml contains logic wrapping supergfxctl in the Item with id sgfx. The properties of the Main.qml expose some of the info of that object to be used by the Panel/Settings/Bar widget.

@Cod3dDOT Cod3dDOT marked this pull request as draft December 12, 2025 08:14
@Cod3dDOT Cod3dDOT marked this pull request as ready for review December 28, 2025 22:25
@Cod3dDOT
Copy link
Author

Cod3dDOT commented Dec 28, 2025

The core functionality of switching between the integrated and the discreet gpu has been working fine for me for a couple of weeks, and I have been swarmed with life, so I am marking this as ready for review for now. The main missing feature is tracking the gpu state if it is changed outside of the shell. I thought about doing that using polling, but supergfxctl tends to hang for indefinite times if run too frequently (needs investigation), and I have not found a way to monitor dbus in pure qml yet.

For now pollling is implemented, and listening to rog-control-center notifications is not. Both settings are disabled and greyed out until further improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant