[Mesa-dev] Update the way we get descriptions about drirc options

Marek Olšák maraeo at gmail.com
Tue Aug 12 07:43:17 PDT 2014


Please note that drirc can also contain options that apply to all
drivers, not just one driver. I don't think the GUI has been updated
to support that.

Marek

On Tue, Aug 12, 2014 at 3:50 PM, Axel Davy <axel.davy at ens.fr> wrote:
> Hello,
>
> Currently Mesa enables the user to tune some driver parameters via .drirc, a
> xml file.
>
> Driconf is a GUI app that allows the user to manipulate .drirc
> It uses the program xdriinfo to get info about the possible options.
>
> xdriinfo gives Driconf the driver name of the device used for rendering and
> then Driconf can call it again to get a
> xml description of the possible options for this driver.
>
> xdriinfo uses two functions to get these info:
> glXGetScreenDriver and glXGetDriverConfig
>
> Unfortunately it doesn't seem to work well with Wayland and XWayland.
> Also only the main device is detected with DRI3 DRI_PRIME (I didn't test
> DRI2 DRI_PRIME).
>
> I've begun to write a new gui app equivalent to Driconf, but that can also
> detect multiple gpus and displays gl info on them.
>
> Do you have suggestions on a new way to get the driver/driver's options info
> that would work with multiple gpus and Wayland ?
>
> My thoughts are that at the beginning of .drirc could be contained info
> about all drivers's options,
> and also info about what drivers would be loaded for the detected devices.
> Driconf and old Mesa would still be able to read the .drirc file, and would
> ignore the additional section.
>
> Yours,
>
> Axel Davy
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list