Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

HD 7xxx-Can we eliminate the Sleep Trick?

188 posts in this topic

Recommended Posts

Couple of thoughts. Have you tested the app in safe mode? Set security to allow any app to run? I ran into that snag rebuilding mine and I forgot to fix that stuff.

Have you tried the rotate script? It's pretty easy to do and works for me even on multi monitors. Just have to get it right. If you have more than one monitor try working with just one at a time. My sleep doesn't work because of a bios issue but rotate fix helps me.

Yup, and yup.

I can't get the rotate trick to work properly even for a single display.

The rotate script does activate, but *after* the sleep cycle.

And as DAXGr mentioned, I can see my desktop after it.

Well you do get higher performance/USD with the 7950 but nVidia has better support with OSX. Get the 7950 if it has UEFI GOP VBIOS and your mobo can boot clover in UEFI mode else 670 if ease of use means much to you. I would wait though and see how 10.9 plays with both cards.

Knowing the GTX6xx have better OSX support, I initially wanted to get a nVidia card, but apart from the GTX680/690, it seems none of their cards have a miniDP

I can boot the UEFI Clover screen (after disabling Secure Boot) and select my 10.8.4 install, but after the verbose output it goes to all an all black screen. I am re-reading the Clover help page to see what I seems to be the problem.

This is on an P9X79 Pro running BIOS ver 4005. There are no unusual errors in the verbose output.

Edit:

1. Tried a different framebuffer (Chutoro) and now get the white screen instead of the black screen as before. Aji does not work for my 7870.

2. I then attempted to edit the VBIOS myself, but it appears I did it incorrectly as I still get the white screen after flashing to it and booting with Clover UEFI64-bit with Secure Boot disabled.

I can boot the UEFI Clover screen (after disabling Secure Boot) and select my 10.8.4 install, but after the verbose output it goes to all an all black screen. I am re-reading the Clover help page to see what I seems to be the problem.

This is on an P9X79 Pro running BIOS ver 4005. There are no unusual errors in the verbose output.

Edit:

1. Tried a different framebuffer (Chutoro) and now get the white screen instead of the black screen as before. Aji does not work for my 7870.

2. I then attempted to edit the VBIOS myself, but it appears I did it incorrectly as I still get the white screen after flashing to it and booting with Clover UEFI64-bit with Secure Boot disabled.

Hi, the file is not available anymore but it shouldn't matter much at this point. Please check if you are really booting in UEFI mode by disabling the CSM (Compatibility Support Module) in your BIOS. If you can make it to the point when you can use the sleep trick, it should be an issue with the framebuffer setting I believe. Try different variants: Aji, Dashimaki, Futomaki and Hamachi are the most compatible ones.

Adding the Automator app to "Login Items" makes the script run *after* I can successfully boot in by manually hitting the power button to sleep and waking back up.

Would appreciate any help on how to go about fixing this.

Thanks in advance.

You need to auto login for this to work. Also, try to increase the 20 seconds and see if that helps. If the script is invoked, but the machine is for some reason prevented to go to sleep for 20 seconds, the "wake up" is going to be run before the script has a chance to put the machine to sleep. Unfortunately, I have not been able to discern a way to set the timer to count from the moment the machine goes to sleep, only from the moment the sleep command is sent to the system, which may be well before that.

Share this post

Link to post

Share on other sites

I wrote a script to automate the sleeping/waking cycle. Available here: http://cl.ly/PEL2

Make sure to change PASSWORD to your user password as pmset needs to be run by root. Also change time_to_sleep to whatever is desired. 20 seconds oddly enough seems to be pretty much instantaneous on my machine.

Should you not meet the hardware requirements, then this is not for you.

Should you meet them, check your VBIOS for GOP support. One way to do it is to dump it with GPU-Z for instance and check the area 0x10000 to 0x20000 with a hex editor.

