Contribute
Register

Z77M-D3H - I3-2120 all most there but need help

Status
Not open for further replies.
Joined
Jun 8, 2012
Messages
8
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
MB: Z77M-D3H
Cpu: Intel I3-2120
4Gb DDR 3 1333 Ram
XFX ATI HD 5670 1Gb DDR5
Asus 24" LED HDMI

After lot and lot of reading and reinstalling I Finally got Lion 10.7.4 Installed with this method.

Unibeast Install of 10.7.0
? Reboot
? Combo Update Install of 10.7.3 (From USB as Unibeast if Copied)
? Dont Reboot
? Delete AppleHDA.kext From System/Librarry/Extensions
Multibeast
? Easybeast
? System Utilities
? Atheros ethernet
Reboot
Sofware Update to 10.7.4

Only problem now is sound, HDMI Audio, and the Graphic Glitch/Artifacts
I can Live without sound since I use my Usb headphones most of the time.
the HDMI Audio would be nice since this is also my HTPC.
I would really like to get the Graphic Artifact fixed if some one could Help me please, I have been reading page after page of forum after forum, but i can seam to find a fix for it.
It does it both HDMI > HDMI and HDMI > DVI.
 

Attachments

  • Screen Shot.png
    Screen Shot.png
    1.2 MB · Views: 467
*Update*
I decided that i would upgrade the video card I brought the list of cards with me to the store from the custom mac builds pages and bought a shinny new HD 6670 but it wasn't that simple my OSX 10.7.4 wasn't recognizing my video card.

After reading every post and every sub link post from this thread from Shurt ( Here ) and following all of Notshy links from helping others (Here) this is what i came up with so far

Getting the MSI R6670 1Gb DDR5 (R6670-MD1GD5) to work properly
Asus 24" LED ML248 HDMI > HDMI
MB: Gigabyte Z77M-D3H, Bios: F8, Cpu: Intel I3-2120

Its not natively detected by some boot loaders and or Versions.

Mac Profiler Graphics/Displays
? AMD Radeon HD 6670 Series:
?
? Chipset Model: AMD Radeon HD 6670 Series
? Type: GPU
? Bus: PCIe
? PCIe Lane Width: x16
? VRAM (Total): 1024 MB
? Vendor: ATI (0x1002)
? Device ID: 0x6758
? Revision ID: 0x0000
? Displays:
? ML248:
? Resolution: 1920 x 1080 @ 60 Hz
? Pixel Depth: 32-Bit Color (ARGB8888)
? Display Serial Number: AALMQS035389
? Mirror: On
? Mirror Status: Hardware Mirror
? Online: Yes
? Rotation: Supported
? Television: Yes
? VGA Display:
? Resolution: 1920 x 1080 @ 60 Hz
? Pixel Depth: 32-Bit Color (ARGB8888)
? Main Display: Yes
? Mirror: On
? Mirror Status: Master Mirror
? Online: Yes
? Rotation: Supported


ioreg | grep ATY
| | | | +-o ATY,Ipomoea@0 <class AtiFbStub, id 0x1000002e0, registered$
| | | | +-o ATY,Ipomoea@1 <class AtiFbStub, id 0x1000002e1, registered$
| | | | +-o ATY,Ipomoea@2 <class AtiFbStub, id 0x1000002e2, registered$

bdmesg
Using PCI-Root-UID value: 0
ATI Framebuffer Addr: @0xE0000000 MMIO Addr: @0xF7E20000 I/O Port Addr: @0x0000E000 ROM Addr: @0xF7E00000
ATI card POSTed, reading Video BIOS from legacy space
Framebuffer set to: Ipomoea using AtiConfig=Ipomoea
Number of ports set to: 3 using framebuffer's default.
AMD Radeon HD 6670 Series 1024MB [1002:6758] (subsys [1462:2530]) (Turks:Ipomoea) :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
LAN Controller [1969:1083] :: PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)
Setting up lan keys
Read HFS+ file: [hd(0,2)/Extra/smbios.plist] 468 bytes.
CPU is Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, family 0x6, model 0x2a

