Skip to content

Instantly share code, notes, and snippets.

View notjl's full-sized avatar
🐙
:q!

tako notjl

🐙
:q!
View GitHub Profile
@notjl
notjl / optimus_laptop_gpu_passthrough.md
Last active July 28, 2024 01:17
NVIDIA Optimus Laptop GPU Passthrough (ASUS TUF FX505DT)

Optimus Laptop GPU Passthrough

This guide assumes that you have a CPU that supports hardware virtualization and IOMMU. If you have queries regarding the pre-requisities of this guide, you can check the ArchWiki. In case, you are still confuse how to do the prior steps, they will be provided still.

If you are using FX505DT, then you're in luck.

This guide assumes that you have installed qemu virt-manager ebtables dnsmasq vde2 iptables-nft edk2-ovmf using your distro's package manager.

Setting up IOMMU

Go to the UEFI (BIOS) and enable:

If you are on an AMD platform: AMD-Vi