[SOLVED] Intel A770 eGPU in Fedora Linux (help wanted)

Well, I’ll just start by saying this is not off to a good start. I can’t seem to figure out how to get the damn thing going. It’s plugged in and my laptop is connected. The dock is recognized by Fedora

And the GPU is recognized when lspci is entered in terminal

I know I’m running kernel 6.0.7 so that is also checked off. I’m using Wayland instead of X11, which could be part of the problem but since I have no prior experience with eGPUs I have no real understanding of where to look, especially since this is such a new GPU.

Upon rebooting the computer, I am able to get video out to an external display connected to my eGPU but it does not display the login screen, only the BIOS was visible on the external display.

What does these 3 outputs say?

lspci -v |grep -A8 VGA
sudo lspci -vvv
sudo dmesg | grep BAR

EDIT: I think you need kernel 6.1, 6.0 supports Arc mobile if my memory serves.

1 Like

Phoronix did their testing on 6.0, so mine should support it as well, although I’m slightly behind Phoronix.

06:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A770] (rev 08) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Device 1020
        Flags: fast devsel, IOMMU group 24
        Memory at 7c000000 (64-bit, non-prefetchable) [disabled] [size=16M]
        Memory at 6000000000 (64-bit, prefetchable) [disabled] [size=256M]
        Expansion ROM at 7d000000 [virtual] [disabled] [size=2M]
        Capabilities: <access denied>
        Kernel modules: i915
