Voodooprojects

VoodooHDA => General Discussion => Topic started by: andyvand on February 21, 2010, 06:31:42 PM

Title: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: andyvand on February 21, 2010, 06:31:42 PM
This one is the optimized warning free version...
It is 32/64 bit optimized for SL.
There are 2 versions present under build...
The first (Release) is using the Voodoo clipping routines.
The second (Release AppleClip) is using the clipping routines from AppleUSBAudio (latest).
If your audio crunches or sometimes doesn't play well use this version (also really recommended for netbooks with atom cpu's like mine).
The helper app and the prefPane are also optimized for SL (64bit version uses 64bit addresses... safer this way...).

Download including sources:
http://rapidshare.com/files/353844865/VHDA_w_prefpane_Snow_AnV.zip

EDIT: forgot to mention - this also forces some missing settings on to get internal/external mic to work.

EDIT2: New version.
- This version supports also 384khz bitrate.
- Added intrinsics 8bit + 20bit support (8 bit uses only intrinsics for output... input still needs to be written optimal).
- Added standard 8bit + 20bit support (using AppleUSBAudio clipping routines).
Download including sources (SL):
http://rapidshare.com/files/355777918/VHDA_w_prefpane_Snow_AnV_Updated.zip

Downloads Leopard:
http://rapidshare.com/files/365455826/LeopardVHDA_AppleClip.zip (http://rapidshare.com/files/365455826/LeopardVHDA_AppleClip.zip)
http://rapidshare.com/files/365459037/LeopardVHDA.zip (http://rapidshare.com/files/365459037/LeopardVHDA.zip)

Downloads Tiger:
http://rapidshare.com/files/365460039/TigerVHDA_AppleClip.zip (http://rapidshare.com/files/365460039/TigerVHDA_AppleClip.zip)
http://rapidshare.com/files/365461954/TigerVHDA.zip (http://rapidshare.com/files/365461954/TigerVHDA.zip)

Download new sources:
http://rapidshare.com/files/365464323/VHDA_w_prefpane_AnV_Tiger_Leo_SL_src.zip (http://rapidshare.com/files/365464323/VHDA_w_prefpane_AnV_Tiger_Leo_SL_src.zip)

New version based on Slice's work for Tiger, Leopard and Snow Leopard:
http://rapidshare.com/files/372225360/voodoohda-patching_Slice_AnV_Src_Rel_SL_Leo_Tiger.zip
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: andyvand on February 25, 2010, 06:58:56 PM
Try the new version, it supports more...
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: yushir0 on March 01, 2010, 08:58:07 AM
Thanks for the patch. Btw, do we need to use libFloat.a that's on Release? Or we can just ignore it, if we ought to use it where did we had to place it?

Thanks in advance
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: andyvand on March 01, 2010, 08:57:28 PM
Thanks for the patch. Btw, do we need to use libFloat.a that's on Release? Or we can just ignore it, if we ought to use it where did we had to place it?

Thanks in advance
libfloat.a = clipping routines library...
You don't need it unless you want to make some audio converter / recompile the sources...
If you just want to use the pre-built drivers, just use the VoodooHDA.kext from either the build/Release or build/Release AppleClip directories.
Put the voodoohdahelper in /usr/bin and install the prefPane for all users... (both new versions... fixed for SL)
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: uman on March 12, 2010, 04:58:44 PM
andy,

Thanks for your hard work. Both your versions crackle after sleep resumption. I have to unload/reload the kexts to get working sound back. That's a problem that autumnrain, slice and others solved in their version (discussed here: http://www.projectosx.com/forum/index.php?showtopic=355, and download from here: http://www.projectosx.com/forum/index.php?showtopic=483)

Anyway you could pick up their changes and release an update? Using their version, I get audio slowdown, and drops on some mp3 files (I start a playlist in itunes, and its the same tracks that reliably cause problems). If I recall, one of your versions didn't do so.

On another note: do you know if it's possible to get the pinconfigs from a working VoodooHDA? I need to change them slightly.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: Z3r0 on March 13, 2010, 12:57:38 PM
Thanks for your work, I'm periodically checking any new updates and versions of VoodooHDA (because of random crackle when not moving the mouse)

So I would like to try this new one, but the kext is unable to load, dependencies problem...

What is exactly required to get it load? I'm running SL 10.6.2 64-bits

Thanks in advance !
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: espionage724 on March 15, 2010, 11:25:24 PM
I get kernel panic complaining about a unsupported bit rate on latest :/ trying the first link now
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard
Post by: andyvand on March 19, 2010, 05:12:47 PM
andy,

Thanks for your hard work. Both your versions crackle after sleep resumption. I have to unload/reload the kexts to get working sound back. That's a problem that autumnrain, slice and others solved in their version (discussed here: http://www.projectosx.com/forum/index.php?showtopic=355, and download from here: http://www.projectosx.com/forum/index.php?showtopic=483)

