News: 0001604897

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mesa 26.0 Now Supports GPU Hardware Replay With The Intel Xe Kernel Driver

([Intel] 5 Hours Ago intel_hang_replay)


The Intel Mesa graphics drivers have supported a GPU hardware replay feature for making it easier to reproduce issues. But until now that functionality has only worked with the i915 kernel driver while for Mesa 26.0 the Intel Xe driver will also be supported.

Mesa and the i915 kernel driver have supported [1]a hardware replay feature to make it easier to reproduce GPU hangs and other issues for expedited graphics debugging. Finally for Mesa 26.0 there will be support for the Intel Xe driver, which also depends upon some new patches kernel-side that look like they will be queued up for Linux 6.20~7.0.

There's been an eight month old Mesa [2]merge request for supporting the "intel_hang_replay" functionality with the Xe kernel driver. After a lot of review and also waiting for the Xe kernel driver patches to be ready, the code was merged yesterday for Mesa 26.0.

So now Battlemage, Lunar Lake, Xe3 Panther Lake, and other future Intel graphics hardware that is only supported by the Xe kernel driver and not the legacy i915 driver can make use of this hang replay functionality to aide in graphics debugging.

The Intel hang_replay tool within Mesa 26.0 will seamlessly support GPU hang dump files on either the i915 or Xe drivers. Mesa 26.0 stable should be out in February.



[1] https://www.phoronix.com/news/Linux-6.11-Intel-HW-Hang-Replay

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34829



Microsoft Zen - Become one with the blue screen.

-- From a Slashdot.org post