EXP GDC mPCIe Adapter connecting the laptop to the desktop GPU.
I know this unsupported tinkerer hardware, but it’s not the cause here. I can assure you
that Windows 7 & 10 as well as Ubuntu 20.04 and FreeBSD 13.0 worked on the same hw with the same driver. This device is vulnerable to interference , but I have insulated it sufficiently and that’s not the issue.
Using the included DVI-I to VGA adapter for a generic 1680x105060Hz display, no overclocking (it goes up to 70Hz on Windows).
Software :
BIOS and UEFI are available, same problem with both.
Manjaro 21.1.0 KDE Minimal LTS
KDE Plasma 5.22.4
Linux 5.10.59-1-MANJARO (64-bit) LTS kernel.
Nvidia driver 470.63.01.
I didn’t install the Nvidia driver myself. It seems to have come helpfully pre-installed because I noticed that it was upgraded when I upgraded from the built-in 5.4 LTS kernel to the 5.10 LTS kernel in KDE System Settings.
Symptoms :
Very, very sluggish UI. Login screen takes tens of seconds to display each password character and so does everything else inside. Konsole doesn’t even render fully. I only see the window’s decoration and nothing I type is displayed and there’s no prompt either.
Once somehow logged in, the UI is so slow I can pretty much see every frame being rendered every two or so seconds.
Very strangely , the cursor is the only thing that moves at an expected level of smoothness.
As I have an Intel HD iGPU, I can confirm that it works 100% okay when using that display output. In fact, even the installation ISO was similarly laggy/sluggish on the Nvidia output so I did the install with it disconnected and using the iGPU.
Please let me know if you wish to know more info or the output of some commands. Thanks in advance !
EDITS :
Tried downgrading to 5.4 LTS kernel that Manjaro KDE ships with. Does not fix.
Tried using the iGPU output while Nvidia GPU was connected. Smooth as usual. Only Nvidia GPU’s output is problematic, the rest of the system is not slowed down.
Tried open source nouveau drivers by selecting Boot with open source drivers option in the Live Installer. It’s just as bad. This issue is thus replicable on the stock ISO on both open and closed source drivers.
Feeling that maybe I’m in the wrong for using tinkerer hardware , I tried Ubuntu 20.04.3 (LTS) . The install media boots and runs just fine on the same hardware, and the Nvidia GPU output is smooth as can be. This not a hardware issue. Most likely , not a kernel issue, nor a driver issue either.
I tested Manjaro XFCE as well as Kubuntu , they both have this problem.
I get your point too. They are highly niche , and are a waste of money or time if your hardware and requirements aren’t specifically in that niche. For me, it is a spectacular way to get occasional mid-2000s gaming done dirt cheap, so cheap that it’s worth the performance penalty. I have no personal desktop systems either.
It works very well on Windows (which is where I used to game) and Ubuntu (which I left due to PPAs). Not sure what the issue is, and it could be the hardware/driver or both, but I’ll do some more testing before confirming that.
I’ll be trying an Ubuntu live installer (to check) and the open source Nvidia drivers if no tinkering works. Thanks for the arch wiki page, will try the suggestion there.
No. This is because the lag is very bad and konsole doesn’t render fully beyond just the window decorators when using the Nvidia GPU output. So while the Nvidia GPU was connected , the drivers loaded and the outputting when I ran inxi, I was using the Intel HD iGPU’s output. It doesn’t make a difference though.
Did some search, and it seems the support for eGPU on linux, specially your system, toughbook CF53, seems bad.
Also EXP GDC mPCIe only uses ONE PCIe lane to communicate with the cpu. I don’t think it will be much better than iGPU.
means OP has hybrid as both i915 and nvidia are loaded…
Although I’m a moderator on this site, this is not me trying to berate you or anything like that: just helping you to become a more productive member of this web site.
Very relevant question that I should have explicitly addressed in the question ; yes I disable the laptop screen shortly after logging in by unchecking Enabled in the menu found by searching display settings in the menu summoned with the super key. I cannot disconnect the laptop LVDS physically, nor in firmware.
This does however mean that the laptop was booted up and started X, the WM/Compositor and the display driver with both screens enabled. Could this be a source of trouble ?
I’ve done the same on Windows and with both Windows and Linux I get the idea that the iGPU drives the LVDS while the Nvidia GPU drives the external monitor.
As mentioned, I’ve tried using the kernel provided nouveau drivers as well as the proprietary drivers (using the Boot with free/proprietary drivers option in Manjaro installer GRUB menu) .
Specifically, I tried the 460.63.01 (latest stable) Nvidia driver as well as kernel’s nouveau independently each in both the 5.4 LTS kernel (which Manjaro ships with) and the 5.10 LTS kernel (latest LTS). In all cases, the i915 Intel iGPU drivers were also loaded by the kernel because I cannot in firmware and have not in kernel disabled that (as it is the only usable video output).
I would recommend you to try two possible solutions,
Use the computer with both the screens (one connected to eGPU and laptop’s screen) either in extended mode, or unify their outputs.
Remove the hybrid drivers and install video-nvidia (you won’t be able to use laptop screen, or any display connected directly to the laptop, after display manager is launched).
If both of them fail, then maybe you should look into optimus-manager. I don’t know if it will work with eGPU setup or not. It is used in laptops with Nvidia dGPU and an iGPU to control which GPU should be used.
Reasoning:
I bought a new laptop for myself a few weeks ago and had to spent a lot of time trying to get type-C display out working.
I discovered that when the laptop was running in hybrid graphics mode(through optimus manager), and if I was only using the display that was connected to the Nvidia dGPU(type-C), it would lag a lot. But if I enabled a second screen, either the laptop’s screen or another monitor connected to the HDMI, the lag was gone. Also, If I switched to Nvidia Graphics mode through optimus manager, then the Type-C display would work without lag, even without activating another display.
After installing manjaro with libre drivers, I booted into the OS and through Manjaro Settings Manager, I removed the libre drivers and installed Video-Nvidia proprietary drivers. This ended up with only the type-C output working, as this was the only one connected directly to the Nvidia dGPU.
@Fabby and @LyraleiBreeze I was about to try, but now when I boot with the Nvidia GPU connected, it’s fans spin up but the desktop doesn’t render to external display, and Display Configuration does not show the external display as an option.
This was with the video-hybrid-intel-nvidia-prime driver, after a large updating a week ago. I tried thereafter the video-nvidia as well as the video-linux drivers using mhwd but no use. inxi -G shows the card details and says driver: N/A
Sorry, nevermind - the issue was that I installed optimus-manager as suggested by @LyraleiBreeze but it’s default Xconfig cause the drivers to not be loaded. That was the issue. Uninstalling optimus-manager fixed it.
I removed the video-hybrid-intel-nvidia-prime, because I don’t need output on my laptop’s display. Then, I tried video-nvidia and it gets stuck during boot at the root filesystem check message forever. So, I switched to a tty and removed it and installed video-nvidia , which is just fine but has horrendous screen tearing . Any idea how to fix ?