Linux [TLP 1.7 Beta] Tester gesucht

Linux Betriebssystem

linrunner

Ubuntuversteher
Themenstarter
Registriert
22 Juni 2007
Beiträge
13.179
Hi,

wie zu jeder neuen Version bitte ich um eure Unterstützung im Beta Test:

Testziele
  • Interessant für Besitzer von AMD ThinkPads ist die Adaptive Backlight Modulation ab Kernel 6.9:
    Die Einstellung AMDGPU_ABM_LEVEL_ON_AC=0 AMDGPU_ABM_LEVEL_ON_BAT=3 spart auf meinem P14s Gen 2 AMD mit 4K Display 0,5W bei mittlerer Bildschirmhelligkeit mit einem leichten (subjektiven) Helligkeitsverlust, bei voller oder minimaler Bildschirmhelligkeit hat es keine Auswirkungen. Ich bin gespannt auf eure Ergebnisse.
  • Testen der sonstigen neuen und geänderten Funktionen, die euch interessieren → siehe Release Notes und Changelog
  • Regressionstests allgemein (Überprüfung, ob alles noch funktioniert)
Beta Pakete
Siehe Download Seite.
Bei Debian/Ubuntu könnt (solltet) ihr eure vorhandene Konfiguration übernehmen, in dem ihr während der Paketinstallation beim Prompt "Configuration file /etc/tlp.conf" mit 'N' (für "keep your currently-installed version") antwortet.

Benötigte Ausgabe
Nach der Installation bitte einmal ThinkPad neu starten und jeweils für AC und BAT die vollständige Ausgabe zeigen:

Bash:
sudo tlp-stat

Aufgrund der Längenbegrenzung des Forumseditors bitte per Paste-Service - vorzugsweise https://gist.github.com/

Fehlerberichte
Wenn etwas nicht wie erwartet funktionieren sollte → bitte entweder hier im Thread melden oder einen Issue erstellen.

Infos
Viel Spaß und vielen Dank im voraus für eure Unterstützung! :cool:
 
T480:

X1 Tablet Gen 3:

X230:
 
Am T490s unter Debian funktioniert soweit 'alles'.

Test Objectives

- wlan on / off beim Dock funktioniert
- Ladeschwellen setzen funktioniert
- recalibrate startet / discharge funzt auch

- einige Ausgaben sind farbig
- Fish habe ich nicht :-O

- die Seriennummer der Platte wird ausgeblendet! Danke dafür.

Seems good.
 
@thickpad : auch hier danke für deine Ergebnisse. In der AC Ausgabe habe ich noch ein fehlendes Linefeed bei den Recommendations gefunden und ausgemerzt.
 
Moin!

Unter Fish habe ich auch keine Fehler gefunden.

Wie sieht es mit Fedora aus? Ich verwende zur Zeit power-profiles-daemon.
 
Ich habe die beta-Pakete für Fedora 40 gebaut.

Code:
dnf install tlp tlp-rdw --enablerepo=tlp-updates-testing
bzw.
Code:
dnf update tlp tlp-rdw --enablerepo=tlp-updates-testing
 
  • Like
Reaktionen: mcb
Puh... Fedora ist nicht Debian.

Code:
wget https://repo.linrunner.de/fedora/tlp/repos/RPM-GPG-KEY-tlp-fedora-40-primary

gpg -n -q --import --import-options import-show RPM-GPG-KEY-tlp-fedora-40-primary

dnf install tlp tlp-rdw --enablerepo=tlp-updates-testing

Nach tlp start "läuft" es erstmal.

Code:
root@fedora:/home/marc/tmp# tlp-stat -s -p -b
--- TLP 1.7.0-beta.1 --------------------------------------------

+++ System Info
System         = LENOVO ThinkPad T14 Gen 4 21K4S0XH04
BIOS           = R2FET58W (1.38 )
EC Firmware    = 1.30
OS Release     = Fedora Linux 40 (Workstation Edition)
Kernel         = 6.10.8-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep  4 21:41:11 UTC 2024 x86_64
/proc/cmdline  = BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.10.8-200.fc40.x86_64 root=UUID=20fc82ef-6617-4dcd-9751-d73a5b299474 ro rd.luks.uuid=luks-556fe8a5-c8a9-4d84-ab77-5324981cefa0 rhgb quiet amdgpu.abmlevel=0
Init system    = systemd
Boot mode      = UEFI
Suspend mode   = [s2idle]
SELinux status = enabled (enforcing)

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 01:10:42 PM, 845 sec(s) ago
Mode           = AC
Power source   = AC

