Ok. After one week duckduckgoing, bios changes,kernel parameter changes, trying different Linux distributions without able to see AMD card - I decided to start from scratch and basics and opened the eGPU case to find that Card was not properly in place. Bloody “you know wat”. (and super embarrassing…)
Well, just now I got some sort of steps to get this setup to work:
Connect GPU to eGPU - and thunderbolt cable to proper place
Intel NUC BIOS settings (and update to latest BIOS):
Advanced → Video → IGD Primary Video Port: Auto
Security → Security Features → Allow UEFI 3rd Party Driver Loaded: Enable
Security → Security Features → Intel VT for Directed I/O (VT-d): disabled
Security → Security Features → Thunderbolt Security Level : legacy
Power → Secondary Power Settings → Deep S4/S5: enable
Power → Secondary Power Settings → Wake from Thunderbolt Device: disable
Power → Secondary Power Settings → PCIe ASPM Support: disable
Power → Secondary Power Settings → Native ACPI OS PCIe Support: enable
Check that Thunderbolt settings show Racer Core X is connected and authorized
After this I could connect both Intel NUC and eGPU/AMD display port to Monitor. HDMI would work but eGPU-display port would show only “green” window.
I would remove NUC/HDMI and connect only with eGPU/display port - Monitor would show picture but it’s really laggy.
lspci | grep VGA
DRI_PRIME=0 glxinfo | grep “OpenGL renderer”
DRI_PRIME=1 glxinfo | grep “OpenGL renderer”
glxinfo | grep “OpenGL vendor string” | cut -f2 -d":" | xargs
Some of the logs made me feel that Intel GPU was doing still the job. (did not save the logs but…)
Then tried:
5. install egpu-switcher-git
After installing ONLY HDMI/NUC would work
Playing with xorg.conf.egpu
(* recommend to enable SSH so one can do the small config changes to this file remotely and reboot to see if it worked out)
So currently I have couple hours experience with Intel Nuc + eGPU + AMD RX 5700 XT which is responsive and feels fast.
OpenSource driver are in use.
Of cource now I cannot use Intel NUC HDMI output but that is what I can live without if this works othervice perfectly. Time will tell…
(basically going back to Intel NUC HDMI setup would only require removing ‘i915.modeset=0’ kernel parameter and connecting HDMI cable back and removing thunderbolt cable. egpu-switcher-git would automatically use xorg.conf.internal. Should work. )
I’ll try to update this thread if I end up with new problems or I change the setup somehow.