lscpci code dump
sudo lspci -nnvd 0x1002: | grep -B2 Subsystem
Password:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6670] [1002:6758] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Unknown device [1462:2530]
--

01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Turks HDMI Audio [Radeon HD 6000 Series] [1002:aa90]
Subsystem: Micro-Star International Co., Ltd. Unknown device [1462:aa90]

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>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>npci=0x3000 darkwake=0</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>2</string>
<key>UseKernelCache</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1920x1080x32</string></dict>
</plist>


I checked all the relevant .kext for the cards Vendor ID:0x1002, Device ID:0x6758, Sub ID:14622530, in the info.plist of:
Ati6000Controller.kext
AtiRadeonx3000.kext
they where all there it was just a matter of finding the right framebuffer then the card was detected properly then compile a new boot file.

Posible FrameBuffers
Code:
Pithecia Bulrushes Cattail Hydrilla Duckweed Fanwort Elodea Kudzu Gibba Lotus Ipomoea Mangabey Muskgrass Juncus

I tried them all one by one Boot: -v AtiConfig=Ipomoea
For me Ipomoea was the only one that detect my card properly and tested by running the DVD and GeekBench
Bulruches, Mangabey Log me in but it didn't detect the card properly and the apps crashed.

Added this to the .boot.plist until I can get the boot file working.
Code:
<key>AtiConfig</key>
<string>Ipomoea</string>

To fix the boot file Searched for 0x67581002 in the Ati.c
Add line under after

Code:
{ 0x6758,	0x14622530, CHIP_FAMILY_TURKS,		"AMD Radeon HD 6670",				kIpomoea	},

In order to get the code that you'll need to build Chameleon, open up a Terminal window and type the follow (pressing Enter after typing/pasting each line)

Code:
cd ~/Desktop
mkdir chameleon
cd chameleon/
svn co [url]http://forge.voodooprojects.org/svn/chameleon/trunk[/url]
Compiling Chameleon – A Newbie’s HowTo | Prasys' Blog

Next
  • get the HDMI Audio working
    Onboard Audio
    OSX to Sleep the monitor sleeps but not the PC
If any one could help me out with these things or point me in the right direction, I would greatly appreciate it.
 

Attachments

  • IOREG.zip
    647.1 KB · Views: 75
*UPDATE*

Alternitive to using VoodooHDA Patching AppleHDA.kext + VT2021.kext
to enable the onboard sound.


Well more and more reading and research and I think I found a gem, It beyond my skill to make every thing work but I will keep hacking at it and try my best.

I found and alternative to the voodooHDA for the VT2021 sound on the Z77M-D3H mother board.
I'm hoping some one with better skills then I could take all this information and get all the sound jacks working for this mother board.

At the moment I can confirm in the sound preferences

  • Rear Blue - Audio line-in port shows input when i plug my Ipod in but no sound through headphones?.
    Rear Green - Internal Speakers
    Rear Pink - Internal Microphone
SS Panel.png
SS Prop.png
Not getting any thing on front panel.

I would like to set it up with the default 7.1 port set up and headphones, Mic on the front panel.
  • Rear Blue - Rear Speakers
    Rear Green - Front Speaker
    Rear Pink - Center/Sub
    Front Green - HeadPhones
    Front Pink - Mic

But until then heres what I have now to start.

?
(1) Patching AppleHDA binary: open Terminal and type command for each ALCxxx HDA

Code:
sudo perl -pi -e 's|\x84\x19\xd4\x11|\x41\x04\x06\x11|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA
sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

(2)Editing DSDT: Device(HDEF)

Code:
              Device (HDEF)
                {
                        Name (_ADR, 0x001B0000)
                        OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
                        Field (HDAR, WordAcc, NoLock, Preserve)
                        {
                                DCKA,   1,
                                                Offset (0x01),
                                DCKM,   1,
                                        ,   6,
                                DCKS,   1,
                                                Offset (0x08),
                                        ,   15,
                                PMES,   1
                        }
                        Method (_PRW, 0, NotSerialized)
                        {
                                Return (Package (0x02)
                                {
                                        0x0D,
                                        0x05
                                })
                        }
                        Method (_DSM, 4, NotSerialized)
                        {
                                Store (Package (0x04)
                                        {
                                                "layout-id",
                                                Buffer (0x04)
                                                {
                                                        0x0C, 0x00, 0x00, 0x00
                                                },
                                                "PinConfigurations",
                                                Buffer (Zero) {}
                                        }, Local0)
                                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                                Return (Local0)
                        }
                }
