XFX R9 295x2: Graphic acceleration

scorp974

New member
Joined
Mar 10, 2019
macOS
10.14.2
Mobo
MSI Gaming 3
CPU
i7 4790k
GPU
XFX R9 295x2
#1
Hello,

I'm trying to enable graphic acceleration for my R9 295x2. I tried to configure it as a R9 290, but it does not work, I have only 7 Mb and Spotify, Chrome.. is glitching :



Im using Clover Configurator :






May you help me please ?

Regards,

My configuration :

CPU : i7 4790k
Motherboard : msi gaming 3
GC : XFX R9 295x2
Memory : 32 Go DDR3 2400 Mhz
OS : macOS Mojave (dualboot with W10)
 

Attachments

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#2
I would suggest you have a look at this post over at Tonymacx86 especially the section regarding older XFX HD 7XXX and R9 cards. The bios XFX have used on these cards seems to cause issues in macOS.

https://www.tonymacx86.com/threads/radeon-compatibility-guide-ati-amd-graphics-cards.171291/

There is also the issue of your XFX card having two GPU's and macOS not working with AMD's Crossfire option, which I believe your card uses under Windows.

I would also comment that your config.plist is fairly bare, with no real customisation for your CPU or motherboard. Before I offer a replacement config.plist I would want to see the rest of your CLOVER folder. If you attach a copy of the folder I will look at updating your config etc. This is a very similar build to my iMac 2, as listed in my signature below, except for the GPU, I have a GTX 1060 in mine.
 

scorp974

New member
Joined
Mar 10, 2019
macOS
10.14.2
Mobo
MSI Gaming 3
CPU
i7 4790k
GPU
XFX R9 295x2
#3
Hi,

Indeed, I did not customize my hackintosh yet. I used a predefined configuration, so I will gladly accept all your suggestions.

Ps: I do not want crossfire (except if possible) but just graphic acceleration.

Here my clover folder.

Thanks for your help !
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#5
I have gone through your CLOVER folder and made the following changes, primarily to match my iMac 2 system which has the same CPU and a similar MSI motherboard:
  • Added SSDT-XOSI to /CLOVER/ACPI/Patched
  • Deleted /CLOVER/drivers64 folder
  • Changed efi drivers in /CLOVER/drivers64UEFI
  • Deleted the numbered OSX folders from /CLOVER/kexts, leaving just the Other folder
  • Removed a number of unnecessary kexts from /CLOVER/kext/Other
  • Updated the kexts in the /CLOVER/kexts/Other folder
  • Removed the existing files from /CLOVER/Themes and added 'Classic Mac OS' theme
  • Added a VBIOS for a Sapphire AMD R9 295X2 4 GB to /CLOVER/ROM folder
I have amended your config.plist as follows:
  • Added a number of common DSDT rename patches
  • Added a number of DSDT fixes
  • Added two ACPI options (AutoMerge & Halt Enabler)
  • Added Plugin Type=1
  • Removed a few unnecessary boot arguments
  • Added 'PBR' for Legacy boot
  • Added 'NeverHibernate' option
  • Changed FakeID for ATI to 0x67B01002 for R9 290x
  • Added FakeID for Intel GFX 0x04128086 for HD4600
  • Removed Device 'Properties' as it was unclear if it was for the Intel GPU
  • Added Mouse options
  • Added English Language,
  • Added screen resolution 1920x1080
  • Added Classic Mac OS theme name
  • Added a number of common 'Hide Volume' names
  • Removed 'Display-cfg'
  • Added 'RadeonDeInit' option
  • Added Kernel fixes
  • Removed unnecessary USB port limit patches
  • Disabled SIP (0x67)
  • Added MLB (new Board Serial Number)
  • Generated ROM
  • Refreshed your smbios, kept same iMac 15.1 smbios but checked new Serial Number with Apple Support
Replace your current CLOVER folder with the one attached and see if that makes any difference to you system. You will need to rename the attached folder as CLOVER.

The Sapphire VBIOS was downloaded from this link on the TechPowerUp site - https://www.techpowerup.com/vgabios/173179/amd-r9295x2-4096-140311
 

