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

power_dpm_state on AMDGPU not updated on battery or balance mode #390

Open
ikus060 opened this issue Apr 10, 2023 · 0 comments
Open

power_dpm_state on AMDGPU not updated on battery or balance mode #390

ikus060 opened this issue Apr 10, 2023 · 0 comments

Comments

@ikus060
Copy link

ikus060 commented Apr 10, 2023

Distribution (run cat /etc/os-release):

DISTRIB_ID=Pop
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS"
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

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

system76-power:
  Installed: 1.1.24~1674505745~22.04~c504ff6
  Candidate: 1.1.24~1674505745~22.04~c504ff6
  Version table:
 *** 1.1.24~1674505745~22.04~c504ff6 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Issue/Bug Description:

power_dpm_state doesn't get updarted whenever witching to battery mode resulting in more power consumption on AMD laptop.

Steps to reproduce (if you know):

# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
performance
# system76-power profile battery
setting power profile to Battery
# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
performance

Expected behavior:

# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
battery

Other Notes:

I see some code related to power_dpm_state but it doesn't seams to be called...

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

No branches or pull requests

1 participant