Matoking / NVIDIA-vBIOS-VFIO-Patcher

A Python script to patch NVIDIA vBIOS dumps into a format compatible with VFIO passthrough
Creative Commons Zero v1.0 Universal
244 stars 52 forks source link

rtx series #10

Open deoeztuerk opened 5 years ago

deoeztuerk commented 5 years ago

can you please add support for newer rtx 20xx cards? I go crazy having no vfio support

Matoking commented 5 years ago

I've switched to AMD Vega and have pretty much given up on VFIO since Proton, DXVK and the like have made the whole setup redundant, at least for my use cases. Because of that, I don't work on this script anymore aside from reviewing and merging any pull requests that other contributors have made.

However, if there's someone around who wants to give this a shot, I'd be happy to merge the pull request provided that there are a few confirmations that the patch actually works and isn't resulting in bricked GPUs. I also have no idea if the same "splice a vBIOS dump and give it to libvirt" hack works with the RTX series or if it requires a different approach.

deoeztuerk commented 5 years ago

I think that it could work but when i use the patch on the 2070s bios it just tells me thst it cant identify the header

deoeztuerk commented 5 years ago

i added the testing repo to proxmox and did a dist upgrade. I added hostpci0: 04:00,pcie=1,x-vga=on,romfile=vbios.bin to the id.conf and now the vm comes up and vnc is working then i select the virtiogpu.

nvidia-smi is working and displaying the passthroughed graphic card. nvidia-settings is not working: Unable to init server: Verbindung ist gescheitert:Verbindungsaufbau abgelehnt

Marvo2011 commented 4 years ago

11 Try the PullRequest - The GTX16XX patch seems to be working on RTX 20XX Cards.