Anyway you could pick up their changes and release an update? Using their version, I get audio slowdown, and drops on some mp3 files (I start a playlist in itunes, and its the same tracks that reliably cause problems). If I recall, one of your versions didn't do so.

On another note: do you know if it's possible to get the pinconfigs from a working VoodooHDA? I need to change them slightly.
Feel free to improve it but use latest sources (it has configs for Tiger, Leopard and Snow Leopard).
The configs that probably work for you without crackling are probably the AppleClip configs.
You can get config info from "voodoohdahelper -dump".
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: andyvand on April 05, 2010, 12:48:21 PM
I've built a new version based on Slice's work.
Credits go to Slice also ofcourse  ;D
It should work for all now (also with Apple Clipping version)
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: Z3r0 on April 05, 2010, 01:30:17 PM
Big thanks for your work!
And where to download this new release?

However, any idea about why the current kext fail to load:
Code: [Select]
/System/Library/Extensions/VoodooHDA.kext has problems:
Warnings:
Kexts should declare dependencies on either com.apple.kernel* or com.apple.kpi.* libraries, not both.

Dependency Resolution Failures:
64-bit kexts must use com.apple.kpi.* libraries, not com.apple.kernel* libraries.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: andyvand on April 16, 2010, 06:06:03 PM
Use the last rapidshare link in this forum
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: Z3r0 on April 16, 2010, 08:27:56 PM
Ok thanks, sorry I found the link by myself.

Currently I'm unable to load the kext. I tried to remove the line "com.apple.kernel*" from de plist, but it causes a kernel panic when loaded.

 :(
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: xycim on April 19, 2010, 12:46:52 AM
But how to use it?I am fresh.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: m@dmac on April 28, 2010, 10:25:14 PM
hi, loved this achievement, big thanks, this also goes to Slice.

hey andy... I know this is offtopic but I wanted to thank you also for the atiata and nforceata kexts, and for your other solutions, thanks truly, one thing though: the pref panel insists on loading 32bit instead of the 64, if I issue a "file <some folder>/VoodooHDA.prefPane/Contents/MacOS/VoodooHDA i get:

/VoodooHDA.prefPane/Contents/MacOS/VoodooHDA (for architecture i386):   Mach-O bundle i386
/VoodooHDA.prefPane/Contents/MacOS/VoodooHDA (for architecture x86_64):   Mach-O 64-bit bundle x86_64

I also had to select 10.6 ... Release ... and x86_64 on xcode, what´s wrong? everything else is just peachy... thanks again.

00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01)
Intel DG41RQ mobo
Title: Re:
Post by: airfly on May 02, 2010, 05:44:53 AM
Any one get it wokrs,how?
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: factory on May 21, 2010, 04:06:11 PM
Hi,
At the moment I'm using VoodooHDA 0.2.52 and everything seems good in my notebook but reading this post I want to give a try to your kext. Maybe adds more functions or as you said a better frecuency response.
After I've decompress, I've seen inside the build folder many files.

libFloatSupport.a
voodoohdahelper
VoodooHDAConfigLoader
VoodooHDA.kext

I know where it goes the kext but the others i don't.

Could you tell me where them goes?


Thanks in advance.


Greets.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: cue8chalk on July 03, 2010, 09:55:58 PM
I made some updates to this driver. It's all documented in another forum (http://www.insanelymac.com/forum/index.php?showtopic=220707&st=0#entry1503819), but to summarize:

* Added an option to skip a device - useful if you're getting kernel panics and have more than one codec in your system (e.g. onboard sound and an HDMI output with sound)
* Added flag in Info.plist to enable/disable volume change fix (http://www.insanelymac.com/forum/index.php?showtopic=183321&st=20)

Full source code and binaries (for Leopard and Snow Leopard) are included.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: tmacyunn on July 05, 2010, 12:10:50 PM
THanks man , i will give a try ,it cause that when i reboot my computer , the VoodooHDA will get KP sometime ,it`s so crazy.
My audio card is ALC861-VD,now i am using SL10.6.4.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: nesnfsn on July 08, 2010, 07:43:34 PM
I made some updates to this driver. It's all documented in another forum (http://www.insanelymac.com/forum/index.php?showtopic=220707&st=0#entry1503819), but to summarize:

* Added an option to skip a device - useful if you're getting kernel panics and have more than one codec in your system (e.g. onboard sound and an HDMI output with sound)
* Added flag in Info.plist to enable/disable volume change fix (http://www.insanelymac.com/forum/index.php?showtopic=183321&st=20)

Full source code and binaries (for Leopard and Snow Leopard) are included.

Would you please be so kind to explain how I can try and evaluate your project with Leopard 10.5.6??? I am fairly new to making a hackintosh (iPC 10.5.6 works, but want to try VoodooHDA. Also, want a fall back application in the event that I attempt to update to 10.5.7 and/or 10.5.8.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: m@dmac on July 16, 2010, 04:09:47 AM
I figured a rather strange way to remove temporarily the crackles from the sound when playing iTunes and other stuff and using an AMD processor on my ECS mobo, it is a a780gm-a, with a IDT sound chip, it says it is a SigmaTel 92HD206X, vendor id 0x83847645 subsys 0x10192816 revision 0x100402, it reads 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] trough lspci -nn, it just might work for other as well, here is how it works:

1.- open Terminal.app
2.- type "yes > /dev/null" w/o quotes and hit enter
3.- open iTunes/Youtube/other media/games and test

funny huh? idle cpu gets crackles and busy cpu doesn't ... really weird.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: bigkahuna on July 19, 2010, 03:52:39 AM
I'm still trying to 'hide' my ATI radeon hd 4870's HDMI.. and it's just not happenin'.

Any suggestions?
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: fidoboy on July 24, 2010, 03:02:59 PM
I've just installed this on Leopard, sound doesn't work and when trying to access to the pref pane i get an error: "can't access registry path" (or something like that)
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: Gravian on July 30, 2010, 11:36:37 AM
I figured a rather strange way to remove temporarily the crackles from the sound when playing iTunes and other stuff and using an AMD processor on my ECS mobo, it is a a780gm-a, with a IDT sound chip, it says it is a SigmaTel 92HD206X, vendor id 0x83847645 subsys 0x10192816 revision 0x100402, it reads 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] trough lspci -nn, it just might work for other as well, here is how it works:

1.- open Terminal.app
2.- type "yes > /dev/null" w/o quotes and hit enter
3.- open iTunes/Youtube/other media/games and test

funny huh? idle cpu gets crackles and busy cpu doesn't ... really weird.

I know this may be a little late, but I might as well post this anyway. A more permanent solution to this is to boot the computer with idlehalt=0 in your com.apple.boot.plist .

If I understand what the problem is correctly, the Kernel drops the CPU into a low power mode when it's not being used, and AMD CPUs aren't well supported under OS X for obvious reasons, so it ends up not properly coming out of that lower power mode. idlehalt=0 turns off that functionality. Less energy friendly, but at least you can use your computer without stuttering.
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: kerdosa on August 01, 2010, 03:20:10 AM
Hi,

The attached xcode project is compiled OK in Snow Leopard, but when I check it with kextlibs, it says three unresolved symbols. I found _lck_mtx_assert in source code, so I can comment out. But I have no idea the other two. Would any body help if you compiled it successfully?

     $ kextlibs --xml -undef-symbols VoodooHDA.kext
   <key>OSBundleLibraries</key>
   <dict>
      <key>com.apple.iokit.IOAudioFamily</key>
      <string>1.7.6f2</string>
      <key>com.apple.iokit.IOPCIFamily</key>
      <string>2.6</string>
      <key>com.apple.kpi.iokit</key>
      <string>10.4</string>
      <key>com.apple.kpi.libkern</key>
      <string>10.4</string>
      <key>com.apple.kpi.mach</key>
      <string>10.4</string>
   </dict>

For i386:
    3 symbols not found in any library kext:
   __ZN13IOAudioEngine24_RESERVEDIOAudioEngine14Ev
   _lck_mtx_assert
   __ZN13IOAudioEngine24_RESERVEDIOAudioEngine13Ev

For x86_64:
    3 symbols not found in any library kext:
   __ZN13IOAudioEngine24_RESERVEDIOAudioEngine14Ev
   _lck_mtx_assert
   __ZN13IOAudioEngine24_RESERVEDIOAudioEngine13Ev
Title: Re: VoodooHDA with prefPane optimized for Snow Leopard, Leopard and Tiger
Post by: m@dmac on August 13, 2010, 05:41:11 PM
I figured a rather strange way to remove temporarily the crackles from the sound when playing iTunes and other stuff and using an AMD processor on my ECS mobo, it is a a780gm-a, with a IDT sound chip, it says it is a SigmaTel 92HD206X, vendor id 0x83847645 subsys 0x10192816 revision 0x100402, it reads 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] trough lspci -nn, it just might work for other as well, here is how it works:

1.- open Terminal.app
2.- type "yes > /dev/null" w/o quotes and hit enter
3.- open iTunes/Youtube/other media/games and test

funny huh? idle cpu gets crackles and busy cpu doesn't ... really weird.

I know this may be a little late, but I might as well post this anyway. A more permanent solution to this is to boot the computer with idlehalt=0 in your com.apple.boot.plist .

If I understand what the problem is correctly, the Kernel drops the CPU into a low power mode when it's not being used, and AMD CPUs aren't well supported under OS X for obvious reasons, so it ends up not properly coming out of that lower power mode. idlehalt=0 turns off that functionality. Less energy friendly, but at least you can use your computer without stuttering.

here is my com.apple.boot.plist:

Code: [Select]
<?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>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v idlehalt=0</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>
<key>Timeout</key>
<string>5</string>
<key>DropSSDT</key>
<string>Yes</string>
</dict>
</plist>

thanks anyway...