You are not logged in.
Pages: 1
Hello, My laptop (asus rog scar g15) (model G533zw 2022), has a strange problem, whenever I interact with touchpada or keyboard, power draw really goes very high relative to idle, idling at 4~ 5 watts "best so far", it can go up to 10 watts just because I *touched* the touchpad or pressed a button on the keyboard, to be specific for each device :
after freshly install and tweaking my arch installation it idles at 7 watts
keyboard is causing power draw of 3 watts all the time (or the usb controller is really what is causing this?),confirmed by setting the option for autosuspend "/sys/bus/usb/devices/{keyboardDevice}/power/control = auto" , power meter lowers to 4~5 watts and returns to around 7 ~ 8 whenever I press any button on the keyboard, I am writing this post and the power meter never got lower than 9 watts just because I a typing on the keyboard! (this allowed both the keyboard and the usb controller to suspend so I cannot tell which of them is causing the problem, I guess it is the controller itself, because external usb keyboard reprot same behavior)
for the touchpad , kinda similar, whenever I touch it even with one finger , not performing any multi-touch gestures, power draw also increases to around 8~9 watts, I also noticed that its driver is causing too much cpu interrupts, nearly half of the system's interrupts are from the touchpad, irqtop shows that core responsible for that driver has ~ 70% usage while all other cores never exceeded 10% each
output of lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0b05:19b6 ASUSTek Computer, Inc. N-KEY Device
Bus 003 Device 003: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
lspci
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51be (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
02:00.0 Non-Volatile memory controller: Micron Technology Inc 3400 NVMe SSD [Hendrix]
2d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
/proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 CPU12 CPU13
1: 0 0 0 0 0 0 0 0 29 0 0 0 0 0 IR-IO-APIC 1-edge i8042
8: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 8-edge rtc0
9: 0 1953 0 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 9-fasteoi acpi
14: 0 0 206694 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 14-fasteoi INTC1055:00
16: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 16-fasteoi i801_smbus
27: 0 0 1553366 0 228423 0 0 0 0 0 0 0 0 30086 IR-IO-APIC 27-fasteoi idma64.0, i2c_designware.0
40: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 40-fasteoi idma64.1, i2c_designware.1
120: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMAR-MSI 0-edge dmar0
121: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMAR-MSI 1-edge dmar1
122: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:01.0 0-edge PCIe PME, pciehp
123: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:06.0 0-edge PCIe PME
124: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:07.0 0-edge PCIe PME, pciehp
125: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:1c.0 0-edge PCIe PME
126: 0 0 0 0 0 0 0 0 522105 45504 0 0 0 0 IR-PCI-MSI-0000:00:02.0 0-edge i915
127: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:0d.0 0-edge xhci_hcd
128: 0 0 11132 0 0 0 0 0 0 0 0 9236 0 0 IR-PCI-MSI-0000:00:14.0 0-edge xhci_hcd
129: 0 0 0 0 0 0 42 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:16.0 0-edge mei_me
130: 0 0 0 0 0 0 0 0 0 0 0 32 0 0 IR-PCI-MSIX-0000:02:00.0 0-edge nvme0q0
131: 642 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 1-edge nvme0q1
132: 0 1335 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 2-edge nvme0q2
133: 0 0 798 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 3-edge nvme0q3
134: 0 0 0 1412 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 4-edge nvme0q4
135: 0 0 0 0 1053 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 5-edge nvme0q5
136: 0 0 0 0 0 524 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 6-edge nvme0q6
137: 0 0 0 0 0 0 536 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 7-edge nvme0q7
138: 0 0 0 0 0 0 0 266 0 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 8-edge nvme0q8
139: 0 0 0 0 0 0 0 0 244 0 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 9-edge nvme0q9
140: 0 0 0 0 0 0 0 0 0 670 0 0 0 0 IR-PCI-MSIX-0000:02:00.0 10-edge nvme0q10
141: 0 0 0 0 0 0 0 0 0 0 171 0 0 0 IR-PCI-MSIX-0000:02:00.0 11-edge nvme0q11
142: 0 0 0 0 0 0 0 0 0 0 0 54 0 0 IR-PCI-MSIX-0000:02:00.0 12-edge nvme0q12
143: 0 0 0 0 0 0 0 0 0 0 0 0 150 0 IR-PCI-MSIX-0000:02:00.0 13-edge nvme0q13
144: 0 294 0 0 0 0 0 0 0 0 0 0 0 689 IR-PCI-MSIX-0000:00:0d.2 0-edge thunderbolt
145: 0 685 0 0 0 0 0 0 0 291 0 0 0 0 IR-PCI-MSIX-0000:00:0d.2 1-edge thunderbolt
160: 0 0 0 0 0 0 0 0 0 0 0 0 0 153 IR-PCI-MSIX-0000:02:00.0 14-edge nvme0q14
161: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:04.0 0-edge processor_thermal_device_pci
162: 0 0 206694 0 0 0 0 0 0 0 0 0 0 0 intel-gpio 79 ASUE1403:00
163: 0 0 0 0 0 0 0 0 0 0 16775 0 0 0 IR-PCI-MSIX-0000:00:14.3 0-edge iwlwifi:default_queue
164: 4913 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 1-edge iwlwifi:queue_1
165: 0 1013 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 2-edge iwlwifi:queue_2
166: 0 0 273 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 3-edge iwlwifi:queue_3
167: 0 0 0 153 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 4-edge iwlwifi:queue_4
168: 0 0 0 0 540 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 5-edge iwlwifi:queue_5
169: 0 0 0 0 0 407 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 6-edge iwlwifi:queue_6
170: 0 0 0 0 0 0 5285 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 7-edge iwlwifi:queue_7
171: 0 0 0 0 0 0 0 341 0 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 8-edge iwlwifi:queue_8
172: 0 0 0 0 0 0 0 0 85 0 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 9-edge iwlwifi:queue_9
173: 0 0 0 0 0 0 0 0 0 103 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 10-edge iwlwifi:queue_10
174: 0 0 0 0 0 0 0 0 0 0 416 0 0 0 IR-PCI-MSIX-0000:00:14.3 11-edge iwlwifi:queue_11
175: 0 0 0 0 0 0 0 0 0 0 0 280 0 0 IR-PCI-MSIX-0000:00:14.3 12-edge iwlwifi:queue_12
176: 0 0 0 0 0 0 0 0 0 0 0 0 1287 0 IR-PCI-MSIX-0000:00:14.3 13-edge iwlwifi:queue_13
177: 0 0 0 0 0 0 0 0 0 0 0 0 0 3988 IR-PCI-MSIX-0000:00:14.3 14-edge iwlwifi:queue_14
178: 0 0 0 0 0 0 0 0 0 7 0 0 0 0 IR-PCI-MSIX-0000:00:14.3 15-edge iwlwifi:exception
179: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSIX-0000:2d:00.0 0-edge enp45s0
180: 0 0 0 568 0 0 0 0 0 0 0 0 0 0 IR-PCI-MSI-0000:00:1f.3 0-edge snd_hda_intel:card0
NMI: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Non-maskable interrupts
LOC: 215088 237182 444234 374078 290519 264784 258276 179163 235379 138390 118430 125243 97513 92643 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Performance monitoring interrupts
IWI: 2037 2383 4305 4817 4244 3756 1872 1070 439460 22122 12167 5331 38529 20270 IRQ work interrupts
RTR: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 APIC ICR read retries
RES: 6228 8744 1767 1135 10613 9350 20236 12056 10179 6699 10072 7260 4886 5270 Rescheduling interrupts
CAL: 92946 86149 234685 253983 128897 120485 96951 82491 73065 62437 42305 38355 35088 35846 Function call interrupts
TLB: 32881 34226 81072 72212 54873 56196 36736 31802 28526 25321 13429 11307 11066 11798 TLB shootdowns
TRM: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 20 21 21 21 21 21 21 21 21 21 21 21 21 21 Machine check polls
ERR: 0
MIS: 0
PIN: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Posted-interrupt wakeup event
irqtop
cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu12 cpu13
%irq: 4.1 4.4 32.9 8.3 8.4 5.3 4.9 3.6 15.3 3.5 2.5 2.3 2.2 2.3
%delta: 0.9 2.1 70.1 1.6 1.8 1.0 0.6 0.4 9.4 1.0 2.8 2.6 0.5 5.1
IRQ TOTAL DELTA NAME
LOC 3097740 2000 Local timer interrupts
27 1882959 4753 IR-IO-APIC 27-fasteoi idma64.0, i2c_designware.0
CAL 1390643 233 Function call interrupts
126 571665 290 IR-PCI-MSI-0000:00:02.0 0-edge i915
IWI 566623 313 IRQ work interrupts
TLB 503103 26 TLB shootdowns
14 211230 435 IR-IO-APIC 14-fasteoi INTC1055:00
162 211230 435 intel-gpio 79 ASUE1403:00
RES 115465 231 Rescheduling interrupts
128 20656 5 IR-PCI-MSI-0000:00:14.0 0-edge xhci_hcd
163 16976 19 IR-PCI-MSIX-0000:00:14.3 0-edge iwlwifi:default_queue
170 5343 0 IR-PCI-MSIX-0000:00:14.3 7-edge iwlwifi:queue_7
164 4914 0 IR-PCI-MSIX-0000:00:14.3 1-edge iwlwifi:queue_1
177 4020 0 IR-PCI-MSIX-0000:00:14.3 14-edge iwlwifi:queue_14
9 1976 0 IR-IO-APIC 9-fasteoi acpi
134 1442 0 IR-PCI-MSIX-0000:02:00.0 4-edge nvme0q4
132 1338 0 IR-PCI-MSIX-0000:02:00.0 2-edge nvme0q2
176 1291 0 IR-PCI-MSIX-0000:00:14.3 13-edge iwlwifi:queue_13
135 1061 1 IR-PCI-MSIX-0000:02:00.0 5-edge nvme0q5
165 1013 0 IR-PCI-MSIX-0000:00:14.3 2-edge iwlwifi:queue_2
144 983 0 IR-PCI-MSIX-0000:00:0d.2 0-edge thunderbolt
145 976 0 IR-PCI-MSIX-0000:00:0d.2 1-edge thunderbolt
133 801 0 IR-PCI-MSIX-0000:02:00.0 3-edge nvme0q3
140 670 0 IR-PCI-MSIX-0000:02:00.0 10-edge nvme0q10
131 643 0 IR-PCI-MSIX-0000:02:00.0 1-edge nvme0q1
180 568 0 IR-PCI-MSI-0000:00:1f.3 0-edge snd_hda_intel:card0
168 543 0 IR-PCI-MSIX-0000:00:14.3 5-edge iwlwifi:queue_5
137 536 0 IR-PCI-MSIX-0000:02:00.0 7-edge nvme0q7
136 528 0 IR-PCI-MSIX-0000:02:00.0 6-edge nvme0q6
174 418 0 IR-PCI-MSIX-0000:00:14.3 11-edge iwlwifi:queue_11
169 412 1 IR-PCI-MSIX-0000:00:14.3 6-edge iwlwifi:queue_6
171 347 0 IR-PCI-MSIX-0000:00:14.3 8-edge iwlwifi:queue_8
MCP 293 0 Machine check polls
175 282 0 IR-PCI-MSIX-0000:00:14.3 12-edge iwlwifi:queue_12
166 273 0 IR-PCI-MSIX-0000:00:14.3 3-edge iwlwifi:queue_3
138 266 0 IR-PCI-MSIX-0000:02:00.0 8-edge nvme0q8
139 251 0 IR-PCI-MSIX-0000:02:00.0 9-edge nvme0q9
141 173 0 IR-PCI-MSIX-0000:02:00.0 11-edge nvme0q11
167 162 0 IR-PCI-MSIX-0000:00:14.3 4-edge iwlwifi:queue_4
160 153 0 IR-PCI-MSIX-0000:02:00.0 14-edge nvme0q14
143 150 0 IR-PCI-MSIX-0000:02:00.0 13-edge nvme0q13
173 103 0 IR-PCI-MSIX-0000:00:14.3 10-edge iwlwifi:queue_10
172 86 0 IR-PCI-MSIX-0000:00:14.3 9-edge iwlwifi:queue_9
142 55 0 IR-PCI-MSIX-0000:02:00.0 12-edge nvme0q12
129 42 0 IR-PCI-MSI-0000:00:16.0 0-edge mei_me
130 32 0 IR-PCI-MSIX-0000:02:00.0 0-edge nvme0q0
1 29 0 IR-IO-APIC 1-edge i8042
TRM 14 0 Thermal event interrupts
178 7 0 IR-PCI-MSIX-0000:00:14.3 15-edge iwlwifi:exception
some notes:
I tried a solution regarding touchpad from similar issue in a framework laptop that suggested binding the gpio and the designware driver interrupts to same cpu core, but no luck
I am using sway and waybar
my power meter is literally /sys/class/power_supply/BAT0/power_now file
the laptop has D-gpu RTX-3070 Ti, but its is turned off all the time by supergfxctl utiltity from rog-linux community and appending kernel parameter supergfxd.mode=Integrated
I tried using vanilla, zen, lts, and G14 kernels all of them acted the same way as decribed above
anyone see where the problem is?
Offline
I am writing this post and the power meter never got lower than 9 watts just because I a typing on the keyboard!
I suspect it has much more to do w/
I am using sway and waybar
Try to cause this while typing while logged into the console from the multi-user.target (2nd link below)
Offline
I have set default target to multi-user and booted, logged in in tty and SSHed into it using my phone to record the power_now file and it is doing the same behaviour 7~8 watts idling before enabling autosuspend for the keyboard, after enabling it, it idled at around 4.8~5 watts and typing anything causes power to jump again to around 8 watts, I forgot to mention that I already using the laptop like login in at tty and then type sway to start it, not using display manager nor bash_profile to start sway automatically
Offline
Please don't DM me for attention.
Sometimes things drop down in the stack of open tabs, if you want to push things, ideally do so by sharing what you've done in the meantime.
So
7~8 watts idling before enabling autosuspend for the keyboard, after enabling it, it idled at around 4.8~5 watts and typing anything causes power to jump again to around 8 watts
sound rather consistent (the load w/ the keyboard enables is 8W, idling it allows to go down to 5W but of course using it returns to the unidled draw)
I'd first and foremost check where the power is actually going (using powertop) - the keyboard itself (wired through i2c or i8042?) will hardly consume 3W by its sheer existence (does it have backlight?)?
Offline
Ok sorry about that, so,
for powertop stats, when autosuspend is on, It can go down to 0 mw so I had to test that with autosuspend off,
if no button is pressed in a while it shows constant reading 1.78 watts and never got lower than this,but when I start typing ,it jumps to 2.08 watts,never got more than this even if continuously typing/pressing buttons
9.93 W 100.0% Device USB device: 2.4G Mouse
3.27 W 5.0% Device Display backlight
2.06 W 100.0% Device USB device: N-KEY Device (ASUSTek Computer Inc.) [b]This is the internal KB[/b]
777 mW 3.6 pkts/s Device Network interface: wlo1 (iwlwifi)
notice also strangely my usb mouse/Kb combo is reporting this 9 watts
for its bus , I cannot fully confirm if it is i8024 or not, the keyboard itself is listed as usb device and /proc/bus/input/devices has these 2 sections :
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=sysrq kbd leds event3
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=0b05 Product=19b6 Version=0110
N: Name="Asus Keyboard"
P: Phys=usb-0000:00:14.0-3/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:0B05:19B6.0001/input/input13
U: Uniq=
H: Handlers=sysrq kbd leds event5 rfkill mouse0
B: PROP=0
B: EV=12001f
B: KEY=33eff 0 0 483ffff17aff32d bfd4444600000000 1f0001 1b30c730b17cc07 ffbf7bfad971dfff febeffdfffefffff fffffffffffffffe
B: REL=1943
B: ABS=10100000000
B: MSC=10
B: LED=1f
so I am not really sure,i8024 is mentioned once and i2c none so I guess it is using i8024? (note that no external KBs were attached when I checked that to avoid confusion)
And regarding backlight, yes , it is an RGB keyboard(even has per key lights)but I don't use any rgb software, and its sysfs brightness file is 0 all the time, its lights glow only after waking from suspend or hibernate and turned off after few seconds
Last edited by midgeek (2025-01-11 11:58:50)
Offline
Pages: 1