[    0.818265] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.818305] pci 0000:00:02.0: VF(n) BAR0 space: [mem 0x00000000-0x0
6ffffff 64bit] (contains BAR0 for 7 VFs)
[    0.818315] pci 0000:00:02.0: VF(n) BAR2 space: [mem 0x00000000-0xd
fffffff 64bit pref] (contains BAR2 for 7 VFs)
[    0.872201] pci 0000:00:1f.5: can't claim BAR 0 [mem 0xfe010000-0xf
e010fff]: no compatible bridge window
[    0.874646] pnp 00:02: disabling [mem 0xc0000000-0xcfffffff] becaus
e it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref
]
[    0.883837] pci 0000:06:00.0: can't claim BAR 6 [mem 0xffe00000-0xf
fffffff pref]: no compatible bridge window
[    0.883839] pci 0000:aa:00.0: can't claim BAR 6 [mem 0xffff0000-0xf
fffffff pref]: no compatible bridge window
[    0.883856] pci 0000:00:02.0: BAR 9: assigned [mem 0x4020000000-0x4
0ffffffff 64bit pref]
[    0.883860] pci 0000:00:02.0: BAR 7: assigned [mem 0x4010000000-0x4
016ffffff 64bit]
[    0.883862] pci 0000:00:07.0: BAR 13: assigned [io  0x4000-0x4fff]
[    0.883863] pci 0000:00:07.1: BAR 13: assigned [io  0x5000-0x5fff]
[    0.883864] pci 0000:00:07.2: BAR 13: assigned [io  0x6000-0x6fff]
[    0.883865] pci 0000:00:07.3: BAR 13: assigned [io  0x7000-0x7fff]
[    0.883867] pci 0000:00:15.0: BAR 0: assigned [mem 0x4017000000-0x4
017000fff 64bit]
[    0.883927] pci 0000:00:15.1: BAR 0: assigned [mem 0x4017001000-0x4
017001fff 64bit]
[    0.883988] pci 0000:00:15.3: BAR 0: assigned [mem 0x4017002000-0x4
017002fff 64bit]
[    0.884048] pci 0000:00:1f.5: BAR 0: assigned [mem 0x50400000-0x504
00fff]
[    0.884067] pci 0000:06:00.0: BAR 6: no space for [mem size 0x00200
000 pref]
[    0.884069] pci 0000:06:00.0: BAR 6: failed to assign [mem size 0x0
0200000 pref]
[    0.884232] pci 0000:aa:00.0: BAR 6: assigned [mem 0x7a480000-0x7a4
8ffff pref]
[   16.367588] caller __uncore_imc_init_box+0xb4/0xf0 [intel_uncore] m
apping multiple BARs
[   79.464282] pci 0000:02:00.0: BAR 15: assigned [mem 0x6000000000-0x
601bffffff 64bit pref]
[   79.464288] pci 0000:02:00.0: BAR 14: assigned [mem 0x7c000000-0x88
1fffff]
[   79.464292] pci 0000:02:00.0: BAR 13: assigned [io  0x4000-0x4fff]
[   79.464301] pci 0000:03:01.0: BAR 15: assigned [mem 0x6000000000-0x
601bffffff 64bit pref]
[   79.464305] pci 0000:03:01.0: BAR 14: assigned [mem 0x7c000000-0x7d
bfffff]
[   79.464310] pci 0000:03:02.0: BAR 14: assigned [mem 0x7dc00000-0x7d
cfffff]
[   79.464316] pci 0000:03:02.0: BAR 15: assigned [mem 0x7dd00000-0x7d
dfffff 64bit pref]
[   79.464321] pci 0000:03:01.0: BAR 13: no space for [io  size 0x2000
]
[   79.464325] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x
2000]
[   79.464329] pci 0000:03:02.0: BAR 13: assigned [io  0x4000-0x4fff]
[   79.464336] pci 0000:04:00.0: BAR 15: assigned [mem 0x6000000000-0x
6017ffffff 64bit pref]
[   79.464340] pci 0000:04:00.0: BAR 0: assigned [mem 0x6018000000-0x6
0187fffff 64bit pref]
[   79.464362] pci 0000:04:00.0: BAR 14: assigned [mem 0x7c000000-0x7d
bfffff]
[   79.464364] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000
]
[   79.464366] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x
2000]
[   79.464370] pci 0000:05:01.0: BAR 15: assigned [mem 0x6000000000-0x
600fffffff 64bit pref]
[   79.464373] pci 0000:05:01.0: BAR 14: assigned [mem 0x7c000000-0x7d
7fffff]
[   79.464375] pci 0000:05:04.0: BAR 14: assigned [mem 0x7d800000-0x7d
8fffff]
[   79.464378] pci 0000:05:04.0: BAR 15: assigned [mem 0x6010000000-0x
60100fffff 64bit pref]
[   79.464380] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000
]
[   79.464381] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x
1000]
[   79.464384] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000
]
[   79.464385] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x
1000]
[   79.464390] pci 0000:06:00.0: BAR 2: assigned [mem 0x6000000000-0x6
00fffffff 64bit pref]
[   79.464413] pci 0000:06:00.0: BAR 0: assigned [mem 0x7c000000-0x7cf
fffff 64bit]
[   79.464436] pci 0000:06:00.0: BAR 6: assigned [mem 0x7d000000-0x7d1
fffff pref]
[   79.464472] pci 0000:07:00.0: BAR 0: assigned [mem 0x7d800000-0x7d8
03fff 64bit]
[   79.464585] pci 0000:08:00.0: BAR 0: assigned [mem 0x7dc00000-0x7dc
0ffff]
[   79.464694] pci 0000:02:00.0: BAR 13: assigned [io  0x4000-0x4fff]
[   79.464697] pci 0000:03:01.0: BAR 13: no space for [io  size 0x2000
]
[   79.464699] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x
2000]
[   79.464701] pci 0000:03:02.0: BAR 13: assigned [io  0x4000-0x4fff]
[   79.464703] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000
]
[   79.464705] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x
2000]
[   79.464708] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000
]
[   79.464709] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x
1000]
[   79.464711] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000
]
[   79.464713] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x
1000]
[10006.278847] pci 0000:02:00.0: BAR 15: assigned [mem 0x6000000000-0x
601bffffff 64bit pref]
[10006.278848] pci 0000:02:00.0: BAR 14: assigned [mem 0x7c000000-0x88
1fffff]
[10006.278849] pci 0000:02:00.0: BAR 13: assigned [io  0x4000-0x4fff]
[10006.278851] pci 0000:03:01.0: BAR 15: assigned [mem 0x6000000000-0x
601bffffff 64bit pref]
[10006.278852] pci 0000:03:01.0: BAR 14: assigned [mem 0x7c000000-0x7d
bfffff]
[10006.278853] pci 0000:03:02.0: BAR 14: assigned [mem 0x7dc00000-0x7d
cfffff]
[10006.278855] pci 0000:03:02.0: BAR 15: assigned [mem 0x7dd00000-0x7d
dfffff 64bit pref]
[10006.278856] pci 0000:03:01.0: BAR 13: no space for [io  size 0x2000
]
[10006.278857] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x
2000]
[10006.278858] pci 0000:03:02.0: BAR 13: assigned [io  0x4000-0x4fff]
[10006.278859] pci 0000:04:00.0: BAR 15: assigned [mem 0x6000000000-0x
6017ffffff 64bit pref]
[10006.278860] pci 0000:04:00.0: BAR 0: assigned [mem 0x6018000000-0x6
0187fffff 64bit pref]
[10006.278877] pci 0000:04:00.0: BAR 14: assigned [mem 0x7c000000-0x7d
bfffff]
[10006.278878] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000
]
[10006.278879] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x
2000]
[10006.278880] pci 0000:05:01.0: BAR 15: assigned [mem 0x6000000000-0x
600fffffff 64bit pref]
[10006.278881] pci 0000:05:01.0: BAR 14: assigned [mem 0x7c000000-0x7d
7fffff]
[10006.278882] pci 0000:05:04.0: BAR 14: assigned [mem 0x7d800000-0x7d
8fffff]
[10006.278883] pci 0000:05:04.0: BAR 15: assigned [mem 0x6010000000-0x
60100fffff 64bit pref]
[10006.278884] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000
]
[10006.278885] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x
1000]
[10006.278886] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000
]
[10006.278886] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x
1000]
[10006.278888] pci 0000:06:00.0: BAR 2: assigned [mem 0x6000000000-0x6
00fffffff 64bit pref]
[10006.278907] pci 0000:06:00.0: BAR 0: assigned [mem 0x7c000000-0x7cf
fffff 64bit]
[10006.278926] pci 0000:06:00.0: BAR 6: assigned [mem 0x7d000000-0x7d1
fffff pref]
[10006.278955] pci 0000:07:00.0: BAR 0: assigned [mem 0x7d800000-0x7d8
03fff 64bit]
[10006.279045] pci 0000:08:00.0: BAR 0: assigned [mem 0x7dc00000-0x7dc
0ffff]
[10006.279117] pci 0000:02:00.0: BAR 13: assigned [io  0x4000-0x4fff]
[10006.279118] pci 0000:03:01.0: BAR 13: no space for [io  size 0x2000
]
[10006.279119] pci 0000:03:01.0: BAR 13: failed to assign [io  size 0x
2000]
[10006.279120] pci 0000:03:02.0: BAR 13: assigned [io  0x4000-0x4fff]
[10006.279121] pci 0000:04:00.0: BAR 13: no space for [io  size 0x2000
]
[10006.279122] pci 0000:04:00.0: BAR 13: failed to assign [io  size 0x
2000]
[10006.279123] pci 0000:05:01.0: BAR 13: no space for [io  size 0x1000
]
[10006.279123] pci 0000:05:01.0: BAR 13: failed to assign [io  size 0x
1000]
[10006.279124] pci 0000:05:04.0: BAR 13: no space for [io  size 0x1000
]
[10006.279125] pci 0000:05:04.0: BAR 13: failed to assign [io  size 0x
1000]

