I just switched from windows to Fedora 37 and I have an external gpu with Nvidia GTX 1660 Ti. Any idea how to install the drivers and make the egpu runs ?
After running : dnf list installed *nvidia*
I got :
akmod-nvidia.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.0.18-300.fc37.x86_64.x86_64 3:525.60.11-1.fc37 @@commandline
nvidia-gpu-firmware.noarch 20221214-145.fc37 @updates
nvidia-settings.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64 3:525.60.11-1.fc37 @rpmfusion-nonfree-nvidia-driver
Also after running : inxi -Fzxx
The output is :
System:
Kernel: 6.0.18-300.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.38-25.fc37 Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell
dm: GDM Distro: Fedora release 37 (Thirty Seven)
Machine:
Type: Laptop System: Dell product: XPS 9315 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0GNN3X v: A00 serial: <superuser required> UEFI: Dell
v: 1.6.1 date: 11/22/2022
Battery:
ID-1: BAT0 charge: 40.6 Wh (83.9%) condition: 48.4/50.2 Wh (96.4%)
volts: 12.7 min: 11.6 model: BYD DELL G9FHC25 serial: <filter>
status: discharging
CPU:
Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i7-1250U bits: 64
type: MST AMCP arch: Alder Lake rev: 4 cache: L1: 928 KiB L2: 6.5 MiB
L3: 12 MiB
Speed (MHz): avg: 1785 high: 1900 min/max: 400/4700:3500 cores: 1: 1900
2: 530 3: 1900 4: 1900 5: 1900 6: 1900 7: 1900 8: 1900 9: 1900 10: 1900
11: 1900 12: 1900 bogomips: 45158
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-UP4 GT2 [Iris Xe Graphics] vendor: Dell
driver: i915 v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: DP-1,
DP-2, DP-3, DP-4, DP-5, HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:46aa
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.7
compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96
Monitor-1: eDP-1 model: Sharp 0x1548 res: 1920x1200 dpi: 169
diag: 340mm (13.4")
API: OpenGL v: 4.6 Mesa 22.3.2 renderer: Mesa Intel Graphics (ADL GT2)
direct render: Yes
Audio:
Device-1: Intel vendor: Dell driver: N/A bus-ID: 0000:00:05.0
chip-ID: 8086:465d
Device-2: Intel vendor: Dell driver: sof-audio-pci-intel-tgl
bus-ID: 0000:00:1f.3 chip-ID: 8086:51cc
Sound API: ALSA v: k6.0.18-300.fc37.x86_64 running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 0000:00:14.3 chip-ID: 8086:51f0
IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:5
chip-ID: 8087:0033
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:467f
Drives:
Local Storage: total: 476.94 GiB used: 13.8 GiB (2.9%)
ID-1: /dev/nvme0n1 vendor: Phison model: ESE2A044-512 NVMe 512GB
size: 476.94 GiB speed: 31.6 Gb/s lanes: 2 serial: <filter> temp: 36.9 C
Partition:
ID-1: / size: 475.35 GiB used: 13.56 GiB (2.9%) fs: btrfs
dev: /dev/nvme0n1p3
ID-2: /boot size: 973.4 MiB used: 222.3 MiB (22.8%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 475.35 GiB used: 13.56 GiB (2.9%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Use of uninitialized value $unit in concatenation (.) or string at /usr/bin/inxi line 24273.
Use of uninitialized value $value in concatenation (.) or string at /usr/bin/inxi line 24273.
Sensors:
Src: /sys System Temperatures: cpu: 44.0 C mobo: N/A
Fan Speeds (RPM): N/A
Power: 12v: N/A 5v: 5 3.3v: N/A vbat: N/A
Info:
Processes: 360 Uptime: 19m Memory: 15.25 GiB used: 3.18 GiB (20.8%)
Init: systemd v: 251 target: graphical (5) default: graphical Compilers:
gcc: 12.2.1 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 21
Shell: Bash v: 5.2.15 running-in: kitty inxi: 3.3.24
Have you tried to load the modules manually?
sudo modprobe nvidia
to try and load them then lsmod | grep nvidia
to see if they are now loaded.
The fact that is an eGPU probably means it cannot load the modules automatically during startup but you should be able to load them after starting.
If you can then it seems likely that you may be able to create a udev rule or a systemd service to load the modules after the kernel is loaded but before starting graphics so the system can use it when you log in.
When using sudo modprobe nvidia
I get :
modprobe: ERROR: could not insert 'nvidia': No such device
Apparently the eGPU is not recognized.
To find out what the system sees when it is connected first boot with it not attached.
Then in a terminal run journalctl -f
.
While watching what shows up in that terminal attach the eGPU.
Post the output of that here so we can see what the system tells you about the device.
@computersavvy Thank you so much ! I really appreciate that. When running the journalctl -f, I notice that the thunderbolt cable is switched with regular type c when installing the card. I bought new thunderbolt cable and the eGpu powered up. I now can see the nvidia card. However, the laptop now freezes when hooked up with eGpu unit on xorg and doesn’t open any other application on Wayland. I’m thinking of switching back to Fedora 36 to see if the system responds better.