eGPU on Linux Ubuntu 19.04 - Easy-to-use setup script
 
Notifications
Clear all

eGPU on Linux Ubuntu 19.04 - Easy-to-use setup script  

 of  2
  RSS

(@jjj850314)
New Member
Joined: 1 year ago
 

@hertg
Did i need to install any driver to get my eGPU work?
I try to used the script but the benchmark still as low as my igpu score 😥 

my laptop:Lenovo T480
Tul 240FU+PowerColor RX570 8GB

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 3 years ago
 

@jjj850314 Which distro are you running? The AMD drivers should already be included.

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide


ReplyQuote
(@jjj850314)
New Member
Joined: 1 year ago
 

@itsage

I use Ubuntu 19.04
Benchmark:Unigine_Heaven-4.0
it have the same problem on Evga GTX1060

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
RimsOnAToaster
(@rimsonatoaster)
Eminent Member
Joined: 3 years ago
 

Loving this script!!! It's absolutely brilliant on 19.04 with my Dell XPS 9570. It would be rad if it worked as well on an LTS version of Ubuntu. I''m curious to hear what sort of struggles might be had with that.
Thank you so much!

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


itsage liked
ReplyQuote
hertg
(@hertg)
Active Member
Joined: 12 months ago
 

@rimsonatoaster

Hey, thanks for the post. I did actually build it on my ppa for Disco (19.04) as well as Bionic (18.04 LTS).

It should actually work on any linux distro, as long as it supports XServer, Systemd and Bash scripts. You just have to build it yourself with "make" 🙂

Notebook: Lenovo ThinkPad X1 Extreme (GTX 1050 Max-Q Ti)
EGPU: Mantiz MZ-02 VENUS (GTX 1080)
OS: Ubuntu 19.04


itsage liked
ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

It's worth mentioning I think that some things, particularly eGPU hotplug support, have gotten better with kernel version 5.0+ and GNOME 3.32+, which are both in Ubuntu 19.04. So I think it's worth being on 19.04 for Ubuntu eGPU users.

Edit: Oh yeah, and I can confirm that I was able to build the script in Manjaro so that's nice 🙂

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


itsage liked
ReplyQuote
dannawilson
(@dannawilson)
New Member
Joined: 6 months ago
 

I registered an account simply to say thanks for creating this script, it made this process so simple.

For others reference, this script worked seamlessly for me on a Dell XPS 15 9560 running Ubuntu 18.04.03 LTS with an Akitio Node and an Nvidia GT740 (only card I had spare to test with). It detected the iGPU on the i7, the GTX1050 dGPU in the laptop, and the 740 in the Node first time.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@andrew_shuman)
New Member
Joined: 6 months ago
 

For my Ubuntu 19.04, when I finish typing my password and press enter, the whole system seems to go to sleep. If I switch sessions and finally get in, the resolution is off and everything is very laggy. The only way around this is to press enter and my mouse button rapidly until I am able to see the desktop. I am running a Dell Precision 5520, RTX2070 egpu, Ubuntu 19.04 with proprietary drivers. Anyone else have this issue?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@andrew_shuman

A couple of questions:

1. In /etc/gdm3/custom.conf is WaylandEnable=false commented out or not? Uncommenting this line or installing a purely X based login manager like lightdm would be the first thing I would try.

2. What's your display configuration? Do you have an external display connected to the eGPU or are you using the laptop's internal display?

Edit: Actually, before all that, re-run egpu-switcher setup and post the names and ids of what outputs you are selecting

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 3 years ago
 

@hertg Your script still works great in Ubuntu and Pop!_OS 19.10! There's also some enhancement in this version at the login screen. I hot-plugged a Thunderbolt 3 NVMe M.2 adapter and saw this notification.

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide


ReplyQuote
pandasauce
(@pandasauce)
New Member
Joined: 5 months ago
 

Having some really weird issues with this when using external displays connected to the eGPU.

Using NVIDIA PRIME, I can get the internal screen to render on the eGPU by setting up eGPU's Bus ID under /usr/share/X11/xorg.conf.d/10-nvidia.conf. However, my laptop remains completely unaware of external screens connected to eGPU.

Using this eGPU switcher, if I remove all nvidia and intel related files from /usr/share/X11/xorg.conf.d, I can get output on the external screen connected to eGPU. However, in this case, nothing is actually rendered by eGPU according to nvidia-smi. I also get massive mouse lag, 2 seconds or so. It moves smoothly, but with a 2 sec delay and everything freezes up while it's moving. A little more investigation shows that this option actually results in software rendering (llvmpipe), so it's not working.

