From: Matteo Bruni Subject: [PATCH v2 4/4] winex11: Report fallback default GPU vendor / device IDs. Message-Id: <20201001090114.3446199-4-mbruni@codeweavers.com> Date: Thu, 1 Oct 2020 11:01:14 +0200 In-Reply-To: <20201001090114.3446199-1-mbruni@codeweavers.com> References: <20201001090114.3446199-1-mbruni@codeweavers.com> Signed-off-by: Matteo Bruni --- dlls/winex11.drv/display.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/winex11.drv/display.c b/dlls/winex11.drv/display.c index a2692e88ef62..acbd46775ceb 100644 --- a/dlls/winex11.drv/display.c +++ b/dlls/winex11.drv/display.c @@ -756,6 +756,12 @@ void X11DRV_DisplayDevices_Init(BOOL force) for (gpu = 0; gpu < gpu_count; gpu++) { + /* Default to an AMD Radeon RX 5700 */ + if (!gpus[gpu].vendor_id) + gpus[gpu].vendor_id = 0x1002; + if (!gpus[gpu].device_id) + gpus[gpu].device_id = 0x731f; + if (!X11DRV_InitGpu(gpu_devinfo, &gpus[gpu], gpu, guidW, driverW, &gpu_luid)) goto done; -- 2.26.2