[Mesa-dev] [Bug 75212] New: Mesa selects wrong DRI driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 19 07:19:52 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75212

          Priority: medium
            Bug ID: 75212
                CC: eric at anholt.net, lemody at gmail.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Mesa selects wrong DRI driver
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: eero.t.tamminen at intel.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: git
         Component: GLX
           Product: Mesa

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 <eric at anholt.net>
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140219/5f6dd320/attachment.html>


More information about the mesa-dev mailing list