Bug 34401

Summary: glXGetScreenDriver doesn't report the same driver name as used in ~/.drirc
Product: Mesa Reporter: Neil Roberts <nroberts>
Component: GLXAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: hramrach, sa, thierry.vignaud
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 42035    
Bug Blocks:    

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.