For a few days my computer is intermittently very laggy. When that happens, there's a bunch of kworker threads, all on CPU core 0, making it run at up to almost 100%, while the computer is essentially idle. How can I find more about what these threads are doing?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
When your system experiences high CPU usage from kworker threads (kernel worker threads) on a single core (especially core 0), it typically indicates that the kernel is handling deferred work, often related to hardware interrupts, I/O operations, or driver issues. Here’s how you can diagnose the problem:
1. Identify the Specific kworker Threads
Run the following command to see which kworker threads are consuming CPU:
bash
ps aux | grep kworker | grep -v grep
Or use top or htop to observe the CPU usage in real-time.
2. Check Kernel Logs for Clues
Look for errors or warnings in the kernel logs that might indicate what’s triggering the kworker activity:
bash
dmesg | tail -n 50
Or check the full logs:
bash
journalctl -k | tail -n 50
Look for messages related to:
Hardware issues (e.g., USB, disk, or network errors).
Driver problems.
IRQ (Interrupt Request) issues.
3. Check for Hardware Interrupts
kworker threads often handle interrupt-driven work. Check which interrupts are firing frequently:
bash
cat /proc/interrupts
Look for lines with high counts, especially on CPU 0. Common culprits include:
USB controllers (xhci_hcd, ehci_hcd).
Network interfaces (eth0, wlan0).
Disk controllers (ahci, nvme).
4. Check for I/O or Disk Issues
If the kworker activity is related to disk I/O, check for disk errors or high I/O wait:
bash
iostat -x 1
Or check disk health:
bash
smartctl -a /dev/sdX # Replace sdX with your disk (e.g., sda)
5. Check for USB or Other Peripheral Issues
If USB devices are causing interrupts, try unplugging peripherals (e.g., external drives, webcams, or USB hubs) to see if the issue resolves.
6. Check for Kernel Module Issues
Some kernel modules (drivers) may be misbehaving. List loaded modules:
bash
lsmod
If you suspect a specific module (e.g., nvidia, iwlwifi, xhci_hcd), try unloading it (if safe):
bash
sudo modprobe -r module_name
(Be cautious—unloading critical modules can cause system instability.)
7. Use perf to Profile Kernel Activity
If you have perf installed, you can profile kernel activity to see what’s consuming CPU:
bash
sudo perf top
Or record and analyze:
bash
sudo perf record -a -g -F 999 -- sleep 10
sudo perf report
Look for functions related to kworker or specific drivers.
8. Check for Power Management Issues
Some systems have issues with power management (e.g., intel_pstate, acpi). Try disabling CPU frequency scaling temporarily:
bash
sudo cpupower frequency-set -g performance
Or check if thermald or other thermal management tools are causing issues.
9. Check for Known Bugs
Search for your kernel version and hardware model to see if others have reported similar issues. For example:
bash
uname -a
Then search for:
"kworker high CPU [your kernel version] [your hardware]"
10. Mitigate the Issue
If you can’t find the root cause, try:
Updating your kernel to the latest stable version.
Disabling problematic hardware (e.g., USB 3.0, Wi-Fi).
Using cpuset to limit kworker threads to specific cores (not ideal, but a temporary workaround).
Common Causes of kworker High CPU
USB-related issues (e.g., faulty USB devices or drivers).
Disk I/O problems (e.g., failing SSD/HDD, filesystem corruption).
Network driver issues (e.g., Wi-Fi or Ethernet drivers).
Thermal or power management bugs.
Kernel bugs (especially in newer or custom kernels).
Final Steps
If the issue persists, consider:
Booting with an older kernel (if available) to see if the problem disappears.
Testing with a live USB to rule out software issues.
Reinstalling or updating drivers (e.g., GPU, Wi-Fi).
User
sudo perf top shows the top "overhead" symbol is io_idle. I already checked the drives health (one HDD and one NVMe), and they both look fine, and there's no real disk activity when that happens.
Assistant
If perf top shows io_idle as the top overhead symbol, this suggests that the system is spending a lot of time in an idle state related to I/O operations, even though there’s no actual disk activity. This can happen due to:
Possible Causes of io_idle High Overhead
Interrupt or IRQ Handling Issues
The system might be stuck processing spurious or misconfigured interrupts, even if no real I/O is happening.
Check /proc/interrupts for unusually high counts on CPU 0.
Kernel I/O Scheduler or Block Layer Bugs
The I/O scheduler (e.g., mq-deadline, kyber, bfq) might be misbehaving.
Check your current scheduler:
bash
cat /sys/block/sdX/queue/scheduler # Replace sdX with your disk (e.g., sda, nvme0n1)
Try switching to a different scheduler (e.g., none or noop for testing):
bash
echo none | sudo tee /sys/block/sdX/queue/scheduler
Kernel Bug or Race Condition
Some kernel versions have bugs where io_idle gets stuck in a loop.
Check if you’re running a known problematic kernel version (e.g., some 5.x or 6.x kernels had such issues).
Power Management or ACPI Issues
The system might be incorrectly entering low-power states, causing spurious I/O-related wakeups.
Try disabling intel_idle (for Intel CPUs) or acpi temporarily:
bash
sudo modprobe -r intel_idle # If using Intel
Or boot with idle=poll or acpi=off (not recommended for long-term use).
Faulty or Misconfigured Hardware
Even if smartctl reports no errors, some NVMe drives or SATA controllers can cause issues.
Try disabling aspm (Active State Power Management) for PCIe devices:
bash
User
no, this io_idle seems to be irrelevant, it's always at ~50%, whether core 0 is swamped by kworker threads or not..
Assistant
If io_idle is consistently at ~50% regardless of the kworker issue, then it’s likely a red herring, and the real problem lies elsewhere. Let’s focus on diagnosing the kworker CPU spikes on core 0 more precisely.
1. Check Which kworker Threads Are Active
Run this to see the exact kworker threads consuming CPU:
If you see multiple kworker/X:Y threads (where X:Y is the worker pool and ID), note the highest ones.
2. Find the Kernel Workqueue Behind the kworker
kworker threads execute workqueues. To see which workqueue is active:
bash
sudo cat /proc/sched_debug | grep -A 10 "kworker"
Or use ftrace to trace workqueue activity:
bash
# Enable ftrace for workqueues
echo workqueue:workqueue_queue_work | sudo tee /sys/kernel/debug/tracing/set_event
echo 1 | sudo tee /sys/kernel/debug/tracing/tracing_on
# Wait a few seconds, then dump the trace
sudo cat /sys/kernel/debug/tracing/trace_pipe | head -n 50
Look for lines like:
code
kworker/0:1-1234 [000] ... workqueue_queue_work: work struct=0xffff..., function=some_kernel_function
3. Check for Hardware Interrupts (IRQs) on CPU 0
Since kworker threads often handle interrupt-driven work, check if an IRQ is flooding CPU 0:
bash
grep -E "CPU0|:" /proc/interrupts
Look for:
on (e.g., for USB, for NVMe).
User
oh wait, I'm just seeing messages in journalctl that seem to coincide in time (during previous investigations I saw nothing of note in dmesg and journalctl):
code
Jul 02 20:08:58 hostname kernel: Uhhuh. NMI received for unknown reason 2d on CPU 15.
Jul 02 20:08:58 hostname kernel: Dazed and confused, but trying to continue
Assistant
Ah! NMI (Non-Maskable Interrupt) errors like this are a strong indicator of a hardware or firmware issue, often related to:
CPU/microcode bugs (especially on Intel/AMD CPUs).
Memory corruption (RAM or cache issues).
Faulty PCIe devices (GPU, NVMe, USB controllers).
BIOS/UEFI firmware bugs.
Overclocking or unstable power delivery.
Since these NMIs coincide with your kworker CPU spikes, this is likely the root cause. Let’s debug further.
1. Check for More NMI Errors
Run this to see if NMIs are recurring:
bash
sudo dmesg | grep -i "NMI\|uhhuh\|dazed"
If you see many of these, the system is experiencing hardware-level instability.
Some NMIs are triggered by perf or other monitoring tools. Try disabling them:
bash
echo 0 | sudo tee /proc/sys/kernel/nmi_watchdog
If the NMIs stop, the issue is related to performance counters.
4. Update Microcode and BIOS
User
yeah, it's just perf triggering these unknown NMI, doesn't seem to be a concern..
Assistant
If the NMIs are triggered by perf and not indicative of a deeper hardware issue, we can safely ignore them for now. However, the original problem—kworker threads spiking CPU 0—still needs investigation. Let’s refocus on that.
Note the highest kworker/X:Y threads (e.g., kworker/0:1).
2. Trace kworker Activity with ftrace
Since perf isn’t helpful here, use ftrace to see what these kworker threads are doing:
bash
# Enable workqueue tracing
echo workqueue:workqueue_queue_work | sudo tee /sys/kernel/debug/tracing/set_event
echo 1 | sudo tee /sys/kernel/debug/tracing/tracing_on
# Wait a few seconds, then dump the trace
sudo cat /sys/kernel/debug/tracing/trace_pipe | head -n 50
Look for lines like:
code
kworker/0:1-1234 [000] ... workqueue_queue_work: work struct=0xffff..., function=some_kernel_function
This will show which kernel function is being executed by the kworker.
3. Check for IRQ (Interrupt) Imbalance on CPU 0
kworker threads often handle interrupt-driven work. If an IRQ is flooding CPU 0, it can cause spikes. Check:
bash
grep -E "CPU0|:" /proc/interrupts
User
ok, when I manage to get a stack quickly enough (not easy), what I get are amdgpu interrupts. Can I get aggregated data about that, to see which interrupts may be the cause?
Assistant
Yes! If amdgpu interrupts are showing up in your stack traces, this strongly suggests that GPU-related interrupts are flooding CPU 0, causing the kworker spikes. Here’s how to aggregate and analyze these interrupts to pinpoint the issue:
1. Check GPU Interrupts in /proc/interrupts
Run this to see which amdgpu interrupts are firing most frequently:
The third column (123456789) shows the total interrupt count (high numbers = problematic).
The last column (amdgpu) confirms the source.
If you see one or more amdgpu interrupts with very high counts, those are likely the culprits.
2. Check Which amdgpu IRQs Are Active
To see which specific amdgpu IRQs are active, run:
bash
cat /proc/interrupts | grep -A 10 "amdgpu"
Look for:
High counts on CPU 0 (e.g., 1000000+).
Multiple amdgpu IRQs (some may be more active than others).
3. Use perf to Profile amdgpu Interrupts
To see which amdgpu functions are handling these interrupts, run:
bash
sudo perf stat -e 'irq:irq_handler_entry,irq:irq_handler_exit' -a -- sleep 5
This will show interrupt handler activity. Look for:
High counts for with in the stack.
User
ok, after changing the graphics card, the symptoms haven't reoccured so far. I still have no idea what the card was telling the kernel making one core freeze..
Assistant
Since replacing the GPU resolved the issue, the problem was almost certainly GPU-related, likely due to one of these causes:
Most Likely Causes of the GPU-Induced Freeze
Faulty GPU Hardware
The GPU might have had defective VRAM, power delivery, or PCIe signaling, causing it to send malformed interrupts to the kernel.
Some GPUs develop cold solder joints or VRAM corruption over time, leading to intermittent issues.
Driver Bugs Triggering Kernel Workqueues
The amdgpu driver might have been stuck in a loop processing interrupts, flooding kworker threads.
Some GPU firmware bugs cause spurious interrupts that overwhelm the CPU.
PCIe Link Instability
A faulty PCIe connection (e.g., loose slot, bent pins, or power issues) can cause interrupt storms.
Some GPUs have PCIe power management bugs (aspm) that trigger excessive IRQs.
GPU Power Management Issues
The GPU might have been failing to enter/leave low-power states, causing repeated interrupts.
Some AMD GPUs have buggy power_dpm (Dynamic Power Management) implementations.
Memory/VRAM Corruption
If the GPU’s VRAM was failing, it could have corrupted command buffers, forcing the kernel to retry operations endlessly.
Why Did This Only Affect CPU 0?
Interrupt Affinity: Many GPU interrupts default to CPU 0, causing it to get overwhelmed.
Kernel Workqueues: Some GPU-related work (e.g., memory management, command processing) is pinned to CPU 0 by default.
SMP (Symmetric Multiprocessing) Imbalance: If the GPU driver wasn’t properly distributing work, CPU 0 bore the brunt.
How to Prevent This in the Future
User
yes, to clarify that again, when the issues occured, dmesg and systemd were reporting nothing of note, no errors with the GPU in particular. Also nvtop was showing normal diagnostics, load and temperature in particular.
Assistant
Given that:
No GPU errors appeared in dmesg or journalctl,
nvtop showed normal load/temperature, and
Replacing the GPU fixed the issue,
This strongly suggests a silent hardware or firmware-level issue in the old GPU that wasn’t logged but still caused interrupt storms or kernel workqueue stalls. Here’s what likely happened:
Most Probable Causes (Despite No Logs)
Silent PCIe Interrupt Storm
The GPU might have been flooding CPU 0 with interrupts (e.g., due to a firmware bug or PCIe link instability).
These interrupts wouldn’t necessarily log errors but could still overwhelm kworker threads.
Why no logs? Some GPU interrupts are "normal" (e.g., display updates) but can still cause issues if they fire too frequently.
Kernel Workqueue Deadlock (No Error Logs)
The amdgpu driver might have submitted work to kworker threads but failed to complete it, causing CPU 0 to stall.
This can happen without explicit errors if the kernel assumes the work is "in progress."
GPU Firmware Bug (No Driver Errors)
Some GPU firmware bugs cause spurious interrupts that don’t trigger errors but still disrupt the system.
Example: A GPU might repeatedly signal "idle" or "wake" states, flooding the kernel.
PCIe Link Training Issues
If the GPU’s PCIe link was negotiating speed/width incorrectly, it could cause latency spikes without errors.
This can lead to CPU stalls as the kernel retries operations.
Memory/VRAM Corruption (Undetected)
Some VRAM corruption doesn’t trigger errors but causes repeated retries in the kernel.
Example: A GPU might keep re-sending the same command buffer, flooding kworker.
Why Was CPU 0 Specifically Affected?
: Many GPU interrupts default to unless manually redistributed.
sudo sh -c "echo 0 > /sys/module/pcie_aspm/parameters/policy"
Debugging Steps
1. Check /proc/interrupts for High IRQ Counts
bash
cat /proc/interrupts | grep -E "CPU0|IR-"
Look for interrupts with very high counts on CPU 0. Common culprits:
IRQ 16 (USB)
IRQ 40+ (NVMe, SATA, or other PCIe devices)
IRQ 9 (ACPI)
2. Check for Kernel Warnings or Errors
bash
dmesg | grep -i "error\|warn\|irq\|io"
Look for messages like:
irq X: nobody cared
IO-APIC errors
PCIe or NVMe errors
3. Test with Different I/O Schedulers
bash
# Check current scheduler
cat /sys/block/sdX/queue/scheduler
# Try switching to 'none' (for testing)
echo none | sudo tee /sys/block/sdX/queue/scheduler
# Revert back if needed
echo mq-deadline | sudo tee /sys/block/sdX/queue/scheduler
4. Disable aspm (PCIe Power Management)
bash
sudo sh -c "echo 0 > /sys/module/pcie_aspm/parameters/policy"
If this helps, make it persistent by adding pcie_aspm=off to your kernel boot parameters.
5. Check for Kernel Bug Reports
Search for:
code
"io_idle high CPU" + [your kernel version]
Example:
code
"io_idle high CPU 6.5.0"
6. Try a Different Kernel Version
If you’re on a newer kernel, try booting an older LTS version (e.g., 5.15 or 6.1) to see if the issue persists.
Temporary Workarounds
If you can’t find the root cause, try:
Disabling CPU 0’s involvement in IRQ handling (not ideal, but can help):
bash
echo 0 | sudo tee /proc/irq/X/smp_affinity # Replace X with the problematic IRQ
Using isolcpus to exclude CPU 0 from general scheduling (add to kernel boot params):
code
isolcpus=0
Final Notes
If the issue is intermittent, it might be triggered by a specific hardware state (e.g., waking from sleep, plugging in a USB device).
If you’re using a laptop, check for BIOS/firmware updates.
If you’re on a desktop, try reseating PCIe devices (e.g., NVMe, GPU).
High counts
CPU0
IRQ 16: xhci_hcd
IRQ 40+: nvme
Shared IRQs (multiple devices sharing the same IRQ can cause issues).
If you find a suspicious IRQ (e.g., IRQ 45: nvme), you can try:
bash
# Temporarily move the IRQ off CPU 0 (replace X with the IRQ number)
echo 2 | sudo tee /proc/irq/X/smp_affinity # Moves it to CPU 1
If this reduces the kworker load, the issue is likely IRQ-related.
4. Check for USB or PCIe Issues
USB and NVMe devices often trigger kworker activity. Try:
Unplugging USB devices (especially hubs, webcams, or external drives).
Disabling USB power management:
bash
echo 0 | sudo tee /sys/bus/usb/devices/*/power/control
Disabling PCIe ASPM (if NVMe is involved):
bash
echo 0 | sudo tee /sys/module/pcie_aspm/parameters/policy
5. Check for Kernel Bugs or Driver Issues
Some kernels have bugs where kworker threads spin unnecessarily. Check:
bash
uname -a
Then search for:
code
"kworker high CPU [your kernel version] [your hardware]"
Example:
code
"kworker high CPU 6.5.0-14-generic NVMe"
If you find reports, consider:
Downgrading the kernel (e.g., to an LTS version like 5.15 or 6.1).
Updating drivers (e.g., nvme, xhci_hcd).
6. Use perf to Profile kworker Activity
Since io_idle is a false lead, let’s dig deeper:
bash
sudo perf top -p $(pgrep -d',' -f 'kworker/0')
This profiles only the kworker threads on CPU 0. Look for:
Kernel functions like blk_mq_run_work_fn, usb_hcd_irq, or nvme_irq.
If you see a specific driver function, that’s likely the culprit.
7. Check for Thermal or Power Management Issues
Some systems have kworker spikes due to thermal throttling or power management bugs. Try:
bash
# Disable CPU frequency scaling (temporarily)
sudo cpupower frequency-set -g performance
# Check thermal throttling
watch -n 1 "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq"
If the issue stops, it might be related to intel_pstate or acpi.
8. Test with a Live USB
If the issue persists even on a live USB (e.g., Ubuntu Live), it’s likely a hardware or firmware problem. If it disappears, it’s a software/driver issue.
Summary of Likely Causes
Interrupt storm (e.g., USB, NVMe, or network IRQ flooding CPU 0).
Kernel bug (e.g., kworker stuck in a loop due to a driver issue).
Power management (e.g., intel_idle, acpi, or pcie_aspm misbehaving).
Faulty hardware (e.g., a failing USB controller or NVMe drive, even if smartctl reports no errors).
Next Steps
If perf points to a specific driver, update or disable it.
If IRQs are the issue, try moving them off CPU 0 or disabling the problematic device.
If it’s a kernel bug, try a different kernel version.
If all else fails, test with a live USB to rule out software issues.
Outdated CPU microcode or BIOS can cause NMIs. Check your current microcode:
bash
dmesg | grep microcode
Then update:
Intel CPUs:
bash
sudo apt install intel-microcode # Debian/Ubuntu
AMD CPUs:
bash
sudo apt install amd64-microcode
BIOS/UEFI: Check your motherboard manufacturer’s website for updates.
5. Test RAM for Errors
Run a memory test:
bash
sudo apt install memtester
sudo memtester 4G 1 # Tests 4GB of RAM once
If errors appear, your RAM is faulty.
6. Check for Overclocking or Power Issues
If you’re overclocking, reset BIOS settings to default.
Check CPU voltages and temperatures:
bash
sudo apt install lm-sensors
sensors
If temperatures are high, improve cooling.
7. Disable Problematic PCIe Devices
If you suspect a PCIe device (e.g., NVMe, GPU, USB controller), try disabling it:
bash
# List PCIe devices
lspci -vv
# Disable a device (e.g., NVMe)
echo 1 | sudo tee /sys/bus/pci/devices/0000:XX:YY.Z/remove # Replace with your device
If the NMIs stop, the disabled device is likely faulty.
8. Boot with nmi_watchdog=0 (Temporary Workaround)
If the NMIs are non-critical, disable the NMI watchdog:
"NMI received for unknown reason 2d" + [your CPU model]
Example:
code
"NMI received for unknown reason 2d Intel i9-13900K"
Some Intel/AMD CPUs have known errata causing NMIs.
10. Test with a Live USB
If the NMIs persist even on a live USB, the issue is hardware-related (CPU, RAM, or motherboard). If they disappear, it’s likely a driver or kernel bug.
Summary of Likely Causes
Cause
Solution
Faulty CPU microcode
Update microcode/BIOS
RAM errors
Run memtester, replace RAM if needed
PCIe device instability
Disable problematic devices
Overclocking/power issues
Reset BIOS, improve cooling
Kernel/driver bug
Try a different kernel version
Final Steps
Update microcode and BIOS (most common fix).
Test RAM and PCIe devices.
Disable NMI watchdog if non-critical.
Check for hardware recalls (e.g., Intel 13th/14th-gen instability issues).
If the problem persists, you may need to RMA the CPU or motherboard (if under warranty).
Look for:
High counts on CPU0 (e.g., IRQ 16: xhci_hcd for USB, IRQ 40+: nvme for NVMe).
Shared IRQs (multiple devices sharing the same IRQ can cause issues).
If you find a suspicious IRQ (e.g., IRQ 45: nvme), try moving it off CPU 0:
bash
echo 2 | sudo tee /proc/irq/45/smp_affinity # Moves IRQ to CPU 1
If this reduces kworker load, the issue is IRQ-related.
4. Check for USB or NVMe Issues
USB and NVMe devices often trigger kworker activity. Try:
Unplugging USB devices (especially hubs, webcams, or external drives).
Disabling USB power management:
bash
echo 0 | sudo tee /sys/bus/usb/devices/*/power/control
Disabling PCIe ASPM (if NVMe is involved):
bash
echo 0 | sudo tee /sys/module/pcie_aspm/parameters/policy
5. Check for Kernel Bugs or Driver Issues
Some kernels have bugs where kworker threads spin unnecessarily. Check:
bash
uname -a
Then search for:
code
"kworker high CPU [your kernel version] [your hardware]"
Example:
code
"kworker high CPU 6.5.0-14-generic NVMe"
If you find reports, consider:
Downgrading the kernel (e.g., to an LTS version like 5.15 or 6.1).
Updating drivers (e.g., nvme, xhci_hcd).
6. Use bpftrace for Deeper Kernel Tracing
If ftrace doesn’t reveal enough, try bpftrace (more powerful but complex):
echo high | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_level
Monitor for Early Signs
Use radeontop or nvidia-smi to watch for GPU hangs or high IRQ counts.
Final Thoughts
Since the issue vanished after replacing the GPU, it was almost certainly a hardware or firmware-level problem. If you’re curious, you could:
Test the old GPU in another system to see if the issue reappears.
Check dmesg logs from the old GPU for clues (e.g., amdgpu: [drm] *ERROR* ring gfx timeout).
But for now, consider it resolved! If the new GPU stays stable, the old one was likely faulty.
Default IRQ Affinity
CPU 0
Kernel Workqueue Pinning: Some GPU-related work (e.g., memory management) is hardcoded to CPU 0 in the driver.
SMP Imbalance: If the GPU driver wasn’t properly distributing work, CPU 0 bore the brunt.
How to Detect Similar Issues in the Future
Since logs weren’t helpful, here’s how to catch this earlier next time:
1. Monitor IRQ Counts (Even Without Errors)
bash
watch -n 1 "grep -i amdgpu /proc/interrupts"
If an amdgpu IRQ’s count skyrockets (e.g., +1000/sec), it’s likely flooding the CPU.
2. Check kworker Threads with perf
bash
sudo perf top -p $(pgrep -d',' -f 'kworker/0')
If amdgpu functions appear at the top, the GPU is likely the culprit.
3. Use bpftrace to Trace GPU Workqueues
bash
sudo bpftrace -e 'kprobe:__queue_work { if (kstack("amdgpu")) { printf("GPU work queued: %s\n", kstack()); } }'
This traces only GPU-related workqueue submissions.
4. Test PCIe Link Stability
bash
sudo lspci -vv | grep -A 10 "VGA"
Look for PCIe link speed/width changes (e.g., LnkCap: Port #0, Speed 8GT/s, Width x16).
If the link is negotiating down (e.g., x16 → x8), the GPU may be unstable.
5. Force GPU Performance Mode (Test)
bash
echo high | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_level
If the issue disappears, the GPU’s power management was likely misbehaving.
Final Thoughts
Your case is a classic example of a hardware/firmware issue that doesn’t log errors but still disrupts the system. Since replacing the GPU fixed it, the old card likely had:
A firmware bug causing silent interrupt storms,
A PCIe link instability issue, or
Undetected VRAM corruption leading to kernel retries.
If you ever see this again, check IRQ counts and kworker stacks early—even without errors!