Attachments

scorp974

New member
Joined
Mar 10, 2019
macOS
10.14.2
Mobo
MSI Gaming 3
CPU
i7 4790k
GPU
XFX R9 295x2
#6
Thanks for your help, it is very appreciate. However I do not have graphic acceleration yet :cry:
I followed your instructions and placed the CLOVER folder on my EFI drive.

Ps : I have a new cleaned boot loader :D

7 Mb :

Capture d’écran 2019-03-10 à 19.00.16.png
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#7
Can you post a copy of your IOReg file and your Bootlog file.

Use version 2.1 of IOREGISTRY EXPLORER to generate your IOReg

Use Clover Configutator to generate your Bootlog.txt.
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#9
Ok, so from your Bootlog.txt I can see the following:
  • Your CPU and mother board are identified correctly.
  • All the DSDT rename patches in the config.plist are being used.
  • The Clover boot process is pretty fast taking just 12 seconds to complete.
  • Your memory is found and activated.
  • Your dual AMD GPU is found and Clover tries to initialise the cards two GPU's.
This is the section relevant for your AMD GPU:
GPU1
11:888 0:000 Framebuffer @0xD0000000 MMIO @0xE0000000 I/O Port @0x0000D000 ROM Addr @0xEFB40000
11:888 0:000 PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEFB00000
11:888 0:000 Use region5 as MMIO space
11:888 0:000 BIOS_0_SCRATCH=0x00000000, 1=0x00000000, 2=0x00000000, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x00000000
11:889 0:000 RADEON_CRTC2_GEN_CNTL == 0x00000000
11:889 0:000 card posted because CONFIG_MEMSIZE=0x1000
11:889 0:000 ATI card POSTed,
11:889 0:000 Set VRAM from config=4096Mb
11:889 0:000 ATI: get_vram_size returned 0x0
11:891 0:002 ATI ROM not found
11:891 0:000 reading VBIOS from legacy space
11:891 0:000 Users config name Hawaii
11:891 0:000 use N ports setting from config.plist: 4
11:891 0:000 (AtiPorts) Nr of ports set to: 4
11:891 0:000 ATI Hawaii AMD Radeon R9 200 4096MB (Hawaii) [1002:67B9] (subsys [1002:0B2A]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)\Pci(0x8,0x0)\Pci(0x0,0x0)
11:891 0:000 Device 0 deinited

GPU2
11:891 0:000 Framebuffer @0xB0000000 MMIO @0xC0000000 I/O Port @0x0000C000 ROM Addr @0xEFA40000
11:891 0:000 PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEFA00000
11:891 0:000 Use region5 as MMIO space
11:891 0:000 BIOS_0_SCRATCH=0xFFFFFFFF, 1=0xFFFFFFFF, 2=0xFFFFFFFF, 3=0xFFFFFFFF, 4=0xFFFFFFFF, 5=0xFFFFFFFF, 6=0xFFFFFFFF
11:891 0:000 RADEON_CRTC2_GEN_CNTL == 0xFFFFFFFF
11:891 0:000 card not posted because GEN_CNTL = -1
11:891 0:000 ATI card non-POSTed,
11:891 0:000 Set VRAM from config=4096Mb
11:891 0:000 ATI: get_vram_size returned 0x0
11:891 0:000 ATI ROM not found
11:891 0:000 reading VBIOS from PCI ROM
11:891 0:000 Users config name Hawaii
11:891 0:000 use N ports setting from config.plist: 4
11:891 0:000 (AtiPorts) Nr of ports set to: 4
11:891 0:000 ATI Hawaii AMD Radeon R9 200 4096MB (Hawaii) [1002:67B9] (subsys [1002:1B2A]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)\Pci(0x10,0x0)\Pci(0x0,0x0)
11:891 0:000 Device 1 deinited


From the above I believe the alternative VBIOS ROM file is not being loaded and the system is reading the XFX VBIOS file from PCI ROM. We may need to rename the Alternative ROM file from AMD to ATI for it to be identified and used in place of the XFX ROM.