My preference would of course be to use external screens and render everything on the eGPU. This is 18.04 LTS with nvidia-435 drivers. Does anybody have any ideas as to why this may be happening?

This turned out to be caused by https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1716857 , even though TB16 dock monitors and DP/HDMI ports on the laptop are not affected by it. Looks like it's lightdm life for me going forward.

This post was modified 5 months ago

Multiple generations of Dell XPS 15 on Ubuntu 18.04 LTS and RTX 2070S. Stable drivers branch.


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

To those with lagging issues: this can happen when X is running in a non-bandwidth effiecient way. For example if X is running on the igpu but then using the egpu for rendering before outputting to an egpu connected display this causes unnecessary thunderbolt bandwidth use and is the problem these scripts are written to address.

If using an nvidia card and the proprietary drivers, I would start by purging all old drivers and configuration and trying to use just the latest drivers (as installed from, say, the ubuntu software update tool) with this script or the gswitch script. This seems to yield good results in many cases.

Sidenote, if using the open source drivers you want to use the external setting of these scripts only when using an external display. When using the internal display with the egpu you should switch to the internal mode and use the DRI_PRIME=1 environment variable.

Edit: Here's a list of the exact packages I was using when testing:

nvidia-compute-utils-430* nvidia-dkms-430* nvidia-driver-430* nvidia-kernel-common-430* nvidia-kernel-source-430* nvidia-prime* nvidia-settings* nvidia-utils-430*

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


itsage liked
ReplyQuote
wunhand
(@wunhand)
New Member
Joined: 4 months ago
 

I wanted to post this in case the script does not work for people.  I had to figure these steps out the hard way:

Using Ubuntu 19.10 [am running egpu from internal display] - after enabling thunderbolt, blacklist nouveau, install drivers, configure Xorg file (basic steps - these can be found online) - I was also stuck because I would get screen to hang at boot.  I had to do these additional steps [involved booting to terminal as well and removing xorg file if needing to boot into desktop temporarily]:

With the Xorg file configured (adding the BusID , etc... AllowEmptyIntialConfiguration... AllowExternalGpus..." - you can find these templates on many forum posts and how to create this)...

Once you save that file, and then reinstall  Nvidia driver manually from website (you need at least 2 different versions of the file in order to make this work so as to install a different version) - and then let Nvidia recreate Xorg file for you (this is an option in the NVidia download script file) - the template Nvidia software created was different (if you didn't create an Xorg file yourself first using the different forum post templates - then you get some generic Xorg file that doesn't work - so it is very important to create the Xorg file and have Nvidia installer work off of that) and I was able to tweak it.  Here was the output (added BusID and also made sure that eGPU videocard was listed under Screen - you will see what was added if you follow steps):

Section "ServerLayout"
    Identifier "Default Layout"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load "modesetting"
    Load "glx"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:61:0:0"
    Option "AllowEmptyInitialConfiguration"
    Option "AllowExternalGpus" "True"
    Option "Coolbits" "4"
EndSection

Section "Device"
    Identifier "Videocard1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection
 

I have a Lenovo  Thinkpad  X1 Extreme 1st Gen Laptop dGPU (1050ti maxq) as well as eGPU (2080ti).  Then it hung again after about a week of use, and I booted to terminal and installed driver again (remember that there are 2 drivers downloaded - so switched back to that other driver file for install) - had Nvidia recreate the Xorg file from previous Xorg file I tweaked - and got this:

Section "ServerLayout"
    Identifier "Default Layout"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load "modesetting"
    Load "glx"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:61:0:0"
EndSection

Section "Device"
    Identifier "Videocard1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "AllowEmptyInitialConfiguration"
    Option "AllowExternalGpus" "True"
    Option "Coolbits" "4"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Had to tweak Xorg file - but you will see where I tweaked if you follow those steps - and other thing I had to do was to tweak BIOS settings.  I had to do more than just allow Thunderbolt connection.  I had to switch to hybrid graphics, No boot time delay, Diagnostic boot - no Thunderbolt security, Pre Boot ACL (authorization with user intervention) - basically the timing of the boot sequence has to be exactly right...

So I didn't see anybody posting these things which is why I am doing so.  It was not as easy for me as just using a basic Xorg file.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@kyle_landrith)
Active Member
Joined: 4 months ago
 

So I used this script and it seems to be working fine, however I have a question. When I am disconnected from my eGPU and I have my internal gpu set to intel integrated, the nvidia kernel module is still loaded and my dGPU is still powered up, it's just not being used. I actually think it was on p0 power state (full power) if I remember correctly (will check tomorrow and edit post). This obviously kills the benefit of having the integrated intel gpu for battery life if the dGPU is just going to be burning the midnight oil doing nothing even if I am not using it. Is there a way around this?

Dell XPS 15 9570 i78750H, 32GB RAM, 1TB Samsung 970 Evo Plus, Sonnet Breakaway Box 650W, EVGA 2080 Super XC Hybrid sending it to an LG 3840x1600 38" ultra-wide. Running Linux (Kubuntu 18.04).


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@kyle_landrith

I believe this is an issue that pop os addresses. I don't have this configuration but @itsage might have info on how well it works.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
hertg
(@hertg)
Active Member
Joined: 12 months ago
 

@wunhand

Hey there, thanks for your post.
I'm also using a Lenovo X1 Extreme (1st Gen.). I found that it's easiest to install Ubuntu without having the EGPU attached and disable "Hybrid Graphics" in the BIOS first. Then choose to install third-party drivers in the installation process (This will install the drivers from NVIDIA rather than the Nouveau ones, afaik). I have actually mentioned this in the README, but it may be hard to find at the bottom of the page :). Once everything is installed you can change the Display Settings back to "Hybrid Graphics" if you like.

