Mesa 26.0 Now Supports GPU Hardware Replay With The Intel Xe Kernel Driver
([Intel] 5 Hours Ago
intel_hang_replay)
- Reference: 0001604897
- News link: https://www.phoronix.com/news/Mesa-26.0-Hang-Replay-Xe
- Source link:
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
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