[PATCH v2 2/4] winex11: Add DriverVersion registry property to display adapters.

Henri Verbeet hverbeet at gmail.com
Mon Oct 5 05:33:34 CDT 2020


On Mon, 5 Oct 2020 at 08:28, Zhiyi Zhang <zzhang at codeweavers.com> wrote:
> On 10/1/20 5:01 PM, Matteo Bruni wrote:
> > Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
> > ---
> > I picked the more or less current version of the AMD driver for the
> > time being.
> >
> > I think we should eventually move wined3d's GPU driver detection and
> > override stuff to the display drivers (TBD how to share the code
> > between the different drivers) so that everything has the same
> > consistent view.
> Hi Matteo,
>
> I would prefer making the move now. There are other bugs that rely on this as well.
> For example, some games need a consistent GPU name in DXGI and SetupAPI.
> As to how to share the code, what about something like a include/wine/wine_gpu_db.h header?
> I am thinking keeping the existing GPU detection code in wined3d there and only move the PCI ID
> related tables to wine_gpu_db.h. What do you think?
>
That's probably decent enough for a start, but note that ideally we'd
be able to update GPU information independently from the source code.
I.e., in the long term it may make more sense to move the GPU
information DB to e.g. the registry.



More information about the wine-devel mailing list