<div dir="ltr">I got one working configuration now after trying various permutations:<div> - switched back to AMD 5450 card, couldnt get NVidia out of "Code 43" </div><div> - use "-vga qlx", however disabling display-0 it in win10 in "Display settings".</div><div>   Using "-vga none" would'nt boot (probably because the passthrough card </div><div>   will be the primary in the guest and that would make problems because of</div><div>   not beeing initialized ?). With "-vga qlx" the OVMF bootscreen is shown in spice</div><div>   while the windows login will appear on the main monitor.</div><div> - Not using romfiles, when using seabios boot and romfiles with AMD</div><div>   CPU0 would fiddle around in 0xc00xx region without progress (info cpus), </div><div>   not shure what it is doing or howto find out (enable seabios serial?).  Romfiles for AMD in uefi guest </div><div>   wouldn't make a noticable difference (maybe my romfiles are for  legacy and are ignored ?).</div><div> - use "<span style="font-family:monospace"><span style="color:rgb(0,0,0)">video=efifb:off" to prevent efifb to switch in</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><font color="#000000" face="monospace">Having some kind of baseline now I'll try to see weather I</font></div><div><font color="#000000" face="monospace">can understand how romfiles work and try to dump it for NVidia </font><span style="color:rgb(0,0,0);font-family:monospace">710b also</span><span style="color:rgb(0,0,0);font-family:monospace">. </span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Amazing how complicated it </span><span style="color:rgb(0,0,0);font-family:monospace">is to setup passthrough.</span></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace"><br></font></div><div><font color="#000000" face="monospace"><br></font></div><div><span style="font-family:monospace"><font color="#000000"> <br></font></span><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Am Di., 21. Aug. 2018 um 04:19 Uhr schrieb Alex John <<a href="mailto:alex@stty.io">alex@stty.io</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Aug 20, 2018 at 05:41:57PM +0200, Konrad Eisele wrote:<br>
> How can I dump the rom image?<br>
> I used<br>
> $cd /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0<br>
> $echo 1>rom<br>
> $cat rom > /mnt/nvidia_bios.rom<br>
<br>
This method did not work for me with a 1080 GTX. I reseated the GPU in PCIe lane<br>
2 of my botherboard, swapped primary GPU to the iGPU and then dumped the rom<br>
using nvflash.<br>
<br>
While the device was still the primary GPU (after reseating and rebooting), I<br>
had to use a patching utility[0] before it could be passed through.<br>
<br>
Thanks<br>
Alex<br>
<br>
[0] <a href="https://github.com/Matoking/NVIDIA-vBIOS-VFIO-Patcher" rel="noreferrer" target="_blank">https://github.com/Matoking/NVIDIA-vBIOS-VFIO-Patcher</a><br>
<br>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</blockquote></div>