Jump to content
Slice

RadeonMonitor problems

129 posts in this topic

Recommended Posts

this is FakeSMC v6 on the screenshot. Use my version or ask Kozlek for update his version.

 

Tried your version + Radeon sensors and it gives me a KP right after HWmonitor is loaded... 

Without radeon sensors is fine

Share this post


Link to post
Share on other sites
Advertisement

Tried your version + Radeon sensors and it gives me a KP right after HWmonitor is loaded... 

Without radeon sensors is fine

It's a pity new Radeons (polaris and up) are not supported yet.

Share this post


Link to post
Share on other sites

I doubt it possible for normal user. This is a job for reseachers.

For Hawaii I wrote

		temp = (read_ind(CG_CI_MULT_THERMAL_STATUS) & CI_CTF_TEMP_MASK) >> CI_CTF_TEMP_SHIFT;

where CG_CI_MULT_THERMAL_STATUS is Radeon register 

#define	CG_CI_MULT_THERMAL_STATUS		0xC0300014
#define		CI_ASIC_MAX_TEMP(x)			((x) << 0)
#define		CI_ASIC_MAX_TEMP_MASK		0x000001ff
#define		CI_ASIC_MAX_TEMP_SHIFT		0
#define		CI_CTF_TEMP(x)				((x) << 9)
#define		CI_CTF_TEMP_MASK			0x0003fe00
#define		CI_CTF_TEMP_SHIFT			9

But I don't know the register for new Radeons and access method.

It probably can be found in Linux sources, not in installed Linux system.

Share this post


Link to post
Share on other sites

Hi Slice ... if I used RadeonMonitor for my Radeon HD 7790.. cpu hang and then restart, any advice?

 

Tue Oct 24 15:05:02 2017

*** Panic Report ***
panic(cpu 1 caller 0xffffff800038a611): Kernel trap at 0xffffff7f83952460, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x000000000000e200, CR3: 0x00000001909d410e, CR4: 0x00000000000626e0
RAX: 0x000000000000e000, RBX: 0xffffff8019442b00, RCX: 0xffffff7f83952cc0, RDX: 0xffffff8018381a00
RSP: 0xffffff912edab7a0, RBP: 0xffffff912edab7a0, RSI: 0xffffff912edab7c6, RDI: 0xffffff8018691b40
R8: 0x000000000000ffff, R9: 0x0000000000000001, R10: 0xffffff80187abc80, R11: 0x0000000000000001
R12: 0x00000000e00002c2, R13: 0xffffff8019449440, R14: 0x0000000000000000, R15: 0xffffff8019449c10
RFL: 0x0000000000010283, RIP: 0xffffff7f83952460, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0x000000000000e200, Error code: 0x0000000000000002, Fault CPU: 0x1, PL: 0, VF: 1

