Bug 34401 - glXGetScreenDriver doesn't report the same driver name as used in ~/.drirc
Summary: glXGetScreenDriver doesn't report the same driver name as used in ~/.drirc
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 42035
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-17 08:14 UTC by Neil Roberts
Modified: 2019-09-18 17:42 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Neil Roberts 2011-02-17 08:14:34 UTC
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".
Comment 1 Sven Arvidsson 2011-02-17 08:23:16 UTC
This bug is part of the discussion/confusion in bug 28771.
Comment 2 GitLab Migration User 2019-09-18 17:42:53 UTC
-- 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.