Also, I did change the Thunderbolt Settings to "No Security", I've experienced far less issues with this configuration. (Just make sure you understand the security implications this might have. Have a look at my other post where i mentioned it).

By following these steps i didn't need to tweak the xorg.conf file manually on my Lenovo X1 Extreme. 🙂

 

Notebook: Lenovo ThinkPad X1 Extreme (GTX 1050 Max-Q Ti)
EGPU: Mantiz MZ-02 VENUS (GTX 1080)
OS: Ubuntu 19.04


ReplyQuote
Roland
(@roland)
Active Member
Joined: 7 months ago
 

I can't update to the latest version. I'm getting hit with this error: https://github.com/hertg/egpu-switcher/issues/25

Otherwise it works like a charm and I'm happy user.

Lenovo X1 7th Gen, Razor X, Nvidia 2060


ReplyQuote
(@marin_k_)
Active Member
Joined: 1 month ago
 

Hi hertg,

 

I'm somewhat of a Ubuntu(Linux) newbie, but I have a rather simple question for you.

I'm using thinkpad X1C (7th gen) and Razer Core X with 5700XT as my GPU. I've installed your script, and everything works as it should. When I go to 'About' in ubuntu, it shows Navi as GPU.

 

But when I run steam and cs:go, epgu isn't in use. At all. I mean I get around 15-20fps.

Under windows 10, everything works like a charm. But I really hate booting into win10 just to game. I want to delete my win10 install if possible.

 

Did I setup your script wrong? I've tried forcing eGPU on internal and external screens, but that doesn't help either.

I've tried googling and nothing I've found has helped, so I think that this topic is my last hope 🙂

This post was modified 1 month ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@marin_k_

What kernel are you using? The latest native ubuntu kernel (5.3) still doesn't normally come with the firmware for navi gpus so you have to either manually add the firmware file or upgrade to the 5.4 mainline kernel (you can use a tool like ukuu to easily upgrade to a mainline kernel)

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
(@marin_k_)
Active Member
Joined: 1 month ago
 
Posted by: @nu_ninja

@marin_k_

What kernel are you using? The latest native ubuntu kernel (5.3) still doesn't normally come with the firmware for navi gpus so you have to either manually add the firmware file or upgrade to the 5.4 mainline kernel (you can use a tool like ukuu to easily upgrade to a mainline kernel)

I'm on 5.4.22

When looking at about screen, AMD Navi shows up. Everything works like a charm. Except games. I simply can't play any games.

In CS:GO fps is around 20, then it jumps to 200-300, then 20... Simply unplayable 🙁

 

I've googled a lot. That's how I found this thread. But till this day I found no solution at all.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@marin_k_

I'm assuming you're using xorg and not wayland, what's the output of the commands

xrandr --listproviders

xrandr --listmonitors

the eGPU and its connected display should be listed first in both.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


Marin K. liked
ReplyQuote
(@marin_k_)
Active Member
Joined: 1 month ago
 

@nu_ninja,

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xf4 cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:Unknown AMD Radeon GPU @ pci:0000:10:00.0
Provider 1: id: 0x46 cap: 0x6, Sink Output, Source Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting

