Jump to content
Mieze

Tracing back the AMD GPU wakeup issue to its origin

355 posts in this topic

Recommended Posts

Hi, can you please look at my attached ioreg screenshots and tell me if I set my radeon r9 290x GPU PM correctly. AGPM shows under ATY,AMD,RadeonFramebuffer@0 but my display is registered under ATY,AMD,RadeonFramebuffer@3. I have disabled IGPU in BIOS, set ASPM for PEG only and didn't use framebuffer injection or patching since i'm using only one LCD. Sorry if this is too much OT and thanks to all the developers for their priceless work

post-598874-0-32279700-1511573967_thumb.png

post-598874-0-33298000-1511574785_thumb.png

Share this post


Link to post
Share on other sites
Advertisement

Hi, can you please look at my attached ioreg screenshots and tell me if I set my radeon r9 290x GPU PM correctly. AGPM shows under ATY,AMD,RadeonFramebuffer@0 but my display is registered under ATY,AMD,RadeonFramebuffer@3. I have disabled IGPU in BIOS, set ASPM for PEG only and didn't use framebuffer injection or patching since i'm using only one LCD. Sorry if this is too much OT and thanks to all the developers for their priceless work

Yes AGPM will show up under the first ATY

Share this post


Link to post
Share on other sites

Slice sir, I've done as per ur advice, but no luck  :(

 

What I've done so far,

 

1. Change 4 kext + AMD6000.kext and DeInit=Yes

2. Applied diff SMBIOS 

3. Patch DSDT to Inject AMD (InjectATI=No is in clover)

4. Applied many FB patches

5. Sir I've tried ur SSDT-AML, n i see some thing diff(white background instead of black) , but it didn't made AMD work  :(

 

Sir Does MCFG.aml has any role to play coz i have to drop it! to get my radeon working.

 

sir can u plz share this 4 kext plz  :), one last try before "I QUIT"  :(

Share this post


Link to post
Share on other sites

Hi, can you please look at my attached ioreg screenshots and tell me if I set my radeon r9 290x GPU PM correctly. AGPM shows under ATY,AMD,RadeonFramebuffer@0 but my display is registered under ATY,AMD,RadeonFramebuffer@3. I have disabled IGPU in BIOS, set ASPM for PEG only and didn't use framebuffer injection or patching since i'm using only one LCD. Sorry if this is too much OT and thanks to all the developers for their priceless work

 

I use iMac13,2 as SMBIOS. In AGPM of  that there are only Nvidia type gpus (GFX0 ...).

If i look on AGPM part of iMac18,x there are AMD Gpus which have other keys in GFX0...

 

I use RX 460 with sucess in Sierra - works- only use whatevergreen, nothing more :).

But i am sure AGPM with unmodded iMac13,2 will make nothing for AMD because keys +IDs there  in GFX0 are for Nvidia gpu.

 

Below yo see my the .plist of AppleAGPM in which a marked my used iMac13,2 blue (second, lower ) and some iMac18 (has AMD) (first, upper)

Would it make sense to use the GFX0 from iMac18 in the iMac13,2 ? ( I have IVY CPU, so for CPU want stay this Modell)

 

post-110586-0-39529100-1511623722_thumb.jpg

Share this post


Link to post
Share on other sites

can i have this kext from 10.12.5 or 10.12.6 or both

AMDRadeonX3000.kext
AMDRadeonX3000GLDriver.bundle
IOAccelerator2D.plugin
IOAcceleratorFamily2.kext

does 10.12.6 n 10.13.1 kext behave same, coz i want it for AMD Radeon HD 7650M GPU

Share this post


Link to post
Share on other sites

SiddRamesh,

Cancel the spam!


I think I injected as Device Properties, take a look.

Hey Pavo!

SSDT is not a DeviceProperties protocol.

I asked one or another and you answered that you are using ACPI method not DeviceProperties method.

Share this post


Link to post
Share on other sites

OK, SO M KILLIN OS X HIGH SIERA AS My AMD Radeon HD 7650M Is not able to get QE/CI

 

