Arc A380 not working on PVE 8.4.14

Hallow

Member
Jun 26, 2021
8
1
23
27
Hi all, been trying to get Arc a380 working but nothing seems to help. Got everything enabled but it seems I can't get rebar to fully load.
I've tried setting it lower but seems it just ignores it.
Code:
options i915 enable_guc=3 modeset=1 memtest=true lmem_bar_size=2048

Any help would be greatly appreciated. If I disable rebar everything starts working.




Bash:
root@pve:~# modinfo i915 | grep -i lmem_bar_size
parm:           lmem_bar_size:Set the lmem bar size(in MiB). (uint)
root@pve:~# lspci -vv -s 2f:00.0 | grep -i 'Resizable BAR' -A2
        Capabilities: [420 v1] Physical Resizable BAR
                BAR 2: current size: 8GB, supported: 256MB 512MB 1GB 2GB 4GB 8GB
        Capabilities: [400 v1] Latency Tolerance Reporting
root@pve:~# lspci -nnk -s 2f:00.0
2f:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A380] [8086:56a5] (rev 05)
        Subsystem: Device [172f:4017]
        Kernel modules: i915, xe
root@pve:~# lspci -vv -s 2f:00.0 | egrep -i 'Region|BAR 0|BAR 2|prefetch|LnkSta'
                LnkSta: Speed 2.5GT/s, Width x1
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
                BAR 2: current size: 8GB, supported: 256MB 512MB 1GB 2GB 4GB 8GB
root@pve:~# dmesg | grep -i -E '2f:00.0|dg2|xe|i915|failed to assign|map registers|BAR 2'
[    0.000000] NX (Execute Disable) protection: active
[    0.000886] MTRR map: 5 entries (3 fixed + 2 variable; max 20), built from 9 variable MTRRs
[    0.361092] ... fixed-purpose events:   0
[    0.459753] pci 0000:21:05.0:   bridge window [io  0xe000-0xefff]
[    0.465630] pci 0000:26:00.0: BAR 2 [io  0xf000-0xf01f]
[    0.467860] pci 0000:27:00.0: BAR 2 [io  0xe000-0xe01f]
[    0.470373] pci 0000:29:00.0: BAR 2 [io  0xd000-0xd07f]
[    0.476584] pci 0000:2f:00.0: [8086:56a5] type 00 class 0x030000 PCIe Endpoint
[    0.476641] pci 0000:2f:00.0: BAR 0 [mem 0x00000000-0x00ffffff 64bit]
[    0.476650] pci 0000:2f:00.0: BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.476660] pci 0000:2f:00.0: ROM [mem 0x00000000-0x001fffff pref]
[    0.476673] pci 0000:2f:00.0: enabling Extended Tags
[    0.476699] pci 0000:2f:00.0: ASPM: overriding L1 acceptable latency from 0x0 to 0x7
[    0.476794] pci 0000:2f:00.0: PME# supported from D0 D3hot
[    0.478495] pci 0000:32:00.2: BAR 2 [mem 0xfc100000-0xfc1fffff]
[    0.489824] pci 0000:2f:00.0: vgaarb: bridge control possible
[    0.489824] pci 0000:2f:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.492877] pnp 00:00: disabling [mem 0xf0000000-0xf7ffffff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494838] pnp 00:06: disabling [mem 0xfec00000-0xfec00fff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494849] pnp 00:06: disabling [mem 0xfec01000-0xfec01fff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494857] pnp 00:06: disabling [mem 0xfedc0000-0xfedc0fff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494866] pnp 00:06: disabling [mem 0xfee00000-0xfee00fff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494874] pnp 00:06: disabling [mem 0xfed80000-0xfed8ffff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494882] pnp 00:06: disabling [mem 0xfec10000-0xfec10fff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.494890] pnp 00:06: disabling [mem 0xff000000-0xffffffff] because it overlaps 0000:2f:00.0 BAR 2 [mem 0x00000000-0x1ffffffff 64bit pref]
[    0.519961] pci 0000:21:05.0:   bridge window [io  0xe000-0xefff]
[    0.520179] pci 0000:2d:00.0: bridge window [mem size 0x200000000 64bit pref]: failed to assign
[    0.520194] pci 0000:2e:01.0: bridge window [mem size 0x200000000 64bit pref]: failed to assign
[    0.520206] pci 0000:2e:01.0: bridge window [mem size 0x01800000]: failed to assign
[    0.520213] pci 0000:2f:00.0: BAR 2 [mem size 0x200000000 64bit pref]: can't assign; no space
[    0.520219] pci 0000:2f:00.0: BAR 2 [mem size 0x200000000 64bit pref]: failed to assign
[    0.520226] pci 0000:2f:00.0: BAR 0 [mem size 0x01000000 64bit]: can't assign; no space
[    0.520232] pci 0000:2f:00.0: BAR 0 [mem size 0x01000000 64bit]: failed to assign
[    0.520237] pci 0000:2f:00.0: ROM [mem size 0x00200000 pref]: can't assign; no space
[    0.520243] pci 0000:2f:00.0: ROM [mem size 0x00200000 pref]: failed to assign
[    0.520495] pci_bus 0000:27: resource 0 [io  0xe000-0xefff]
[    0.523917] pci 0000:2f:00.0: Adding to iommu group 28
[    0.872460] evm: security.SMACK64EXEC
[   17.353028] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[   17.746860] RAPL PMU: API unit is 2^-32 Joules, 1 fixed counters, 163840 ms ovfl timer
[   18.281201] xe 0000:2f:00.0: [drm] *ERROR* failed to map registers
[   18.281528] xe: probe of 0000:2f:00.0 failed with error -5
 
If it helps, I'm running Asrock rack x570D4U Ryzen 5 5650GE, with X550-T2 in first pcie slot, Asm1166 second pcie slot and Arc A380 in 3rd slot.
 
root@pve:~# lspci -vv -s 2f:00.0 | egrep -i 'Region|BAR 0|BAR 2|prefetch|LnkSta' LnkSta: Speed 2.5GT/s, Width x1 LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- BAR 2: current size: 8GB, supported: 256MB 512MB 1GB 2GB 4GB 8GB

Why not try lowering the settings?

Example

Code:
2^X

2^12 = 4096

    echo 12 > /sys/bus/pci/devices/0000:2f:00.0/resource2_resize
 
Last edited:
  • Like
Reactions: Hallow
Why not try lowering the settings?

Example

Code:
2^X

2^12 = 4096

    echo 12 > /sys/bus/pci/devices/0000:2f:00.0/resource2_resize
Thanks for reply.
I'm getting
Code:
root@pve:~#     echo 12 > /sys/bus/pci/devices/0000:2f:00.0/resource2_resize
-bash: echo: write error: Device or resource busy
root@pve:~#
|

It isn't bind to any driver either

Code:
root@pve:~# echo '0000:2f:00.0' > '/sys/bus/pci/devices/0000:2f:00.0/driver/unbind'
-bash: /sys/bus/pci/devices/0000:2f:00.0/driver/unbind: No such file or directory
root@pve:~#