111 lines
1.4 KiB
Markdown
111 lines
1.4 KiB
Markdown
---
|
|
title: GPU PASSTHROUGH
|
|
publish: true
|
|
date: 2026-02-18
|
|
tags:
|
|
- guide
|
|
description:
|
|
---
|
|
|
|
# GPU PASSTHROUGH
|
|
|
|
## Overview
|
|
|
|
What this guide covers and what you'll accomplish.
|
|
|
|
## Prerequisites
|
|
|
|
- Requirement 1
|
|
- Requirement 2
|
|
- Required knowledge
|
|
|
|
## What You'll Need
|
|
|
|
- Hardware/software requirements
|
|
- Tools
|
|
- Access requirements
|
|
|
|
## Steps
|
|
|
|
### Step 1: Setup
|
|
|
|
|
|
|
|
```bash
|
|
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
|
|
echo "blacklist nvidia*" >> /etc/modprobe.d/blacklist.conf
|
|
```
|
|
|
|
|
|
```bash
|
|
lspci -v
|
|
```
|
|
|
|
You should find the id of your device, in my case it is 01:00 which is pretty common.
|
|
|
|
Then look out for the specific code of your device.
|
|
|
|
```bash
|
|
lspci -n -s 01:00
|
|
```
|
|
|
|
Then you just have to add it to vfio.
|
|
|
|
```bash
|
|
echo "options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1" > /etc/modprobe.d/vfio.conf
|
|
```
|
|
|
|
|
|
```bash
|
|
update-initramfs -u
|
|
```
|
|
|
|
```bash
|
|
reboot now
|
|
```
|
|
|
|
### Step 2: Configuration
|
|
|
|
Continue with configuration steps.
|
|
|
|
```bash
|
|
# More commands
|
|
```
|
|
|
|
### Step 3: Verification
|
|
|
|
How to verify everything is working.
|
|
|
|
```bash
|
|
# Verification commands
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
### Issue 1
|
|
|
|
**Problem**: Description of the problem
|
|
|
|
**Solution**: How to fix it
|
|
|
|
### Issue 2
|
|
|
|
**Problem**: Description
|
|
|
|
**Solution**: Fix
|
|
|
|
## Next Steps
|
|
|
|
- What to do after completing this guide
|
|
- Related guides
|
|
- Advanced configurations
|
|
|
|
## References
|
|
|
|
- Links to documentation
|
|
- Related resources
|
|
|
|
---
|
|
|
|
*Created: 2026-02-18*
|