macdav Posted August 29, 2012 Share Posted August 29, 2012 I installed a Radeon Saphire HD 5450 1GB in an old Dell E520 Core 2 Duo box running Mountain Lion 10.8.1. I used the instruction found here:- http://www.osx86.net...id=3043&page=2. The card is working find, DVD Player and Chess work, it shows in system profiler correctly, however when putting the display to sleep, using a hot corner, the cursor disappears, the picture freezes, but the display remains on. The display is connected via DVI. If I tried to sleep the whole computer then the drives spin down, the display powers off, but the display will not come back on again after sleep, although the drives do spin up. AppleGraphicsPowerManagement is not loaded, I'm using a MacPro 3,1 SMBIOS. Any Ideas? Here's some background info:- 525] About this Mac 525] Hardware Overview: 525] Model Name: Mac Pro 525] Model Identifier: MacPro3,1 525] Processor Name: Intel Core 2 Duo 525] Processor Speed: 1.87 GHz 525] Number of Processors: 1 525] Total Number of Cores: 2 525] L2 Cache: 2 MB 525] Memory: 6 GB 525] Bus Speed: 1.07 GHz 525] Boot ROM Version: MP31.006C.B05 8] ATI Radeon HD 5450: 8] Chipset Model: ATI Radeon HD 5450 8] Type: GPU 8] Bus: PCIe 8] Slot: Slot-1 8] PCIe Lane Width: x16 8] VRAM (Total): 1024 MB 8] Vendor: ATI (0x1002) 8] Device ID: 0x68f9 8] Revision ID: 0x0000 8] ROM Revision: 113-B7710C-176 8] EFI Driver Version: 01.00.318 dave$ sudo kextstat | grep AMD 63 2 0xffffff7f80ba9000 0x1d8000 0x1d8000 com.apple.kext.AMDSupport (8.0.0) <62 10 9 7 5 4 3 1> 64 0 0xffffff7f80d81000 0x41000 0x41000 com.apple.kext.AMD5000Controller (8.0.0) <63 62 10 9 5 4 3 1> 75 0 0xffffff7f80e62000 0x3cd000 0x3cd000 com.apple.AMDRadeonAccelerator (1.0.0) <74 73 62 10 7 5 4 3 1> 77 0 0xffffff7f812ca000 0x13000 0x13000 com.apple.kext.AMDFramebuffer (8.0.0) <63 62 10 9 7 5 4 3 1> dave$ ioreg | grep ATY | | | | +-o ATY,Eulemur@0 <class AtiFbStub, id 0x10000027c, registered, matched, active, busy 0 (7669 ms), retain 8> | | | | | +-o ATY_Eulemur <class AMDFramebuffer, id 0x100000282, registered, matched, active, busy 0 (557 ms), retain 16> | | | | +-o ATY,Eulemur@1 <class AtiFbStub, id 0x10000027d, registered, matched, active, busy 0 (1 ms), retain 8> | | | | | +-o ATY_Eulemur <class AMDFramebuffer, id 0x100000287, registered, matched, active, busy 0 (0 ms), retain 13> dave$ ls -als /extra/extensions total 16 0 drwxrwxrwx 11 root wheel 374 18 Jul 2011 . 0 drwxr-xr-x 8 root wheel 272 28 Aug 11:57 .. 16 -rwxr-xr-x 1 root wheel 6148 18 Jul 2011 .DS_Store 0 drwxr-xr-x 3 root wheel 102 25 Jul 2009 AHCIPortInjector.kext 0 drwxr-xr-x 3 root wheel 102 10 Aug 2011 AppleACPIPS2Nub.kext 0 drwxr-xr-x 3 root wheel 102 10 Aug 2011 ApplePS2Controller.kext 0 drwxr-xr-x 3 root wheel 102 2 May 22:55 FakeSMC.kext 0 drwxr-xr-x 3 root wheel 102 20 Sep 2009 Intel82566MM.kext 0 drwxr-xr-x 3 root wheel 102 22 Aug 2009 NullCPUPowerManagement.kext 0 drwxr-xr-x 3 root wheel 102 7 Aug 2011 Patched_10.7_AppleRTC.kext 0 drwxr-xr-x 3 root wheel 102 19 Aug 2009 lspcidrv.kext dave$ ls -als /extra total 32 0 drwxr-xr-x 8 root wheel 272 28 Aug 11:57 . 0 drwxrwxrwx 40 root admin 1428 28 Aug 14:45 .. 16 -rwxr-xr-x 1 root wheel 6148 23 Mar 09:24 .DS_Store 0 drwxrwxrwx 11 root wheel 374 18 Jul 2011 Extensions 0 drwxrwxrwx 6 root wheel 204 25 Aug 02:01 RemovedExtensions 0 drwxr-xr-x 3 root wheel 102 28 Aug 11:57 Themes 8 -rw-r--r-- 1 root wheel 678 28 Aug 11:57 org.chameleon.Boot.plist 8 -rw-r--r-- 1 root wheel 701 25 Aug 18:06 smbios.plist dave$ more /extra/org.chameleon.Boot.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>EthernetBuiltIn</key> <string>Yes</string> <key>GenerateCStates</key> <string>Yes</string> <key>GeneratePStates</key> <string>Yes</string> <key>GraphicsEnabler</key> <string>Yes</string> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>-v -f</string> <key>PciRoot</key> <string>4</string> <key>SMBIOS</key> <string>/Extra/smbios.plist</string> <key>Theme</key> <string>Choose_Your_OS</string> <key>USBBusFix</key> <string>Yes</string> </dict> </plist> Link to comment Share on other sites More sharing options...
SMCentral Posted September 15, 2012 Share Posted September 15, 2012 Use xserve2,1 Link to comment Share on other sites More sharing options...
macdav Posted September 19, 2012 Author Share Posted September 19, 2012 SMCentral, thanks for the suggestion this didn't make any difference. I've tried a few different SMBIOS configurations with no effect on the issues. One additional piece of information, I've tried adding a second monitor using the VGA port and this does sleep when using the hot corner, so it seems to be specific to the use of the DVI port. Any ideas? Link to comment Share on other sites More sharing options...
macdav Posted August 26, 2013 Author Share Posted August 26, 2013 FInally got round to digging further. The card has three physical connectors... DVI, HDMI and VGA, all three connectors work, including dual screens, the issue is the HDMI and DVI do not "Hot plug" nor will they sleep/wake, the VGA will sleep/wake. I've been investigating how to modify the framebuffer personality, dumping and analysing the rom on the card I get the following :- redsock_bios_decoder < myrom.rom 2E164000.AM2: C09302 DDR3 128MX16 Subsystem Vendor ID: 174b Subsystem ID: e164 Object Header Structure Size: 237 Connector Object Table Offset: 3e Router Object Table Offset: 0 Encoder Object Table Offset: b1 Display Path Table Offset: 12 Connector Object Id [12] which is [HDMI_TYPE_A] encoder obj id [0x20] which is [iNTERNAL_UNIPHY1 (osx txmit 0x21 [duallink 0x1] enc 0x3)] linkb: true Connector Object Id [2] which is [DVI_I] encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false Connector Object Id [5] which is [VGA] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false Here's the output from the other bios decoding tool :- radeon_bios_decode < ~/documents/rad5450.rom ATOM BIOS Rom: SubsystemVendorID: 0x174b SubsystemID: 0xe164 IOBaseAddress: 0x0000 Filename: 2E164000.AM2 BIOS Bootup Message: C09302 DDR3 128MX16 PCI ID: 1002:68f9 Connector at index 0 Type [@offset 44354]: HDMI-A (11) Encoder [@offset 44358]: INTERNAL_UNIPHY1 (0x20) i2cid [@offset 44438]: 0x91, OSX senseid: 0x2 Connector at index 1 Type [@offset 44364]: DVI-I (2) Encoder [@offset 44368]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 44475]: 0x93, OSX senseid: 0x4 Connector at index 2 Type [@offset 44374]: DVI-I (2) Encoder [@offset 44378]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 44475]: 0x93, OSX senseid: 0x4 Connector at index 3 Type [@offset 44384]: VGA (1) Encoder [@offset 44388]: INTERNAL_KLDSCP_DAC2 (0x16) i2cid [@offset 44502]: 0x90, OSX senseid: 0x1 The Ati-personality script floating around didn't work for me on 10.8.4 with latest Xcode command line tools installed. However I found info on the default for my framebuffer and was able to confirm these values by using hexedit on the AMD5000Controller file within the kext. I currently use the Eulemur framebuffer , and this looks like 0000000 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 04 0000010 00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 02 0000020 10 00 00 00 10 00 00 00 00 00 00 00 00 10 00 01 Any idea how to fix the connectors for hot-plug and sleep/wake? Link to comment Share on other sites More sharing options...
macdav Posted September 2, 2013 Author Share Posted September 2, 2013 Made progress, sleep/wake now works. See the table below. I've colour matched the numbers of the outputs of the BIOS decodes to the numbers in the frame buffer profiles, and underlined the values I had to change. My revised frame buffer is shown first, followed by the standard Eulemur settings I used as the basis. NoOTE the VGA one didn't seem to need any changes. Controller type ATY,ControlFlags Features Unknown Transmitter Encoder Hotplug ID Sense ID Revised HDMI 00 08 00 00 00 02 00 00 00 71 00 00 21 03 04 02 Revised DVI 04 00 00 00 14 00 00 00 00 01 00 00 10 00 01 04 VGA 10 00 00 00 10 00 00 00 00 00 00 00 00 10 00 01 Eulemur - HDMI 00 08 00 00 00 02 00 00 00 71 00 00 12 04 04 02 Eulemur - DVI 04 00 00 00 14 00 00 00 00 01 00 00 01 02 01 04 Eulemur - VGA 10 00 00 00 10 00 00 00 00 00 00 00 00 10 00 01 redsock_bios_decoder ..... Connector Object Id [12] which is [HDMI_TYPE_A] encoder obj id [0x20] which is [iNTERNAL_UNIPHY1 (osx txmit 0x21 [duallink 0x1] enc 0x3)] linkb: true Connector Object Id [2] which is [DVI_I] encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false Connector Object Id [5] which is [VGA] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false radeon_bios_decode ... Connector at index 0 Type [@offset 44354]: HDMI-A (11) Encoder [@offset 44358]: INTERNAL_UNIPHY1 (0x20) i2cid [@offset 44438]: 0x91, OSX senseid: 0x2 Connector at index 1 Type [@offset 44364]: DVI-I (2) Encoder [@offset 44368]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 44475]: 0x93, OSX senseid: 0x4 Connector at index 2 Type [@offset 44374]: DVI-I (2) Encoder [@offset 44378]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 44475]: 0x93, OSX senseid: 0x4 Connector at index 3 Type [@offset 44384]: VGA (1) Encoder [@offset 44388]: INTERNAL_KLDSCP_DAC2 (0x16) i2cid [@offset 44502]: 0x90, OSX senseid: 0x1 Link to comment Share on other sites More sharing options...
Recommended Posts