NVIDIA eGPU issues

Greetings!

I daily drive Garuda on my Dell xps 13 and I have decided to buy an eGPU - Lenovo Booststation with NVidia RTX2060. I have connected it to my laptop (I do have Thunderbolt 4) and plugged my monitor, keyboard and mouse into the eGPU dock.
First boot: Everything runs except for a very, VERY poor performance on the monitor. Animations lagging, very low fps. lspci -k shows the card to be using the nouveau driver. I tried some googling and figured I could try NVidia drivers.
NVidia path: I installed the nvidia-open-dkms as I figured it was the closest to my setup (on the arch wiki). Boot up, monitor does not work, lspci -k shows the card to use nvidia driver.
NVidia with linux kernel path: I tried installing the nvidia package instead and booted with linux kernel (I normally use the linux-zen one). System does not boot.

What is the recommended setup for it to work correctly, please?

Notes:

  1. I would love to use the GPU in blender - my internal GPU is slow for the work I have to do in it. In any case described above I could not make Blender use the eGPU.
  2. My system is partially updated, as seen in my garuda-inxi - it is because in today's update the openimageio got updated and rendered Blender unopenable - so I downgraded the openimageio package back to 2.4.5.
  3. There is dual boot on my laptop. I use Windows strictly for gaming and I have tested the eGPU today and it works well (only issue is that I can not see the SSD included in the dock in my filesystem, but that is a Windows issue and certainly not to be resolved here).
  4. I do apologize for my incompetence to solve this issue myself, although studying for a CS degree I happen to have almost zero knowledge about GPU issues on Linux (as the integrated Intel Iris works flawlessly). I tried searching up the arch-wiki and generally google, but with no luck to find the working solution to this problem.

Thank you for any advice. I hope I included all that I could for easier troubleshooting.

Garuda-inxi:

System:
Kernel: 6.0.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=39cf3705-1f93-4949-b743-83f376b02d13 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 13 9305 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0PPYW4 v: A02 serial: <superuser required> UEFI: Dell
v: 1.10.0 date: 09/08/2022
Battery:
ID-1: BAT0 charge: 43.3 Wh (100.0%) condition: 43.3/52.0 Wh (83.3%)
volts: 8.4 min: 7.6 model: SMP DELL G8VCF6C type: Li-poly serial: <filter>
status: full
CPU:
Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xA6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 2895 high: 4486 min/max: 400/4700 scaling:
driver: intel_pstate governor: powersave cores: 1: 1859 2: 4100 3: 4100
4: 3724 5: 1953 6: 4486 7: 400 8: 2538 bogomips: 44851
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: ZOTAC
driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 520.xx+
status: current (as of 2022-10) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.0
chip-ID: 10de:1f08 class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-3:3 chip-ID: 0c45:6723 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: modesetting unloaded: nouveau,nvidia
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: AU Optronics 0x5b2d built: 2018 res: 1920x1080
hz: 60 dpi: 166 gamma: 1.2 size: 293x162mm (11.54x6.38") diag: 335mm (13.2")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio vendor: ZOTAC
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.1
chip-ID: 10de:10f9 class-ID: 0403
Sound API: ALSA v: k6.0.11-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: a5:00.0
chip-ID: 8086:2723 class-ID: 0280
IF: wlp165s0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 8-1:2 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp7s0u1 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-1:2
chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 953.59 GiB used: 212.54 GiB (22.3%)
ID-1: /dev/mmcblk0 maj-min: 179:0 model: NCard size: 29.51 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KBG40ZNS512G
NVMe KIOXIA 512GB size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 10410106 temp: 52.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 type: USB vendor: A-Data model: SU650
size: 447.13 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter>
Partition:
ID-1: / raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.45 GiB (79.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 190 MiB size: 186 MiB (97.89%)
used: 93.8 MiB (50.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.45 GiB (79.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-4: /var/log raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.45 GiB (79.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-5: /var/tmp raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.45 GiB (79.1%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.36 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 76.0 C mobo: 48.0 C
Fan Speeds (RPM): cpu: 4681 fan-2: 4423
Info:
Processes: 317 Uptime: 0m wakeups: 1 Memory: 15.36 GiB used: 5.3 GiB (34.5%)
Init: systemd v: 252 default: graphical tool: systemctl Compilers:
gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 2129 libs: 495
tools: octopi,pamac,paru,yay Shell: fish v: 3.5.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.23
Garuda (2.6.10-1):
System install date:     2021-10-15
Last full system update: 2022-12-05
Is partially upgraded:   Yes
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

No no no no just revert a snapshot and start over. What you're looking for is sudo mhwd -a pci nonfree 0300

To run stuff on Nvidia, this article also applies to you: Switching between integrated and dedicated graphics | Garuda Linux wiki

Afaik, blender uses opencl, and afaik the command I gave you installs opencl for you.

2 Likes

Thank you for your quick response!
I installed mhwd and ran the command, got 'failed to start: Load Kernel Modules' on boot. Second try got stuck on boot without the failure message.
Restored the pre changes snapshot so I can boot again.

I looked into logs and found some errors that might or might not be related:

ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20220331/psargs-330)
ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20220331/psparse-529)

...

nvidia-gpu 0000:04:00.3: i2c timeout error e00000
ucsi_ccg 13-0008: i2c_transfer failed -110
ucsi_ccg 13-0008: ucsi_ccg_init failed - -110
ucsi_ccg: probe of 13-0008 failed with error -110

Update: read the arch wiki once again and added 'ibt=off' to my kernel parameters, ran mhwd and succesfully booted into my system again, but my monitor is not working (not even detected). lspci shows the card to be using the nvidia driver. Current garuda-inxi is here:

System:
Kernel: 6.0.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=39cf3705-1f93-4949-b743-83f376b02d13 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 13 9305 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0PPYW4 v: A02 serial: <superuser required> UEFI: Dell
v: 1.10.0 date: 09/08/2022
Battery:
ID-1: BAT0 charge: 43.3 Wh (100.0%) condition: 43.3/52.0 Wh (83.3%)
volts: 8.4 min: 7.6 model: SMP DELL G8VCF6C type: Li-poly serial: <filter>
status: full
CPU:
Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xA6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1109 high: 2800 min/max: 400/4700 scaling:
driver: intel_pstate governor: powersave cores: 1: 573 2: 590 3: 1081
4: 2800 5: 1200 6: 964 7: 859 8: 811 bogomips: 44851
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:9a49 class-ID: 0300
Device-2: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: ZOTAC
driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 520.xx+
status: current (as of 2022-10) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.0
chip-ID: 10de:1f08 class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-3:3 chip-ID: 0c45:6723 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: modesetting unloaded: nouveau,nvidia
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: AU Optronics 0x5b2d built: 2018 res: 1920x1080
hz: 60 dpi: 166 gamma: 1.2 size: 293x162mm (11.54x6.38") diag: 335mm (13.2")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio vendor: ZOTAC
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.1
chip-ID: 10de:10f9 class-ID: 0403
Sound API: ALSA v: k6.0.11-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: a5:00.0
chip-ID: 8086:2723 class-ID: 0280
IF: wlp165s0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 8-1:2 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp7s0u1 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-1:2
chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 953.59 GiB used: 212.15 GiB (22.2%)
ID-1: /dev/mmcblk0 maj-min: 179:0 model: NCard size: 29.51 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KBG40ZNS512G
NVMe KIOXIA 512GB size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 10410106 temp: 43.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 type: USB vendor: A-Data model: SU650
size: 447.13 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> scheme: GPT
Partition:
ID-1: / raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.06 GiB (79.0%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 190 MiB size: 186 MiB (97.89%)
used: 93.8 MiB (50.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.06 GiB (79.0%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-4: /var/log raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.06 GiB (79.0%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-5: /var/tmp raw-size: 268.55 GiB size: 268.55 GiB (100.00%)
used: 212.06 GiB (79.0%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.36 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 47.0 C mobo: 42.0 C
Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
Processes: 326 Uptime: 3m wakeups: 6 Memory: 15.36 GiB
used: 5.25 GiB (34.2%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
pkgs: 2166 libs: 504 tools: octopi,pamac,paru,yay Shell: fish v: 3.5.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.23
Garuda (2.6.10-1):
System install date:     2021-10-15
Last full system update: 2022-12-05
Is partially upgraded:   Yes
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

What happens if you delete /etc/modprobe.d/nvidia-prime-powersaving.conf?

Unfortunatelly, nothing changes.

When I run nvidia-xconfig, this xorg.conf is generated. Does it seem right? After running this and rebooting, the system no longer boots.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 525.60.11

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

Section "Files"
EndSection

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

Section "InputDevice"
# generated from default
Identifier     "Keyboard0"
Driver         "kbd"
EndSection

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

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BusID          "PCI:4:0:0"
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
SubSection     "Display"
Depth       24
EndSubSection
EndSection

That just seems to be the state of NVIDIA nowadays, and there is really nothing anyone can do about it as far as I can tell. This used to work a while ago, and then it broke/seems to work quite spuriously. Try giving wayland a shot instead, maybe?

You should check your Xorg log file for the issue in that case.

Oof, transition to wayland seems a bit risky, isn't it? I heard things break in wayland...

About the Xorg log - I'm sorry, but I can not find the log - the only log I can see is the one from the current boot - which in my case is irrelevant as I can't boot after nvidia-xconfig. Where can the Xorg log from the unsuccessful boot be found?

You can always go back, afterall. It’s just a protocol, not a permanent change. sudo pacman -S plasma-wayland-session and then switch to it from the login screen in the bottom left corner.

Honestly, I just suggest grabbing it from the TTY during the failed boot or in runlevel 3/multi-user.target. Or if you want you can mess around with journalctl, but honestly I think the former way is just easier for me :sweat_smile:

1 Like

Well, tried Wayland and found out that it is quite broken - my issues did not get resolved ad other arose (e.g. latte-dock throwing SIGSEGVs).

How can I connect to the TTY during a failed boot? (by failed boot I mean being stuck on 'loading initramfs' without being able to do anything)

Ok, everything works well now. For anybody facing the same issues, here are the simple steps that helped me set my NVidia eGPU correctly under Garuda.

  1. Plug everything in, turn on the eGPU and then boot for the first time -> however it decides to load and set up everything, just make a snapshot so that you always can return to this default state.
  2. Check that lspci -k shows your eGPU - default driver is nouveau, which in my case worked poorly.
  3. garuda-update && sudo pacman -S mhwd will install the NVidia driver auto installer.
  4. sudo mhwd -a pci nonfree 0300 will install the correct NVidia drivers for you.
  5. sudo micro /etc/default/grub, then append ibt=off to the line beggining with GRUB_CMDLINE_LINUX_DEFAULT. Save the file and run sudo update-grub. This is a workaround for newer kernels to be able to boot with NVidia drivers - according to NVIDIA - ArchWiki.
  6. I always rebooted at this stage, but I believe it was not necessary.
  7. yay -S egpu-switcher will install a great tool that will automatically set up your eGPU for Xorg.
  8. egpu-switcher config where you select your eGPU, then egpu-switcher enable to enable egpu-switcher to run at startup and finally egpu-switcher switch to create the right configs.
  9. Reboot and pray for everything to work flawlessly.

Then, you can monitor and control the eGPU through nvidia-settings and GreenWithEnvy.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.