<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 1, 2014 at 3:42 PM, Kir Kolyshkin <span dir="ltr">&lt;<a href="mailto:kir@openvz.org" target="_blank">kir@openvz.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="">
    <div>On 08/01/2014 01:13 PM, Harry Koris
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>Hi,<br>
                  <br>
                  I&#39;m looking to install AMD 13.25 APU Driver so that I
                  can access the on-board graphics from within a
                  Centos-x86_64 container. I&#39;ve added the PCI slot that
                  the GPU comes up on using the &#39;--pci_add&#39; option but
                  the driver still reads out that no compatible adapters
                  were found. If I run &#39;lspci&#39; in the container the GPU
                  does show up. I have the driver running on the HE
                  fine.<br>
                  <br>
                  Is there a certain device that I can add to the
                  container?<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    Might be. Try to strace whatever program is trying to access the
    hardware<br>
    and see what device(s) it tries to use, then add those to the
    container.<div class=""><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Is it possible to modprobe the driver from the
                hardware, into the container?<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    No, you always load modules on the host (and before starting the
    container)<div class=""><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>As a side note, I do have the module loaded on the
              hardware node prior to launching the container.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>
    Good.<div class=""><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <br>
            </div>
            Any information that may help is appreciated.<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div>

<br>___</blockquote><div><br>That&#39;s a good idea, I was trying to use strace on lspci to see where it 
got information from, but it didn&#39;t hit me to just try it on the driver 
installation. I&#39;ll let you guys know how it goes.<br><br>Scott,<br>I&#39;m trying to run a program that needs to render 3-D models and simulations. And without the GPU it resorts to software rendering and I get about 1/2 FPS as opposed to the 85 FPS I get with the hardware.<br>
<br></div><div>Security isn&#39;t really an issue in this case since admins will be the only ones with access.<br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
____________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br></div></div>