(3) Save and install the new DSDT.aml file in /Extra/
(4)Copying the layout12.xml and Platforms.xml to /System/Library/Extensions/AppleHDA.kext/Contents/Resources/
(5)Copied VIA2021.kext to /S/L/E and changed/fixed owner and permissions for VIA2021.kext and AppleHDA.kext

Reboot.

Info and links from VIA VT2021 and AppleHDA (as to be alternative)
http://www.projectosx.com/forum/index.php?showtopic=465
http://www.insanelymac.com/forum/index. ... pic=279462

NEXT
Onboard sound (ongoing)
HDMI Audio on HD6670
Get PC Sleep working properly
Any help would be greatly appreciated.
 

Attachments

  • VT2021.zip
    1.7 MB · Views: 66
  • SS Prop.png
    SS Prop.png
    69.3 KB · Views: 328
  • SS Panel.png
    SS Panel.png
    45 KB · Views: 336
Hi i also need help with the z77m
Trying to get the sound out of the onboard hdmi
Iam using the i7 3770s with hd4000
Any ideas any one
Thanks.
 
I get kp when boot with DSDT.aml in Extra.

delete dsdt.aml and i can boot, but not sound
 
It is possible, I added the wrong DSDT.aml file it was the only one I could find at the time in the tonmacx86 database which they have since taken it down since i got it,
Never the less i did do some testing with that file and never got KP's
I have a note book full of notes and have reinstall 100's of times now to figure what is and isn't working.

Here what you can do get DSDTSE Here extract your DSDT or if you have windows as well you can use AIDA64 Here copy it to your desktop and use this command line at boot for testing the files this way if some thing go's wrong just omit the boot line and try again.
Code:
dsdt=desktop/dsdt.aml -v
at the least for fix's I would add RTC, HPET Method DTGP, and HDEF fix's in your DSDT.

Possible KP that you are getting I hope your not using the line Aticonfig=Ipomoea from my .boot file it's specific to my MSI R6670 video card Framebuffer.
Next are you using the NullIntelCPUManagement or the patched IntelCPUManagement file from Multibeast?.
If you are using the Patched file IntelCPUManagament from Multibeast and get this error at boot (P-States Stepper Error 18 at step 2 on CPU0, CPU1, CPU2, ect)
You need to redo your SSDT.aml file until we get a new boot loader with support or a fix for that issue.
Here where I found the Info to fix that Issue Here or you can add the Drop SSDT command at boot.

Here's a Video on how to get your DSDT file Here and Here

At this time now I decide to change mother boards to suit my needs better MSI H77MA-G43 I have every thing working on it including Sleep, Icloud, Appstore, ect.. just need the HDMI audio fixed and I'm set to go.

I might get back to the other mother board at a later date Good luck hope this helps.
And with the HDMI Audio you can use the files i found and Compare them with Toleda's work, TheKing's or any other wonderful people that have been here to modify the files to suit your needs mind you it a lot of work when your not a programmer and just a hack like me or even worse if your knowledge is limited even more on modifying system files Google is your Friend I read 1000's of post some times before finding fix's or ways to fix my issues.

Or get fortunate enough to have some kind sole to help me.

PS..
Also now that I think about it, It might also make a difference which version of AppleHDA.kext file you are using the rollback ver 1.7.9a4 or Ver 2.1.7 from lion 10.7.3 and ver 2.2.0 from lion 10.7.4
 
Hi! I have the same mobo, does your USB 3 ports work? I have some troubles with native USB 3.0 support

P.S.Solved with xHCI Mode - Enabled in BIOS.
 
Status
Not open for further replies.
Back
Top