You are not logged in.

#1 2023-09-28 19:34:54

riomus
Member
Registered: 2016-11-01
Posts: 6

Stoped reaching PC9 PC10 states

Somehow lately  my lapotp stopped reaching pc9-pc10.  Everythig in powertop is in good condition and all wakeups are disabled. Previously simple leaving laptop for a second would result in PC10 (on powertop only screen). How could i debug what is happening and why PC9-10 are not reached?

wayland using sway

uname -a

Linux riomus 6.5.5-native_intel-xanmod1-1-edge #1 SMP PREEMPT_DYNAMIC Thu, 28 Sep 2023 10:02:04 +0000 x86_64 GNU/Linux

sudo tlp-stat

--- TLP 1.6.1 --------------------------------------------

+++ Configured Settings:
/etc/tlp.conf L0035: TLP_ENABLE="1"
defaults.conf L0007: TLP_WARN_LEVEL="3"
/etc/tlp.conf L0056: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0009: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0010: DISK_IDLE_SECS_ON_BAT="2"
/etc/tlp.conf L0075: MAX_LOST_WORK_SECS_ON_AC="15"
/etc/tlp.conf L0076: MAX_LOST_WORK_SECS_ON_BAT="15"
/etc/tlp.conf L0135: CPU_ENERGY_PERF_POLICY_ON_AC="performance"
/etc/tlp.conf L0136: CPU_ENERGY_PERF_POLICY_ON_BAT="power"
/etc/tlp.conf L0176: NMI_WATCHDOG="0"
/etc/tlp.conf L0207: DISK_DEVICES="nvme0n1"
/etc/tlp.conf L0215: DISK_APM_LEVEL_ON_AC="255 255"
defaults.conf L0018: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0019: DISK_APM_CLASS_DENYLIST="usb ieee1394"
defaults.conf L0020: DISK_IOSCHED="keep keep"
defaults.conf L0021: SATA_LINKPWR_ON_AC="med_power_with_dipm"
defaults.conf L0022: SATA_LINKPWR_ON_BAT="med_power_with_dipm"
defaults.conf L0023: AHCI_RUNTIME_PM_ON_AC="on"
defaults.conf L0024: AHCI_RUNTIME_PM_ON_BAT="auto"
defaults.conf L0025: AHCI_RUNTIME_PM_TIMEOUT="15"
/etc/tlp.conf L0371: PCIE_ASPM_ON_AC="default"
/etc/tlp.conf L0372: PCIE_ASPM_ON_BAT="powersupersave"
defaults.conf L0028: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0029: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0030: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0031: RADEON_POWER_PROFILE_ON_BAT="default"
/etc/tlp.conf L0343: WIFI_PWR_ON_AC="off"
/etc/tlp.conf L0344: WIFI_PWR_ON_BAT="on"
defaults.conf L0034: WOL_DISABLE="Y"
/etc/tlp.conf L0357: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.conf L0358: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0037: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0038: BAY_POWEROFF_ON_AC="0"
defaults.conf L0039: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0040: BAY_DEVICE="sr0"
defaults.conf L0041: RUNTIME_PM_ON_AC="on"
defaults.conf L0042: RUNTIME_PM_ON_BAT="auto"
/etc/tlp.conf L0395: RUNTIME_PM_DRIVER_DENYLIST="mei_me"
defaults.conf L0044: USB_AUTOSUSPEND="1"
defaults.conf L0045: USB_EXCLUDE_AUDIO="1"
defaults.conf L0046: USB_EXCLUDE_BTUSB="0"
defaults.conf L0047: USB_EXCLUDE_PHONE="0"
defaults.conf L0048: USB_EXCLUDE_PRINTER="1"
defaults.conf L0049: USB_EXCLUDE_WWAN="0"
defaults.conf L0050: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0051: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0052: NATACPI_ENABLE="1"
defaults.conf L0053: TPACPI_ENABLE="1"
defaults.conf L0054: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0050: TLP_DEFAULT_MODE="BAT"
/etc/tlp.conf L0103: CPU_SCALING_GOVERNOR_ON_AC="performance"
/etc/tlp.conf L0104: CPU_SCALING_GOVERNOR_ON_BAT="powersave"
/etc/tlp.conf L0144: CPU_MIN_PERF_ON_AC="0"
/etc/tlp.conf L0145: CPU_MAX_PERF_ON_AC="100"
/etc/tlp.conf L0146: CPU_MIN_PERF_ON_BAT="0"
/etc/tlp.conf L0147: CPU_MAX_PERF_ON_BAT="100"
/etc/tlp.conf L0156: CPU_BOOST_ON_AC="1"
/etc/tlp.conf L0157: CPU_BOOST_ON_BAT="0"
/etc/tlp.conf L0169: CPU_HWP_DYN_BOOST_ON_AC="1"
/etc/tlp.conf L0170: CPU_HWP_DYN_BOOST_ON_BAT="0"
/etc/tlp.conf L0186: PLATFORM_PROFILE_ON_AC="performance"
/etc/tlp.conf L0187: PLATFORM_PROFILE_ON_BAT="low-power"
/etc/tlp.conf L0199: MEM_SLEEP_ON_AC="deep"
/etc/tlp.conf L0200: MEM_SLEEP_ON_BAT="deep"
/etc/tlp.conf L0310: INTEL_GPU_MIN_FREQ_ON_AC="100"
/etc/tlp.conf L0311: INTEL_GPU_MIN_FREQ_ON_BAT="100"
/etc/tlp.conf L0312: INTEL_GPU_MAX_FREQ_ON_AC="1450"
/etc/tlp.conf L0313: INTEL_GPU_MAX_FREQ_ON_BAT="400"
/etc/tlp.conf L0314: INTEL_GPU_BOOST_FREQ_ON_AC="1450"
/etc/tlp.conf L0315: INTEL_GPU_BOOST_FREQ_ON_BAT="400"
/etc/tlp.conf L0403: RUNTIME_PM_ENABLE="01:00.0"
/etc/tlp.conf L0404: RUNTIME_PM_DISABLE="00:15.0"
/etc/tlp.conf L0459: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="1" #! Parameter is deprecated: feature will be removed with the next release