Error: TLP's power saving will not apply on boot because tlp.service is not enabled --> Invoke 'systemctl enable tlp.service' to ensure the full functionality of TLP.

Warning: TLP's power saving will not apply on boot because the conflicting power-profiles-daemon.service is active.

+++ Processor
CPU model      = AMD Ryzen 5 PRO 7540U w/ Radeon 740M Graphics

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = amd-pstate-epp
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu11: omitted for clarity, use -v to show all

/sys/devices/system/cpu/amd_pstate/status              = active
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = low-power
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds, recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = Sunwoda
/sys/class/power_supply/BAT0/model_name                     = 5B11M90029
/sys/class/power_supply/BAT0/cycle_count                    =      7
/sys/class/power_supply/BAT0/energy_full_design             =  52500 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  52500 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  29950 [mWh]
/sys/class/power_supply/BAT0/power_now                      =      0 [mW]
/sys/class/power_supply/BAT0/status                         = Not charging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     45 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =    100 [%]
/sys/class/power_supply/BAT0/charge_behaviour               = [auto] inhibit-charge force-discharge

Charge                                                      =   57.0 [%]
Capacity                                                    =  100.0 [%]

+++ Recommendations
* Uninstall power-profiles-daemon or invoke 'systemctl mask power-profiles-daemon.service' to ensure the full functionality of TLP

root@fedora:/home/marc/tmp#

Ich probiere dann der Reihe mit und ohne power-profiles-daemon.

@linrunner

Wären folgede settings grob mit 'power saver' des daemon vergleichbar?

Code:
CPU_ENERGY_PERF_POLICY_ON_AC="power"
CPU_ENERGY_PERF_POLICY_ON_BAT="power"
DISK_DEVICES="nvme0n1 sda sdb"
RUNTIME_PM_ON_AC="auto"
RUNTIME_PM_ON_BAT="auto"
RUNTIME_PM_DRIVER_DENYLIST="mei_me nouveau radeon xhci_hcd"
RESTORE_THRESHOLDS_ON_BAT="1"
PLATFORM_PROFILE_ON_AC="low-power"
PLATFORM_PROFILE_ON_BAT="low-power"
CPU_BOOST_ON_AC=0
CPU_BOOST_ON_BAT=0
CPU_HWP_DYN_BOOST_ON_AC=0
CPU_HWP_DYN_BOOST_ON_BAT=0
START_CHARGE_THRESH_BAT0="45"
STOP_CHARGE_THRESH_BAT0="100"

Mir geht es ausschließlich um die Lautstärke.

PS: Wie schaltet man das Testingrepro im Fall der Fälle wieder ab?
Beitrag automatisch zusammengeführt:

-----------------------------------------------------------------------------
Edit

T14 AMD ac: https://nbreview.de/wp-content/uploads/2024/09/T14-amd-ac.txt
T14 AMD bat: https://nbreview.de/wp-content/uploads/2024/09/T14-amd-bat.txt

Ich probiere mal ...

Edit2

Es scheint alles zu gehen. https://linrunner.de/tlp/installation/fedora.html klang ja schlimm...

Code:
marc@fedora:~$ sudo tlp-stat -p --cdiff
--- TLP 1.7.0-beta.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-amd.conf L0001: CPU_ENERGY_PERF_POLICY_ON_AC="power"
/etc/tlp.d/00-amd.conf L0002: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.d/00-amd.conf L0003: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-amd.conf L0004: RUNTIME_PM_ON_AC="auto"
/etc/tlp.d/00-amd.conf L0007: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-amd.conf L0008: PLATFORM_PROFILE_ON_AC="low-power"
/etc/tlp.d/00-amd.conf L0010: PLATFORM_PROFILE_ON_BAT="balanced"
/etc/tlp.d/00-amd.conf L0011: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-amd.conf L0012: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-amd.conf L0013: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-amd.conf L0014: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-amd.conf L0015: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"

+++ Processor
CPU model      = AMD Ryzen 5 PRO 7540U w/ Radeon 740M Graphics

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = amd-pstate-epp
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu11: omitted for clarity, use -v to show all