xrandr --listmonitors
Monitors: 2
 0: +*HDMI-A-1 2560/597x1440/336+2559+0  HDMI-A-1
 1: +DisplayPort-4 2560/553x1440/311+0+0  DisplayPort-4


I have internal monitor as well, but laptops lid is closed.

And btw, thanks for being so helpful 🙂

 

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@marin_k_)
Active Member
Joined: 1 month ago
 

Thanks for this command:

xrandr --listproviders

I've managed to install drivers/firmware. Now I get this:

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x59 cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:AMD Radeon RX 5700 XT @ pci:0000:10:00.0
Provider 1: id: 0xa4 cap: 0x6, Sink Output, Source Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting

But still, nothing in steam changed. Still low fps.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@marin_k_

That looks right to me now, not sure what the issue would be now. Have you tested with other games, or just CS:GO? Here's a quick command I use to see if the egpu is being used, run it in a terminal while gaming and see if the busy percent and clock speeds go up.

watch -n 1 cat /sys/bus/pci/devices/0000:10:00.0/gpu_busy_percent /sys/bus/pci/devices/0000:10:00.0/pp_dpm_sclk

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
(@marin_k_)
Active Member
Joined: 1 month ago
 

@nu_ninja

 

Sorry for the late reply, I was out due to flu...

 

I've test out these games so far:

CS:GO

Firewatch

For the King

Torchlight

Pillars of Eternity

The Witcher (first one, enhanced edition)

 

Firewatch and the witcher work fine on eGPU. Rest of the games don't.

On games that don't, I get this:

0: 300Mhz

1: 800MHz (jumps to 1100-1200 for short periods)*

2: 2075Mhz

 

On games that do work, I get this:

0: 300Mhz

1: 800MHz

2: 2075Mhz*

 

So basically, if I'm understanding things here, some games are stuck using internal gpu, while others use eGPU as I want.

Tried google to find forcing games to use eGPU on Ubuntu, but found no solution.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@marin_k_

Sorry to hear about your flu and computer issues. As far as I know, these scripts here are the solution for getting games to use the eGPU, unfortunately it is possible for some games to do their own thing. Without having those games to test, here's my last ditch suggestion. You can force the iGPU off (technically not completely off, but it can't be used for rendering) by blacklisting the intel graphics drivers. This might cause a black screen with some games or it might make them use the eGPU. I do this by adding the kernel parameter:

module_blacklist=i915,snd_hda_intel

though for a new system I think it uses  i965 so it would be:

module_blacklist=i965,snd_hda_intel

 

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
tscolari
(@tscolari)
New Member
Joined: 2 weeks ago
 

I recently got a AMD RX5700RT that I'm trying to run on a Razer core and a dell Xps 13, but I'm out of luck.

Without your script, if I just boot the computer with all connected the external display (connected to the amd card) gets a weird pink pattern and the whole computer freezes (when X starts).

 

Your script detects the cards and sets the configuration, but when I boot with it I get 2 blank screens, I'm not a 100% the computer is crashed, one time it resumed when I pressed power off and turned off normally, others it required a hard reboot. 

 

Not sure if relevant, but booting the computer with the core connected but no monitor attached works normally.

Can you help me debug the issue? I know my way around Linux servers, but not X 🙁

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@tscolari

 

Someone else can correct me if I'm wrong, but this sounds to me like the hardware issues that have plagued these first gen navi cards. Have you ever been able to get normal any graphics output from this card or do you have a desktop to test it in? If you can get apps running on the eGPU using prime on the internal screen it could also be a display or display cable issue.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


ReplyQuote
tscolari
(@tscolari)
New Member
Joined: 2 weeks ago
 
Posted by: @nu_ninja

@tscolari

 

Someone else can correct me if I'm wrong, but this sounds to me like the hardware issues that have plagued these first gen navi cards. Have you ever been able to get normal any graphics output from this card or do you have a desktop to test it in? If you can get apps running on the eGPU using prime on the internal screen it could also be a display or display cable issue.

Is there a way to know if it's one of those?

It seems to work fine on windows, not sure if that's an indicator. But I can still return it and get a new one from a different brand (this one is an Asus).

I've also noticed that when I connect thunderbolt3, no display cable, peripherals connected to the usb ports of the core do not respond on Linux.

 

