Contribute
Register

Mountain Lion: HD3000/HD4000 with AMD or Nvidia, Working Together

Status
Not open for further replies.
This is awesome. Do I need HDMI to enable AirPlay? or a specific audio card? I keep trying but every time I get an error on the console. I use the standard 3.5mm port for audio.

Code:
1/2/13 12:30:58.947 AM coreaudiod[275]: 2013-01-02 12:30:58.947166 AM [AirPlayScreenClient] Starting session
1/2/13 12:30:59.292 AM coreaudiod[275]: AVF encoder error: fail to create accelerator instance 
1/2/13 12:30:59.452 AM ReportCrash[344]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
1/2/13 12:30:59.659 AM ReportCrash[344]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
1/2/13 12:30:59.659 AM ReportCrash[344]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
1/2/13 12:30:59.659 AM ReportCrash[344]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
1/2/13 12:30:59.659 AM ReportCrash[344]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
1/2/13 12:30:59.659 AM ReportCrash[344]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
1/2/13 12:30:59.659 AM ReportCrash[344]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
1/2/13 12:30:59.659 AM ReportCrash[344]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
1/2/13 12:30:59.659 AM ReportCrash[344]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
1/2/13 12:30:59.659 AM ReportCrash[344]: failed looking up LS service ( scCreateSystemService returned MACH_PORT_NULL, called from SetupCoreApplicationServicesCommunicationPort, so using client-side NULL calls.
1/2/13 12:30:59.660 AM ReportCrash[344]: LaunchServices/5123589: Unable to lookup coreservices session port for session 0x186a0 uid=0 euid=0
1/2/13 12:30:59.698 AM AirPlayUIAgent[243]: 2013-01-02 12:30:59.698091 AM [AVSystemController] ### Audio server died
1/2/13 12:30:59.699 AM SystemUIServer[172]: 2013-01-02 12:30:59.698613 AM [AVSystemController] ### Audio server died
1/2/13 12:30:59.704 AM com.apple.launchd[1]: (com.apple.audio.coreaudiod[275]) Job appears to have crashed: Trace/BPT trap: 5
1/2/13 12:30:59.804 AM coreaudiod[345]: 2013-01-02 12:30:59.803324 AM [AirPlay] Started browsing for _airplay._tcp.
1/2/13 12:30:59.804 AM coreaudiod[345]: 2013-01-02 12:30:59.803816 AM [AirPlay] Started browsing for _raop._tcp.
1/2/13 12:30:59.826 AM ReportCrash[344]: Saved crash report for coreaudiod[275] version 253.17 to /Library/Logs/DiagnosticReports/coreaudiod_2013-01-02-003059_localhost.crash
1/2/13 12:30:59.834 AM System Preferences[338]: 2013-01-02 12:30:59.834465 AM [AVSystemController] AirPlay no longer the default audio device
1/2/13 12:30:59.837 AM System Preferences[338]: 2013-01-02 12:30:59.837000 AM [AVSystemController] ### Audio server died

I'm guessing it has something to do with audio, but airplay mirroring (audio only) works fine. Any ideas?
 
This is awesome. Do I need HDMI to enable AirPlay? or a specific audio card? I keep trying but every time I get an error on the console. I use the standard 3.5mm port for audio.
Airplay mirroring requires HD3000/HD4000 graphics enabled (with or without a display connected), macmini5,1 or imac12,1 or 2 sysdef and AppleTV2 or 3. Attach a copy of IOReg. [Guide] How to Make a Copy of IOReg.
 
Airplay mirroring requires HD3000/HD4000 graphics enabled (with or without a display connected), macmini5,1 or imac12,1 or 2 sysdef and AppleTV2 or 3. Attach a copy of IOReg. [Guide] How to Make a Copy of IOReg.

Thank you, I do have an HD3000 GPU (i5 2500K) and I've tried while connected and disconnected to the monitor. I have both ATV and same result :(.
 

Attachments

  • qn84.ioreg.zip
    459.1 KB · Views: 172
Hi toleda, your work is amazing, thanks for that.
Now my problem: Apple Cinema Display (not the thunderbolt one) works perfectly in my discrete nVidia quadro NVS 295 (double display port).
But my 1080 Samsung via integrated HDMI seems to have artifacts and glitches, and it's totally unusable. Here are my specs
- CPU: Intel® Core™ i7-3770T Processor http://ark.intel.com/products/65525/...up-to-3_70-GHz
- Motherboard: ZOTAC Z77-ITX WiFi (with atheros wifi card) http://www.zotacusa.com/zotac-z77-it...77itx-a-e.html
- RAM: Vengeance Low Profile 16GB Dual Channel DDR3 1600 MHz Memory Kit 2x8GB http://www.corsair.com/us/memory-by-...a1600c10b.html
- CPU Cooler: SLIM SILENCE I-PLUS http://www.gelidsolutions.com/produc...2&cid=12&id=61
- SSD: Samsung 830 256 GB http://www.samsung.com/it/consumer/p...PC256B/WW-spec
- HDD: Seagate Barracuda 2TB Sata III ST2000DM001 http://www.seagate.com/internal-hard...ves/barracuda/
- Case Streacom F7C Evo http://www.streacom.com/products/f7c-evo-chassis/
- Pico psu 160W
- Noctua 8mm Silent fan
- Blu Ray Drive Sony Slim BD-5850H (S-ATA) http://www.sony-optiarc.eu/products/...notebooks.html
My installation process could be found here http://www.tonymacx86.com/mountain-...c-z77-itx-wifi-hackmini-6-1-a.html#post529016
Finally I attach my IOReg
Another question: I'm using discrete card because mini DisplayPort on board doesn't seem to work at all with apple cinema display, nor in windows 7.
Still in contact with zotac support, maybe it's the board. I don't have hdmi audio devices, so can't try it (I know miramar and minihack got hdmi audio via mini DisplayPort).
Any ideas?
 

Attachments

  • giacomoleopardo.zip
    455 KB · Views: 170
Hi toleda, your work is amazing, thanks for that.
Now my problem: Apple Cinema Display (not the thunderbolt one) works perfectly in my discrete nVidia quadro NVS 295 (double display port).
But my 1080 Samsung via integrated HDMI seems to have artifacts and glitches, and it's totally unusable. Here are my specs

Another question: I'm using discrete card because mini DisplayPort on board doesn't seem to work at all with apple cinema display, nor in windows 7.
I tried to get DP to work with the Zotac Z68-ITX WiFi and it never worked. Zotac support claimed DP worked in their lab but they could not get it to work on my system. I returned the motherboard.

On my P8Z77-I Deluxe, DP works perfectly, HDMI works perfectly.

Your IOReg shows a display attached to a DP connector in the framebuffer. Is the display connected to the motherboard the TV (i.e., HDMI>TV)? If yes, The framebuffer needs an edit. If no, what is connected to the motherboard DP connector? Reply with the an IOReg with the TV on the motherboard HDMI connector.

For HD4000 HDMI audio, edit dsdt/HDEF/layout-id to 0x03, 0x00, 0x00, 0x00.
 
No TV, man, I think it was my brother's 24" Apple Cinema Display but I've made a lot of combinations, actually I couldn't remember exactly, sorry! :)
Here are two different issues:
1- Mini DisplayPort seems to not working just with Apple Cinema Display, because connecting Samsung 1080 via HDMI-Mini DisplayPort adapter works perfectly (in Windows 7) with both BIOS config (primary display integrated graphics or PEG).
2- HDMI in OSX still doesn't work with discrete gpu.
The only combination I can use is Primary Display PEG in BIOS, use ACD as first display, and Samsung as second. But Samsung is not working as I posted before (artifacts).
Tried system config Macpro 3,1 and macmini 6,1 (actually don't know if really necessary): no luck
Strange things I noticed are that randomly chimera doesn't show my windows HDD, and going back to initial config (removing nVidia NVS 295) every time I reboot I have to unplug and replug hdmi cable.
You posted as first display igpu, but unless I remove NVS 295, the system doesn't boot, hanging apple logo (I attach verbose mode screenshot).
I attach two ioreg both with acd plugged into NVS as first display, but one has Samsung plugged into hdmi port and the second it's plugged into Mini DisplayPort via hdmi adapter.
Please check dsdt/HDEF/layout-id to 0x03, 0x00, 0x00, 0x00
 

Attachments

  • giacomoleopardo.zip
    878.9 KB · Views: 144
  • foto.JPG
    foto.JPG
    524.3 KB · Views: 485
No TV, man, I think it was my brother's 24" Apple Cinema Display but I've made a lot of combinations, actually I couldn't remember exactly, sorry! :)
Here are two different issues:
1- Mini DisplayPort seems to not working just with Apple Cinema Display, because connecting Samsung 1080 via HDMI-Mini DisplayPort adapter works perfectly (in Windows 7) with both BIOS config (primary display integrated graphics or PEG).
2- HDMI in OSX still doesn't work with discrete gpu.
The only combination I can use is Primary Display PEG in BIOS, use ACD as first display, and Samsung as second. But Samsung is not working as I posted before (artifacts).
Don't use macmini6,1, no power management; use macmini5,1. dsdt edit is fine.
It will be difficult to get both graphics system to work until each is working on its own. Suggest you start with the NVS 295, set BIOS primary display to PEG. Remove the HDMI audio GFX0 injection (connector-type). Verify the ACD works and the Samsung works with a DP2HDMI adapter. By the way it appears the ACD uses USB audio not DP. When that is working, remove the NVS 295, set BIOS primary display to iGPU, try the TV in the HDMI port and the DP port with a DP2HDMI adapter. It appears the physical connectors are mapped to the wrong framebuffer connectors:

AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri binary

Native 0A:
0A 00 66 01 00 02 03 02 00 00 00 02
00 00 00 01 00 00 00 20 10 07 00 00
10 07 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
02 05 00 00 00 04 00 00 07 01 00 00
03 04 00 00 00 04 00 00 07 01 00 00
04 06 00 00 00 08 00 00 06 00 00 00
00 00 00 00 01 00 00 00 40 00 00 00

Hex editor (i.e., HexEdit, HexFiend)

port 0x6 DP>HDMI
Find:
03 04 00 00 00 04 00 00 07 01 00 00

Replace:
03 04 00 00 00 08 00 00 06 00 00 00

port 0x7 HDMI>DP
Find:
04 06 00 00 00 08 00 00 06 00 00 00

Replace:
04 06 00 00 00 04 00 00 07 01 00 00

Edited 0A:
0A 00 66 01 00 02 03 02 00 00 00 02
00 00 00 01 00 00 00 20 10 07 00 00
10 07 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
02 05 00 00 00 04 00 00 07 01 00 00
03 04 00 00 00 08 00 00 06 00 00 00
04 06 00 00 00 04 00 00 07 01 00 00
00 00 00 00 01 00 00 00 40 00 00 00

For more info (similar HD3000 framebuffer, port 0x6 edit):
Lion HDMI Audio - Part 3c: Kext Edits - Intel HD3000 Revised

See Edit AppleIntelSNBGraphicsFB Binary/d. macmini5,1 For port-number 0x6

Take one step at a time. If there is a problem, try again from the beginning. Reply with IOReg with whatever is working.
 
Hi toleda,

were you able to look into my issue, it's been a few weeks and I still haven't been able to make airplay work while the nvidia card is installed :(.

Thanks!

(The files are attached in the previous post)
 
Status
Not open for further replies.
Back
Top