Backtrace (CPU 1), Frame : Return Address
0xffffff912edab260 : 0xffffff800026d366
0xffffff912edab2a0 : 0xffffff8000398494
0xffffff912edab2e0 : 0xffffff800038a429
0xffffff912edab360 : 0xffffff800021f190
0xffffff912edab380 : 0xffffff800026cd8c
0xffffff912edab4b0 : 0xffffff800026cafc
0xffffff912edab510 : 0xffffff800038a611
0xffffff912edab690 : 0xffffff800021f190
0xffffff912edab6b0 : 0xffffff7f83952460
0xffffff912edab7a0 : 0xffffff7f83952c8e
0xffffff912edab7f0 : 0xffffff8000877386
0xffffff912edab840 : 0xffffff7f839483b4
0xffffff912edab870 : 0xffffff7f839487f0
0xffffff912edab8b0 : 0xffffff7f839489e1
0xffffff912edab8f0 : 0xffffff7f81f9cace
0xffffff912edab930 : 0xffffff7f81f9d441
0xffffff912edab980 : 0xffffff7f81f9ce28
0xffffff912edab9b0 : 0xffffff80008a5878
0xffffff912edaba20 : 0xffffff7f81f9ccc4
0xffffff912edaba70 : 0xffffff7f81fa3ab9
0xffffff912edabac0 : 0xffffff80008cdc79
0xffffff912edabb20 : 0xffffff80008cbe10
0xffffff912edabb70 : 0xffffff80008d4a97
0xffffff912edabcb0 : 0xffffff8000345d84
0xffffff912edabdc0 : 0xffffff80002725ee
0xffffff912edabe10 : 0xffffff800024fbdd
0xffffff912edabe60 : 0xffffff8000262c6b
0xffffff912edabef0 : 0xffffff80003750fd
0xffffff912edabfa0 : 0xffffff800021f996
Kernel Extensions in backtrace:
com.apple.driver.AppleSMC(3.1.9)[C988D068-D92E-35CD-ACD0-22CF6E8150FA]@0xffffff7f81f95000->0xffffff7f81fb3fff
dependency: com.apple.iokit.IOACPIFamily(1.4)[8794C760-FDD9-3664-ADED-4A9BBEC6E517]@0xffffff7f811a4000
dependency: com.apple.iokit.IOPCIFamily(2.9)[DF1517A2-32C4-328E-9890-03E6C546604A]@0xffffff7f80a94000
org.netkas.FakeSMC(3.5)[8F36EF78-E2BD-3B4F-AB1A-8545F12F247B]@0xffffff7f83946000->0xffffff7f83950fff
dependency: com.apple.iokit.IOACPIFamily(1.4)[8794C760-FDD9-3664-ADED-4A9BBEC6E517]@0xffffff7f811a4000
org.slice.RadeonMonitor(1.3)[D69B6252-699C-3203-8989-07AC8789F13C]@0xffffff7f83951000->0xffffff7f83956fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[DF1517A2-32C4-328E-9890-03E6C546604A]@0xffffff7f80a94000
dependency: org.netkas.FakeSMC(3.5.0)[8F36EF78-E2BD-3B4F-AB1A-8545F12F247B]@0xffffff7f83946000

BSD process name corresponding to current thread: HWMonitorSMC
Boot args: slide=0 dart=0

Mac OS version:
17A405

 

Share this post


Link to post
Share on other sites

There is also new kext for Radeon, if someone want to test

attachicon.gifRadeonMonitor.kext.zip

unfortunately in my machine still get hang and then reboot

 

edited: or maybe because HWmonitorSMC ?

Tue Nov 28 07:04:56 2017

 

*** Panic Report ***

panic(cpu 2 caller 0xffffff8000388e21): Kernel trap at 0xffffff7f839f61fc, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x000000000000e6b0, CR3: 0x000000010869b0d5, CR4: 0x00000000000626e0

RAX: 0x000000000000e000, RBX: 0xffffff8019665400, RCX: 0xffffff7f839f6a40, RDX: 0xffffff8018563710

RSP: 0xffffff8107ebb7a0, RBP: 0xffffff8107ebb7a0, RSI: 0xffffff8107ebb7c6, RDI: 0xffffff80188dd5f0

R8:  0x000000000000ffff, R9:  0x0000000000000001, R10: 0xffffff8018a8f480, R11: 0x0000000000000001

R12: 0x00000000e00002c2, R13: 0xffffff8019672800, R14: 0x0000000000000000, R15: 0xffffff8019672820

RFL: 0x0000000000210287, RIP: 0xffffff7f839f61fc, CS:  0x0000000000000008, SS:  0x0000000000000000

Fault CR2: 0x000000000000e6b0, Error code: 0x0000000000000002, Fault CPU: 0x2, PL: 0, VF: 1

 

Backtrace (CPU 2), Frame : Return Address

0xffffff8107ebb250 : 0xffffff800026b6f6

0xffffff8107ebb2a0 : 0xffffff8000396f54

0xffffff8107ebb2e0 : 0xffffff8000388c39

0xffffff8107ebb360 : 0xffffff800021d190

0xffffff8107ebb380 : 0xffffff800026b1cc

0xffffff8107ebb4b0 : 0xffffff800026af4c

0xffffff8107ebb510 : 0xffffff8000388e21

0xffffff8107ebb690 : 0xffffff800021d190

0xffffff8107ebb6b0 : 0xffffff7f839f61fc

0xffffff8107ebb7a0 : 0xffffff7f839f6a0c

0xffffff8107ebb7f0 : 0xffffff8000876956

0xffffff8107ebb840 : 0xffffff7f839ec3b4

0xffffff8107ebb870 : 0xffffff7f839ec7f0