/sys/devices/system/cpu/amd_pstate/status              = active
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = low-power
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

Code:
marc@fedora:~$ sudo tlp-stat -p -d
--- TLP 1.7.0-beta.1 --------------------------------------------

+++ Processor
CPU model      = AMD Ryzen 5 PRO 7540U w/ Radeon 740M Graphics

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = amd-pstate-epp
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu11: omitted for clarity, use -v to show all

/sys/devices/system/cpu/amd_pstate/status              = active
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = balanced
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

+++ Disks
Devices = nvme0n1 sda sdb

/dev/nvme0n1:
  Type       = NVMe
  Disk ID    = nvme-Samsung_SSD_980_PRO_2TB_***************
  Model      = Samsung SSD 980 PRO 2TB                
  Firmware   = 5B2QGXA7
  Temp       = 36 °C
  Scheduler  = [none] mq-deadline kyber bfq (multi queue)

  Runtime PM:
    /sys/block/nvme0n1/device/power/control = auto, autosuspend_delay_ms = (not available)

  SMART info:
    Critical Warning:                   0x00
    Temperature:                        36 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    0%
    Data Units Written:                 22,395,961 [11.4 TB]
    Power Cycles:                       369
    Power On Hours:                     387
    Unsafe Shutdowns:                   63
    Media and Data Integrity Errors:    0

/dev/sda: not present.

/dev/sdb: not present.

Schaltet auch alles um und rdw tut.
 
Zuletzt bearbeitet:
Ja cool. Wie ist eigentlich der Stand mit SELinux?
@mcb Ich habe keine Infos, dass die Probleme behoben wurden. Die SELinux-Regeln für TLP sind nicht Gegenstand der Pakete tlp und tlp-rdw sondern werden in selinux-policy und selinux-policy-targeted gepflegt. Gefühlt ging alle paar Fedora Release was anderes kaputt, ohne dass sich in TLP etwas geändert hätte :rolleyes:. Der Maintainer des Fedora-Pakets (das ist NICHT @RomanX) zeigte zu dem Thema nie Engagement.

Wenn Du magst, zeig mal die Ausgabe von
Bash:
sudo ausearch -su 'tlp'
Nach einem Boot und nach dem Wechsel der Stromquelle AC <-> BAT.

Ich habe die beta-Pakete für Fedora 40 gebaut.
@RomanX Super. Danke. Ist auf der Download Seite vermerkt: https://download.linrunner.de/packages/

Ich probiere dann der Reihe mit und ohne power-profiles-daemon.

@linrunner

Wären folgede settings grob mit 'power saver' des daemon vergleichbar?
Im Grunde macht PPD ziemlich wenig ;) - im Vergleich zu TLP. Genau zu deiner Frage gibt es eine FAQ. Mit 1.7 kommt bei PPD noch AMDGPU_ABM_LEVEL_ON_AC=0 bzw. AMDGPU_ABM_LEVEL_ON_BAT=3 hinzu, das pflege ich nach dem TLP Release noch ein.

Ein Vergleich der Messwerte zwischen TLP und PPD auf deiner Hardware würde mich natürlich interessieren. Aber bitte kein Parallelbetrieb, sondern power-profiles-daemon deinstallieren oder zumindest power-profiles-daemon.service maskieren und Reboot. Umgekehrt TLP deaktivieren NICHT über den Service sondern mit TLP_ENABLE=0
 
Nach boot -> Strom ab und wieder an:

Code:
marc@fedora:~$ sudo ausearch -su 'tlp'
[sudo] password for marc:
----
time->Tue Sep 10 16:36:56 2024
type=AVC msg=audit(1725979016.360:178): avc:  denied  { setpgid } for  pid=3208 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:03:13 2024
type=AVC msg=audit(1725980593.780:381): avc:  denied  { setpgid } for  pid=16765 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:04:16 2024
type=AVC msg=audit(1725980656.722:177): avc:  denied  { setpgid } for  pid=3381 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:04:47 2024
type=AVC msg=audit(1725980687.768:222): avc:  denied  { setpgid } for  pid=4901 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:06:41 2024
type=AVC msg=audit(1725980801.903:189): avc:  denied  { setpgid } for  pid=3524 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Wed Sep 11 01:08:55 2024
type=AVC msg=audit(1726009735.491:549): avc:  denied  { setpgid } for  pid=68031 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Wed Sep 11 08:04:04 2024
type=AVC msg=audit(1726034644.452:188): avc:  denied  { setpgid } for  pid=4003 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
marc@fedora:~$ sudo ausearch -su 'tlp'
----
time->Tue Sep 10 16:36:56 2024
type=AVC msg=audit(1725979016.360:178): avc:  denied  { setpgid } for  pid=3208 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:03:13 2024
type=AVC msg=audit(1725980593.780:381): avc:  denied  { setpgid } for  pid=16765 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:04:16 2024
type=AVC msg=audit(1725980656.722:177): avc:  denied  { setpgid } for  pid=3381 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:04:47 2024
type=AVC msg=audit(1725980687.768:222): avc:  denied  { setpgid } for  pid=4901 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Tue Sep 10 17:06:41 2024
type=AVC msg=audit(1725980801.903:189): avc:  denied  { setpgid } for  pid=3524 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Wed Sep 11 01:08:55 2024
type=AVC msg=audit(1726009735.491:549): avc:  denied  { setpgid } for  pid=68031 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
----
time->Wed Sep 11 08:04:04 2024
type=AVC msg=audit(1726034644.452:188): avc:  denied  { setpgid } for  pid=4003 comm="timeout" scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:system_r:tlp_t:s0 tclass=process permissive=0
marc@fedora:~$

Mit den Settings:

Code:
marc@fedora:~$ tlp-stat --cdiff
--- TLP 1.7.0-beta.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-amd.conf L0001: CPU_ENERGY_PERF_POLICY_ON_AC="power"
/etc/tlp.d/00-amd.conf L0002: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.d/00-amd.conf L0003: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-amd.conf L0004: RUNTIME_PM_ON_AC="auto"
/etc/tlp.d/00-amd.conf L0007: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-amd.conf L0008: PLATFORM_PROFILE_ON_AC="low-power"
/etc/tlp.d/00-amd.conf L0010: PLATFORM_PROFILE_ON_BAT="balanced"
/etc/tlp.d/00-amd.conf L0011: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-amd.conf L0012: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-amd.conf L0013: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-amd.conf L0014: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-amd.conf L0015: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"

Ist der Verbrauch grob wie vorher mit dem daemon. ~ 8W und der Lüfter läuft kaum, das reicht mir schon.

Wenn ich Ruhe habe messe ich mal etwas länger und dann auch genauer.
....
Ein Vergleich der Messwerte zwischen TLP und PPD auf deiner Hardware würde mich natürlich interessieren. Aber bitte kein Parallelbetrieb, sondern power-profiles-daemon deinstallieren oder zumindest power-profiles-daemon.service maskieren und Reboot. Umgekehrt TLP deaktivieren NICHT über den Service sondern mit TLP_ENABLE=0

Also PPD unmask und TLP_E...=0 o.k.

Im Moment habe ich den PPD maskiert und TLP aktiv. Frei nach dem Motto: 'Wer mist mist Mist' verbraucht das T14 just 11 Watt. :eek:
 
@mcb
/etc/tlp.d/00-amd.conf L0008: PLATFORM_PROFILE_ON_AC="low-power"
/etc/tlp.d/00-amd.conf L0010: PLATFORM_PROFILE_ON_BAT="balanced"
Hast Du hier vielliecht aus Versehen die Werte für AC und BAT vertauscht?

Ausserdem vermisse ich:
Code:
AMDGPU_ABM_LEVEL_ON_AC=0
AMDGPU_ABM_LEVEL_ON_BAT=3

Bei welcher Displayhelligkeit sind die 8 bzw. 11 Watt?

Die AVCs sehen auf den ersten Blick unkritisch aus. Muss ich nochmal nachforschen, was von TLP dadurch blockiert wird.

Jedenfalls zeigen deine Ausgaben, dass sich die Einstellungen beim Wechsel AC <-> BAT ändern. Das ist schon mal besser als früher.

Danke fürs Testen.
 
@mcb

Hast Du hier vielliecht aus Versehen die Werte für AC und BAT vertauscht?

Ausserdem vermisse ich:
Code:
AMDGPU_ABM_LEVEL_ON_AC=0
AMDGPU_ABM_LEVEL_ON_BAT=3

