glXGetScreenDriver doesn't report the same driver name as used in ~/.drirc
@nroberts
Submitted by Neil Roberts Assigned to mes..@..op.org
Description
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".
Version: git