i asked ai for help with my specific laptop. maybe putting this here could be helpful later...
user: in the past this laptop has frozen (no inputs register and the screen stays still) but audio can still play, and the only way i figured out to fix it was holding the power button to shut it down. can you look into what caused this and how to fix it?
ai: This matches a display-pipeline hang, not a full machine death. The kernel and audio kept running; the Intel GPU / niri compositor stopped flipping frames and taking input. Holding the power button was the only way out because recovery keys are turned off on this install.
What it looks like #
HP Victus 16-r0xxx (7N4X6UA): Intel i7-13700HX + UHD 770 driving the built-in panel, RTX 4060 on the side, niri on Wayland, CachyOS 7.1.5, NVIDIA 580.173.02. The panel is a Chimei Innolux 1920×1080 @ 144 Hz. Sleep is s2idle (this laptop has no deep S3).
That exact combo — Victus hybrid Intel/NVIDIA, 144 Hz eDP, s2idle, NVIDIA 580.x, kernel 7.0/7.1 — is a known class of bugs: the Intel i915 driver loses the internal panel (link training / PSR), the compositor’s screen freezes, audio keeps playing, and you have to hard power-off.
Login records show unclean shutdowns labeled crash on May 16, Jun 5, Jul 3, and Jul 15. This boot has been up 13 days and has survived lid-close suspends, so it is intermittent.
I cannot pin the last freeze to a single log line. systemd is capped at 50 MB of journals, so older boots are gone, and a hung GPU often never flushes a “GPU hang” message. What is still here is the same failure mode on the way in: every lid-close, niri fails a page flip on Intel /dev/dri/card2 (Permission denied). This boot it recovered; the public bugs are the cases where it does not.
Two settings made the hard power-off feel like the only option:
- Kernel cmdline includes
nowatchdog, so the hardware watchdog will not reboot a hung GPU/CPU. kernel.sysrq = 16allows only “sync”. Alt+SysRq+B / REISUB will not work until that is changed.
High zram use (~20 GB compressed) is a separate health issue (lots of long-lived browsers). It can make the machine feel stuck, but it does not explain “screen frozen, audio still playing.”
How to fix it #
Do these in order. The first two help even before the next freeze.
1. Recover without holding power
Enable Magic SysRq, then if it freezes: hold Alt+SysRq (often PrtSc) and tap R E I S U B slowly, or at least B to reboot.
sudo tee /etc/sysctl.d/99-sysrq.conf >/dev/null <<'EOF'
kernel.sysrq = 1
EOF
sudo sysctl --system
2. Keep enough logs for the next time
sudo mkdir -p /etc/systemd/journald.conf.d
sudo tee /etc/systemd/journald.conf.d/99-size.conf >/dev/null <<'EOF'
[Journal]
SystemMaxUse=1G
MaxRetentionSec=2month
EOF
sudo systemctl restart systemd-journald
3. The actual stability workaround
Disable Intel Panel Self Refresh (the usual trigger for “frozen screen, audio lives”). In /etc/default/limine, add to the existing cmdline:
i915.enable_psr=0
so it looks like:
KERNEL_CMDLINE[default]+="quiet nowatchdog splash rw rootflags=subvol=/@ root=UUID=605e5049-e27e-467c-8890-85b58290f7a6 i915.enable_psr=0"
Then regenerate the boot entry and reboot:
sudo limine-update
If it still happens, add i915.enable_dc=0 the same way.
4. Cheap test with no reboot
Drop the laptop panel to 60 Hz in niri (output "eDP-1" { mode "1920x1080@60.008" }) and reload config. 144 Hz eDP is over-represented in these hangs.
5. Sleep
Lid-close suspend is the risky path. Hibernate is more reliable on this hardware than s2idle. BIOS is F.12 (Oct 2023) — HP has shipped much newer firmware for this family, but Victus BIOS updates have also caused freezes for some people, so only flash from your exact SKU’s HP driver page after reading the notes.
I did not change boot options, SysRq, or niri from here (those need root and a reboot). If you want, I can apply SysRq + larger journals now, and/or PSR-off + 60 Hz as the next step.
additional details:
Both changes are live. SysRq is on, and journals can grow up to 1 GB and stay for two months.
SysRq:
kernel.sysrqis now1via/etc/sysctl.d/99-sysrq.conf. If the screen freezes again, hold Alt+SysRq (on this HP that is usually Alt+PrtSc; add Fn if PrtSc is a function key) and tap slowly:If nothing else responds, Alt+SysRq+B alone is still better than holding the power button.
Journals:
/etc/systemd/journald.conf.d/99-size.confsetsSystemMaxUse=1GandMaxRetentionSec=2month. After the next hang,journalctl -b -1should still have the previous boot.Intel Panel Self Refresh #
The built-in screen is an eDP panel (embedded DisplayPort). Normally the Intel GPU must push a new frame 144 times per second, even if nothing on screen changed. That means the display link, scanout engine, and some memory stay awake the whole time.
PSR (Panel Self Refresh, eDP 1.3+) is a power-saving deal between the GPU and the panel:
i915driver tells the panel: “keep showing this frame yourself.”The kernel’s own docs say the hardware’s “did the screen change?” tracking is unreliable, so
i915uses extra software tracking (intel_psr_invalidate/intel_psr_flush) and re-enables PSR from a work queue. That path is easy to get wrong, especially on:When the wake handshake fails, typical results are: the last frame stays on screen (frozen picture), the compositor stops getting vblanks so keyboard/mouse look dead, and audio keeps playing because PipeWire never needed that display link. That is exactly the hang you described.
i915.enable_psr=0does not turn the screen off. It only stops the GPU from parking the panel in that “refresh yourself” mode. Cost is a bit more idle display power / heat, not a feature loss. It is the usual first workaround; it is not applied yet (that needs a Limine cmdline change and a reboot).Updating firmware from Linux #
fwupd / LVFS will not flash this BIOS. HP’s consumer Victus line is not on LVFS (no Victus devices listed).
fwupdis not installed here anyway. HP’s Linux firmware support is mostly ZBook/workstation. You can still installfwupdlater for other things (NVMe, UEFI dbx), but it will not replace HP’s BIOS installer on this laptop.You can still update from Linux. The BIOS file is the same Windows SoftPaq; the flash itself runs in UEFI, not in Windows.
Your machine:
7N4X6UA#ABA)Official download: HP drivers for 7N4X6UA → choose Windows 11 (HP hides BIOS if you pick Linux) → BIOS → HX55 only.
Method that stays on Linux #
.exe), then extract it:8BC2.binplus its.s12signature. Copy them onto the EFI partition (yours is/boot):or reboot → Esc → F10 (Setup) and look for firmware update,
or from the Limine/firmware boot menu: Update System and Supported Device Firmware.
Fallback: copy the same files to
.../BIOS/Currentinstead ofNew, shut down, then power on while holding Windows+B (HP BIOS recovery). Screen can go black for several minutes — leave it alone.Do not pick the H45 BIOS. A wrong image can brick the board. Also worth knowing: some Victus users got new freezes after a BIOS update, so this is optional and not a guaranteed fix for the display hang. Read the SoftPaq notes before flashing.
If you want next, I can add
i915.enable_psr=0to Limine (reboot required), or walk through extracting a specific SoftPaq once you have the file.