<div dir="ltr">2015-11-03 19:14 GMT-03:00 Alex Williamson <span dir="ltr"><<a href="mailto:alex.l.williamson@gmail.com" target="_blank">alex.l.williamson@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">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:1px solid rgb(204,204,204);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></span><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><span class=""><div>Valid ROM signature found @0h, PCIR offset 190h</div><div><span style="white-space:pre-wrap">        </span>PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1180, class: 030000</div><div><span style="white-space:pre-wrap">      </span>PCIR: revision 0, vendor revision: 1</div></span><div>Valid ROM signature found @fc00h, PCIR offset 1ch</div><div><span style="white-space:pre-wrap">        </span>PCIR: type 3 (EFI), vendor: 10de, device: 1180, class: 030000</div><div><span style="white-space:pre-wrap">    </span>PCIR: revision 3, vendor revision: 0</div><div><span style="white-space:pre-wrap">             </span>EFI: Signature Valid, Subsystem: Boot, Machine: X64</div><div><span style="white-space:pre-wrap">      </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><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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></span><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>
</blockquote></div><br></div><div class="gmail_extra"><br>Thank you very much for your interest.<br><br></div><div class="gmail_extra">Well, I used your files... also tried to generate my own using your suggestions (and passing them as parameters to "romfile"), but it keeps without video signal...<br></div><div class="gmail_extra">Is there any logs I could possibly analyze in order to see whether the romfile parameter is working?<br><br></div><div class="gmail_extra">I'm sorry for asking so many questions...<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Atenciosamente,<br><br>Leonardo Caldas<br><a href="mailto:leonardo.caldas@xleox.org" target="_blank">leonardo.caldas@xleox.org</a></div>
</div></div>