0xffffff8107ebb8b0 : 0xffffff7f839ec9e1

0xffffff8107ebb8f0 : 0xffffff7f80e6da4a

0xffffff8107ebb930 : 0xffffff7f80e6e3bd

0xffffff8107ebb980 : 0xffffff7f80e6dda4

0xffffff8107ebb9b0 : 0xffffff80008a4e48

0xffffff8107ebba20 : 0xffffff7f80e6dc40

0xffffff8107ebba70 : 0xffffff7f80e74aab

0xffffff8107ebbac0 : 0xffffff80008cd3f9

0xffffff8107ebbb20 : 0xffffff80008cb590

0xffffff8107ebbb70 : 0xffffff80008d4237

0xffffff8107ebbcb0 : 0xffffff8000344514

0xffffff8107ebbdc0 : 0xffffff8000270d9e

0xffffff8107ebbe10 : 0xffffff800024dc2d

0xffffff8107ebbe60 : 0xffffff8000260d1b

0xffffff8107ebbef0 : 0xffffff800037388d

0xffffff8107ebbfa0 : 0xffffff800021d996

      Kernel Extensions in backtrace:

         com.apple.driver.AppleSMC(3.1.9)[631D2C99-C8C2-3272-84FC-C49338D09C31]@0xffffff7f80e66000->0xffffff7f80e84fff

            dependency: com.apple.iokit.IOACPIFamily(1.4)[8794C760-FDD9-3664-ADED-4A9BBEC6E517]@0xffffff7f80e5d000

            dependency: com.apple.iokit.IOPCIFamily(2.9)[1A5661CA-0F8F-3EC1-B3B4-5A9ADDAE360F]@0xffffff7f80a94000

         org.netkas.FakeSMC(3.5)[8F36EF78-E2BD-3B4F-AB1A-8545F12F247B]@0xffffff7f839ea000->0xffffff7f839f4fff

            dependency: com.apple.iokit.IOACPIFamily(1.4)[8794C760-FDD9-3664-ADED-4A9BBEC6E517]@0xffffff7f80e5d000

         org.slice.RadeonMonitor(1.3.1)[C99A9FFA-F042-37AC-B2D0-4A20148121CD]@0xffffff7f839f5000->0xffffff7f839f9fff

            dependency: com.apple.iokit.IOPCIFamily(2.9)[1A5661CA-0F8F-3EC1-B3B4-5A9ADDAE360F]@0xffffff7f80a94000

            dependency: org.netkas.FakeSMC(3.5.0)[8F36EF78-E2BD-3B4F-AB1A-8545F12F247B]@0xffffff7f839ea000

 

BSD process name corresponding to current thread: HWMonitorSMC

Boot args: slide=0  dart=0  darkwake=0

 

Mac OS version:

17B48

 

log

2017-11-28 07:02:58.015808+0700  localhost kernel[0]: (kernel) RadeonMonitor: found Radeon chip id=665c

2017-11-28 07:02:58.019698+0700  localhost kernel[0]: (kernel)  Common ATI Radeon SeaIsland/Polaris DID=665c

 

2017-11-28 07:37:14.148053+0700  localhost kernel[0]: (kernel) RadeonSensors (pci1): found ATI Radeon ID: 0x665c, ATOM BIOS: BONAIRE

2017-11-28 07:37:14.148062+0700  localhost kernel[0]: (kernel) RadeonSensors (pci1): using device-id to resolve temperature sensor type

2017-11-28 07:37:14.148067+0700  localhost kernel[0]: (kernel) RadeonSensors (pci1): adding Sea Islands (CI) thermal sensor

2017-11-28 07:37:14.148121+0700  localhost kernel[0]: (kernel) RadeonSensors (pci1): started

Share this post


Link to post
Share on other sites

KP. also SMC_util3 -l

 

 

$ log show --last boot --predicate 'subsystem == "kernel"'

 

kernel: (kernel) RadeonMonitor: found Radeon chip id=67ef

kernel: (kernel)  Common ATI Radeon SeaIsland/Polaris DID=67ef

Share this post


Link to post
Share on other sites

No problem in HWMonitorSMC. The problem is still in RadeonMonitor with new Radeon cards.

Thanks!

 

Yep.

Thanks for working on this! Slice the legend.

Share this post