+++ System Info
System         = Dell Inc.  Precision 5570
BIOS           = 1.16.0
OS Release     = Arch Linux
Kernel         = 6.5.5-native_intel-xanmod1-1-edge #1 SMP PREEMPT_DYNAMIC Thu, 28 Sep 2023 10:02:04 +0000 x86_64
/proc/cmdline  = initrd=\intel-ucode.img initrd=\initramfs-linux-xanmod-edge.img cryptdevice=UUID=22a68a2a-3a7d-48e9-bd0a-e93a939a9657:root root=/dev/mapper/root rw mitigations=off  pcie_aspm=force  drm.vblankoffdelay=1 mem_sleep_default=deep   acpi_osi="!Windows2023"  intel_iommu=off  nowatchdog ipv6.disable=1 msr.allow_writes=on cryptomgr.notests page_alloc.shuffle=1 no_timer_check noreplace-smp  rootfstype=ext4   tsc=reliable nvme.noacpi=1
Init system    = systemd 
Boot mode      = UEFI
Suspend mode   = [s2idle]

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 21:18:55, 727 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
CPU model      = 12th Gen Intel(R) Core(TM) i9-12900H

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/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  =  2500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq  =  4900000 [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..cpu19: omitted for clarity, use -v to show all

/sys/devices/system/cpu/intel_pstate/status            = active
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =   9 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   1
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         = (not available) 
/sys/devices/system/cpu/intel_pstate/num_pstates       = (not available)
/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Platform Profile
/sys/firmware/acpi/platform_profile                    = (not available)
/sys/firmware/acpi/platform_profile_choices            = (not available)

+++ Temperatures
CPU temp               =    42 [°C]
Fan speed (fan1)       =  2065 [/min]
Fan speed (fan2)       =  1967 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     2
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Disks
Devices = nvme0n1

/dev/nvme0n1:
  Type       = NVMe
  Disk ID    = nvme-KXG80ZNV1T02_NVMe_KIOXIA_1024GB_13AC6305EZT6
  Model      = KXG80ZNV1T02 NVMe KIOXIA 1024GB         
  Firmware   = 11304102
  Temp       = 36 °C
  Scheduler  = [none] mq-deadline (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:          50%
    Percentage Used:                    0%
    Data Units Written:                 7,625,735 [3.90 TB]
    Power Cycles:                       241
    Power On Hours:                     1,017
    Unsafe Shutdowns:                   108
    Media and Data Integrity Errors:    0

+++ Intel Graphics
/sys/class/drm/card0/device/driver           = i915

/sys/class/drm/card0/power/rc6_enable        =  1 (enabled)
/sys/kernel/debug/dri/0/i915_fbc_status      = FBC disabled: PSR1 enabled (Wa_14016291713)
/sys/kernel/debug/dri/0/i915_edp_psr_status  = PSR mode: PSR1 enabled

/sys/class/drm/card0/gt_min_freq_mhz         =   100 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz         =   400 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz       =   400 [MHz]
/sys/class/drm/card0/gt_RPn_freq_mhz         =   100 [MHz] (GPU min)
/sys/class/drm/card0/gt_RP0_freq_mhz         =  1450 [MHz] (GPU max)

+++ Wireless
bluetooth = on
nfc       = none (no device)
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, connected
wlan0(iwlwifi)                : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default performance powersave [powersupersave]

+++ PCIe Runtime Power Management
Enable devices    = 01:00.0
Disable devices   = 00:15.0
Device denylist   = (disabled)
Driver denylist   = mei_me

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, igen6_edac)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal_pci)
/sys/bus/pci/devices/0000:00:06.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:07.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:07.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:0d.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:0d.2/power/control = auto (0x0c0340, USB controller, thunderbolt)
/sys/bus/pci/devices/0000:00:12.0/power/control = auto (0x070000, Serial controller, intel_ish_ipc)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x050000, RAM memory, no driver)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:00:15.0/power/control = auto (0x0c8000, Serial bus controller, intel-lpss)
/sys/bus/pci/devices/0000:00:15.1/power/control = auto (0x0c8000, Serial bus controller, intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040380, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.5/power/control = auto (0x0c8000, Serial bus controller, intel-spi)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)