ALL HPOE IS GONE :(

 

GOODBYE :(

Share this post


Link to post
Share on other sites

In High Sierra's AMD kexts, I'm curious about what differences there are between ATIFramebuffer and IOFreambuffer. I think there is no ATIFramebuffer in Sierra's AMD kexts. Is it the reason there are cards that works on Sierra but don't work on High Sierra??

I made a topic http://www.insanelymac.com/forum/topic/329602-no-acceleration-for-radeon-rx460/.

Share this post


Link to post
Share on other sites

OK, SO M KILLIN OS X HIGH SIERA AS My AMD Radeon HD 7650M Is not able to get QE/CI

 

ALL HPOE IS GONE :(

 

GOODBYE :(

This laptop doesn't have an iGPU?

Share this post


Link to post
Share on other sites

Here it is

Thanks a lot bro, :)

 

But i can't open it, can u send me .txt 

 

n would u like suggest me sloutuin for my AMD 7650M on 10.13.1 to get QE/CE!

Share this post


Link to post
Share on other sites

Thanks a lot bro, :)

 

But i can't open it, can u send me .txt 

 

n would u like suggest me sloutuin for my AMD 7650M on 10.13.1 to get QE/CE!

I'll send you a PM. Let's keep this thread clean.

Share this post


Link to post
Share on other sites

Have you tried to remove all the ATI injections and let the macOS default framebuffer to be loaded? What happens if you remove the KextToPatches as well?

 

Just keep the RadeonDeInit and remove the rest. and let me know

Share this post


Link to post
Share on other sites

Have you tried to remove all the ATI injections and let the macOS default framebuffer to be loaded? What happens if you remove the KextToPatches as well?

 

Just keep the RadeonDeInit and remove the rest. and let me know

AMD 6000 n X3000 Controller Loads but on 4mb VRam no QE/CI

Share this post


Link to post
Share on other sites

I found an interesting find.

I’m on ryzen 10.13.2 beta 5 and what happened is I always updated my clover and even my fakesmc.kext

I used the latest lilu and whatevergreen. When I wanted to put the computer to sleep it would turn off the monitor and reboot.

 

So I went my old hard drive (10.13.1) using this efi and was getting the same results. Reboot on sleep. Which was very odd for me because steep worked at great when I was in 10.13.1

 

I played around with a lot of files and ended up using my old efi which contained and older version of clover and fakesmc.kext.

Using this old efi and the latest lilu and whatevergreen sleep worked again!!!

 

I’m still playing around with the files I will try on 10.13.2 beta which gave me reboot when I put it to sleep.

 

I’ll report back

Share this post


Link to post
Share on other sites
External (_SB_.PCI0.GFX0.PEGP, DeviceObj)

Should be 

External (_SB_.PCI0.PEG0.PEGP, DeviceObj)

or 

 External (_SB_.PCI0.PEG0.GFX0, DeviceObj)

You either use PEGP or GFX0 not both, if you are replacing PEGP with GFX0 in ACPI patching you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT

 

 

@pavo, can you please explain what you mean by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" ?

I patch ACPI PEGP -> GFX0 in Clover and having the same issue.

 

I cannot get a clean boot via my SSDT-AMD.aml for RX580 8GB

I see the Apple logo and the loading bar. Then the halfway through, the screen flashes partially white and back to half loading bar and the screen freezes. Non of the ports on the GPU work but macOS is up as I can shell via SSH into it remotely.

 

If I use use RadeonDeInit=true and no SSDT, then all is fine.

But I like to find out why my SSDT is not working.

 

Attached my config.plist & SSDT files.

 

I'm using Clover r4318

MacNB-config.plist.zip

SSDT-AMD.aml.zip

Share this post


Link to post
Share on other sites

@pavo, can you please explain what you mean by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" ?

I patch ACPI PEGP -> GFX0 in Clover and having the same issue.

 

I cannot get a clean boot via my SSDT-AMD.aml for RX580 8GB

I see the Apple logo and the loading bar. Then the halfway through, the screen flashes partially white and back to half loading bar and the screen freezes. Non of the ports on the GPU work but macOS is up as I can shell via SSH into it remotely.

 

If I use use RadeonDeInit=true and no SSDT, then all is fine.

But I like to find out why my SSDT is not working.

 

Attached my config.plist & SSDT files.

 

I'm using Clover r4318

In order for SSDT injection method to work you also must use InjectATI=True in config, using RadeonDeInit will not allow SSDT injection method to work. What I meant by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" is if in your clover config you have ACPI PEGP -> GFX0 in ACPI patching, then you only want _SB_.PCI0.PEG0 in your SSDT, because the ACPI patch is looking in your injected SSDT during patching process for PEGP to patch to GFX0, if you have _SB_.PCI0.PEG0.GFX0 then the ACPI patch will make it result in _SB_.PCI0.GFX0.GFX0 because you have it renaming PEGP to GFX0.

 

Wow you have a TON of fixes that you probably don't need, what is this system specs? You SSDT you attached is not complete at all, nothing is being injected. Try these.

MacNB-config.plist.zip

SSDT-RX-580.zip

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 fusion71au
      Clover r4542 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 14 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4542 for VMware.zip". Mount Clover-v2.4k-4542-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By PingoLinkin
      Motherboard: ASUS / X99 Deluxe II
      Chipset: Intel® X99
      Processador: i7-6800 LGA2011 v3
      Memoria: HyperX - DDR4 24000MHz - 32GB(2x16gb)
      Rede: Intel® I218V, 1 x Gigabit LAN; Intel® I211-AT, 1 x Gigabit LAN LAN; Dual Gigabit LAN controllers- 802.3az Energy Efficient Ethernet (EEE) appliance
      Audio: Realtek® ALC1150 com 8 canais
      Video: Geforce GTX 750 Ti 2GB SC DDR5 128 bits PCI-E 3.0 (1x DVI, 1x DisplayPort, 1x HDMI)
      Keyboard: Apple Aluminium
      Mouse: Microsoft
      HD: SAMSUNG SSD 840 EVO 1TB
       
      ///////////////////////////////////////////
       

       
      1 - Preparando PENBOOT:
        1.1 - Baixe a imagem do Sierra e deixe na pasta "Applications";
        1.2 - Formate o PenDrive e altere o nome para: "MyVolume";
        1.3 - Abra o Terminal e digite a seguinte linha de código, dê enter e quando solicitado digite sua senha. Aguarde o término da instalação, geralmente demora em torno de 20min:
      sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app  
       
      1.4 - Baixe a última versão do Clover EFI bootloader: Download
        1.5 - Abra o Clover, na última etapa, clique em Customize, depois marque a opção "Install for UEFI booting only", como na imagem abaixo:

       
        1.6 - Provavelmente a partição "EFI" estará montada, abra a partição e substitua a pasta "CLOVER" por esta CLOVER Asus X99 Deluxe II - Sierra.zip.
       
      2 - Configurando BIOS
        2.1 - Atualize sua BIOS para a versão mais recente, a minha é: 1902
        2.2 - Reset as configurações de sua BIOS em: Exit/Load Optimized Defaults;
        2.3 - Vá para: Boot/CMS (Compatibility Support Module)/Launch CMS: ENABLED;
        2.4 - Vá para: Boot/Secure Boot/OS Type: Other OS;
       
      3 - Instalando OS
        3.1 - Ligue o computador com o Pendrive espetado, ele automaticamente irá iniciar o Clover, caso isso não aconteça, na tela inicial da ASUS, pressione F8 para escolher o pendrive como boot primário;
        3.2 - Em algum momento futuro, seu clover pode não arrancar corretamente, caso isso aconteça, na tela inicial do CLOVER pressione F11 para limpar o NVRAM, ele irá reiniciar a máquina automaticamente, em seguida voltará a arrancar normalmente;
       
      4 - PÓS-INSTALAÇÃO
        4.1 - Inicie seu MAC temporariamente pelo Pendrive como boot primário;
        4.2 - Instale o clover seguindo as etapas 1.4, 1.5 e 1.6 . Apenas não esqueça de alterar o destino para o HD Interno com a instalação do Sierra.
        4.3 - Feito isso, reinicie seu mac, agora sem o pendrive;
       
      5 - VÍDEO
        5.1 - Na pasta CLOVER que anexei acima, já possui as kexts NvidiaGraphicsFixup.kext e Lilu.kext ;
        5.2 - Baixe e instale o nVidia Web Driver(Download) de acordo com a versão do seu OS;
        5.3 - A minha versão, por exemplo, é: "macOS 10.12.6 (16G1408)";
        5.4 - Veja abaixo onde encontrar sua versão:

       
      Obs.: Existe um bug no vídeo, caso queira utilizar a entrada DVI, é preciso iniciar a máquina já com o cabo plugado, caso contrário ele deixará sua tela preta e não voltará mais ao normal até que reinicie a máquina.
       
        5.5 - INSTALANDO O CUDA:
           1 - A última versão não funcionou, então baixei a penúltima e funcionou perfeitamente. A versão instalada foi: CUDA 387.178 driver for MAC.

       
       
      6 - ÁUDIO
        6.1 - Baixe o Voodoo HDA 2.9.0 Clover (Download)
        6.2 - Siga as etapas das imagens que estão dentro do anexo;
       
       
      Não solucionado:
      Não consigo habilitar a placa ThunderboltEX 3;
       
       
      Valeu.
    • By MaLd0n
      First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with patches for Skylake DSDT.MaLd0n ASUS Z170M PLUS.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DMAC -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -IMEI -PNLF -HDMI --FakeSMC
      http://www.hwsensors.com/releases   --Audio https://github.com/vit9696/AppleALC   --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   --LAN https://github.com/Mieze/IntelMausiEthernet   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!
    • By MaLd0n
      First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan and Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder CLOVER Install.zip   --Install EL Capitan / Sierra / High Sierra and boot into system! for Sierra/High Sierra you need a Processor with SSE4.1 instruction   Post Installation --Install Clover and replace with my folder CLOVER Post Install.zip   --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time! -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) and tell me what your hardware! -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generate in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609    My DSDT GA P35-DS3 DSDT.MaLd0n LGA775.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×