Jump to content

AMD High Sierra Kernel Release and Testing


1,119 posts in this topic

Recommended Posts

Bronya kernel works with High Sierra beta 10.13.2 replacing the 17.3 kernel.    However I must use -liluoff to get past black screen and RX 480 lists as display 7mb.   I will try to update to latest lil and whatever green kexts and update findings.

 

Bronya kernel works with High Sierra beta 10.13.2 replacing the 17.3 kernel.    However I must use -liluoff to get past black screen and RX 480 lists as display 7mb.   I will try to update to latest lil and whatever green kexts and update findings.

 

Update:  With latest lilu and Whatevergreen kexts RX 480 is working with acceleration.

 

attachicon.gifHS 13.2 Ryzen 17.0 kernel.png

 

attachicon.gifGeekbench HS 13.2.png

 

Update:  With latest lilu and Whatevergreen kexts RX 480 is working with acceleration.

 

attachicon.gifHS 13.2 Ryzen 17.0 kernel.png

 

attachicon.gifGeekbench HS 13.2.png

 

SO    disable Lilu.kext & Enable Whatevergreen.kexts ?

Link to comment
Share on other sites

SO disable Lilu.kext & Enable Whatevergreen.kexts ?

This is for Radeon cards for example rx 480

 

When I updated to 10.13.2 beta it seemed to load but black screen.

 

 

You would disable lilu to boot into Mac OS to update whatevergreen and lilu

While you boot you will not get acceleration

(The purpose of updating lilu and whatevergreen is to get full acceleration )

 

Easier method I had a old nvidia gt210 and was able to boot without any commands then I updated the lilu and whatevergreen kext then use kext utility to repair

 

Then I plug back my rx 480 and get full acceleration (no more black screen the issue is I was running an old version of both kext)

  • Like 1
Link to comment
Share on other sites

This is for Radeon cards for example rx 480

 

When I updated to 10.13.2 beta it seemed to load but black screen.

 

 

You would disable lilu to boot into Mac OS to update whatevergreen and lilu

While you boot you will not get acceleration

(The purpose of updating lilu and whatevergreen is to get full acceleration )

 

Easier method I had a old nvidia gt210 and was able to boot without any commands then I updated the lilu and whatevergreen kext then use kext utility to repair

 

Then I plug back my rx 480 and get full acceleration (no more black screen the issue is I was running an old version of both kext)

 

My display card is Intel internal display
but I want to know the reason of black screen.
 
Before OS X 10.11 There is no problem to enable CI
After OS X 10.12 Enabling CI causes a black screen (gIOScreenLockState 3 ... sm:0x0)
 
                     QE      CI (OPENGL/CL)
Before OS X 10.11    OK      OK
After OS X 10.12     OK      NO
If sm is 0x0 will enter the black screen.
 
sm is "systemMessage"

 

xnu Source: xnu-xxx/iokit/Kernel/IOService.cpp

 

function: IOService::updateConsoleUsers

#if HIBERNATION
	if (kIOMessageSystemHasPoweredOn == systemMessage)
	{
	    uint32_t lockState = IOHibernateWasScreenLocked();
	    switch (lockState)
	    {
		case 0:
		    break;
		case kIOScreenLockLocked:
		case kIOScreenLockFileVaultDialog:
		    gIOConsoleBooterLockState = kOSBooleanTrue;
		    break;
		case kIOScreenLockNoLock:
		    gIOConsoleBooterLockState = 0;
		    break;
		case kIOScreenLockUnlocked:
		default:
		    gIOConsoleBooterLockState = kOSBooleanFalse;
		    break;
	    }
	}
#endif /* HIBERNATION */

#if HIBERNATION
        if (!loginLocked) gIOConsoleBooterLockState = 0;
	IOLog("IOConsoleUsers: time(%d) %ld->%d, lin %d, llk %d, \n",
		(num != 0), gIOConsoleLockTime, (num ? num->unsigned32BitValue() : 0),
		gIOConsoleLoggedIn, loginLocked);
#endif /* HIBERNATION */

#if HIBERNATION
    if (gIOChosenEntry)
    {
	if (locked == kOSBooleanTrue) gIOScreenLockState = kIOScreenLockLocked;
	else if (gIOConsoleLockTime)  gIOScreenLockState = kIOScreenLockUnlocked;
	else                          gIOScreenLockState = kIOScreenLockNoLock;
	gIOChosenEntry->setProperty(kIOScreenLockStateKey, &gIOScreenLockState, sizeof(gIOScreenLockState));

	IOLog("IOConsoleUsers: gIOScreenLockState %d, hs %d, bs %d, now %ld, sm 0x%x\n",
		gIOScreenLockState, gIOHibernateState, (gIOConsoleBooterLockState != 0), now, systemMessage);
    }
