On my GM45 system, glXGetScreenDriver reports "i965" but the driver needed in the ~/.drirc config file is "dri2". The driver name passed to driParseConfigFiles from dri2CreateNewScreen is hardcoded as "dri2". There is a GUI tool called driconf which is meant to help edit the ~/.drirc file. However it doesn't work because it gets the name of the driver by calling xdriinfo which calls glXGetScreenDriver. I'm not sure what the correct behaviour here is but my gut feeling is that driParseCongfileFiles should be being passed "i965" instead of "dri2".
This bug is part of the discussion/confusion in bug 28771.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/73.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.