When you are outputting from the eGPU, you can’t boot into Fedora is that correct?

If so, that’s expected behavior as Arc will not boot without Above 4G Decoding (not ReBar).

Oh I very much can boot into Fedora, just that the external display won’t show anything. The built-in display is still functional. It looks like I need to change some boot parameters to force the external GPU as the rendering device instead of the iGPU if I am reading this reddit thread correctly

I think an earlier phoronix article said requiring to blacklist.

I am using the 5.17 kernel with Intel’s precompiled drivers, at least for me, the GPU won’t post without “Above 4G Decoding” enabled and CSM disabled.

I am still considering to go to the latest kernel and Mesa on Ubuntu.

Have you tried Fedora Rawhide in your testing? I’m wondering if installing that and getting it fully updated, then rebooting with the eGPU plugged in, would help here.

1 Like

Thank god almighty, I finally got my A770 to function. I switched to Fedora Rawhide as suggested above to get to kernel 6.2 which removes the experimental flag. It didn’t work at first but after I re-seated the GPU in the enclosure, it was detected and worked fine. I did have to select “dedicated gpu” in heroic launcher and I still got a warning about using unsupported hardware when playing Bioshock 2 remaster but it actually booted into and started playing the game. PROGRESS!!!

1 Like

I’m glad to hear my suggestion could help! If you’re still on Fedora Rawhide, I believe all those improvements from around Feb have been brought into the stable release of Fedora 38 now, if you wanted to switch.

1 Like