+++ USB
Autosuspend       = enabled
Device allowlist  = (not configured)
Device denylist   = (not configured)
Exclude audio     = enabled
Exclude bluetooth = disabled
Exclude phones    = disabled
Exclude printers  = enabled
Exclude WWAN      = disabled

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 0c45:6a15 control = auto, autosuspend_delay_ms = 2000 -- Microdia Integrated_Webcam_HD (uvcvideo)
Bus 003 Device 002 ID 1050:0407 control = auto, autosuspend_delay_ms = 2000 -- Yubico.com Yubikey 4/5 OTP+U2F+CCID (usbhid)
Bus 003 Device 004 ID 8087:0033 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Care
Plugin: generic
Supported features: none available

+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = BYD
/sys/class/power_supply/BAT0/model_name                     = DELL M59JH33
/sys/class/power_supply/BAT0/cycle_count                    =      0 (or not supported)
/sys/class/power_supply/BAT0/charge_full_design             =   7394 [mAh]
/sys/class/power_supply/BAT0/charge_full                    =   7047 [mAh]
/sys/class/power_supply/BAT0/charge_now                     =   4460 [mAh]
/sys/class/power_supply/BAT0/current_now                    =   1629 [mA]
/sys/class/power_supply/BAT0/status                         = Discharging

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available) 
/sys/class/power_supply/BAT0/charge_control_end_threshold   = (not available) 

Charge                                                      =   63.3 [%]
Capacity                                                    =   95.3 [%]

sudo turbostat --show Pkg%pc2,Pkg%pc3,Pkg%pc6,Pkg%pc7,Pkg%pc8,Pkg%pc9,Pk%pc10 

Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
17.82	1.70	23.21	0.00	45.20	0.00	0.00
17.82	1.70	23.21	0.00	45.20	0.00	0.00
Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
14.86	0.93	10.22	0.00	63.12	0.00	0.00
14.86	0.93	10.22	0.00	63.12	0.00	0.00

Offline

#2 2023-10-02 19:21:41

riomus
Member
Registered: 2016-11-01
Posts: 6

Re: Stoped reaching PC9 PC10 states

Did a one step back and checked for PC10 but on TTY with sway killed - all was ok. Checked with only sway on - all ok, waybar was the problem - backlight module prevented somehow pc10, removed it an all works now.

Offline

#3 2023-10-03 07:14:14

sekret
Member
Registered: 2013-07-22
Posts: 308

Re: Stoped reaching PC9 PC10 states

Is there something special in your configuration that allows your computer to reach those states in the first place?

I have a linux optimized laptop by tuxedo computers and it never goes beyond pc3…

Offline

Board footer

Powered by FluxBB