Now that Fedora 36 comes with Wayland by default and supposedly the NVIDIA driver works with it (really?), how do we configure this?
DO NOT say “egpu-switcher” or “gswitch”. They don’t work and are designed for X11.
On F36, when I tried gswitch and logged in with XOrg, nothing worked.
I tried all-ways-egpu and that sort of worked. However, I could feel that the NVIDIA driver wasn’t working. It was kinda laggy.
What I would like the definitive answer to is this:
Which files to do I need to edit?
What do I need to add comment out?
I don’t care if it’s X11 or Wayland, although I’d prefer Wayland since that is the “future” .
Of course, I am using Gnome.
Any help would be appreciated by myself and every other idiot who bought an eGPU hoping to use it with his laptop at home, and then grab his laptop to call when the road or duty calls.
You first need to install the nvidia driver from rpmfusion then allow the kernel modules to build.
Reboot to load the driver.
It should now be available.
We know nothing about your system, what drivers you have installed, or anything else.
Please post the output of inxi -Fzxx in </> preformatted text tags available on the menu bar above. Also the output of dnf list installed *nvidia*
[heinrich@fedora ~]$ dnf list installed *nvidia*
Error: No matching Packages to list
sudo dnf update -y # and reboot if you are not on the latest kernel
sudo dnf install akmod-nvidia # rhel/centos users can use kmod-nvidia instead
sudo dnf install xorg-x11-drv-nvidia-cuda #optional for cuda/nvdec/nvenc support
Current State: With the eGPU connected, it is on. But nothing in Settings>Displays shows a second display and the Secondary Display is not showing a signal.
I have been having almost exactly the same issues. I just got an nvidia 160 with a Sonnet 750 enclosure. Running a Thinkpad T480 i5-8250u and have tried EndeavourOS (best so far but I screwed the kernel up), then PopOS (wouldn’t even install half the time), Fedora (almost exactly the situation you are describing), Ubuntu(finally got everything working nearly flawlessly, but there is lag that is unbearable), and now I am on my other ssd (Windows 11) where everything, infuriatingly, works without a hitch.
I mean, fuck Nvidia for not respecting an entire community, but in the meantime. Have you found a solution?
That was the Fedora deal, literally everything worked perfectly, and the little Fedora logo would even pop in and out of the 4K display on login and logout, but the would not have a signal. Even in display manager, it recognized it and I could send windows over there. Literally just no output.
I’m still not going to wipe Windows yet, however much I may want to, until I learn the ins and outs of different configs and everything. But it is definitely working on Fedora.
I removed the Lenovo thunderbolt dock from the equation, and now have the egpu connected directly to my Thinkpad through TB3. I have my 4K monitor connected through displayport and another monitor connected through HDMI. Both straight o the egpu Nvidia card.
I will recount as best as I can.
In my bios, thunderbolt security is set to “none”
From a fresh install, I installed akmod-nvidia, and gave time for the module to load before reboot. (systemctl reboot, just in case).
-Reboot and select “Gnome on Xorg” at login.
I also installed egpu-switcher from gGithub
I may have run sudo modprobe nvidia, not sure about that.
But then I just ran egpu-switcher setup, and went through the prompts. I believe I did not specify an internal gpu (intel) at all, I just made sure to specify the egpu in the prompt.
I then simply logged out, and went back into Xorg and everything was running flawlessly
I hope this can eventually help somebody. I am going to start playing around with offloading and CUDA and things like that. There seems to be a slight screen tearing issue when draggin windows across the 4K monitor quickly, but that seems fixable.
Hi all, I’ve gotten an NVIDIA eGPU to work on Fedora 36/37’s KDE spin on Wayland instead of X11. I wrote up instructions on the eGPU.io forum. If your laptop doesn’t have a dGPU you can skip the section (step 7) with disabling the dGPU/configuring vfio drivers.
I don’t use GNOME, so you’ll have to do something different in the section where I set a KDE environment variable to /dev/dri/card1 (step 11). It looks like GNOME sets the primary GPU via a udev rule instead, see here.
I hope this helps anyone else looking to setup an NVIDIA eGPU on Wayland.