Cpu runs at lowest frequency even under heavy load. I have to manually set frequency using cpufreq-set
.
System info:
Operating System: NixOS 24.11
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.3
Kernel Version: 6.6.89 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
Memory: 6.7 GiB of RAM
Graphics Processor: AMD Radeon Vega 10 Graphics
Manufacturer: LENOVO
Product Name: 20NL000YCD
System Version: ThinkPad X395
Power related settings are kept default (full nixos config, hostname is nixos-laptop0)
Found this in dmesg
[ +0.021311] irq 7: nobody cared (try booting with the "irqpoll" option)
[ +0.000024] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.6.89 #1-NixOS
[ +0.000003] Hardware name: LENOVO 20NL000YCD/20NL000YCD, BIOS R13ET48P(1.22 ) 08/14/2020
[ +0.000002] Call Trace:
[ +0.000003] <IRQ>
[ +0.000003] dump_stack_lvl+0x47/0x70
[ +0.000006] __report_bad_irq+0x2b/0xc0
[ +0.000005] note_interrupt+0x2ba/0x300
[ +0.000004] handle_irq_event+0x7f/0x90
[ +0.000004] handle_fasteoi_irq+0x91/0x260
[ +0.000004] __common_interrupt+0x42/0xb0
[ +0.000004] common_interrupt+0x81/0xa0
[ +0.000005] </IRQ>
[ +0.000001] <TASK>
[ +0.000002] asm_common_interrupt+0x26/0x40
[ +0.000004] RIP: 0010:cpuidle_enter_state+0xcc/0x440
[ +0.000004] Code: 1a 6f 4a ff e8 55 f1 ff ff 8b 53 04 49 89 c5 0f 1f 44 00 00 31 ff e8 23 68 49 ff 45 84 ff 0f 85 64 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 93 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
[ +0.000002] RSP: 0018:ffffc9000019fe90 EFLAGS: 00000246
[ +0.000003] RAX: 0000000000000000 RBX: ffff888101417800 RCX: 0000000000000000
[ +0.000002] RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000
[ +0.000002] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000
[ +0.000001] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffa09b7800
[ +0.000002] R13: 00000000551cc9b2 R14: 0000000000000002 R15: 0000000000000000
[ +0.000009] cpuidle_enter+0x2d/0x50
[ +0.000005] do_idle+0x1d8/0x230
[ +0.000005] cpu_startup_entry+0x2a/0x30
[ +0.000003] start_secondary+0x11e/0x140
[ +0.000004] secondary_startup_64_no_verify+0x18f/0x19b
[ +0.000008] </TASK>
[ +0.000001] handlers:
[ +0.000007] [<000000003fefb7d2>] amd_gpio_irq_handler
[ +0.000016] Disabling IRQ #7