I have been thinking about this issue and recall reading that WhateverGreen.kext doesn't work well/if at all, when a Framebuffer name has been in the config.plist. So I am thinking that we should delete the Fake ID for the ATI card, the AMD framebuffer, VRAM and No of Ports from the config.plist and see what difference this makes, just using WhateverGreen.kext to load the GPU. Load VBios and RadeonDeInit have both been retained.

Alternative CLOVER folder is attached with revised config.plsit and renamed ROM file. The rest is the same as in the previous CLOVER folder.

Rename the attached zipped folder as CLOVER and use in place of your existing folder.
 

Attachments

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#10
From your IOReg I can see the following:
  • Your dual AMD GPU is identified and mounted.
  • Your Atheros Killer Ethernet is not mounted on RP03@1C,2/IOPP/GIGE but rather on RP03@1C,2/IOPP/PXSX. I don't know what caused this as the other DSDT rename patches have worked as expected.
  • Your system has both EH01 and EH02 mounted, but neither USB controller is being used.
  • Your XHC controller is mounted and has HS01 - HS14 inclusive for your USB 2 ports but only SS01 for your USB 3 port. There should be 5 more USB3 ports, SS02 - SS06 inclusive shown with the USB port Limit patch used in your config.plist. This may not be set correctly for the version of macOS Mojave you are using.
Can you confirm which version of Mojave you have installed? I don't want to change the USB port limit patch until you confirm the version of macOS you have installed.

I would recommend you look at creating either a custom SSDT following Rehabman's guide or a USBPort.kext following Headkaze's guide and Hackintool Application. Links to both are given below:

Rehabman's USB SSDT - https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

Headkaze's Hackintool App - https://www.tonymacx86.com/threads/release-hackintool-v2-0-4.254559/

I have used both methods and would confirm that they both work perfectly.
 

scorp974

New member
Joined
Mar 10, 2019
macOS
10.14.2
Mobo
MSI Gaming 3
CPU
i7 4790k
GPU
XFX R9 295x2
#11
Ok, so from your Bootlog.txt I can see the following:
  • Your CPU and mother board are identified correctly.
  • All the DSDT rename patches in the config.plist are being used.
  • The Clover boot process is pretty fast taking just 12 seconds to complete.
  • Your memory is found and activated.
  • Your dual AMD GPU is found and Clover tries to initialise the cards two GPU's.
This is the section relevant for your AMD GPU:
GPU1
11:888 0:000 Framebuffer @0xD0000000 MMIO @0xE0000000 I/O Port @0x0000D000 ROM Addr @0xEFB40000
11:888 0:000 PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEFB00000
11:888 0:000 Use region5 as MMIO space
11:888 0:000 BIOS_0_SCRATCH=0x00000000, 1=0x00000000, 2=0x00000000, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x00000000
11:889 0:000 RADEON_CRTC2_GEN_CNTL == 0x00000000
11:889 0:000 card posted because CONFIG_MEMSIZE=0x1000
11:889 0:000 ATI card POSTed,
11:889 0:000 Set VRAM from config=4096Mb
11:889 0:000 ATI: get_vram_size returned 0x0
11:891 0:002 ATI ROM not found
11:891 0:000 reading VBIOS from legacy space
11:891 0:000 Users config name Hawaii
11:891 0:000 use N ports setting from config.plist: 4
11:891 0:000 (AtiPorts) Nr of ports set to: 4
11:891 0:000 ATI Hawaii AMD Radeon R9 200 4096MB (Hawaii) [1002:67B9] (subsys [1002:0B2A]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)\Pci(0x8,0x0)\Pci(0x0,0x0)
11:891 0:000 Device 0 deinited