#endif /* HIBERNATION */

I guess this is some sort of validation limit

 

But do not know the reason

  • Like 1
Link to comment
Share on other sites

 

My display card is Intel internal display

but I want to know the reason of black screen.

 

 

Before OS X 10.11 There is no problem to enable CI

After OS X 10.12 Enabling CI causes a black screen (gIOScreenLockState 3 ... sm:0x0)

 

 

                     QE      CI (OPENGL/CL)
Before OS X 10.11    OK      OK
After OS X 10.12     OK      NO
If sm is 0x0 will enter the black screen.

 

sm is "systemMessage"

 

xnu Source: xnu-xxx/iokit/Kernel/IOService.cpp

 

function: IOService::updateConsoleUsers

#if HIBERNATION
	if (kIOMessageSystemHasPoweredOn == systemMessage)
	{
	    uint32_t lockState = IOHibernateWasScreenLocked();
	    switch (lockState)
	    {
		case 0:
		    break;
		case kIOScreenLockLocked:
		case kIOScreenLockFileVaultDialog:
		    gIOConsoleBooterLockState = kOSBooleanTrue;
		    break;
		case kIOScreenLockNoLock:
		    gIOConsoleBooterLockState = 0;
		    break;
		case kIOScreenLockUnlocked:
		default:
		    gIOConsoleBooterLockState = kOSBooleanFalse;
		    break;
	    }
	}
#endif /* HIBERNATION */

#if HIBERNATION
        if (!loginLocked) gIOConsoleBooterLockState = 0;
	IOLog("IOConsoleUsers: time(%d) %ld->%d, lin %d, llk %d, \n",
		(num != 0), gIOConsoleLockTime, (num ? num->unsigned32BitValue() : 0),
		gIOConsoleLoggedIn, loginLocked);
#endif /* HIBERNATION */

#if HIBERNATION
    if (gIOChosenEntry)
    {
	if (locked == kOSBooleanTrue) gIOScreenLockState = kIOScreenLockLocked;
	else if (gIOConsoleLockTime)  gIOScreenLockState = kIOScreenLockUnlocked;
	else                          gIOScreenLockState = kIOScreenLockNoLock;
	gIOChosenEntry->setProperty(kIOScreenLockStateKey, &gIOScreenLockState, sizeof(gIOScreenLockState));

	IOLog("IOConsoleUsers: gIOScreenLockState %d, hs %d, bs %d, now %ld, sm 0x%x\n",
		gIOScreenLockState, gIOHibernateState, (gIOConsoleBooterLockState != 0), now, systemMessage);
    }
#endif /* HIBERNATION */

I guess this is some sort of validation limit

 

But do not know the reason

What processor do you have? Internal graphics??

Link to comment
Share on other sites

This thread is for ryzen Sierra kernel

 

I build a hackintosh with the same specs as yours and never ran into an issue

Try updating your clover and injecting both settings for graphics in clover

 

I’d is no longer required in the newest clover

Here is mine you can give it a shot

https://drive.google.com/open?id=0B-v6U5cirK6TV1JXYjdpV0xtd1U

Link to comment
Share on other sites

This thread is for ryzen Sierra kernel

 

I build a hackintosh with the same specs as yours and never ran into an issue

Try updating your clover and injecting both settings for graphics in clover

 

I’d is no longer required in the newest clover

Here is mine you can give it a shot

https://drive.google.com/open?id=0B-v6U5cirK6TV1JXYjdpV0xtd1U

 

the problem still exists, Unable to solve.

Link to comment
Share on other sites

This thread is for ryzen Sierra kernel

 

I build a hackintosh with the same specs as yours and never ran into an issue

Try updating your clover and injecting both settings for graphics in clover

 

I’d is no longer required in the newest clover

Here is mine you can give it a shot

https://drive.google.com/open?id=0B-v6U5cirK6TV1JXYjdpV0xtd1U

 

It's an effort to help us solve the ScreenlockState and black screen issue which will apply to Ryzen as well as other systems.   This could be very helpful and it could possibly lead to a Nvidia performance increases if its a "validation" issue.     We also have the 15-20% decrease in Polaris and Vega cards that this may help to resolve.     Did you look at Meowthra"s IGFX fix for pentium?    That took some work and is a great fix, nice job Meowthra!       

 

