Skip to content

Install Mesa 26.1 from trixie-backports to stop i915 GPU hangs - #12

Merged
BenA-SA merged 2 commits into
masterfrom
mesa-backports
Sep 17, 2026
Merged

BenA-SA merged 2 commits into
masterfrom
mesa-backports

Conversation

@BenA-SA

@BenA-SA BenA-SA commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

TPV froze mid-ride with i915 GPU hangs (GPU HANG ... in TPVirtual.exe → VK_ERROR_DEVICE_LOST) on the image's Debian-stable Mesa 25.0.7 (#5). This installs Mesa 26.1 from trixie-backports instead, close to the host's working 26.1.6.

Changes

  • Containerfile.full:
    • Keeps libvulkan1/vulkan-tools from stable.
    • Installs mesa-vulkan-drivers and libgl1-mesa-dri (amd64 + i386) from ARG MESA_SUITE=trixie-backports in a separate layer.
  • ADR-0005: the soak-test method, the dead ends, results, and the risks of tracking backports.

Testing

Soak test with a stand-in DIRCON trainer at a constant 200 W, TPV rendering continuously, on the laptop (Intel Raptor Lake-P Iris Xe, kernel 7.1.8):

Image Mesa (ANV) Run GPU hangs
tpv-full:debian 25.0.7 real rides + test launch 3 (~7, ~60, ~2 min)
tpv-full:mesa26 26.1.2 2026-09-15, 82 min 0
tpv-full:mesa26 26.1.2 2026-09-17, 4 h 21 min and still running 0

The second soak was checked at 12:06 BST: kernel log since container start shows no GPU HANG/context reset, the container log has 0 VK_ERROR_DEVICE_LOST, and mesa-vulkan-drivers 26.1.2-1~bpo13+1. It also covered Hub companion-app use (#3/#8).

⏳ Before merging:

  • Let the current soak run finish and confirm it's still hang-free.
  • A full podman build from this branch plus a smoke ride. The soak image was derived from the old image with only the Mesa packages swapped, not built from this Containerfile.

Notes:

Refs #5

🤖 Generated with Claude Code

BenA-SA and others added 2 commits September 15, 2026 20:07
TPV froze twice mid-ride with i915 GPU hangs in TPVirtual.exe followed by
VK_ERROR_DEVICE_LOST. The image was on Debian stable's Mesa 25.0.7 while
the host runs 26.1.6; trixie-backports ships 26.1.2. A derived test image
confirms the backports packages install for both amd64 and i386.

Not yet proven to fix the hang: soak tests are tracked in #5.

Claude-Session: https://claude.ai/code/session_01KPEyTuZt4cQVEQv2bRapvw
Refs #5

Co-Authored-By: Claude <noreply@anthropic.com>
@BenA-SA

BenA-SA commented Sep 17, 2026

Copy link
Copy Markdown
Owner Author

Both pre-merge checks are done.

Soak finished hang-free. Ran 6 h 0 min on tpv-full:mesa26 (07:44:26 to 13:44:27 BST, 2026-09-17, auto-stopped with podman kill):

  • GPU HANG in the kernel log: 0 (the kernel log was completely empty from start to finish, with no i915 resets)
  • VK_ERROR_DEVICE_LOST in the container log: 0

Full build from this branch succeeded. podman build -f Containerfile.full from a clean worktree at 4e5f9d1 gives localhost/tpv-full:mesa-backports, containing:

libgl1-mesa-dri:amd64      26.1.2-1~bpo13+1
libgl1-mesa-dri:i386       26.1.2-1~bpo13+1
mesa-vulkan-drivers:amd64  26.1.2-1~bpo13+1
mesa-vulkan-drivers:i386   26.1.2-1~bpo13+1

These match the soaked image.

Not done: a smoke ride on the fully built image. That's left as a follow-up; the other PRs will be tested on top of this image anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant