<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Well. If it works for you, it doesn't matter what method you have
used. For me, ROM's from that site didn't have UEFI at all, at
least it wasn't working with my VM, so i've went onto my card's
vendor (MSI) forum and looked up threads where they ask for UEFI
ROMs, striped it and it works like a charm now.<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/19/2016 07:15 PM, Thomas Mashos
wrote:<br>
</div>
<blockquote
cite="mid:CAMYrPp3W02BXFP0eo4HdtLGgKgtVGfPLXpc6HVHpt20zij6w0A@mail.gmail.com"
type="cite">
<div dir="ltr">I did read your previous email and I tried that, it
didn't work for me. However, it's possible that I didn't have
the right rom file the first time. The one I had tried loading
via the XML file I had gotten by googleing as you had suggested.
The one I flashed I got after doing a card lookup on this site <a
moz-do-not-send="true"
href="https://www.techpowerup.com/vgabios/">https://www.techpowerup.com/vgabios/</a></div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Nov 19, 2016 at 10:10 AM Dawid Osuchowski
<<a moz-do-not-send="true"
href="mailto:tulphoon@openmailbox.org">tulphoon@openmailbox.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"> You
didn't have to flash the rom onto the card, you could just
supply it to the VM with the following XML, check my
previous mail:<br class="gmail_msg">
<pre class="gmail_msg"><rom bar='on' file='/opt/GTX760.rom'/>
</pre>
One thing i've forgotten to add, that the vendors tell
people to flash their cards with this command:<br
class="gmail_msg">
<pre class="gmail_msg">nvflash
</pre>
<p class="gmail_msg">But you do not need to do that at all!</p>
I've ran EfiRom -d on the rom file and it said that the file
is not a rom file. The thing that worked for me was striping
the rom and skipping some of the first bytes with this
command:<br class="gmail_msg">
<br class="gmail_msg">
<pre class="gmail_msg">dd if=NV287MH.2K0 of=strip.rom bs=1 skip=1536
</pre>
<p class="gmail_msg">Then supplied it into VM and it started
working properly :)<br class="gmail_msg">
</p>
</div>
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"> <br
class="gmail_msg">
<div class="m_-2802008800984488395moz-cite-prefix gmail_msg">On
11/19/2016 07:02 PM, Thomas Mashos wrote:<br
class="gmail_msg">
</div>
<blockquote type="cite" class="gmail_msg">
<div dir="ltr" class="gmail_msg">I just wanted to reply
here because I've been fighting the exact same issue for
a similiar period of time and have tried many different
things (see my thread titled 'Another Nvidia code 43
error) and this thread ended up helping me resolve the
issue.
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">I didn't have UEFI on my card
(says GPU-Z) and couldn't get the rom to load via the
XML file, so I ended up flashing the UEFI rom to my
GTX 760 and after rebooting the host and starting the
VM, it now works. Here's my current XML file,
although I plan to try and back out some of the
changes I've made <a moz-do-not-send="true"
href="http://termbin.com/99g8" class="gmail_msg"
target="_blank">http://termbin.com/99g8</a></div>
</div>
<br class="gmail_msg">
<div class="gmail_quote gmail_msg">
<div dir="ltr" class="gmail_msg">On Sat, Nov 19, 2016 at
3:20 AM Dawid Osuchowski <<a moz-do-not-send="true"
href="mailto:tulphoon@openmailbox.org"
class="gmail_msg" target="_blank">tulphoon@openmailbox.org</a>>
wrote:<br class="gmail_msg">
</div>
<blockquote class="gmail_quote gmail_msg"
style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"
class="gmail_msg">
<p class="gmail_msg">It seems like you might have
the same problem i have had with Error 43. For
using passthrough with OVMF, your GPU needs to
have a UEFI compatible ROM, either on the card
itself or supplied to the VM using:<br
class="gmail_msg">
</p>
<pre class="gmail_msg"><rom bar='on' file='/opt/GTX650.rom'/>
</pre>
<p class="gmail_msg">It should be used like this</p>
<pre class="gmail_msg"><devices>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x06' slot='0x02' function='0x0'/>
</source>
<boot order='1'/>
<rom bar='on' file='/opt/GTX650.rom'/>
</hostdev>
</devices>
</pre>
<p class="gmail_msg">You need to check whether your
ROM supports UEFI or not. Look up this blog post
by Alex Williamson on how to do that <a
moz-do-not-send="true"
class="m_-2802008800984488395m_3977620381227543464moz-txt-link-freetext
gmail_msg"
href="http://vfio.blogspot.com/2014/08/does-my-graphics-card-rom-support-efi.html"
target="_blank">http://vfio.blogspot.com/2014/08/does-my-graphics-card-rom-support-efi.html</a>,
but instead of using his utility (which for me
said that the rom is UEFI compatible, while it was
not) use:</p>
<pre class="gmail_msg">EfiRom -d
</pre>
<p class="gmail_msg">It comes with 'edk2' package in
Fedora.</p>
<p class="gmail_msg">If you cannot extract the ROM
file from your card (it was the same for me) then
go into google and search for something like
"(vendor e.g. MSI) GTX 650 TI BOOST uefi rom". If
you cannot find anything with that, then go to a
forum of the vendor of your card and ask them to
supply it to you.<br class="gmail_msg">
</p>
</div>
<div bgcolor="#FFFFFF" text="#000000"
class="gmail_msg">
<div
class="m_-2802008800984488395m_3977620381227543464moz-cite-prefix
gmail_msg"> On 11/19/2016 06:01 AM, Zachary Boley
wrote:<br class="gmail_msg">
</div>
<blockquote type="cite" class="gmail_msg">
<div dir="ltr" class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">I've
been at this for almost 2
weeks and im on the final
steps, Error 43 and no
matter what i do its
always detected as a vm. I
was referred to come here
from the vfio subreddit.
here are my specs/versions<br
class="gmail_msg">
<br class="gmail_msg">
Compiled against library:
libvirt 2.2.0<br
class="gmail_msg">
Using library: libvirt
2.2.0<br class="gmail_msg">
Using API: QEMU 2.2.0<br
class="gmail_msg">
Running hypervisor: QEMU
2.7.0<br class="gmail_msg">
</div>
Windows 10 64bit<br
class="gmail_msg">
<br class="gmail_msg">
</div>
2x Xeon 5540s @ 2.5<br
class="gmail_msg">
</div>
48GB DDR3 ECC<br
class="gmail_msg">
</div>
GTX 650 TI BOOST<br
class="gmail_msg">
</div>
<div class="gmail_msg">Fedora 24
Server 4.8.6 <br
class="gmail_msg">
</div>
<div class="gmail_msg"><br
class="gmail_msg">
</div>
to prove IOMMU is enabled <a
moz-do-not-send="true"
href="http://pastebin.com/K2i7A79j"
class="gmail_msg" target="_blank">http://pastebin.com/K2i7A79j</a><br
class="gmail_msg">
</div>
VFIO-PCI details <a
moz-do-not-send="true"
href="http://pastebin.com/JAbDRpkj"
class="gmail_msg" target="_blank">http://pastebin.com/JAbDRpkj</a><br
class="gmail_msg">
<br class="gmail_msg">
</div>
passthrough VM xml: <a
moz-do-not-send="true"
href="https://u.teknik.io/NOX1x.xml"
class="gmail_msg" target="_blank">https://u.teknik.io/NOX1x.xml</a><br
class="gmail_msg">
</div>
libvirt conf: <a moz-do-not-send="true"
href="https://u.teknik.io/a0rWz.txt"
class="gmail_msg" target="_blank">https://u.teknik.io/a0rWz.txt</a><br
class="gmail_msg">
</div>
qemu.conf: <a moz-do-not-send="true"
href="https://u.teknik.io/5Gd3Q.txt"
class="gmail_msg" target="_blank">https://u.teknik.io/5Gd3Q.txt</a><br
class="gmail_msg">
<br class="gmail_msg">
</div>
thread with my attempts <a
moz-do-not-send="true"
href="https://www.reddit.com/r/VFIO/comments/5deci8/error_43_and_other_problems/"
class="gmail_msg" target="_blank">https://www.reddit.com/r/VFIO/comments/5deci8/error_43_and_other_problems/</a><br
class="gmail_msg">
<br class="gmail_msg">
</div>
I have even used the OVMF git pure efi image to
see if there was a difference but it doesnt seem
to be helping. I have tried both attempts on Q35
and 440fx and nothing to be gotten out of it.
I'm very lost on this and i have no clue whats
going on. Not sure if this is the place for such
requests but im lost<br class="gmail_msg">
</div>
<br class="gmail_msg">
<fieldset
class="m_-2802008800984488395m_3977620381227543464mimeAttachmentHeader
gmail_msg"></fieldset>
<br class="gmail_msg">
<pre class="gmail_msg">_______________________________________________
vfio-users mailing list
<a moz-do-not-send="true" class="m_-2802008800984488395m_3977620381227543464moz-txt-link-abbreviated gmail_msg" href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a>
<a moz-do-not-send="true" class="m_-2802008800984488395m_3977620381227543464moz-txt-link-freetext gmail_msg" href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a>
</pre>
</blockquote>
<br class="gmail_msg">
</div>
_______________________________________________<br
class="gmail_msg">
vfio-users mailing list<br class="gmail_msg">
<a moz-do-not-send="true"
href="mailto:vfio-users@redhat.com"
class="gmail_msg" target="_blank">vfio-users@redhat.com</a><br
class="gmail_msg">
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/vfio-users"
rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br
class="gmail_msg">
</blockquote>
</div>
</blockquote>
<br class="gmail_msg">
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>