News: 0001463925

  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)

Intel Arc Graphics Demonstrated Running On ARM With Ampere Altra

([Intel] 5 Hours Ago Intel Arc Graphics + ARM)


With the new Intel "Xe" Direct Rendering Manager kernel driver that's been in development one of the touted benefits of the clean sheet driver design is that it would enable using Intel discrete GPUs on non-x86 CPU architectures. The long-used "i915" DRM kernel graphics driver has many x86'isms in the code-base built up over the many years of Intel integrated graphics that were only ever found within their x86/x86_64 processors. But now in the era of Intel discrete graphics, there's been issues in trying to run Intel Arc Graphics on say ARM, POWER9, and RISC-V, among others. The experimental Intel Xe driver was recently successfully demonstrated in running on ARM using an Ampere Altra workstation.

Phoronix reader Vladimir Smirnov wrote in this week about his success in getting Intel Arc Graphics working on ARM (Ampere Altra) albeit with some issues remaining. To get the Intel Arc Graphics working on ARM he built a fresh kernel from the DRM Xe driver Git tree (the code being upstreamed in Linux v6.10), there are some out-of-tree patches for PCI Express errata specific to Ampere Computing that need to be applied, a patch needed to fix a kernel [1]oops with Xe on ARM, rebuilding the libdrm code since Debian doesn't ship libdrm-intel1 for AArch64, and then rebuilding Mesa 24.1-rc3 while modifying it to allow building the Intel drivers on non-x86 systems.

[2]

Smirnov noted of the initial experience:

"It is not entirely stable — on a first run (after reboot), GDM consistently crashes the driver (the card gets stuck, and the driver resets it), but after restart, it works. It can run Doom3 (rbdoom3-bfg) with decent enough FPS.

Running a complex Vulkan game or benchmark crashes the kernel [3]though .

It is not yet ready to be tested, but it is in a state where enthusiasts can dig in with some potential success."

There are more details shared on the [4]Ampere Computing forums and [5]this blog post by Vladimir Smirnov.

It's great seeing Intel discrete GPU support beginning to work on AArch64 albeit with bugs remaining that it's not yet ready for end-users, but hopefully those remaining bugs will be fixed soon for helping the Intel Xe driver story on non-x86 systems.



[1] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1824

[2] https://www.phoronix.com/image-viewer.php?id=2024&image=intel_xe_on_aarch64_lrg

[3] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1825

[4] https://community.amperecomputing.com/t/intel-arc-on-ampere-altra-unstable-but-somewhat-working/745/3

[5] https://boredengineer.medium.com/a-quick-update-on-altrad8ud-1l2t-making-it-work-with-gpu-9cc925e6b769



mrg666

Eirikr1848

schmidtbag

superm1

He who knows, does not speak. He who speaks, does not know.
-- Lao Tsu