Skip to content
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

Error on system76-power graphics power auto #280

Open
jacobgkau opened this issue Oct 8, 2021 · 2 comments · May be fixed by #386
Open

Error on system76-power graphics power auto #280

jacobgkau opened this issue Oct 8, 2021 · 2 comments · May be fixed by #386

Comments

@jacobgkau
Copy link
Member

Distribution (run cat /etc/os-release): Pop!_OS 21.04 and 20.04

Related Application and/or Package Version (run apt policy $PACKAGE NAME): efd0754 (current master branch)

Issue/Bug Description: When a system is in Compute graphics mode, the discrete graphics can be turned off and on using system76-power graphics power off and system76-power graphics power on. The help text for system76-power graphics power shows that a third setting, auto, is available, but when attempting to switch to that mode, I get the following output:

setting discrete graphics to turn off when not in use
daemon returned an error message: "Unknown method AutoGraphicsPower"

This is different from the message shown when a nonexistent mode is specified.

Steps to reproduce (if you know): Run system76-power graphics power auto on any system (switchable or non-switchable.)

Expected behavior: Either the command should complete successfully, or it should be removed/hidden from the help text.

Other Notes: N/A

@crawfxrd
Copy link
Member

crawfxrd commented Oct 8, 2021

Caused by: 065312d (#195)

Should just need to add AutoGraphicsPower back to the dbus interface.

curiousercreative pushed a commit to curiousercreative/system76-power that referenced this issue Feb 6, 2023
@curiousercreative curiousercreative linked a pull request Feb 6, 2023 that will close this issue
@curiousercreative
Copy link
Contributor

curiousercreative commented Feb 6, 2023

@jacobgkau I've got this compiling now, but maybe there's more work to do as my galp5 dGPU power is set to "on" by this when I'm in integrated graphics mode whereas I expect it to be "off".

$ system76-power graphics
integrated
$ system76-power graphics power
off (discrete)
$ system76-power graphics power auto
setting discrete graphics to turn off when not in use
$ system76-power graphics power
on (discrete)
$ system76-power graphics power off
turning discrete graphics off 
$ system76-power graphics power
off (discrete)
$ system76-power graphics power auto
setting discrete graphics to turn off when not in use
$ system76-power graphics power
on (discrete)

curiousercreative pushed a commit to curiousercreative/system76-power that referenced this issue Feb 6, 2023
jacobgkau pushed a commit to curiousercreative/system76-power that referenced this issue May 12, 2023
curiousercreative pushed a commit to curiousercreative/system76-power that referenced this issue Jun 9, 2023
jacobgkau pushed a commit to curiousercreative/system76-power that referenced this issue Feb 20, 2024
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 a pull request may close this issue.

3 participants