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,
http://bugs.winehq.org/show_bug.cgi?id=27358
--- Comment #1 from Michael Bond mikejbond@gmail.com 2011-06-01 07:44:46 CDT --- Created an attachment (id=34981) --> (http://bugs.winehq.org/attachment.cgi?id=34981) Debug log
http://bugs.winehq.org/show_bug.cgi?id=27358
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34981|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=27358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't run d3d apps on 2011 |The Witcher fails to run |MBP with AMD Radeon HD | |6490M |
--- Comment #2 from Austin English austinenglish@gmail.com 2011-06-01 13:25:35 CDT --- fixme:d3dx:D3DXGetImageInfoFromFileInMemory (0x10081c8e, 1398256, 0x1ccf28c): partially implemented fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file fixme:d3dx:D3DXCreateEffectEx (0x21fc50, 0x4c98af8, 1680, 0x0, 0x0, 0x0, 0,
can you try native d3dx9_36?
http://bugs.winehq.org/show_bug.cgi?id=27358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=27358
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #3 from Xavier Vachon xvachon@gmail.com 2013-04-23 12:37:00 CDT --- (In reply to comment #2)
fixme:d3dx:D3DXGetImageInfoFromFileInMemory (0x10081c8e, 1398256, 0x1ccf28c): partially implemented fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file fixme:d3dx:D3DXCreateEffectEx (0x21fc50, 0x4c98af8, 1680, 0x0, 0x0, 0x0, 0,
can you try native d3dx9_36?
The Witcher (GOG.com version) runs well with an override for d3dx9_36. Otherwise you hit http://bugs.winehq.org/show_bug.cgi?id=15904 and you can't really navigate the main menu well.
http://bugs.winehq.org/show_bug.cgi?id=27358
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #4 from Christian Costa titan.costa@gmail.com 2013-06-09 08:08:05 CDT --- D3DXGetImageInfoFromFileInMemory has been improved and shouldn't be a pronblem anymore. I suggest to close this bug as fixed as bug 15904 deals with remaining issues.
http://bugs.winehq.org/show_bug.cgi?id=27358
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Resolution| |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net 2013-10-04 13:16:45 CDT --- Hello folks,
since there is no response resolving this bug fixed as per Christian's comment #4 Reopen if the issue is still present with _recent_ Wine version.
Regards
http://bugs.winehq.org/show_bug.cgi?id=27358
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-10-11 12:31:09 CDT --- Closing bugs fixed in 1.7.4.