Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| post_install_script_proxmox_8.2.x [2025/01/08 14:35] – créée gevorg | post_install_script_proxmox_8.2.x [2025/02/06 12:55] (Version actuelle) – [Step 6: Adding GPU to VFIO] gevorg | ||
|---|---|---|---|
| Ligne 258: | Ligne 258: | ||
| exécuter le script: | exécuter le script: | ||
| < | < | ||
| + | |||
| + | Répondre oui pour tout les questions permet d' | ||
| + | |||
| + | ====== Passthrou ====== | ||
| + | |||
| + | Step by Step tasks: | ||
| + | |||
| + | ===== Step 1: Edit GRUB ===== | ||
| + | | ||
| + | |||
| + | Execute: nano / | ||
| + | Change this line from | ||
| + | | ||
| + | to | ||
| + | | ||
| + | Save file and exit the text editor | ||
| + | |||
| + | ===== Step 2: Update GRUB ===== | ||
| + | | ||
| + | Execute the command: | ||
| + | update-grub | ||
| + | |||
| + | ===== Step 3: Edit the module files ===== | ||
| + | |||
| + | Execute: | ||
| + | nano / | ||
| + | Add these lines: | ||
| + | vfio | ||
| + | | ||
| + | | ||
| + | | ||
| + | Save file and exit the text editor | ||
| + | |||
| + | ===== Step 4: IOMMU remapping ===== | ||
| + | | ||
| + | a) Execute: | ||
| + | nano / | ||
| + | Add this line: | ||
| + | | ||
| + | Save file and exit the text editor | ||
| + | b) Execute: | ||
| + | nano / | ||
| + | Add this line: | ||
| + | | ||
| + | Save file and exit the text editor | ||
| + | |||
| + | ===== Step 5: Blacklist the GPU drivers ===== | ||
| + | |||
| + | Execute: | ||
| + | nano / | ||
| + | Add these lines: | ||
| + | blacklist radeon | ||
| + | blacklist nouveau | ||
| + | blacklist nvidia | ||
| + | blacklist nvidiafb | ||
| + | Save file and exit the text editor | ||
| + | |||
| + | ===== Step 6: Adding GPU to VFIO ===== | ||
| + | a) Execute: | ||
| + | lspci -v | ||
| + | Look for your GPU and take note of the first set of numbers | ||
| + | b) Execute | ||
| + | lspci -n -s (PCI card address) | ||
| + | This command gives you the GPU vendors number. | ||
| + | c) Execute: | ||
| + | |||
| + | nano / | ||
| + | |||
| + | Add this line with your GPU number and Audio number: | ||
| + | |||
| + | options vfio-pci ids=(GPU number, | ||
| + | exemle: | ||
| + | options vfio-pci ids=10de: | ||
| + | Save file and exit the text editor | ||
| + | |||
| + | ===== Step 7: Command to update everything and Restart ===== | ||
| + | a) Execute: | ||
| + | | ||
| + | b) Then restart the your Proxmox Node | ||
| + | |||