Skip to content

Intel GPU frequency is not restored if not set #901

Description

@ilovelinux

[x] I've read and accepted the Bug Reporting Howto
[x] I've provided all required tlp-stat outputs via Gist (see below)

Describe the bug

Context

Config:

INTEL_GPU_POWER_PROFILE_ON_BAT = "power_saving"; # <- This is restored to `base` as described.
INTEL_GPU_MIN_FREQ_ON_BAT = 100;
INTEL_GPU_MAX_FREQ_ON_BAT = 600;
INTEL_GPU_BOOST_FREQ_ON_BAT = 600;
# == Additional configuration to restore "default" GPU values - added after this behavior has been discovered
# INTEL_GPU_MIN_FREQ_ON_AC = 100;
# INTEL_GPU_MAX_FREQ_ON_AC = 1250;
# INTEL_GPU_BOOST_FREQ_ON_AC = 1250;

Expected behavior

  • I expected that =0 would mean "restore to GPU defaults" or something like that.
  • GPU configuration is left to BAT values.
  • If that's the intended behavior, I think the doc could be improved.
  • If that's not the intended behavior, that's a bug.

To Reproduce

Steps to reproduce the unexpected behavior:

  • Lower the clock speed for BAT - set nothing for AC.
  • Switch from AC to BAT.
  • Switch back from BAT to AC.

tlp-stat

Additional context

Add any other context about the problem here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions