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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to