Jump to content
Gigamaxx

AMD High Sierra Kernel Release and Testing

1,055 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 ?

Share this post


Link to post
Share on other sites
Advertisement

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)

Share this post


Link to post
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

Share this post


Link to post
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??

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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?    

Share this post


Link to post
Share on other sites

Oh okay sorry lol

 

No problem, I was following along with the same thoughts until I read the thread for the pentium graphics fix.    This could help us with graphics if it can be solved.

Share this post


Link to post
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 

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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??

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

 

 

Check the crash history

/Library/Logs/DiagnosticReports/WindowServer_xxxxxxxxxxxxxxxxxxx.crash

Share this post


Link to post
Share on other sites

No crash for WindowsServer. Just loginwindow.

 

Edit: This is the full crash log. That's all that was in the Log folder.

 

 

Dyld Error Message:

Symbol not found: _OBJC_CLASS_$_SLSessionOwner

Share this post


Link to post
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?

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 spakk
      Hey @ll, here you can ask several special questions about Ryzen CPUs or installation
    • By xxGOMESxx
      Uma "ajudinha" aki clã,
      Eu tenho a R9 270 e gostaria de mais informações de como instalar os drivers. Eu tentei arrumar os drivers aki no Yosemite, ja vi várias pessoas que conseguiram instalar a R9 270x e algumas q instalaram com a R9 270. Na primeira vez que eu inicio o hackinsoth (pra instalar) funciona tudo normal com os boot args: /amd1 npci=0x3000 (note que eu uso um processador AMD, mas atualmente não interfere mais na performance do hackintosh, visto que ele não necessita mais de um processador Intel). Depois de usar esses boot args, a instalação ocorre perfeitamente e o primeiro boot também, porém sem os drivers da placa de vídeo, ou seja, animações travando muito. Outro problema que encontro é que, sempre quando reinicio o PC depois de acabar de reparar as permissões, etc. na hora de fazer login ele trava na tela com o mouse rodando (aquela bolinha colorida) e um loop infinito nessa tela sempre acontece. Espero conseguir ajuda. Eu sei que isso também deve ter algo a ver com o FrameBuffer, mas das poucas vezes que eu consegui mudar alguma coisa nas configurações do clover, na hora de reiniciar e fazer login, o loop depois da tela de bloqueio ocorre novamente. Eu sempre usei hackintosh no meu Notebook da Dell, mas agora que tenho uma máquina que eu sei que tem suporte eu fico nervoso por não conseguir instalar tudo certinho, porque sei que o erro, com certeza sou eu quem está cometendo. Mas gostaria de ajuda ^^
       
      Minha placa de vídeo: Gigabyte Radeon R9 270 (OC Version).
      Meu processador: AMD FX4300 (funcionando com o boot arg: /amd1)
      Minha placa mãe: GA-78LMT-USB3 rev5 (tudo funcionando também, boot args: npci=0x3000)
      Memória RAM: 8GB HyperX
       
      OBS: A versão do FrameBuffer que eu preciso não aparece no kext  AMD7000Controller nem no AMD4000XController (já cliquei em "show package content" mas n achei meu FrameBuffer que provavelmente é o Futomaki, mas não tenho certeza.
       
      OBS 2: Já ativei a opção InjectATI no Clover e também ja salvei e substitui as configurações (substitui o arquivo do clover, pelo meu editado com os meus boot args, framebuffer info, etc.
       
      OBS 3: Não se esquecam de me ajudar também, se possível na correção desse bug da tela de login que eu comentei. Provavelmente após corrigir esse problema da placa de vídeo, não acontecerá mais nenhum loop, mas como também não tenho certeza, peço ajuda novamente.
       
      OBRIGADO PESSOAL, BEIJO NA TESTA DE VCS KKKK
       
      P.S.: RXILHA
×