HP EliteDesk 800 G4 Mini – Ubuntu 26.04.1 LTS Random Hard Freezes (Testing i915.enable_dc=0)

Ubuntu Version

Ubuntu 26.04 LTS

Desktop Environment (if applicable)

None (server/headless)

Problem Description

I am troubleshooting recurring hard freezes on an HP EliteDesk 800 G4 Desktop Mini running Ubuntu 26.04.1 LTS as a primarily headless home server.

The freezes appear random and frequently happen while the system is idle. When a freeze occurs:

  • SSH and all network connectivity stop responding.
  • A connected monitor receives no video signal.
  • The power LED remains on and the fan continues running.
  • The machine does not appear to respond to keyboard input.
  • A forced power-off is required.

There are no obvious kernel panics, OOM events, or hardware errors preceding the freezes. The system journal simply stops recording entries.

The problem is not easily reproducible on demand. My documented freezes have occurred after varying periods of uptime.

After finding reports of similar behavior on HP EliteDesk 800 G4 systems running Proxmox/Debian, I am currently testing the kernel parameter:

i915.enable_dc=0

This disables Intel graphics Display C-states. I am NOT yet claiming this has resolved the issue, but the current test has produced the longest uninterrupted uptime I have observed so far. I plan to update this post whether the system freezes again or remains stable.

Relevant System Information

System: HP EliteDesk 800 G4 Desktop Mini 35W (TAA)
CPU: Intel Core i5-8500T
Integrated GPU: Intel UHD Graphics 630
RAM: 16 GB DDR4
OS: Ubuntu 26.04.1 LTS
Kernel: 7.0.0-38-generic
BIOS: HP Q21 02.16.00
Boot mode: UEFI / Secure Boot enabled

Storage:

  • 256 GB Western Digital PC SN720 NVMe (system drive)
  • Samsung 990 EVO Plus 1 TB NVMe (data drive)
  • Seagate IronWolf 8 TB external HDD (disconnected during recent testing)

The machine is primarily used as a headless home server. It normally runs Docker services including Jellyfin and Pi-hole, but Docker and the external HDD have intentionally been disabled/disconnected during recent troubleshooting.

Intel graphics are also used for Jellyfin Quick Sync hardware transcoding when Jellyfin is running.

Current kernel command line includes:

i915.enable_dc=0

The current value is verified with:

sudo cat /sys/module/i915/parameters/enable_dc

Output:
0

/dev/dri/renderD128 remains present with this parameter enabled.

Error Messages / Logs

No consistent error message is produced when the freeze occurs.

The journal stops abruptly without a clean shutdown, kernel panic, OOM event, or obvious hardware error.

For example, one documented boot on kernel 7.0.0-38-generic started:

Oct 12 13:48:15

The final journal timestamp before the hard freeze was:

Oct 13 06:30:23

The machine remained powered on but completely unresponsive.

I have also enabled kdump, but the freezes have not produced a usable vmcore.

The Intel TCO hardware watchdog (iTCO_wdt) is enabled and systemd reports:

Watchdog running with a hardware timeout of 30s.

Interestingly, the watchdog has not reset the machine during these freezes.

What I’ve Tried

Troubleshooting performed so far:

  • Monitored CPU/PCH/NVMe temperatures. Temperatures have remained normal.
  • Checked NVMe SMART information. No media errors or critical warnings were reported.
  • Monitored RAM and system load. Several freezes occurred while the machine was essentially idle with plenty of free memory.
  • Disabled Docker and all containers.
  • Disconnected the external USB hard drive.
  • Disabled the graphical display manager and operated the system headlessly.
  • Configured health snapshots every 15 minutes to record temperatures, memory, load, storage health, mounts, services, and recent kernel warnings.
  • Configured kdump. No usable crash dump has been generated by a freeze.
  • Configured the Intel TCO hardware watchdog (iTCO_wdt) with a 30-second timeout. The watchdog is confirmed active but has not recovered the machine from a freeze.
  • Updated from kernel 7.0.0-34-generic to 7.0.0-38-generic. The freezes continued.

Two recent documented freezes occurred after approximately:

  • 10 hours 52 minutes
  • 16 hours 42 minutes

