How to do a nVidia GPU passthrough on an optimus MUXless laptop?

Hello.

Post your terminal/konsole in- and output as text (no pictures) from:

System:
Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=7c56c5ab-0423-4626-af13-e905e8ebcb6b rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=*********************************** loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Nitro AN515 v: V1.33
serial: <superuser required>
Mobo: CFL model: Octavia_CFS v: V1.33 serial: <superuser required>
UEFI: Insyde v: 1.33 date: 11/17/2020
Battery:
ID-1: BAT1 charge: 44.5 Wh (100.0%) condition: 44.5/57.5 Wh (77.5%)
volts: 16.6 min: 15.4 model: LGC AP18E8M type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i5-9300H bits: 64 type: MT MCP
arch: Coffee Lake family: 6 model-id: 0x9E (158) stepping: 0xA (10)
microcode: 0xEC
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 1400 min/max: 800/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 1400 2: 1400 3: 1400
4: 1400 5: 1400 6: 1400 7: 1400 8: 1400 bogomips: 38400
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes,
SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Acer Incorporated ALI driver: i915 v: kernel ports:
active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:3e9b
class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
vendor: Acer Incorporated ALI driver: nvidia v: 510.60.02
alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s lanes: 16
ports: active: none empty: HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:1f91 class-ID: 0300
Device-3: Chicony HD User Facing type: USB driver: uvcvideo
bus-ID: 1-5:2 chip-ID: 04f2:b64f class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia 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: LG Display 0x065a built: 2019 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
v: 4.6 Mesa 22.0.2 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA vendor: Acer Incorporated ALI driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:10fa class-ID: 0403
Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: yes
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 07:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp7s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:2723
class-ID: 0280
IF: ap0 state: up mac: <filter>
IF-ID-1: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
mac: <filter>
IF-ID-2: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-3: wlp8s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-14:3 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 1.14 TiB used: 631.86 GiB (54.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
model: 2200 MTFDHBA256TCK size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: P1MA003 temp: 52.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM049-2GH172
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: ACM1
scheme: GPT
Partition:
ID-1: / raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 52.04 GiB (22.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 52.04 GiB (22.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 52.04 GiB (22.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 52.04 GiB (22.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: swap-2 type: zram size: 7.6 GiB used: 2.01 GiB (26.4%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 90.0 C pch: 88.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 334 Uptime: 1d 12h 4m wakeups: 1 Memory: 7.6 GiB
used: 6.29 GiB (82.7%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1474 lib: 412 Shell: fish
v: 3.4.1 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-03-23
Last full system update: 2022-04-27 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            grub-btrfs-snapper.path grub-btrfs-snapper.service shadow.service

System is a 2019 Model Acer Nitro 5 with nVidia 1650 and intel i5 9300H with iGPU

My question is can you describe or share a guide on how to run Windows 10 inside Garuda with GPU passthrough for nvidia ,
Also system is Muxless like most modern laptops .

https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF

2 Likes

That guide , sadly does not covers how to for optimus laptops thus I am unwilling to follow its instructions

This is from another Garuda user for Muxless and Optimus

Hope this helps. Also, after reading through some of that, I will wish you good luck and success.

3 Likes

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