@Meowthra, last week I looked at the kernel section for "Unsupported CPU" and it looks like it is assigning "default" values for power regulation.    Could these values be dropping performance to prevent overheating or burning out of CPU and System Board and components?    If the temps and power states aren't registering is the software possibly switching to Low performance mode for PCIe Graphics as well?    

Link to comment
Share on other sites

3 question 

 

1 the low fps  in gpu app  is  only in amd  hackintosh?

2 in high sierra  someone have  bug in stream sites in my case  the video play  normally but have one delay of 5s or more in the audio ?

3   bronya you can  post one tutorial teach us how make one patch for someone app? I use blender 3D and he is very very very slow on  hackintosh amd. my cpu is fx8320  in my notebook i5 3 generation is more faster 

Link to comment
Share on other sites

3 question

 

1 the low fps in gpu app is only in amd hackintosh?

2 in high sierra someone have bug in stream sites in my case the video play normally but have one delay of 5s or more in the audio ?

3 bronya you can post one tutorial teach us how make one patch for someone app? I use blender 3D and he is very very very slow on hackintosh amd. my cpu is fx8320 in my notebook i5 3 generation is more faster

Amd with nvidia you get really bad fps (ryzen with any nvidia cards shows throttle )

Amd with amd graphic card like rx 480 runs fast

 

Intel with either card should run fast

Link to comment
Share on other sites

Nice, I will post a link to your thread for these issues on page one of this thread. Did you provide details there?

http://www.insanelymac.com/forum/topic/329125-amd-ryzen-macos-high-sierra1013-professional-software-running-test/

Illustrator CC2018 

Click this link to view the Illustrator CC2018 solution!

post-2271754-0-10220600-1509819546_thumb.png
Link to comment
Share on other sites

http://www.insanelymac.com/forum/topic/329125-amd-ryzen-macos-high-sierra1013-professional-software-running-test/

 

Should it be moved or linked to Shanees location from this first post links?

For every machine that you have installed Mac

Is in necessary to put ncpi and busratio ???

 

It seems some works with it and some without??

Link to comment
Share on other sites

Found issue relating to older Nvidia cards showing IOConsoleUsers... @Bronya or someone any ideas?

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _OBJC_CLASS_$_SLSessionOwner
  Referenced from: /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
  Expected in: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
 in /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
Link to comment
Share on other sites

 

Found issue relating to older Nvidia cards showing IOConsoleUsers... @Bronya or someone any ideas?

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _OBJC_CLASS_$_SLSessionOwner
  Referenced from: /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
  Expected in: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
 in /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow

 

 

 

http://www.insanelymac.com/forum/topic/329338-about-gioscreenlockstate-3-sm-0x0-i-probably-know-the-reason/?do=findComment&comment=2529349

 

OS X 10.12 + 在 XXXXXGLDriver.kext 編譯時加入大量 AVX2 指令 如 mulx、shlx 等 加減乘除運算代碼

 

簡單的說 處理器必須支援 AVX2 不然的話 OPEMU 必須加入 AVX2 的  mulx、shlx 模擬器

 

 

 

Google 版:

OS X 10.12 + in XXXXXGLDriver compile a large number of AVX2 instructions such as mulx, shlx addition, subtraction, multiplication and division code
 
the processor must support AVX2 or OPEMU must join AVX2 instructions (mulx, shlx) emulator
Link to comment
Share on other sites

 

http://www.insanelymac.com/forum/topic/329338-about-gioscreenlockstate-3-sm-0x0-i-probably-know-the-reason/?do=findComment&comment=2529349

 

OS X 10.12 + 在 XXXXXGLDriver.kext 編譯時加入大量 AVX2 指令 如 mulx、shlx 等 加減乘除運算代碼

 

簡單的說 處理器必須支援 AVX2 不然的話 OPEMU 必須加入 AVX2 的  mulx、shlx 模擬器

 

 

 

Goolge 版:

OS X 10.12 + in XXXXXGLDriver.kext compile a large number of AVX2 instructions such as mulx, shlx addition, subtraction, multiplication and division code
 
the processor must support AVX2 or OPEMU must join AVX2 instructions (mulx, shlx) emulator

 

 

Yeah I saw that post but the GeForceGLDriver.bundle doesn't have mulx or shlx as far as I could find.

Link to comment
Share on other sites

Dyld Error Message:

Symbol not found: _OBJC_CLASS_$_SLSessionOwner

 

Yeah but what does it mean? I see that symbol inside loginwindow but where isn't it found? Would it be possible to declare it in the kernel?

Link to comment
Share on other sites

 Share

×
×
  • Create New...