If all you can see is an ongoing sequence of same bits, then your VBIOS does not contain the GOP driver and you will have to turn to the manufacturer for an update. Another way is simply flash another similar card's VBIOS which is known to support GOP. This is very experimental though and I can not recommend it.

Once you made sure that your card supports GOP, set up Clover in UEFI mode. These might be very few words on the subject but let's not misuse this thread and stick to the topic. Use Clover's GraphicsEnabler and find out which framebuffer works for you, most probably "Aji" will do it.

That's all. I'm sure that there must be other ways to get around it but this is what has worked for me.

If you want to inject the video properties by yourself, this should be the minimum needed to get around the bug:

Example with an XFX Radeon HD 7870 (Vendor Id: 1002, Device Id: 6818) set to use the Aji framebuffer with all its 4 ports:

Share this post

Link to post

Share on other sites

I wrote a script to automate the sleeping/waking cycle. Available here: http://cl.ly/PEL2

Make sure to change PASSWORD to your user password as pmset needs to be run by root. Also change time_to_sleep to whatever is desired. 20 seconds oddly enough seems to be pretty much instantaneous on my machine.

EDIT: Running the code as an Automator application seems to work better.

So, I made an Automator app containing this script in OS X 10.8.5 as well as a launch agent to run it while I was stuck at my grey/white screen... and it worked!!! I finally managed to get to desktop with my R9 270X, however, it only worked once and now on subsequent boots my display just goes black (as if not input signal) after a short while sitting at the grey/white screen and the system never actually sleeps/wakes..

I spent all day trying to get my 3 displays up and running with an ASUS 7970 reference card, my old Sapphire 5850 xtreme worked just fine all this years (DP+HDMI+DVI)

With clover bootloader, I tried all Personalities with and without ati inject. Max 2 displays working, the third one had black screen.

Swapped the GPU for a Sapphire AMD 280x Dual-X without inject got 3 displays working perfectly.. With inject just 2.

Got back to business with the asus, I almost gave up until I started thinking of flashing D700 bios on the card.... The 7970 and D700 are the same GPU, the 280x is the same tahiti gpu too.

BIOS SOLUTION!
The 7970 has a BIOS SWITCH, so you can have 2 independent BIOS!
I Flashed the AMD 7970 GHz edition bios from this post:
http://www.overclock.net/t/1281425/amd-release-hd-7970-ghz-bios-upgrade-for-reference-hd-7970

Because is from different vendor (ASUS --> AMD) you have to do it by force.
atiwinflash -f -p 0 bios_ghz_edition.bin
Then reboot to OSX and BOOM! without touching anything all 3 Displays working.

BONUS... plugged HDMI cable in and ...

Hotplug worked too! What a difference on this card...

HDMI: Apple just need to fix the "TV mode" on HDMI displays, I just can't use my display with HDMI because is recognised as TV, with Ycbcr not RGB and so on, This happens to my Macbook Air with miniDP-HDMI adapter, plugin in a HDMI-DVI converter on the end works perfect.

I'm trying to boot Yosemite with Clover using this graphics card, and my computer reboots or hangs in verbose mode. It reboots either instantly (as soon as I press enter), or at the end of the process (when the system should normally be loaded.).

I have tried using Chameleon and it hangs at boot0:done with a little smiley at the end.

I finally managed to get all three of my monitors working with my Radeon R9 280X (model ASUS-R9280X-DC2T-3GD5). Previously, using more than 2 monitors would result in my system freezing until I unplugged one of the outputs. After trying patched framebuffers and a variety of different port configurations I finally solved my problem!

It turns out the solution was to switch to using the card in UEFI GOP mode. To accomplish this you need to be using Clover in UEFI mode (not CloverEFI), and your motherboard needs to be set so that the GPU runs in UEFI GOP mode. On my motherboard this meant disabling CSM.

My system now runs great with all three monitors, either using GraphicsEnabler=No or GraphicsEnabler=Yes along with a patched framebuffer. This may also work for other AMD cards that exhibit similar behaviour when used with three monitors.