❯ sudo lspci
pcilib: Cannot open /sys/bus/pci/devices/0000:02:04.0/config
lspci: Unable to read the standard configuration space header of device 0000:02:04.0
pcilib: Cannot open /sys/bus/pci/devices/0000:07:02.0/config
lspci: Unable to read the standard configuration space header of device 0000:07:02.0
pcilib: Cannot open /sys/bus/pci/devices/0000:06:00.0/config
lspci: Unable to read the standard configuration space header of device 0000:06:00.0
pcilib: Cannot open /sys/bus/pci/devices/0000:07:00.0/config
lspci: Unable to read the standard configuration space header of device 0000:07:00.0
pcilib: Cannot open /sys/bus/pci/devices/0000:0a:00.0/config
lspci: Unable to read the standard configuration space header of device 0000:0a:00.0
pcilib: Cannot open /sys/bus/pci/devices/0000:08:00.0/config
lspci: Unable to read the standard configuration space header of device 0000:08:00.0
pcilib: Cannot open /sys/bus/pci/devices/0000:05:00.1/config
lspci: Unable to read the standard configuration space header of device 0000:05:00.1
pcilib: Cannot open /sys/bus/pci/devices/0000:07:01.0/config
lspci: Unable to read the standard configuration space header of device 0000:07:01.0
pcilib: Cannot open /sys/bus/pci/devices/0000:09:00.0/config
lspci: Unable to read the standard configuration space header of device 0000:09:00.0
00:00.0 Host bridge: Intel Corporation Device 8a12 (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Device 8a52 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Device 8a03 (rev 03)
00:07.0 PCI bridge: Intel Corporation Device 8a1d (rev 03)
00:07.2 PCI bridge: Intel Corporation Device 8a21 (rev 03)
00:0d.0 USB controller: Intel Corporation Device 8a13 (rev 03)
00:0d.2 System peripheral: Intel Corporation Device 8a17 (rev 03)
00:0d.3 System peripheral: Intel Corporation Device 8a0d (rev 03)
00:12.0 Serial controller: Intel Corporation Device 34fc (rev 30)
00:14.0 USB controller: Intel Corporation Ice Lake-LP USB 3.1 xHCI Host Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Device 34ef (rev 30)
00:14.3 Network controller: Intel Corporation Device 34f0 (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Device 34e0 (rev 30)
00:1d.0 PCI bridge: Intel Corporation Ice Lake-LP PCI Express Root Port #9 (rev 30)
00:1d.7 PCI bridge: Intel Corporation Device 34b7 (rev 30)
00:1e.0 Communication controller: Intel Corporation Ice Lake-LP Serial IO UART Controller #0 (rev 30)
00:1f.0 ISA bridge: Intel Corporation Ice Lake-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Device 34c8 (rev 30)
00:1f.4 SMBus: Intel Corporation Ice Lake-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Ice Lake-LP SPI Controller (rev 30)
01:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev ff)
02:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev ff)
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Device 1478 (rev ff)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Device 1479 (rev ff)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 731f (rev ff)
5b:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 011a
5c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
nu_ninja
(@nu_ninja)
Reputable Member
Joined: 2 years ago
 

@tscolari

Ahh, is a new 10th gen intel ice lake machine? Which kernel are you running? The default for ubuntu right now is 5.3 but I believe you need 5.4+ for proper thunderbolt support on ice lake. Be sure you have authorized the thunderbolt device too. Your description now makes it sound like it is just a software connection issue, not hardware.

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node/Thunder2)
+ macOS 10.15+Win10 + Linux Mint 19.1


hertg and itsage liked
ReplyQuote
tscolari
(@tscolari)
New Member
Joined: 2 weeks ago
 
Posted by: @nu_ninja

@tscolari

Ahh, is a new 10th gen intel ice lake machine? Which kernel are you running? The default for ubuntu right now is 5.3 but I believe you need 5.4+ for proper thunderbolt support on ice lake. Be sure you have authorized the thunderbolt device too. Your description now makes it sound like it is just a software connection issue, not hardware.

You were right

For anyone having the issues I had, I managed to fix it by bumping to kernel 5.5.0. I had to manually install it (not distributed on 18.04) and sign it (because of secure boot), but it's a very easy process (for reference: https://github.com/jakeday/linux-surface/blob/master/SIGNING.md). Usb is also working now, as flaky as it is in windows - but I think this is a razer core chroma issue according to the internet, I'm probably going to return it and get the version without usb ports. I havent tested gaming, but the fact I can use the external monitor for work already made my day 🙂

 

thanks!

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
 of  2