Intel Arc GPU for Hardware Acceleration (HWA)

Hey there,

I’ve been trying to get the intel arc GPU working on almalinux, either for passthrough to a podman container or passthrough to a VM, and it just simply doesn’t work. When passing it through to a VM it just freezes up the VM and won’t boot. When trying to pass it through to a container, it sees the device but can’t use it. Seems like some capabilities for MSE are disabled in the kernel config that may be required to get this working?

Howdy tbelway

Can you please tell me the almalinux version in the host?

I only found nvidia gpu info in podman docs GPU container access | Podman Desktop

can you see the intel gpu in the base host right ?

which commands did you run? can you paste it input and output

Cheers

I’m afraid I currently can’t test it atm but should be able to again in a few weeks time. That hypervisor is currently running a dev environment that is in use…

But I tried it in:
Almalinux Kitten
Almalinux 9.5, 9.4, 9.3, 9.2, 9.1, 9.0
Almalinux 8.10, 8.9

The OS always SEES the card but can never use it. As in it’s present in /dev/dri/renderD128 or renderD129 (depending on the config at the time), but it can’t be used. I was able to get it working when I tested proxmox, but I prefer to not use debian based for this hypervisor.

That being said, I have easily managed to get both an AMD card and an NVIDIA card running HWA on the same hypervisor.

As I don’t have it operational atm, I am unable to paste the commands, but from all the troubleshooting I did it looked to be an issue passing through due to the MEI parameters not being enabled in the kernel config.

Hey tbelway

interesting. It will be nice to see the podman version too.

I can’t find links of podman with intel gpu arc passthrough.

In this link the user connected the intel gpu with lxc/podman in proxmox
https://fyksen.me/gpu-lxc-podman-jellyfin-passtrough/

It has to be a way. maybe the intel gpu was to new back then.
I’m curious to know what do you see in alma 9 or alma 10 .
Please report back when you have the host free of use.

Cheers

Well I finally have a system up to test with almalinux 10 after… whoa… quite some time.

root@vegeta:~# lspci | grep -i dg247:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A580] (rev 08)48:00.0 Audio device: Intel Corporation DG2 Audio Controller
# renderD128 is clearly not present
root@vegeta:~# ls /dev/dri
by-path  card0
root@vegeta:~# rpm -qa | grep -i mesa
mesa-filesystem-24.2.8-3.el10_0.alma.1.x86_64
mesa-libgbm-24.2.8-3.el10_0.alma.1.x86_64
mesa-libglapi-24.2.8-3.el10_0.alma.1.x86_64
mesa-dri-drivers-24.2.8-3.el10_0.alma.1.x86_64
mesa-libEGL-24.2.8-3.el10_0.alma.1.x86_64
mesa-libGL-24.2.8-3.el10_0.alma.1.x86_64
mesa-vulkan-drivers-24.2.8-3.el10_0.alma.1.x86_64
root@vegeta:~# uname -r
6.12.0-55.40.1.el10_0.x86_64
root@vegeta:/etc/yum.repos.d# mokutil --sb-state 
SecureBoot enabled

Resizable Bar is enabled in bios.

root@vegeta:/boot# lsmod | grep -i i915
i915                 4677632  3
cec                    69632  2 xe,i915
drm_buddy              28672  2 xe,i915
video                  81920  2 xe,i915
ttm                   110592  3 drm_ttm_helper,xe,i915
intel_gtt              24576  1 i915
drm_display_helper    286720  2 xe,i915
i2c_algo_bit           20480  4 igb,ast,xe,i915

i915 is loaded.