Jump to content
anor4k

No graphics / USB / Audio after wake

586 posts in this topic

Recommended Posts

@parabol

The only problem with your link is, that the OP uploaded them to rapidshare, which is not working anymore.

 

I created a list with every iMac, MacBook, MacMini and MacPro i could find which has AMD Graphics, so it's easier to find the needed DSDT dumps (thanks to everymac.com):

iMac 15,1

iMac 11,2

iMac 11,3

iMac 12,1

iMac 12,2

MacBookPro 11,5

MacMini 5,2

MacPro 6,1

MacPro 3,1

MacPro 5,1

 

I hope this may help a bit.

-theandy

Share this post


Link to post
Share on other sites
Advertisement

iMac 10,1 has ATI card option also...i use 10,1 for my workstation...

 

ACPI and ioregistry Dumps for many models here: http://tdev.me/2010/12/apple-hardware-dumps/

MacPro 6.1 uses a pci-e ati card 6xxx and iMac 12,2 uses intel hd + amd mobile card.

I tried to compare acpi tables from MP6,1 with mine, i found some method about power and sleep.

 

i didn't test it yet. Tonight i will try to inject it.

Method (PWRD, 1, NotSerialized)
                    {
                        If (Arg0)
                        {
                            Store (0x01, LNKD)
                            Sleep (0x64)
                            Return (0x00)
                        }
                        Else
                        {
                            Store (0x00, LNKD)
                            Store (0x0A, Local0)
                            While (LAnd (LNotEqual (LTRN, 0x00), LGreater (Local0, 0x00)))
                            {
                                Sleep (0x0A)
                                Decrement (Local0)
                            }

                            If (LNotEqual (DLAC, 0x01))
                            {
                                Return (0x01)
                            }

                            If (LEqual (LSTS, 0x10))
                            {
                                Return (0x00)
                            }
                            Else
                            {
                                Return (0x01)
                            }
                        }

Share this post


Link to post
Share on other sites

I tried to compare acpi tables from MP6,1 with mine, i found some method about power and sleep.

Method (PWRD, 1, NotSerialized)
                    {
                        If (Arg0)
                        {
                            Store (0x01, LNKD)
                            Sleep (0x64)
                            Return (0x00)
                        }
                        Else
                        {
                            Store (0x00, LNKD)
                            Store (0x0A, Local0)
                            While (LAnd (LNotEqual (LTRN, 0x00), LGreater (Local0, 0x00)))
                            {
                                Sleep (0x0A)
                                Decrement (Local0)
                            }

                            If (LNotEqual (DLAC, 0x01))
                            {
                                Return (0x01)
                            }

                            If (LEqual (LSTS, 0x10))
                            {
                                Return (0x00)
                            }
                            Else
                            {
                                Return (0x01)
                            }
                        }

Tried to insert it into PCI0 -> PEG0 in my DSDT.

Got 3 Errors: "Object does not exist" for LSTS, DLAC and LTRN

Maybe someone knows what these objects are. If they just have another name, we can rename them, if they have no equivalent in our DSDTs maybe we can try to find out what they return on original macs, so we can create dummy variables to mimic the values and get wakeup working.

 

All this only IF!!! this Method in the original DSDT is even related to the problem we currently face.

 

-theandy

 

EDIT:

Looked into some of the DSDTs, P0P2 is the Device equivalent to our PEG0 or what else you have for Graphics. Difference to my DSDT, P0P2 has PRW (inserting PRW into my PEG0 brought no errors, but also didn't help, still no screen after wake).

And there is always a Sub Device GFX0 which also contains PRW. The content of GFX0 differs from DSDT to DSDT (for instance MacMini 5,2 and iMac 12,1).

Share this post


Link to post
Share on other sites

I've been running El Cap since GM Candidate with no sleep problems until yesterday. Now I have the same setPowerState issue on wake with a 280X (2xDP). The weirdest part is that I made 0 configuration changes, it just started happening completely randomly.

Share this post


Link to post
Share on other sites

What can we do to help you out? I don't have much experience with dsdt/ssdt entries...i don't know too if this is the right direction to search for...

There can be a help if someone occasionally got a success and report what he did.

Or some developer/hacker make full analysis and explain what is happen.

Share this post


Link to post
Share on other sites

Vapor-X HD 5770 can wake up without problems

Looks like Tahiti and Pitcairn cards are not affected as these are supported by Apple. They don't need the cail_properties tweak either.

Share this post


Link to post
Share on other sites

Looks like Tahiti and Pitcairn cards are not affected as these are supported by Apple. They don't need the cail_properties tweak either.

 

I'm not so sure about that. My Radeon HD 7850 is Pitcairn and it worked fine in Mavericks and Yosemite but I'm getting the same problem while waking from sleep on El Cap.

Share this post


Link to post
Share on other sites

Looks like Tahiti and Pitcairn cards are not affected as these are supported by Apple. They don't need the cail_properties tweak either.

My Turks is also supported by Apple. It used in iMac12,2 as I set.

No matter, it will not awake while native iMac did.

 

It may be a big problem that Apple make SMC access through SRAM instead of legacy method used in FakeSMC and just blocked hackintoshes.

Share this post


Link to post
Share on other sites

It may be a big problem that Apple make SMC access through SRAM instead of legacy method used in FakeSMC and just blocked hackintoshes.

So what, just emulate that also.

Share this post


Link to post
Share on other sites

Big theory, but no i think it's a bug ;)

 

Either we will find a solution, or Apple will fix it in 10.11.X B)

I also think, that it's a bug, or why is it, that NVIDIA and some AMD Cards work flawlessly?

Share this post


Link to post
Share on other sites

I also think, that it's a bug, or why is it, that NVIDIA and some AMD Cards work flawlessly?

Face it: as long as all cards on real Mac hardware work, what's the bug?

Share this post


Link to post
Share on other sites

Just as HD4600 works on real macs, but has bugs on Hackintosh Laptops.

Or the graphics glitches on bootup we experience with hd3000, hd4000 and some nvidia cards.

All this is because of a bug, considering our perspective, from the viewpoint of a real mac there is no bug, because everything works.

It's a hackintosh specific bug.

 

-theandy

Share this post


Link to post
Share on other sites

I have 6870 and sleep/wake worked right after I upgraded to El Capitan while the shutdown doesn't work (always restart instead of shutdown). I then upgraded FakeSMC and move all kexts from /S/L/E/ to Clover/kexts/Others/ this resolved my shutdown (rebooting) problem, but my sleep/wake had the problem described in this thread. I tried to revert back the FakeSMC which make sleep problem even wrose (restart right after wake).

 

I suspect this problem might be related to something changed in FakeSMC, my older one is from Mountain Lion time which worked perfectly until El Capitan released. I don't really have time to try different versions of FakeSMC, but I just want to give my 0.02c that we might looked in the wrong direction before.

Share this post


Link to post
Share on other sites

I have 6870 and sleep/wake worked right after I upgraded to El Capitan while the shutdown doesn't work (always restart instead of shutdown). I then upgraded FakeSMC and move all kexts from /S/L/E/ to Clover/kexts/Others/ this resolved my shutdown (rebooting) problem, but my sleep/wake had the problem described in this thread. I tried to revert back the FakeSMC which make sleep problem even wrose (restart right after wake).

 

I suspect this problem might be related to something changed in FakeSMC, my older one is from Mountain Lion time which worked perfectly until El Capitan released. I don't really have time to try different versions of FakeSMC, but I just want to give my 0.02c that we might looked in the wrong direction before.

 

Did you write down the version of fakeSMC? Did you checked the content of fakeSMC for plugins? etc? Be precise when doing such things, otherwise it's just a blind testing without actual knowledge.

 

Please note, that reboot/shutdown etc issues are often solved by using properly patched DSDT. 

 

There is a light change, that some sort of additional method is required in DSDT to fix AMD wake issue on El Capitan.

Looks like Tahiti and Pitcairn cards are not affected as these are supported by Apple. They don't need the cail_properties tweak either.

 

Not true, I have the same problem with Radeon R9 280X graphics card (About Mac: AMD Radeon HD 7xxx 3072 MB; DPCIManager: 1002, 6798, 1787, 3001, Advanced Micro Devices, Inc. [AMD/ATI], Tahiti XT [Radeon HD 7970]).

 

It's some sort of "bug", which Apple developers didn't notice, as Mac's firmware might have some extras, which we miss on hakcintoshes.

 

Btw, issue is not unique to hackintoshes only, as I read several threads about Genuine Mac' having similar issues after upgrade to El Capitan. I will try find those threads again and post here links.

 

 

sbursik

Jun 16, 2015 7:31 AM(in response to iamvoldemort)

I am having the same issue with my MacBook Pro (Retina, 15-inch, Mid 2015). It goes to sleep and sometimes it will wake back up but most of the time I have to hold down the power button and do a hard reset.

 

2.5 GHz Intel Core i7

16 GB 1600 MHz DDR3

AMD Radeon R9 M370X 2048 MB

Share this post


Link to post
Share on other sites

I have this line in system.log after wake up. System working and system.log is saving, I just have black screen and force to shutdown before look into logs.

Sep 23 21:46:32 iMac kernel[0]: ATIFramebufferNI::setPowerState(0x7c2347df02f8a781, 0 -> 1) timed out after 45910 ms

see, there is a framebuffer problem.

I also got a report from real iMac12,2 with the same TURKS Radeon. There is no such problem and real Mac can wake with this card.

On my hack error is little different than yours:

ATIFramebufferSI::setPowerState

Share this post


Link to post
Share on other sites

Upgraded to 10.11.1b4 (15B38b) to see if it'd help and it did not.

 

I don't think it's relevant to a FakeSMC upgrade because I did not perform one before the issue started happening.

 

I can't even launch a Screenshare connection to the machine from a different computer after sleep.

Share this post


Link to post
Share on other sites

Did you write down the version of fakeSMC? Did you checked the content of fakeSMC for plugins? etc? Be precise when doing such things, otherwise it's just a blind testing without actual knowledge.

 

Please note, that reboot/shutdown etc issues are often solved by using properly patched DSDT. 

 

There is a light change, that some sort of additional method is required in DSDT to fix AMD wake issue on El Capitan.

 

Not true, I have the same problem with Radeon R9 280X graphics card (About Mac: AMD Radeon HD 7xxx 3072 MB; DPCIManager: 1002, 6798, 1787, 3001, Advanced Micro Devices, Inc. [AMD/ATI], Tahiti XT [Radeon HD 7970]).

 

It's some sort of "bug", which Apple developers didn't notice, as Mac's firmware might have some extras, which we miss on hakcintoshes.

 

Btw, issue is not unique to hackintoshes only, as I read several threads about Genuine Mac' having similar issues after upgrade to El Capitan. I will try find those threads again and post here links.

I didn't note down the version of FakeSMC but I can check when I am back home, and my shutdown/restart issue is not DSDT related (at least I think so) since I have my DSDT patched long time back and the same DSDT.aml worked in Lion/Mountain Lion/Maverick and Yosemite flawlessly.

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 ITzTravelInTime
      KX AUDIO DRIVER MOD
       
      Hi guys i am a small developer, i really like to use my sound blaster cards on my machines and i love also coding, so when i find the source code for the kx audio driver on git hub and then Eugene, the creator of kx audio driver decided to no longer maintain the project, i decided to start working on a mod of this driver and maintain it. 
       
      With my mod, created starting from the sources of the last official version of kx audio driver and all the small commiunity updates, i am working to keep the driver compatible with the latest mac os versions and to improove the driver over time.
       
      Supported cards are:
       
       - most of the Sound Blaster live!, live! 5.1 and live! 5.1 digital series (except for the cards not using the 10k1 architecture)
       - sound blaster pci 512 and pci 256
       - Sound Blaster Audigy, Audigy 2 and Audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip (like the EMU8852 aka 0404m, including the pcie version)
       - Sound Blaster Audigy 4 (SB0610 only) and the Audigy 4 pro
       - Sound Blaster Audigy RX (SB0155)
       - other creative and e-mu cards based on the (10k1,10k2, 10k2.5 and CA10300 based cards)
       
      The NOT supported cards includes (but are not limited to):
       
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - Any CA0106 based card and cards with similar architectures (like sound blaster live! 24 bit, sound blaster audigy SE SB0570, audigy LS and similars, but audigy SA is supported)
       - Any sound blaster x-fi (some of them works on macOS using a modified version of voodoo hda)
       - Any sound blaster recon3D
       - Sound blaster Audigy FX
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5/AE7/AE9 series
       - Any sound card without an emu sound chip
      - Any ISA Sound card
       
      In the time being the things i have modded or added with this mod are:
       
      - cracking and stability fixes
       
      - added a more proper support for the pci express Sound Blaster audigy rx SB0155 (which basically is an audigy 4 with a pcie bridge chip) 
       
      - more user-frienly names for the cards in the settings and other system menus (so the name will be, for example, SB live! 5.1 SB0060 instead of kx SB0060 [e880] witch was shown in the original driver)
       
      - added support to sample rate changing and bit resolution change (the absolte worst supported quality is 7 khz at 8 bit dept while the absolute best is 192 khz at 32 bit depth)
       
      - inputs support
       
      - added boot args to manage the driver (more info on those soon)
       
      What i'd like to implement but i don't know how to do:
       
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       
       - have the gameport/midi port of older cards to be used in mac os as a midi in/out
       
      If other developers would like to join and help they are free to do so, this is a free open source project afterall, and also an hand from other people with testing and feedback will be nice.
       
      LINKS and downloads:
               -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   (kext download coming soon, since an update is coming)  
       





    • By nrudnyk
      As per title, after macOS go to sleep, manually or due to any other event - I can't wake it up.
       
      I used script written by `black.dragon74` to generate debug info, so maybe someone can help to figure out where to look\what to do. 
       
      Any help is greatly appreciated.
      debug_31207.zip
    • By rxfx
      So I’ve been working at trying to get the wifey’s [HP Envy Recline 23-k310 All-in-One]’s display to properly wake from sleep for months now. I’m kinda at my wits end; It’s probably something so simple and I’m overthinking it.
       
      The computer sleeps properly, but when it wakes, I get no display (no backlight either). The keyboard and peripherals seem to work after wake; able to key in the passcode/password and sound works when I use the volume up/down buttons. But I get absolutely no display. I’ve done 3 other successful hackintoshes (though, none had any dGPUs/eGPUs). But I’m somewhat confident that I’ve disabled the Nvidia Optimus (NVIDIA GeForce 830A)/N15S-GM) I couldn’t find any _ini when I poll the SSDT’s and no signs of Nvidia In System Report, Hackintosh, or IOReg. It’s disabled via the Frame Buffer patch in clover (I use 0x0D220003 for platform ID. I definitely have the Lilu and Whatevergreen kexts in L/E. I’ve tried a plethora of Clover settings, changing SMBIOS’s, darkwake bootflags, and AppleBacklightfixup.kext in both Clover/Kexts and L/E to no avail. Power management has been set using the Pike R. Alpha ssdtPRGen implementation. I’ve gone through and setup the proper SSDTs for the USB patching. Besides adding the HDMI audio output patch (which I don’t use/or have anything plugged into since its an AIO), everything else works on point. But…
       
      “Help me Obi-Wan[’s], you’re my only hope!!”
       
      I’ve attached an “Error Report.zip” including an IOReg report, config.plist, and a generated report form black.dragon74’s tool. I would love any recommendations or possible fixes/files/patches to these files to resolve this issue that has been stumping me for months.
       
      HP Envy Recline 23-k310 AIO
      Intel i3-4330T
      Intel HD Graphics 4400
      8GB 1600 MHz RAM
      Intel H87 Chipset [HP/Quanta Laurel2-1G mainboard]
      macOS Catalina 10.15.3 (with iMac 14,3 SMBIOS)
      Error Report.zip
    • By Trung_Nguyen
      Hi, I'm using a Dell laptop, modeled Latitude E6230, bios version A11(I don't have any batteries to update :'( ).
      I'm using Catalina with OpenCore boot loader. 
      Everything is good, fast boot time.
      But when comes to sleeping there's 2 issues that randomly happen when the sleeping time is long enough:
      - Kernel Panic when sleep: panic log: panic
         This should have something to do with bluetooth, right? I'm using DW380 with BrcmPatchRam3 & BrcmBluetoothInjector.
      - Darkscreen when wakeup:
         After I open the lid, the screen have no backlight, although the UI barely shown.
         All I could do is to use keyboard to enter my password and use hotkey to shutdown the machine and then restart normally.
       
      The EFI/OC folder is attached below, with serial numbers removed.
      Sorry for using .txz format but with .zip, I couldn't get it fit in 10MB. Sorry for any inconvenience.
       
      P/s:If anybody try boot this in the future, please bear in mind that if you inject IO80211Family and AirportBrcm4331 (the one from 10.14.6) to any Recovery or installation media, it will panic the kernel, please disable those 2 before-hand.
       
      Thank you very much
       
      OC.txz
    • By superdooper71
      Hi I wonder if you can help me out guys.
      I have few issues here
      • First
      when I boot the clover entry screen do not show the disk icons until i press enter
      (If I disconnect the keybord all is smooth, clover start, shows disk icons and boot from Mojave)
      • Second
      Randomly the keyboard and mouse become pretty unstable. The mouse cursor start flashing or the keyboard start to type repetedly <<<<<<<<<<< when i Press the spacebar or some other button
      (this behaviour is applied to all keyboard I have tried, actually 3 different ones)
      --------------------------------------------------------------------
      KB and Mouse are plugged on a USB 3.0 ports
      I have tried to reset the keyboard Pref but NO LUCK
      I have changed Keyboard - Same error
      --------------------------------------------------------------------
      I enclose IOREGregistry and config.plist
       
      MY CURRENT BUILD
      ASROCK Z270 PRO4
      i7 7700K
      32GB DDR4
      Gigabyte GTX 760
       
      I believe that there is some code conflict but I have no idea what is wrong
       
      Please HELP
      Cheers
      Franco
      config.plist
      iMac di imac27.ioreg.zip
×