[Bug 1203748] New: Laptop very slow in battery mode (Lenovo Thinkpad T470)
https://bugzilla.suse.com/show_bug.cgi?id=1203748 Bug ID: 1203748 Summary: Laptop very slow in battery mode (Lenovo Thinkpad T470) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: sndirsch@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- For some reason my laptop gets very slow in battery only mode. I notice this when watching videos. It makes it rather unusable when not connecting it to power. It looks like it goes into some deep powersave mode. I would like to avoid this even if this would half the running time in battery mode. Which information do you need? -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c2
Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c3
--- Comment #3 from Stefan Dirsch
About the cpufreq, Arch has a nice web page: https://wiki.archlinux.org/title/CPU_frequency_scaling
Thanks! -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c5
--- Comment #5 from Stefan Dirsch
For example when watching video
https://www.youtube.com/watch?v=hZ2joF8_1QY
in 1440p60 when switching from power (running absolutely fluently) to battery mode this is switching to 60 sec/frame (!) or even worse!
This is weird. Sometimes things are working fine when running on battery. If not CPUs are running at exactly 400 MHz on battery. Otherwise they run at about 3000MHz, no matter if powered or on battery. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c6
--- Comment #6 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c7
--- Comment #7 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c16
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c17
--- Comment #17 from Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c18
--- Comment #18 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c19
--- Comment #19 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c21
Giovanni Gherdovich
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c22
--- Comment #22 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c23
--- Comment #23 from Takashi Iwai
Thanks for looking into this. I definitely wrote
dyndbg="file drivers/cpufreq/* +pf"
in grub during boot. Unfortunately this results in
# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-6.0.0-lp153.3.g1195759-default root=/dev/mapper/system-root resume=/dev/system/swap splash=silent quiet showopts intel_idle.max_cstate=0 "dyndbg=file drivers/cpufreq/* +pf"
So the following results might be completely useless. :-(
This should be fine, it's just how the kernel handles. Check the dmesg output -- now you must have more lines about cpufreq there. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c24
--- Comment #24 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c25
--- Comment #25 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c26
--- Comment #26 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c27
--- Comment #27 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c28
--- Comment #28 from Stefan Dirsch
Created attachment 863066 [details] dmesg-bad-battery.log
dmesg - After switching to battery - in a bad/slow state (unfortunately no relevant difference in dmesg to good state)
Maybe I was wrong. There is at least this -[ 2200.120064] perf: interrupt took too long (2540 > 2500), lowering kernel.perf_event_max_sample_rate to 78500 -[ 2307.480111] perf: interrupt took too long (3242 > 3175), lowering kernel.perf_event_max_sample_rate to 61500 Maybe that's related. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c29
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c30
--- Comment #30 from Giovanni Gherdovich
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c31
--- Comment #31 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c32
--- Comment #32 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c33
--- Comment #33 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c34
--- Comment #34 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
https://bugzilla.suse.com/show_bug.cgi?id=1203748#c35
--- Comment #35 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1203748
Stefan Dirsch
participants (1)
-
bugzilla_noreply@suse.com