<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1"><br>
      </font>Hi Eddie,<br>
    </p>
    Sorry, I just noticed I wrote 'comment out' but I meant to say
    comment them. So no GRUB_GFXMODE should be enabled.<br>
    <br>
    That works for me with a RX480, but maybe your K420 behaves
    different..<br>
    <br>
    Kind rgds, Pim<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 13/06/17 07:58, Eddie Yen wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHZFSBrBZ01eR__O-_d9LBn5+jpV6Q=MYPTs_zs+JZUkXFa0yg@mail.gmail.com">
      <div dir="ltr">
        <div>Hi Pim,</div>
        <div><br>
        </div>
        This is what I goning to write and solved vesafb issue on this
        working.
        <div><br>
        </div>
        <div>Not only set video=vesafb:off, but also need to set
          following settings in GRUB.</div>
        <div><br>
        </div>
        <div><font face="monospace, monospace">GRUB_TERMINAL=console</font></div>
        <div><font face="monospace, monospace">GRUB_GFXPAYLOAD_LINUX=text</font></div>
        <div><br>
        </div>
        <div>Even that, The monitor still shows on K420 and I still got
          Code 43 in the VM.</div>
        <div>At least it solved BAR 3 issue.</div>
        <div><br>
        </div>
        <div>I never tried GRUB_GFXMODE yet, I'll give it a shot.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-06-13 13:47 GMT+08:00 Pim Pronk <span
            dir="ltr"><<a href="mailto:vfio@pronk.nl" target="_blank"
              moz-do-not-send="true">vfio@pronk.nl</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p><br>
              </p>
              <p>Could you try to edit /etd/default/grub and comment out
                all GRUB_GFXMODE= lines and add
                GRUB_GFXPAYLOAD_LINUX="text". Afterwards run
                update-grub.</p>
              <p>This works for me on Ubuntu to passthrough my primary
                gpu.</p>
              <p>With kidn rgds, Pim<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div class="m_-2203196683267936761moz-cite-prefix">On
                    13/06/17 04:02, Eddie Yen wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">After tried video=vesafb:off,
                      nomodeset, or nofb, still have no luck.
                      <div>vesafb still occupying the card......</div>
                      <div><br>
                      </div>
                      <div>Okay, need to find another way, trying to set
                        BMC as primary VGA.</div>
                      <div><br>
                      </div>
                      <div>Anyway thanks for help, at least I had the
                        way to solve it.</div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Eddie.</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2017-06-13 9:44 GMT+08:00
                        Alex Williamson <span dir="ltr"><<a
                            href="mailto:alex.l.williamson@gmail.com"
                            target="_blank" moz-do-not-send="true">alex.l.williamson@gmail.com</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div dir="ltr"><br>
                            <div class="gmail_extra"><br>
                              <div class="gmail_quote"><span>On Mon, Jun
                                  12, 2017 at 7:42 PM, Eddie Yen <span
                                    dir="ltr"><<a
                                      href="mailto:missile0407@gmail.com"
                                      target="_blank"
                                      moz-do-not-send="true">missile0407@gmail.com</a>></span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div dir="ltr">Hi Alex, thanks for
                                      the reply!
                                      <div><br>
                                      </div>
                                      <div>I realized that primary VGA
                                        is usually controlled by BIOS,
                                        that mean can choose discrete
                                        GPU or BMC as primary VGA.</div>
                                      <div>Unfortunately this server
                                        doesn't include this option. So
                                        that I can't choose BMC as
                                        primary VGA, and seems like
                                        can't setup vesafb to use BMC
                                        manually.</div>
                                      <div><br>
                                      </div>
                                      <div>I'll try video=vesafb:off to
                                        see what happen.</div>
                                      <div><br>
                                      </div>
                                      <div>BTW, IME K2000 and higher
                                        need to be a secondary card in
                                        guest, is now still a same or it
                                        already can be primary card so
                                        that no QXL or something?</div>
                                    </div>
                                  </blockquote>
                                  <div><br>
                                  </div>
                                </span>
                                <div>Correct, supported configs with
                                  Quadro assign the device as secondary
                                  in the guest. <br>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset
                      class="m_-2203196683267936761mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
vfio-users mailing list
<a class="m_-2203196683267936761moz-txt-link-abbreviated" href="mailto:vfio-users@redhat.com" target="_blank" moz-do-not-send="true">vfio-users@redhat.com</a>
<a class="m_-2203196683267936761moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank" moz-do-not-send="true">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            vfio-users mailing list<br>
            <a href="mailto:vfio-users@redhat.com"
              moz-do-not-send="true">vfio-users@redhat.com</a><br>
            <a href="https://www.redhat.com/mailman/listinfo/vfio-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>