Link to post
Share on other sites

Make, please, registers dump with the utility

http://www.insanelymac.com/forum/topic/317915-clover-test-and-patches-for-polaris-gpu/page-8?do=findComment&comment=2339709

in range 6A0,40

If crash then 6B0,10


I see.

The kext should be revised for this chip.

Share this post


Link to post
Share on other sites

Make, please, registers dump with the utility

http://www.insanelymac.com/forum/topic/317915-clover-test-and-patches-for-polaris-gpu/page-8?do=findComment&comment=2339709

in range 6A0,40

If crash then 6B0,10

Hi, Slice.

I think the working RadeonPCI.kext (for use with that RadeonDump) is a few posts later. http://www.insanelymac.com/forum/topic/317915-clover-test-and-patches-for-polaris-gpu/page-8?do=findComment&comment=2340126 (otherwise all results are zeros)

How do you mean your range: in range 6A0,40 ... If crash then 6B0,10

In the examples the command looks:

RadeonDump2 -r 0,200 , how are the parameters for in range 6A0,40 (you mean start=6A0 and 40 length, so 6A0, 6EF would be OK ?

RX 460 0x67ef , Sierra working (for this test: no RadeonMonitor in use, only kextutil  RadeonPCI.kext, in Clover Lilu + whatevergreen )

RadeonDump2 -r 6A0,6FF

Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/RadeonPCI
it matched on name "ATY_GPU"
0x06A0:  00000000 AAAA5555 00000000 AAAA5555 0003F010 0001E083 00000000 AAAA5555
0x06C0:  00000000 AAAA5555 00000000 AAAA5555 00000000 AAAA5555 00000000 00000064
0x06E0:  00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 
/RadeonDump2 -r 1700,1750  (found that you looked for that range in the past : ) )
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/RadeonPCI
it matched on name "ATY_GPU"
0x1700:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x1720:  00000000 00000000 00000000 00000000 00000000 00010000 00000000 00000000
0x1740:  00000200 00000000 00000000 00000000 00000000 00000000 00000000 000
 
​RadeonDump2 -r 5400,5450 (found that you looked for that range in the past : ) )
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG0@1/IOPP/GFX0@0/RadeonPCI
it matched on name "ATY_GPU"
0x5400:  00000000 00000001 00000000 00000000 00000000 0000001A 00000002 00000002
0x5420:  00000000 00000000 00000800 80000000 00000100 00040000 00000000 00000000
0x5440:  00000000 00000000 00000000 00000000 00018003 00000000 00040040 4010E110
 
PS: attached the used two tools.
Usage:
sudo chown -R root:wheel ~/Downloads/RadeonPCI.kext

sudo chmod -R 755 ~/Downloads/RadeonPCI.kext

sudo kextutil -v ~/Downloads/RadeonPCI.kext

..

~/Downloads/RadeonDump2 -r start,end 

RadeonPCI.kext.zip

RadeonDump.zip

Share this post


Link to post
Share on other sites

Good!

0x06A0:  00000000 AAAA5555 00000000 AAAA5555 0003F010 0001E083 00000000 AAAA5555
0x06C0:  00000000 AAAA5555 00000000 AAAA5555 00000000 AAAA5555 00000000 00000064
0x06E0:  00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000

This is what I wanted to see. Thus I know that registers 6B0 and 6B4 will not lead to crash. They are readable.

Next question if they are writable.

I am not sure in write command syntax

RadeonDump -w 6b0 c0300014

RadeonDump -r 6b4

There will be temperature

Share this post


Link to post
Share on other sites

HD 7790

Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -r 0,100
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
0x0000: BFFF7E5C 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 00000000 100100A2 00D816E6 100100A2 00D816E6
0x0040: 00000000 00000000 00010000 00010000 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00A0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00C0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00E0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -r 0,200
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
0x0000: BFFF7E5C 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 00000000 100100A2 00D816E6 100100A2 00D816E6
0x0040: 00000000 00000000 00010000 00010000 00000000 00000000 00000000 00000000
0x0060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00A0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00C0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x00E0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0180: 00000000 00000000 00000000 00000000 00000000 00000002 00000000 00000000
0x01A0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x01C0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x01E0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0200: 80000370 00036604 C0100038 0000000C 00000000 E0008040 C030000C 08006869
Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -r 1700,1750
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
0x1700: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x1720: 00000000 00400000 0100C000 00000000 00000400 00000000 00000689 00001000
0x1740: 41D40301 00000000 00000000 0000F905 00000000 00000000 00000000 00000000
Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -r 5400,5450
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
0x5400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000108AA
0x5420: 00000000 0000000D 00000400 80000000 00000100 00040000 00000000 00000000
0x5440: 00000000 00000000 00000000 00000000 00000003 00000000 00040040 4010E110
Picos-Mac-Pro:Downloads pico$

 

 

 