Bei welcher Displayhelligkeit sind die 8 bzw. 11 Watt?

...
Ich bin noch am "probieren". Mein Haupziel ist ein leises Pad am Strom ... Um das Umschalten zu testen habe ich auf Bat mal etwas höher gestellt.

Auf Batterie mit 20 Prozent Displayhelligkeit habe ich jetzt 5W:

Code:
root@fedora:/home/marc# tlp-stat -p -b --cdiff
--- TLP 1.7.0-beta.1 --------------------------------------------

+++ Configured Settings (only differences to defaults):
/etc/tlp.d/00-amd.conf L0001: CPU_ENERGY_PERF_POLICY_ON_AC="power"
/etc/tlp.d/00-amd.conf L0002: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.d/00-amd.conf L0003: DISK_DEVICES="nvme0n1 sda sdb"
/etc/tlp.d/00-amd.conf L0004: RUNTIME_PM_ON_AC="auto"
/etc/tlp.d/00-amd.conf L0007: RESTORE_THRESHOLDS_ON_BAT="1"
/etc/tlp.d/00-amd.conf L0008: PLATFORM_PROFILE_ON_AC="low-power"
/etc/tlp.d/00-amd.conf L0009: PLATFORM_PROFILE_ON_BAT="balanced"
/etc/tlp.d/00-amd.conf L0010: CPU_BOOST_ON_AC="0"
/etc/tlp.d/00-amd.conf L0011: CPU_BOOST_ON_BAT="0"
/etc/tlp.d/00-amd.conf L0012: DEVICES_TO_DISABLE_ON_STARTUP="bluetooth"
/etc/tlp.d/00-amd.conf L0013: START_CHARGE_THRESH_BAT0="45"
/etc/tlp.d/00-amd.conf L0014: STOP_CHARGE_THRESH_BAT0="100"
/etc/tlp.d/00-amd.conf L0015: DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
/etc/tlp.d/00-amd.conf L0016: DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"

+++ Processor
CPU model      = AMD Ryzen 5 PRO 7540U w/ Radeon 740M Graphics

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = amd-pstate-epp
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4976000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = power [EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

/sys/devices/system/cpu/cpu1..cpu11: omitted for clarity, use -v to show all

/sys/devices/system/cpu/amd_pstate/status              = active
/sys/module/workqueue/parameters/power_efficient       = N
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = balanced
/sys/firmware/acpi/platform_profile_choices            = low-power balanced performance
/sys/devices/platform/thinkpad_acpi/dytc_lapmode       = 0

+++ Battery Care
Plugin: thinkpad
Supported features: charge thresholds, recalibration
Driver usage:
* natacpi (thinkpad_acpi) = active (charge thresholds, recalibration)
Parameter value ranges:
* START_CHARGE_THRESH_BAT0/1:  0(off)..96(default)..99
* STOP_CHARGE_THRESH_BAT0/1:   1..100(default)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = Sunwoda
/sys/class/power_supply/BAT0/model_name                     = 5B11M90029
/sys/class/power_supply/BAT0/cycle_count                    =      7
/sys/class/power_supply/BAT0/energy_full_design             =  52500 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  52500 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  25920 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   4709 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

/sys/class/power_supply/BAT0/charge_control_start_threshold =     45 [%]
/sys/class/power_supply/BAT0/charge_control_end_threshold   =    100 [%]
/sys/class/power_supply/BAT0/charge_behaviour               = [auto] inhibit-charge force-discharge

Charge                                                      =   49.4 [%]
Capacity                                                    =  100.0 [%]

root@fedora:/home/marc#

Powertop zeigt auch 5 bis 6 Watt. Ich bin erstmal zufrieden.

Die Displaysettings? Nicht meins aber ich werde die für dich ausprobieren.
:)
 
Zuletzt bearbeitet:
Vertragen sich die Displaysettings mit:
Code:
root@fedora:/home/marc# grubby --info=ALL
index=0
kernel="/boot/vmlinuz-6.10.8-200.fc40.x86_64"
args="ro rd.luks.uuid=luks-556fe8a5-c8a9-4d84-ab77-5324981cefa0 rhgb quiet amdgpu.abmlevel=0"

^^ nicht das sich das beißt?
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben