<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Mesa selects wrong DRI driver"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75212">75212</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>eric@anholt.net, lemody@gmail.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mesa selects wrong DRI driver
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eero.t.tamminen@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>GLX
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Test environment:
- HSW GT3e
- Up to date Ubuntu 13.10
- Latest versions of libdrm and mesa built (from today's git master),
  with only i965 driver enabled

Steps to reproduce:
1. Run glxgears with latest mesa

Expected output:
- i965 driver loaded & HW acceleration used

Actual output:
- Mesa complains that it doesn't find i915 nor swrast
- glxgears runs really slowly

Bisecting Mesa identified this commit as culprit:
----------------------------------
commit 7bd95ec437a5b1052fa17780a9d66677ec1fdc35
Author: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
Date:   Thu Jan 23 10:21:09 2014 -0800

    dri2: Trust our own driver name lookup over the server's.

    This allows Mesa to choose to rename driver .sos (or split drivers),
    without needing a flag day with the corresponding 2D driver.

    v2: Undo the loader-only-for-dri3 change.
----------------------------------

If Mesa needs some new dependency or specific version of that to identify on
which HW it's running, it should check for that in configure.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>