After finding reports from Proxmox users with HP EliteDesk 800 G4 systems experiencing similar idle freezes, I am now testing:

i915.enable_dc=0

Before applying the parameter:

sudo cat /sys/module/i915/parameters/enable_dc

returned:

-1

After applying it and rebooting, it returns:

0

I have otherwise intentionally avoided making additional changes so this can serve as a controlled test.

As of October 14, the server has exceeded 32 hours of continuous uptime with i915.enable_dc=0, which is the longest uptime observed during this troubleshooting period.

This is encouraging, but I do not yet consider the issue resolved. I will continue testing and update this thread with the result.

You’ve considered the hardware too?

Your description would make me want to open the box & do a quick ‘cap check’, looking for signs of heat damage, swollen capacitors as the smaller [form] boxes tend experience this a little more; the evidence of capacitor issues being random freezes just as you describe needing power off (ie. kernel is dead without panic & so SysRq options don’t exist). I’d be ruling out hardware problems (can it run a very different OS for a week for example; some functions (maybe not docker) from live media etc).

2 Likes

Thanks for the suggestion! Hardware failure is definitely something I’ve considered, especially given the complete lockups without any meaningful kernel errors.

I haven’t physically opened the machine to inspect the motherboard for swollen capacitors or heat damage yet, so that’s certainly something worth checking.

So far, I’ve monitored CPU and storage temperatures, checked NVMe SMART health, and performed some basic memory testing. Nothing has indicated an obvious hardware failure, although I realize those checks don’t rule out motherboard or power-delivery issues.

What caught my attention was finding several reports involving this exact HP EliteDesk 800 G4 Mini model and i5-8500T processor. Other Linux users described very similar freezes, particularly while idle, and reported that disabling Intel graphics Display C-states with i915.enable_dc=0 resolved their instability.

I applied that parameter on October 13, and as of this morning, October 15, the server is approaching 48 hours of uninterrupted uptime. That’s substantially longer than either of my two most recent documented freezes, which occurred after approximately 11 and 17 hours.

I’m certainly not ruling out hardware, and I understand that a hardware issue could potentially be exposed by particular power-management states.

For now, I’m trying to keep everything else unchanged so I can determine whether the kernel parameter genuinely improves stability.

If the freezes return, I’ll investigate the hardware more closely. Testing with a different OS is also a good suggestion.

Thanks again for taking the time to respond!

Try the boot option:
intel_idle.max_cstate=1
I suggest just adding this to a one off boot by editting GRUB. If this works then make it permanent in /etc/defaul/grub as you seem to understand

The Western Digital SN720 and Samsung 990 EVO Plus NVMe drives both use aggressive PCIe L1.2 sub-states. In headless mode, ASPM transitions can cause PCIe link drops.

Set PCIe ASPM control to performance mode in GRUB with another boot option:
pcie_aspm=off

Thanks! Those are both interesting suggestions, especially given that the freezes have generally occurred while the machine is essentially idle.

I’m going to keep these as my next tests if the current experiment fails. Right now I’m testing only i915.enable_dc=0, based on reports from other EliteDesk 800 G4/i5-8500T users with similar symptoms.

Since applying that change, I’ve already exceeded the uptime of my previous documented freezes, so I don’t want to introduce another variable yet.

If it freezes again, I’ll revert/test one change at a time. intel_idle.max_cstate=1 would probably be my next test, followed by ASPM if necessary.

Thanks for the suggestions — I’ll update the thread with the results.

7-day update:
The server has now remained continuously online for just over 7 days since applying i915.enable_dc=0.

For comparison, my previous two documented test boots froze after approximately 11 hours and 17 hours. The system has now exceeded 170 hours of continuous uptime.

I have intentionally made no additional CPU C-state or PCIe ASPM changes during this period, so i915.enable_dc=0 remains the only power-management workaround being tested.

This obviously doesn’t prove that the underlying hardware is fault-free, but the improvement is significant enough that I’m increasingly confident the freezes were related to the Intel graphics Display C-state behavior, or to a hardware/platform sensitivity exposed by it.

I’m going to begin gradually returning the server to its normal workload and will continue updating this thread if the freezes return.

This topic was automatically closed after 30 days. New replies are no longer allowed.