GPU2
11:891 0:000 Framebuffer @0xB0000000 MMIO @0xC0000000 I/O Port @0x0000C000 ROM Addr @0xEFA40000
11:891 0:000 PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEFA00000
11:891 0:000 Use region5 as MMIO space
11:891 0:000 BIOS_0_SCRATCH=0xFFFFFFFF, 1=0xFFFFFFFF, 2=0xFFFFFFFF, 3=0xFFFFFFFF, 4=0xFFFFFFFF, 5=0xFFFFFFFF, 6=0xFFFFFFFF
11:891 0:000 RADEON_CRTC2_GEN_CNTL == 0xFFFFFFFF
11:891 0:000 card not posted because GEN_CNTL = -1
11:891 0:000 ATI card non-POSTed,
11:891 0:000 Set VRAM from config=4096Mb
11:891 0:000 ATI: get_vram_size returned 0x0
11:891 0:000 ATI ROM not found
11:891 0:000 reading VBIOS from PCI ROM
11:891 0:000 Users config name Hawaii
11:891 0:000 use N ports setting from config.plist: 4
11:891 0:000 (AtiPorts) Nr of ports set to: 4
11:891 0:000 ATI Hawaii AMD Radeon R9 200 4096MB (Hawaii) [1002:67B9] (subsys [1002:1B2A]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)\Pci(0x10,0x0)\Pci(0x0,0x0)
11:891 0:000 Device 1 deinited


From the above I believe the alternative VBIOS ROM file is not being loaded and the system is reading the XFX VBIOS file from PCI ROM. We may need to rename the Alternative ROM file from AMD to ATI for it to be identified and used in place of the XFX ROM.

I have been thinking about this issue and recall reading that WhateverGreen.kext doesn't work well/if at all, when a Framebuffer name has been in the config.plist. So I am thinking that we should delete the Fake ID for the ATI card, the AMD framebuffer, VRAM and No of Ports from the config.plist and see what difference this makes, just using WhateverGreen.kext to load the GPU. Load VBios and RadeonDeInit have both been retained.

Alternative CLOVER folder is attached with revised config.plsit and renamed ROM file. The rest is the same as in the previous CLOVER folder.

Rename the attached zipped folder as CLOVER and use in place of your existing folder.
I have this now :

Capture d’écran 2019-03-12 à 20.46.51.png


My new bootlog and IOReg in attachment.

Thanks a lot for your help :)
 

Attachments

scorp974

New member
Joined
Mar 10, 2019
macOS
10.14.2
Mobo
MSI Gaming 3
CPU
i7 4790k
GPU
XFX R9 295x2
#12
From your IOReg I can see the following:
  • Your dual AMD GPU is identified and mounted.
  • Your Atheros Killer Ethernet is not mounted on RP03@1C,2/IOPP/GIGE but rather on RP03@1C,2/IOPP/PXSX. I don't know what caused this as the other DSDT rename patches have worked as expected.
  • Your system has both EH01 and EH02 mounted, but neither USB controller is being used.
  • Your XHC controller is mounted and has HS01 - HS14 inclusive for your USB 2 ports but only SS01 for your USB 3 port. There should be 5 more USB3 ports, SS02 - SS06 inclusive shown with the USB port Limit patch used in your config.plist. This may not be set correctly for the version of macOS Mojave you are using.
Can you confirm which version of Mojave you have installed? I don't want to change the USB port limit patch until you confirm the version of macOS you have installed.

I would recommend you look at creating either a custom SSDT following Rehabman's guide or a USBPort.kext following Headkaze's guide and Hackintool Application. Links to both are given below:

Rehabman's USB SSDT - https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

Headkaze's Hackintool App - https://www.tonymacx86.com/threads/release-hackintool-v2-0-4.254559/

I have used both methods and would confirm that they both work perfectly.
My Mojave version is : 10.14.3, the last one at this day.
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#13
The config.plist attached contains the USB port Limit patches for 10.14.3.
It also includes an additional boot argument.

Try this config in place of your current config and see if that makes any difference.
 

Attachments

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#15
I will have a look at these tomorrow. I am currently in a pub celebrating Chelsea thrashing D Kiev in the Europa League!

However I feel we may need to accept that your R9 295x2 may not work in macOS. I have searched for this GPU working under macOS and not found anything close to working. I think it could be due to the way the two GPU’s are supposed to work in Crossfire, which macOS doesn’t support.

While it is a very good GPU under Windows it is incompatable under macOS.