<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 3, 2015 at 2:33 PM, Leonardo Caldas <span dir="ltr"><<a href="mailto:leonardo.caldas@xleox.org" target="_blank">leonardo.caldas@xleox.org</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">As I see, none of the roms in the list you sent has UEFI support. I tried the first one, without success.<br>I got the files from the Gigabyte repositories, but I have no idea on how to extract the rom file I need.<br></div></div></blockquote><div><br></div><div>Actually this one is quite easy, here are the steps:</div><div><br></div><div>1) Download vga_bios_n680oc2gd_f5.exe from your previous link</div><div>2) If necessary install wine and run 'wine vga_bios_n680oc2gd_f5.exe'</div><div>3) It will prompt for a location to save the file.</div><div>4) By inspection with xxd, the ROM image starts at 1K offset into that file and appears to be 143K long.  Therefore, run 'dd if=N680O2GD.F5 of=N680O2GD.F5.rom bs=1k skip=1 count=143'</div><div><br></div><div>Which results in:</div><div><br></div><div>$ ./rom-parser N680O2GD.F5.rom</div><div>Valid ROM signature found @0h, PCIR offset 190h</div><div><span class="" style="white-space:pre">      </span>PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1180, class: 030000</div><div><span class="" style="white-space:pre">        </span>PCIR: revision 0, vendor revision: 1</div><div>Valid ROM signature found @fc00h, PCIR offset 1ch</div><div><span class="" style="white-space:pre">       </span>PCIR: type 3 (EFI), vendor: 10de, device: 1180, class: 030000</div><div><span class="" style="white-space:pre">      </span>PCIR: revision 3, vendor revision: 0</div><div><span class="" style="white-space:pre">               </span>EFI: Signature Valid, Subsystem: Boot, Machine: X64</div><div><span class="" style="white-space:pre">        </span>Last image</div><div><br></div><div>My rom tool can even find these without stripping off all the cruft off, but some of it clearly looks non-ROM related.  You can even get a ROM with only UEFI support by just getting the second image: dd if=N680O2GD.F5 of=N680O2GD.F5.rom.uefi bs=1k skip=64 count=80</div><div> </div><div>I make no guarantees that these will work, I'd try it if it was my hardware.  I'll attach the files, just unzip, pick one and use it as a romfile= option with QEMU vfio-pci.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I'll try to get an extra harddisk and make a basic Windows instalation, so that I can flash the GPU using it.<br></div><div class="gmail_extra">This is probably the way to go. Is this VGA arbitration method you told about too hard to accomplish?</div></div></blockquote><div><br></div><div>With Intel host graphics it will disable DRI on the host and you'll need to always be patching your host kernel to fix the i915 driver to participate in VGA arbitration. </div></div></div></div>