Ubuntu 19.10 (KDE) freezes some time after eGPU is disconnected (RTX 2070)
I use it for gaming on Windows 10 and for neural networks on Ubuntu (in development purposes for my job).
While there are no problems in Windows 10, I am experiencing some issues with it on my Ubuntu system. All works fine when the system is booted and I connect the eGPU. The problems begin when I just disconnect it from my laptop:
- After disconnecting, hibernate doesn't work for some reason (the laptop goes to black screen and then it can be awaken pressing any key, it is even not like suspend)
- After disconnecting, the whole system freezes some time later, only mouse works. Even other terminals by pressing Ctrl+Alt+F2 and so on don't work. However, reboot with pressing Ctrl+SysRq (PrtSc) and REISUB works (instead of hard reboot)
Note: I am not using Nvidia card to output/render on any display on Ubuntu. Just computing/CUDA/neural networks.
There is a message in syslog which might be related to disconnecting, I am not sure:
Output of uname -a:
Output of nvidia-smi:
I can provide more details and any useful info to solve the problem, please help.
I always get kernel panics if I just unplug the egpu. There has to be some switching process that I think unloads the driver and sends an ACPI signal to the gpu. I haven't tried it yet, but I think Pop!_OS has a robust system for switching nvidia GPUs so I would try that.
Hey, I also have an RTX2070Super with a Razer Core X for training NN connected to my XPS15 on ubuntu 19.04.
It worked straight of the box, but I need to boot with the eGPU plugged in.
I am also seeing some bottleneck on the Thunderbolt3 interface when training large models, I am never attaining 100% usage, around 85%.
I am very happy with the setup btw.
Have not tried to connect a display btw.
UPD: Solved the problem with the fresh installation of Ubuntu 20.04. I guess the problem was related to tlp/power settings or kernel version. Now I have kernel 5.4 btw