http://bugs.winehq.org/show_bug.cgi?id=27358
Summary: Can't run d3d apps on 2011 MBP with AMD Radeon HD 6490M Product: Wine Version: 1.3.21 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: mikejbond@gmail.com
I have been unable to run any d3d app in wine on the new 2011 MacBook Pros with the AMD Radeon HD 6490M gpu. Any attempts to launch a d3d app in wine causes an error dialog at which point the only option is to terminate wine.
Tthe fact that the card is not listed in the gpu_description_table in directx.c I suspect is the most likely cause, however simply adding it there with vendor and card ids does not appear to work either so I am clearly missing something. The vendor id for the card is 0x1002 (HW_VENDOR_AMD) and the card id is 0x6760, memory is 256m. I tried using DRIVER_AMD_R600 for the driver.
I've attached the log using the changes below:
index a29533e..53daffc 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1100,6 +1100,7 @@ static const struct gpu_description gpu_description_table[] = {HW_VENDOR_AMD, CARD_AMD_RADEON_HD5800, "ATI Radeon HD 5800 Series", DRIVER_AMD_R600, 1024}, {HW_VENDOR_AMD, CARD_AMD_RADEON_HD5900, "ATI Radeon HD 5900 Series", DRIVER_AMD_R600, 1024}, {HW_VENDOR_AMD, CARD_AMD_RADEON_HD6310, "AMD Radeon HD 6310 Graphics", DRIVER_AMD_R600, 1024}, + {HW_VENDOR_AMD, CARD_AMD_RADEON_HD6490, "AMD Radeon HD 6490M", DRIVER_AMD_R600, 256}, {HW_VENDOR_AMD, CARD_AMD_RADEON_HD6800, "AMD Radeon HD 6800 Series", DRIVER_AMD_R600, 1024}, {HW_VENDOR_AMD, CARD_AMD_RADEON_HD6900, "AMD Radeon HD 6900 Series", DRIVER_AMD_R600, 2048}, /* Intel cards */ diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index aaf1423..8e10918 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1360,6 +1360,7 @@ enum wined3d_pci_device CARD_AMD_RADEON_HD5870 = 0x6899, CARD_AMD_RADEON_HD5900 = 0x689c, CARD_AMD_RADEON_HD6310 = 0x9803, + CARD_AMD_RADEON_HD6490 = 0x6760, CARD_AMD_RADEON_HD6800 = 0x6739, CARD_AMD_RADEON_HD6900 = 0x6719,