RadeonDump -w 6b0 c0300014

RadeonDump -r 6b4

 

Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -w 6b0 c0300014
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
Segmentation fault: 11
Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -r 6b4
Unable to read range:  6b4
Usage: ./RadeonDump2 [-d] [regnum] [-r start,end] [-i]
    -d        dump Radeon card BIOS ROM
    regnum        dump Radeon card IO register values at regnum
    -r start,end    dump Radeon card IO register values in the range of [start,end]
Picos-Mac-Pro:Downloads pico$ ./RadeonDump2 -w 6b4
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPP/GFX1@0/RadeonPCI
it matched on name "ATY_GPU"
0x06B4:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Picos-Mac-Pro:Downloads pico$

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By macinsane
      Mojave (and maybe High Sierra 10.13.6) on Asrock H370M-ITX/ac and getting RX560 to work with Intel graphics for full hardware acceleration
       
      Components used:
       
      Core i7 8700, UHD 630
      Gigabyte Radeon RX560
      Wifi/BT BCM943602BAED (DW1830) M.2
      Samsung PM961 NVMe SSD
       
      *This guide requires you to know the basics, meaning how to create a macOS install drive, installing and using Clover. There are great beginners guides out there! As always you need at least FakeSMC to boot, every other kext I’ve used is mentioned in the guide. For Mojave beta you need to be enlisted with your Apple-ID in Apple’s beta programme. What is described here may work for High Sierra 10.13.6, but I doubt it to be reliable. Even in early beta status (PB3) Mojave runs much more stable and smoother than High Sierra ever did for me.* 
       
      UEFI-BIOS settings:
       
      The board comes with BIOS version 1.20, there is an update 1.50 on the Asrock website. Usually it is good to stay updated but in this case I’ll recommend to stay on 1.20, because the 1.50 version seems to be unstable and I had restarts upon wake and things like that I couldn’t get fixed even with dsdt patches. So I just downgraded to 1.20 which runs fine.
      Settings needed: Just the usual. Disable fast boot and security boot (everything Windows-related), disable vt-d and enable XHCI hand-off. Activate multi monitor support and set VRAM to 64MB to activate the Intel IGPU. From what I’ve read most people recommend 128MB but I find the 64MB setting to be more reliable, getting artifacts with settings below or above 64MB. 128MB may be needed for 4k support, though. As for nVidia users: You may have to disable the Intel graphics. I’m using an AMD card and that is the brand to go these days since Apple decided to work with AMD
       
      Clover and power management:
       
      I recommend upgrading to 4586. It seems that Aptiomemoryfix is now working with H370 chipsets. I stayed on OsxAptiomemoryfix2 together with Emuvariable and it works. Feel free to experiment.  
      For power management with your CoffeeLake cpu you can just tick plugin type within Clover or compile a ssdt with Pikeralphas script. Mojave reports my cpu correctly as Core i7 since PB3, before that it is just “Unknown” but that is just cosmetic. 
       
      Graphics:
       
      This is the worst part. Getting the Radeon to run correctly alongside the Intel graphics took me weeks to figure out. 
       
      While RX570 and 580 run out of the box in most cases, the RX560 models often do not or at least not correctly. Apple even banned them from eGPU use. For my approach you cannot use “Whatevergreen.kext”, it simply didn’t work for me the way I needed it. Instead I added some fixes to my DSDT to set the correct number of ports used (DP, HDMI, DVI) and tell macOS to use the correct frambuffer. For those who are not into dsdt editing I added my DSDT, look at the “PEGP” section how it is done. This works for the RX560 using the “Acre” framebuffer, you can replace it with “Radeon”, that works too. Other cards need a different framebuffer and a different number of ports. You can do it!   BTW: Do not buy this Gigabytecard!!! It has some weird VBIOS on it, which caused me nightmares before I got the card to work! Buy a Sapphire card instead, they are used by Apple too.   
       
      To get full hardware acceleration for encoding videos you have to have the Intel graphics enabled alongside your AMD card. Problem is, you cannot have it running simply as a second graphics card but you’ll need to “hide” it, means telling macOS that it doesn’t have any display connectors. Otherwise you’ll have screen artifacts or in the worst case just constant crashes. This can be done by adding a certain ig-platform-id in Clover. If you use 59120003 the Intel graphics will not show up in system profiler but it is there. You can check it with iStats or HWMonitor or look if the Kaby Lake graphics kexts are loaded.  This ID makes the CoffeeLake UHD 630 to be recognized as a Kaby Lake gpu that has no display ports, is just used as a helper card.
       
      You’ll need it as a helper card for video encoding. That is what Intel graphics are used for in Macs, to support video encoding on the hardware side. You can check if hardware encoding is supposedly enabled by using MacX Video Converter Pro and VDADecoderChecker. If both say “yes” and “fully supported” this is a good start. But despite the widespread belief this doesn’t mean everything is set correctly! You now have to find out, how to get both cards working together. This is the moment where you have to choose between work and fun: Are you using FinalCut Pro for video editing or are you planning to use iTunes for entertainment? Up until this day (Mojave PB3, High Sierra 10.13.6) you cannot have both working correctly! I’ll show you how it is done both ways. 
       
      The best settings for Final Cut:
       
      Use the DSDT I’ve added with the respective AMD settings for the RX560 or modify them for your graphics card.
       
      Use SMBIOS for iMac17,1 (14,2 does work but picture over DP port is ugly, iMac 18,1/2/3 do not work) in Clover.
       
      Have AppleIntelKBLGraphicsFramebufferInjector_3e9x.kextin your Clover/kexts/Other folder.
       
      Until Mojave PB2 (may work on High Sierra 10.13.6):
       
      Fake-ID 3E928086 plus ig-platform-id 59120003
       
      These are the correct setting when installing Mojave (usually you will start with PB1 as the full installer).
       
      For Mojave PB3 and higher:
       
      Fake-ID 59128086 plus ig-platform-id 59120003
       
      After upgrading to PB3 you will get a black screen with 3E92 fake id because PB3 introduces Coffee Lake kexts and macOS will use these kexts instead but that doesn’t work with our ig-platform-id. So you can download the update to PB3 but before installing it you’ll need to change the fake-id to a usual Kaby Lake id. While this didn’t work in High Sierra and the first two Mojave betas (meaning you didn’t get full hardware encoding) it is now magically working with PB3. It is safe to remove AppleIntelKBLGraphicsFramebufferInjector_3e9x.kext after upgrading to PB3.
       
      The best setting for iTunes and why it is the worstfor Final Cut:
      Just do the same thing as for FinalCut, put Shiki.kext into your Clover/kexts/other folder and add -shikigva boot argument. You can use -shikigva=1 or 2 or 12 it will work either way. Now you can watch movies with iTunes, yay! But it has some sideeffects. You cannot use this setting when seriously editing with Final Cut.
       
      While this works by tricking macOS to use the IntelGraphics to play protected video content, it doesn’t seem to be the way real Macs are doing this. As soon as you open FinalCut you will notice (check this with iStats or HWMonitor) that the Intel graphics is not or only barely utilized, instead cpu usage skyrockets, indicating that slow software rendering is used instead of hardware encoding through Intel graphics. To make it worse the Radeon still “thinks” there is an Intel graphics helping so it does not run at highest potential. You may never notice it when using HD material with 24 or 25p because it still fast enough for that. But 50p or 4k material will most likely cause stuttering. I was astonished when I had stutters while previewing my 50p material, impossible to watch it. Thinking: What is wrong? I have a freaking i7 8700 plus RX560! Even my old hackbook with HD4000 is doing better!     
       
      Wifi and Bluetooth
       
      I swapped the Intel Wifi card that was coming with the mainboard plugged into the onboard M.2 port with a compatible Dell card. The DW1830 or BCM943602BAED. The wifi part runs out of the box, but if you want the card to appear as Apple AirportExtreme and set the country code according to your country you need to put FakePCIID_Broadcom_WiFi.kext into Clover/kexts/other and add some Clover kext-to-patches by PMHeart. 
       
      Name: com.apple.driver.AirPort.BrcmNIC
      Find: 75166644 3BA3581A 0000750C 4183FE04 7406
      Replace: 66906644 3BA3581A 00006690 4183FE04 6690
      Comment: AirPortBrcmNIC - PCIe in 10.13.x
       
      Name: com.apple.driver.AirPort.BrcmNIC
      Find: 4183FCFF 7435488D 55D0
      Replace: 66C70644 45EB348D 55D0    (*this is for DE country code, change for your need)
      Comment: BCM4352-Country Code 
       
      Bluetooth will work thanks to Rehabman’s kexts. You’ll need BrcmPatchRAM2.kext and BrcmFirmwareData.kext OR BrcmFirmwareRepo.kext. The Data.kext can be injected through Clover, just throw it into the kexts/other folder, the Repo.kext has to be installed in /Library/Extensions on your mac drive, it won’t work with Clover. I had issues with the Data.kext, Bluetooth was gone on every second or third reboot. The Repo.kext is more reliable, haven’t had any issues yet. I really don’t like the kexts to be installed in my system but I guess I have to live with it for the time being.
       
      Oh, handoff and continuity don’t work, doesn’t matter that system profiler shows them as enabled. At least it works in one way: the mac can handoff Safari pages to my iPhone, but not the other way around. Documents opened on my phone show up in the dock, but they are not loaded. 
      This issue is around since at least High Sierra and from what I’ve read Rehabman is not going to fix this, because he founds this features not worth it. I have to disagree, these are very convenient and valuable features if you work with desktop, laptop and tablet in different situations, I miss this capability very much!    
       
      Audio
       
      Audio works with Lilu.kext plus AppleALC.kext and you need to inject Layout ID=1 in Clover. For Mojave use the boot setting -lilubetaall to force the kexts to load. If you like to have DP or HDMI audio add a HDAU device to your dsdt (see mine for reference).
       
      Credits:
      Credits go to this great community! I hope I mentioned everyone in this guide whose insights made this hack possible. If I have forgotten someone please let me know!
      DSDT.aml.zip
    • By vector sigma
      HWSensor Features
      Control temperature of Intel and AMD CPU Control temperature of AMD, Intel and NVidia cards Control temperature of motherboard Control FANS Control Voltages Control HDD/SSD state (SATA & NVMe) with S.M.A.R.T. monitoring  Control frequencies Laptop Battery Monitoring Different applications support High Sierra compatible Installation to /S/L/E or in the ESP (Clover only)  
      Supported languages:
      English (base), Russian, Italian, Korean and semplified Chinese
       
      Source code: at https://sourceforge.net/p/hwsensors/hwsensors3/code3/HEAD/tree/
      Bugs report at https://sourceforge.net/p/hwsensors/hwsensors3/tickets/
      Topic for discussion at: https://www.insanelymac.com/forum/topic/299861-hwsensors3/
       
      Chief Developer @Slice, new HWMonitorSMC2.app and package by @vector sigma
    • By Slice
      Laptop battery monitoring

       
       
       
      Using this driver you have to exclude other battery drivers: ACPIBatteryManager, AppleSmartBattery and so on.
      This driver assumes to using HWSensors3 with FakeSMC 3.5 as being part of it.
       
      19.01.2018
      Updated version of VoodooBatterySMC will get extended battery information and so it will be more exact.
      VoodooBatterySMC.kext.zip
       
      Updated HWMonitorSMC by vector-sigma
      HWMonitorSMC.app.zip
       
      HWMonitor2 by vector-sigma
      https://sourceforge.net/projects/hwsensors3.hwsensors.p/files/latest/download
    • By zeg66
      Please help me with this 10.9.5 system. Motherboard: Gigabyte 965p-s3 rev3.3, gpu: Ati Radeon HD6450 (dvi/hdmi/vga). 
      Using any of the 3 ports on the 6450 (dvi, hdmi, vga), I see all the white letters on black background during boot but when they complete and it's time for the graphics to start I get a black screen and sometimes a restart after that. Using Clover 4411. Is there any way to get past this?
×