[pci-passthrought] add graphic-card to a vm.

Olichous

New Member
Dec 15, 2014
3
0
1
Hello,

I hope i'am on the right place to ask for help to my problem.
I have install proxmox recently.
This my version of proxmox :
Code:
root@xx:~# pveversion -v
proxmox-ve-2.6.32: 3.3-139 (running kernel: 3.10.0-1-pve)
pve-manager: 3.3-5 (running version: 3.3-5/bfebec03)
pve-kernel-3.10.0-1-pve: 3.10.0-5
pve-kernel-2.6.32-34-pve: 2.6.32-139
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-1
pve-cluster: 3.0-15
qemu-server: 3.3-3
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-15
libpve-storage-perl: 3.0-25
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-10
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

I had on my hardware a graphic card [RADEON] to dedicate it to a VM via the PCI-PASSTHROUGHT way.
There is my lspci :
Code:
root@paladium:~# lspci
00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Haswell PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation Device 8cb1
00:16.0 Communication controller: Intel Corporation Device 8cba
00:19.0 Ethernet controller: Intel Corporation Device 15a1
00:1a.0 USB controller: Intel Corporation Device 8cad
00:1b.0 Audio device: Intel Corporation Device 8ca0
00:1c.0 PCI bridge: Intel Corporation Device 8c90 (rev d0)
00:1c.3 PCI bridge: Intel Corporation Device 8c96 (rev d0)
00:1d.0 USB controller: Intel Corporation Device 8ca6
00:1f.0 ISA bridge: Intel Corporation Device 8cc4
00:1f.2 SATA controller: Intel Corporation Device 8c82
00:1f.3 SMBus: Intel Corporation Device 8ca2
[B]01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450/6350][/B]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series]
03:00.0 Network controller: Broadcom Corporation Device 43b1 (rev 03)

I follow this tutorial :
https://pve.proxmox.com/wiki/Pci_passthrough

This my /etc/default/grub :
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=on"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="radeon.modeset=0"

I try this dmesg | grep -e DMAR -e IOMMU
but nothing came up.

I had this to my xxx.conf :
machine: q35
hostpci0: 01:00,x-vga=on,pcie=1,driver=vfio
I starting my VM :
Code:
root@xxx:/etc/pve/qemu-server# qm start 102
Cannot open iommu_group: Aucun fichier ou dossier de ce type

I try this too but nothing works :
Code:
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.confI'am a little loss now ..

Someone manage to get this tutorial working ?

Thanks in advance.

Olivier
 
Hello,

Thanks for your Answer
I already checked ans i do not find anything! But I'm gonna check again!
I will keep you informed!

Olivier
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!