Pci passthrough - Not working -

issa2020

Member
Sep 9, 2020
43
1
8
Hello there,
so

i folow the how to here : https://pve.proxmox.com/wiki/Pci_passthrough and here https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/

but no way to start the graphics card on the VM

can u help me to found what is wrong please :



so this my config VM :

Code:
args: -set drive.drive-scsi0.readonly=on -drive 'file=/dev/mapper/pve-vm--100--disk--0,if=none,id=drive-usb0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'usb-storage,drive=rive-usb0,bootindex=1,removable=on'
bios: ovmf
boot: order=scsi0
cores: 4
machine: q35
memory: 2048
name: batocera
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,discard=on,size=128G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=5394a7e3-74cd-4301-b4ab-74f33e410cc8
sockets: 1
tablet: 0
vmgenid: 3622ec6c-b356-4635-929c-62918f6337ae

[PENDING]
hostpci0: 01:00.0,pcie=1



in my VM i got this error :

1612610869577.png


My hardware configuration on the web access of PROXMOX :



1612610896029.png

what do u think is wrong please

Hello so i do a video of my VM creation with my Graphics card

https://www.youtube.com/watch?v=4t3tjApqsrM
 
Last edited:

avw

Renowned Member
May 31, 2020
1,025
177
63
Currently, your passthrough setting is not yet applied and this might be (one of) the reason(s) that it is not working for you. If the configuration file has a [PENDING] section, you need to shut down the VM and wait until the changes are applied (no longer orange in the web interface). Sometimes this does not happen and you need to change something and change it back while the VM is not running.
 

issa2020

Member
Sep 9, 2020
43
1
8
Hello thanks to help me


so on my hardware settings i got all black no orange config :

1612692497165.png


and still got the same error on my VM :

if i do a linux LCPI :


1612692586909.png

i can see my graphics card

but the linux don't start on it ?
 

avw

Renowned Member
May 31, 2020
1,025
177
63
There are two VGAs: 00:01.0 (virtual) and 01:00.0 (nvidia). VM is probably using the first one. Change Display from Default to None or add a virtual serial port and use that as Display. Or maybe you need to enable Primary GPU (for hostpi0) for nvidia?
 

issa2020

Member
Sep 9, 2020
43
1
8
Hello i don't understand :

u do this conf :
1612711968882.png


but the serveur start, but i got no screen :'(

1612711997656.png


SSH works but no screen !

1612712042934.png

im stuck here :/
 

avw

Renowned Member
May 31, 2020
1,025
177
63
No screen with noVNC is good, now there is just one VGA. I don't know what you need to do for NVidia GT710 to work.
If you want two VGAs (one virtual with noVNC) then you need to tell Linux VM to use second VGA (maybe via xorg.conf?).
Have you tried enabling Primary GPU (for PCI device (hostpci0))? Have you tried installing nvidia drivers in VM?
 

issa2020

Member
Sep 9, 2020
43
1
8
My way is start the VM with graphics on VNC on other computer.

not on the PROXMOX serveur.
 

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 your own in 60 seconds.

Buy now!