Jump to content
20 posts in this topic

Recommended Posts

Someone please give me a DSDT for the GTX 460 768mb version. I do not have the 1gb version of the card, other threads have not helped me.

 

My GTX 460 runs great using graphics enabler but I want to use DSDT because I need HDMI Audio badly.

 

I rather someone just give me an entire GTX 460 768mb DSDT.

 

My motherboard is a ASUS P6X58D-E <- if that is necessary to know.

Link to comment
https://www.insanelymac.com/forum/topic/258169-dsdt-for-gtx-460-768mb-solved/
Share on other sites

I rather someone just give me an entire GTX 460 768mb DSDT.

And I want a 1967 Mustang Fastback GT.

 

As I already told you here: http://www.insanelymac.com/forum/index.php?showtopic=257352 you can keep using GraphicsEnabler and add only the HDMI audio injection code to the DSDT gfx0 device. This will not cause problems as long as you don't try to inject any video specific stuff that collides with GraphicsEnabler*. There's a thread about this over on the ProjectOSX forums, with code examples.

As long as your HDMI audio device ID is the same as on the 1GB versions (verify via Windows Device Manager or by installing and running LSPCI -nn on your Hackintosh) you can use the same code that owners of the 1GB cards are using. I would post mine but I have to do some work in Windows for a while and I can't get to it. Maybe I'll add it here later. Anyway go to the ProjectOSX forum and look for it, it's in one of the AppleHDA threads.

 

You will also need to binary patch AppleHDA.kext and (I think that's the name) AppleHDAController.kext.

 

It would be nice if you could document this here once you get it working.

 

*) there is no problem in injecting even additional display properties via DSDT when using GraphicsEnabler. For example display-cfg values can be injected without causing any issues.

I've gotten some device IDs from Nvidia using DPCI Manager

 

It gives me 10de:0beb

and 10de:0e22

 

I've tried trying these into an AppleHDA at version 1.8.4

 

as 10 de 0b eb for the AppleHDA

and 10 de 0e 22 for the AppleHDAController

 

none worked, I've done it in vice versa which also didn't work.

 

On my DSDT I have

 

 

Device (GFX0)

{

Name (_ADR, Zero)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x04)

{

"@1,connector-type",

Buffer (0x04)

{

0x00, 0x08, 0x00, 0x00

},

 

"hda-gfx",

Buffer (0x0A)

{

"onboard-1"

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

 

Device (HDAU)

{

Name (_ADR, One)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"hda-gfx",

Buffer (0x0A)

{

"onboard-1"

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

 

Written directly under Device (PCI0), I didn't use the PEGP listing, do I need it?

 

This process has been extremely tedious.

 

Edit: Screenshots below

5780560397_d32ab53dd1_b.jpg

Device IDs

5780560461_fb1f7fbb5f.jpg

[Tried Patching Binary With 10 de 0b eb, 10 de 0e 22, eb 0b de 10, and 22 0e de 10. None worked]

Apple HDA 1.7.9 (doesn't have the same Controller binary as seen on Project OS X, [Couldn't Patch It]

5780560559_c3119b4127_z.jpg

5780560631_6d18e23dff_z.jpg

DSDT above

Good job, your DSDT code looks right but you're barking up the wrong tree with your binary patching. 0E22 is the device ID of the video card itself (all GTX 460s have this device ID), it is not the HDMI audio. I don't know what tool you're using but the HDMI audio device on your video card doesn't show. Use LSPCI instead, or Windows Device Manager.

 

Here's the thread I've been telling you to find and read, find post #119 and start from there:

http://www.projectosx.com/forum/index.php?showtopic=465

 

Yes, if you don't enjoy hacking, testing and researching, it's a tedious process.

Quick question: how can I assure myself that the DSDT edits I've made are somehow verified in the system.

 

I've tried patching the applehda binary and applehdacontroller binary but none have gave me HDMI Audio

 

I've posted screenshots below of my Windows Device manager hardware ids, I have two hardware ids for High Def audio controller.

5786943106_5e9bd6e88b_z.jpg5786387523_1c35d6eb7b_z.jpg

 

5786943054_73344034ed_z.jpg

5786387469_f11ccb9280_z.jpg

Use IORegistryExplorer to examine your hardware and check if your modifications are working.

Screen_shot_2011_06_01_at_2.05.17_PM.jpeg

IORegistryExplorer (and several other useful tools) comes with Xcode 3, which is free, but you need to make an Apple Developer account before you can download it.

 

About your HDMI device IDs - you really need to read that thread I linked to, it holds the answers to all your questions. You will find explicit instructions on which device IDs go where.

 

This is now the fourth time wallbash.gif I'm sending you in that direction, it's not a joke.

Don't use the search, it will only show the specific device that you searched for (I'm sure there is a way for it to show more though but I've never bothered to find out).

 

Navigate the device tree manually.

You can see exactly where you're supposed to look in the screenshot I attached earlier.

I'm pretty sure those DSDT modifications that I pictured above haven't been read by the system. I scoped through it and I see none of those sections for the modifications I made in IOReg. I believe it may have something to do with the way I'm compiling http://www.kexts.com/view/779-p6x58d-e_asu...ersion_405.html the DSDT. My default DSDT is here, with the DGTP method inserted using DSDTSE.

 

As of know, I'm starting to believe everything I've done to AppleHDA kext was correct by my DSDT is not working with me.

  • 3 weeks later...

There is defintely something wrong with the DSDT I linked above.

 

1. HDEF that shows up in IOReg isn't found in the DSDT when searched for

2. When I add GFX0 and HDAU they don't show up when inserted directly under (PCI0) (Note I've gotten GFX0 to show up when I put it in random parts of the code under (PCI0) HDAU I believe showed up once after I messed around with the numbers Example: "Device (HDAU)

{

Name (_ADR, One<--- Worked with Zero while GFX0 changed to One --->)".

3. The virgin 1.9.9 AppleHDA Kext from the 10.6.7 update isn't compatible with my sound card ALC 889, which has been required by many guides to successfully get HDMI Audio working.

 

I hate the P6X58D-E for Hackintosh now -__-

 

BTW here's a new guide from tonymacx86 New Guide

You have inserted the gfx0 device under PCI0. That's is not the correct place.

 

Download and install LSPCI for OS X

 

Reboot

 

Open a terminal prompt and enter update-pciids

Then enter LSPCI -nn and post the output here.

Is this the output you're asking for?

00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:02.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 SATA controller: Unknown device 1b4b:9123 (rev 11)
02:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
03:00.0 VGA compatible controller: nVidia Corporation Unknown device 0e22 (rev a1)
03:00.1 Audio device: nVidia Corporation Unknown device 0beb (rev a1)
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
07:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)

Disregard That Post Because I Now Have HDMI Audio!!!!!!!!!!!!!!!!

 

After a ridiculous amount of trial and error and after you pointed out that I had inserted the DSDT in the wrong area (PCI0), i found that after searching through IOReg, I found the DSDT directory [NPE3] controlled my GTX 460 under GraphicsEnabler=Yes setting. GFX0 appears in IOReg but HDAU doesn't [HDEF] appears in it's place. I can't tune the volume of my tv directly form OS X but there are plenty of individual tuners on audio players like iTunes and plus i have my remote to turn volume up and down so I don't care much. THANKS A ZILLION!!!

 

If you have any questions or suggestions as to what I should do now, I'll take them. I have no problem writing a guide with some troubleshooting of what I went through.

×
×
  • Create New...