kxproject / kx-audio-driver

kX driver source code (for Windows and Mac)
Other
141 stars 65 forks source link

Windows 10 x64 (and possibly other versions) doesn't register mixer/will not load #10

Open loopdokter opened 8 years ago

loopdokter commented 8 years ago

I get the following error when trying to use the mixer (which doesn't load natively BTW): "kx devices not found. Reinstall the drivers. kX Error: error initializing WinMM subsystem."

I have found a fix for it located here: http://www.hardwareheaven.com/community/threads/windows-10-and-kx-3552-new-fix.230567/

loopdokter commented 8 years ago

I'm still struggling to get ASIO to work in Windows Pro 10 x64, but the driver itself does function and play sound. I have yet to try any kX panels to see if they function correctly. Anyone else out there using this on Windows 10 x64?

kxproject commented 8 years ago

I suggest you re-compile kxmixer from sources (github), as it now contains a fix for Windows 10, which should allow the driver to register itself properly. Or you could register kX ASIO components manually using Administrator command line with elevated privileges (regsvr32 command).

loopdokter commented 8 years ago

I'm not a coder. How does one compile as you suggest? Has the driver been updated in an .exe format on here somewhere? I can't seem to locate it.

kxproject commented 8 years ago

I'm afraid there's no pre-built version currently available. I'll check if I could re-compile it with the fix applied, and will post an updated EXE on github.

sakurawill commented 8 years ago

hoping for you fix re-compile built,thank you very much^_^

loopdokter commented 8 years ago

Please recompile it so it's useable. I'm happy to be a guinea pig. I use an E-MU APS and it would be a shame to see me having to move on to another soundcard when this one is so good and also functional - especially after all of these years!

loopdokter commented 8 years ago

Has anyone compiled this to an .exe yet?

mole2old commented 8 years ago

New Fix for the KX-Drivers 3552 (updated 20.04.2016) released. Works fine on Windows 10x64, Foobar2000 and Winamp works with KX-ASIO. Anyone can download fix right now and try it, or still wait (week, month,year) for recompiled executable ... Anyway - Kind regards. :)

linnaea commented 8 years ago

Another way around this is to disable the WinMM initialization code by editing the binary.

You'll need:

  1. A tool to remove code signature (otherwise Windows will refuse to load the modified DLL)
  2. A hex editor

Steps (assuming a x64 system):

  1. Install the official driver pack, do NOT reboot.
  2. Go to C:\Program Files\kX Project, pull kxapi.dll out
  3. Remove the code signature from kxapi.dll (you need to know how to use a command prompt)
  4. Load kxapi.dll into the hex editor
  5. Search for the hex sequence: 40 56 48 81 EC 30 01 00 00 48 8B 05 A0 43 03 00
  6. Replace the first 4 bytes with 48 31 C0 C3
  7. Save the file and put it back
  8. Repeat step 2 through 7 for the x86 version of kxapi.dll in C:\Program Files (x86)\kX Project, this time search for 8B FF 55 8B EC 83 E4 F8 81 EC E4 00 00 00, and replace first 3 bytes with 33 C0 C3

The edit replaces the body of the function iKX::init_winmm with a single return 0; statement, i.e. reporting a success without doing anything at all.

And for those who doesn't want to go through these steps: kxapi.zip

mole2old commented 8 years ago

Another way around this is to disable the WinMM initialization code by editing the binary.

Patched DLLs from attached kxapi.zip works fine. Thanks for your effort! Final version "Fix for the KX-Drivers 3552": http://www.hardwareheaven.com/community/threads/windows-10-and-kx-3552-new-fix.230567/ Tested on Windows 10x64.

theswagler commented 7 years ago

Regarding kX Audio 3552 on Windows 7 x64: Everything has worked perfect, except 5.1 decoding/playback. I use Nuendo 4.3 with AmpliTube 3.15 flawlessly. But I will note that I piggybacked (3) new 100uf 50v electolytics capacitors atop inadequate original capacitors on my Audigy 2 Platinum card and never experienced a snap, crackle or pop since.

Sound Devices Properties; Master Mixer: 8 channel, 32 bit, 48000 Hz Wave Out 2/3: 2 channel, 16 bit, 48000 Hz (DVD Quality) <shouldn't this be 8 channel) Wave Out HQ: 8 channel, 24 bit, 96000 Hz <shouldn't this be 2 channel)

Hardware test on Wave Out 2/3 are only stereo (which I currently use Nuendo ASIO), Hardware test on Wave Out HQ returns 5.1 results, but all decoding is corrupted. I only use ProFX Src to K2lt, Device Master Mixer 5.1 hardware test pass when full kX DSP is instituted but doesn't decode properly either.

Is there a registry tweak or anything to set Wave Out 2/3 to 8 channel output as Wave Out 0/1 used to operate. I've used kX Audio since 2004 and it's a shame to abandon 5.1 theater playback at this late date.

theswagler commented 7 years ago

This is the x64 driver registration I use. Note: mole2old fix didn't register everything correct nor worked for me.

  1. Run kX-3552 driver installer as administrator, after installation reboot the PC.
  2. After reboot, wait for pop-up message with: "kX devices not found....", close message.
  3. Open Device Manager and manually update driver for device "kX 10k2 Audio (3552) - Generic" from folder "C:\Program Files\kX Project\kx.inf".
  4. Apply reg_fix.reg and reboot the PC.
  5. Open Playback Devices, select Wave Out 2/3 device and click Set Default.

kX_Audio_3552_reg_fix.zip

theswagler commented 7 years ago

I forgot to add that kxasio.dll needs registered in Program Files and Program Files (x86).

RegServer_ASIO.zip

theswagler commented 7 years ago

linnaea, I just did a reinstall using your procedure, it didn't do anything, I still had to use all of my fix.

linnaea commented 7 years ago

@theswagler Well my fix doesn't fix the whole thing, I'm pretty happy with some little manual tweaks here and there so I didn't bothered creating a script, but setting compatability mode on all applications that uses ASIO does, so I patched the binary.

theswagler commented 7 years ago

linnaea, I see. I am using Windows 7 x64 and haven't had a reason to fool with "compatability mode", everything worked after fix. I found that Nvidia Audio Decoder doesn't support Windows 7 - 10. I got AC3 and DTS working with AC3Filter 2.6.0b through DirectSound Wave Out HQ Device. Strange, when decoding using AC3Filter, kX DSP has no effect no matter what device or configuration, the signals are re-routed bypassing kX interface. Eugene should have pinned installation procedure and critical issues at the top of the HardwareHeaven forum.

linnaea commented 7 years ago

@theswagler By default, Wave Out HQ bypasses the DSP and goes straight to the jack, that's by design, as the DSP can't handle 96/24 samples.

There is a device called p16v in the DSP configuration page which can be used to route the HQ output through the DSP, but doing so will downsample 96/24 to 48/24.

KxHan9 commented 6 years ago

Been searching a lot and found here.. I follow KXteam since 2001-2002. I met with kx by one of my friends who is into composing by cubase. He helped me to build my computer and learned a lot from him. Since then I was using cubase sx 2.0 with pentium 4 and Creative Live Sound Value 5.1 Analog with Creative 5.1 analog speakers too. I was very happy too. While there were many plugins /softwares for mixing, I learned the very big difference of sound quality of KX project. I really am appreciated with it. Then I changed my computer and rebuild it two time. But I never changed Creative Sound card and my speakers. Many people are using stereo speakers and hardware mixers with huge prices, they really still adore my 5+1 . I was using XP pro for long long time. But because of Chrome, I had to change it so I changed by Win 10. BUT.... I read the forum, totally... I was never been member but I was always reading it when I face with difficulties and KX forum helped me a lot..

Now I have Pentium i5 with win 10 pro. But although I did all describtions, it did not work well for me. I can listen music or create music but I cant have 100 % clean sound. There is very little of distortion.. And when I turned off the computer and start on, it still keeps messaging error messages. And, when I click on the KX mixer, it does not show everything as well. I might have done something wrong but I dont know what it is...

It may sound comic even naif but I prayed many times to The KX team. IF I would be a rich guy, I would gather the KX team even meet them in person, and provide them what they really need.. Not just only for KX Project, something else could be too... The team truly deserve this ! I do not know about their life and what they do but I do wish they are all fine. Because they are good ones for sure !!!! All these years, they worked and worked. Answered all messages and did their best.

I still dont want to change the KX to another mixer. Because I still believe in and know that "KX mixer sound is the best one. It is using the real source of the system and give very deep, quality sound. I discussed with people and some of them didnt know KX but they faced with it and were all amazed with the quality. And there were some between them using hardware mixers even... I can push sometime to myself to buy an external soundcard and use a hardware mixer and speaker system. But I truly am happy with KX and by this behaviour I have, I think KX became my habbit. :)

Is there someone to help me for what I am facing with ? Is there a way to create a new and updated KX version for Win 10 - Creative Live Value 5.1 ?

Sorry that I bothered a long message but there is the only one way open up my thoughts for the team and community...

If no one can help, anyways I am wishing you truly the best in anyway. Great Hugs To KX Team & Community too.

Han,

theswagler commented 6 years ago

KxHan9- I'm running Win7 Ultimate x64, so can't suggest anything other than correctly registering Win7. I fixed capacitor issue with (3) Panasonic EEU-FM1H101 Electrolytic Capacitor, 100 µF, 50 V, FM Series, ± 20%, Radial Leaded, 8 mm. YouTube capacitor fix by Mike Mansfield: https://www.youtube.com/watch?v=jUcQkAmIv2g

I program in C++, I attached utility to quick select playback device and adjust all channel levels. Audio.Playback.Control.2.1.zip

KxHan9 commented 6 years ago

theswagler, As I mention, I am very much happy to be responded very quick. I took a look at the youtube link. But what I dont understand is, this card works fine with XP, just perfect sound and everything. Very much good. So I am thinking that it is a big risk if I touch the sound card...

I am so much thankful for your quick reply. I will try the APC2 zip file and let you know. Yesterday night, I uninstalled everything from KX and other files such as Creative's files and dll s too.. And then I reinstalled the KX with the drivers you uploaded here and backed them up to my computer too. And then began to work fine. Everything was fine. Today when I started puter on, it did not give any issue. But still, there is a little cracky sound if I work on KX. And it did not load the KX mixer on the right side of the screen. Somehow, I think it does not see it. Or something is wrong with the win10 codes combination and KX. Maybe funny but, I have not even tried other things in it, such as DSP or others. I did this when I first discovered KX yrs ago and saw that I am not profi to connect all these stuff. ( I am really good at computer and maybe little bit of programming but I just dont know how I can connect. I felt am a dumb. Maybe if I could see it live, how you guys do it or doing it related to what, I would arrange it myself. So what I am telling is too that, I do not even need more stuff in it. BEcause the quality of the KX sound is really very very very good. This is one of the biggest reasons I am trying to be with it. You guys are really great and informative and intellectual about it. IF I WOULD BE RICH, I would do anything for you to really start a company without taking anything from it, just see you guys get what you gave, given already to the world. I am sure I am not the only one, not in 100, not in 1000 even. I do believe there are millions using KX. THEY HAVE TO because KX is one of the BEST software which allows us consumers to use the sound card for REAL... Everybody amazed by my sound quality. And more over, when I said, it is free and couple guys are doing this in the name of good things, they are more amazed and asking, if there are such great personalities exist ? I say yes. They are good and qualified.

I will try the audioplaybackcontrol zip and I will try to make it. With your help, I am so much appreciated, I would really offer you guys something like a dinner or anything like this ( because of I am not available for more )I truly thank you so much and I would love to meet in person with you all...

theswagler commented 6 years ago

KxHan9- Audio Playback Control does not fix anything, it simply an alternative volume control for system tray that incorporates fast switching of audio playback device.

First you should check for device sharing conflicts in system information or other utility. Try moving PCI cards around so sound card doesn't share resources with other cards, 'ESPECIALLY' video card.

If you are still experiencing constant snap, crackle, popping and sound is distorted, there is a good chance issue is capacitors, not drivers. I have a Audigy 2 Platinum, they are a fantastic card using kX drivers, 'BUT' Creative cards were built with cheap undersized capacitors, and replacing them with larger high quality Panasonic capacitors fixes this issue. 'BUT' you have to take your time and carefully solder Panasonic's on top of existing capacitors. You solder on top to avoid damaging the board pulling out old capacitor leads...

seven-phases-max commented 6 years ago

Also try to unload (or at least mute) the Reverb effect from the kX DSP (it's known to crackle when the card has problems with memory access).

KxHan9 commented 6 years ago

I never use reverb effects or other effects seven-phases-max. Thank you so much anyways. :)

seven-phases-max commented 6 years ago

I never use reverb effects

It is there by default and its output is mixed (also by default) to signals sent to the most of outputs of the card. Thus if it starts to crackle you just hear that crackle (even if your never knew the reverb is there at all) ;)

KxHan9 commented 6 years ago

seven-phases-max, I checked but nothing wrong I see. I uninstalled everything and looked for the Creative Sound Blaster Live Value drivers for win10... Found ( Win7 ) and installed. The first install made trouble then tried again and it worked. And then, I installed KX older version ( Today I faced with something unexpected. ( I really didnt like the win10 because of there are too many -UN-necessary things in it ) And I installed Office 2000 :) And saw that it works with very much softwares from yr 2000's... I think it is blah blah that it does only work with new softwares and etc. And it works by my ancient Cubase Sx 2.0 :D ( I installed the Cubase 5.1 too and comparing to SX 2.0 it gets 40 on 100 for me. Not a big deal !! My friend who's owning his own soundstudio says New Cubase has a better quality sound. And I say, yes: without KX and external mixer, it may have a better sound but for me, the software is like blah blah... Too much nonsense in it just like Win10. It is opinion by the way. I wouldnt want to sound like "mr knowseverything"... I like simple and quality things, dont care how a car looks like, I care the engine and comfyness and security. I dont judge by the cover. And this is one of the reasons I love KX TEAM and KX ) PC is running with two partitions as one is XP another one is Win10. And I am very much happy with XP. Nothing works without my ok. This is one of the reasons why I like XP ) And I am getting older to recover it with win10. I have no time to spend for win10 and program it. Even they say it is not possible to program it.( dont know ) The only one reason I installed The Win10 is just Chrome and i5/i7.( most of the things doesnt work on Chrome as Xp since a long time ) If I would have my own house, I would make two PC's and stick one PC just for composing music. Maybe someday...

The brief story what I am facing with now is; I installed 3533, 3533, 3537, 3541 and 3552 versions. ( The best version was 3537 since long time I am using it on XP - one word :PERFECT !!! ) So after I installed 3552, I installed 3537, 3533 too as -maybe/if - it fixes things.. it didnt work by the way. Uninstalled and then installed again 3552 fixed ones. And I checked DSP's. Then I turned on XP and screenshot the DSP there ( I am not programmer though but when I push myself I always find a way ROFL / solo climber instict!! ) So I screenshot the DSP and uninstalled or deleted DSP settings and then set them up again by looking at the screenshot for new KX. My problems are; *Most of the things are not working except the sound. It works but crackle sound. **And when I test on speakers 5+1 I don't get them and gives error message. It says: "Failed to create sound"

Didnt still realize why, maybe I am doin somethin wrong (install or smthng else) . But I am loyal on good things and KX is good and I feel it will work somehow !!! :) You guys helping and I am pushing. Let s see what will it happen... I will try until I give it up. Let's see.I will stick with the good ones Creative Sound Blaster Value and KX.

theswagler commented 6 years ago

KxHan9- Use Windows or my volume control to set volume at 5% on Wave Out 2/3 or Wave Out HQ, whatever you're using. Open kX DSP. On context menu Clear DSP. Then Add Effect/Plugin->ProFX->src and k2lt (only) then connect pins. Now, no effects, no volume, nothing, just direct connection from input to output. See if still snap, crackle, pops without playing any sound.

History: Way back when using XP, the only time it crackled is when using ASIO in Nuendo. Playing guitar always had air noise crackling at silence. I used to clear and insert plugins in different orders... fiddle with it to minimize. When updated to Win7 x64 I believe the problem got worse, crackling not only in ASIO, but in any configuration. That's when I fixed capacitors, and have never heard one snap since. But mind, the sound quality was always good, with exception of a few instances. If your sound is garbled real bad, you probably have a driver issue, or something else. Capacitors will not fix no sound or totally garbled.

KxHan9 commented 6 years ago

theswagler, I see..Today I came along bit more.. I cleaned the DSP then made it again. Not much difference but I think it is better. As you say, it is about the driver issue.. Otherwise it would work. But also about WN 10 software too I think, because of maybe, configuration of my PC did not suit much on the new patch. There are some stuff missing in the mixer. The other issue is about channels. Did not recorded anything out yet and will do. Even though, I will keep working with KX. I really see a huge difference sound quality. At worst, I would use it on XP but I use KX. Another alternative way is ; maybe I can find another creative sound card which has a win10 ( or Win7 ) update; if I can find.. On that base; I already read the supported soundcards but I want to ask, which Sound Card ( if I can find ) would you advice to go for ? ( Creative Series or other brands can be but should work fine with KX ) ?

theswagler commented 6 years ago

KxHan9- You should post whether you have Win10 ? x86 or x64 OS. I have win7 Ult x64 w/ Audigy 2 Platinum 6.1 24bit card w/ kX 3552. I think your Value card is older 5.1 16bit. I don't use full default DSP, I only use ProFX plugins with custom mixer I wrote in Dane Editor. There have been several newer Creative Cards developed, maybe PCIe. All I know is my setup works excellent.

KxHan9 commented 6 years ago

theswagler, On one HDD, I have XP Pro x86 , and the other HDD I have Win10 Pro x64. Mainboard is ; ASUS P8H67-M LE Soundcard is: Creative Sound Blaster Live Value 5.1 Analog ( Creative Labs SoundBlaster Live 5.1 Value Audio Card CT4670 ) KX vers: I use is 3537 on XP Pro. I love this version and I think it fits perfect.. On Win10, I use the last KX, 3552 you know the story...

Speaker System : Creative Labs Inspire 5200 5.1 Computer Speakers - I use 5.1 Speakers and compose through stereo system. Its been quite long time still lasting and no problems. ( There are couple friends of mine working on music production and they all are wonder how come such a sound quality ( One of them has Quested VS2108 Powered Monitors (1st and 2nd Generation) and he is freak with the sound of mines which are 40-50 dollars worth if you can find today ? lol. )

I like it this way and the results are pretty fine, everybody likes the records on profi platforms and asking how I do the recording / master recording. Honestly, I have no any idea what master mixing is :)) . I dont understand how, but the result is good enough because of KX settings I think.. Cause I know just simple things and use simple settings about it-I think that is why result is pretty good. ) After I compose a soundtrack I turn on the Wavelab and arrange some stuff.. ( I do not use anything on Cubase. Just, instrument effects according to the instruments and keep volume low. After, I do this, I control the song with Winamp's Spectrum Analyzer ( I use winamp2.80) :)) another simple thing . I know it is naif and funny but it works fine...

Processor is: Intel Core i5 2400 CPU @ 3.10 Ghz. 3101 Mhz. 4 Cores RAMS: XP: 4 GB RAM WIN10:8 GB RAM Softwares: XP Pro has Cubase SX 2.0, Wavelab 4.0 & they both are running perfect and I am very happy. Win10 has Cubase 5.0, Wavelab 9.0 ; result is not good, because I still could not arrange the sound system because of KX.
Lots of plugins but I use; again simple ones. Nexus2, Session Strings, Edirol Orchestral & SuperQuartet, Kontakt&Libs ( Hanz Zimmer versions ), Ample Sounds, Native Fm7&8, MiniDizi, MiniErhu and some more.

Keyboard is: And I use T1 KORG as a midi keyboard. ( Which I am happy with the keyboard too. Once a year, I disassemble it totally and take care of everything and arrange every key one by one.) The outs are still the old version - fits to sound card no converter. I use only sustain pedal with it. And I am setting all voice volumes by hand manually through Cubase tracks. ( Its been ages I havent heard the original sounds of it. :D ) And I have no hardware mixer.

Overall, everyday, something is changing.. I am trying and today, Master Mixer acting better. I dont know what I did but working fine except, sound test fails. It gives the same error message like yesterday.

KxHan9 commented 6 years ago

And now, another issue: In Cubase 5., KX OUTs are inactive.. I dont know how to make them active...

theswagler commented 5 years ago

I finally created a web page to release applications I've wrote. I should have did this over 10 years ago, I created my web page completely free thru InfinityFree, Freenom... See: http://swaglertools.cf/wp/

JamesTheAwesomeDude commented 4 years ago

Note: as of today

I ran the EXE installer, rebooted, replaced that DLL with the patched version, and it's all working now.

The sound card is running properly (through a PCIe-PCI bridge, to boot)!

Some data points, hopefully helpful, for anyone stumbling across this in 2020

petera703 commented 4 years ago

Note: as of today

I ran the EXE installer, rebooted, replaced that DLL with the patched version, and it's all working now.

The sound card is running properly (through a PCIe-PCI bridge, to boot)!

Some data points, hopefully helpful, for anyone stumbling across this in 2020

Awesome! Replaced the dll and at last the mixer loads and recognizes my E-MU APS, which I'm trying just now to use under Windows 10. Still not getting any sound out of it, and the sound test within the mixer just says "Failed to create sound". But I must be close because Windows recognizes the kX outputs in the Sound dialog, and the level indicator there is active when playing music from YouTube. Thanks for posting this dll fix.

image

Image 052

moonman commented 4 years ago

You should really be using 3553 as it works fine. It does say without Microsoft Signature, but that just means it won't load with SecureBoot enabled. The driver does have a different signature that Windows 10 recognizes with SecureBoot disabled in the BIOS (so you don't have to fiddle with dev signing etc).

petera703 commented 4 years ago

Oh!!! If only you knew all the things I tried. I already read about the signature on the website. Tried all versions, so many times, different variations of running in every different compatibility mode, each running as administrator/not, run directly vs. unpacked first, safe mode, disabling/uninstalling other things…. Always the same result, it never worked for me with E-mu APS under Windows 10 I’m afraid. Tried for so many weeks… in fact it was only a few days ago I finally gave up and started a new project to revamp an old machine as dual-boot Win98/XP for music use. I wish it was Windows 10 but at least I can now run all the original apps (both E-mu and bundled under 98, or more limited under XP using the 2003 driver).

moonman commented 4 years ago

image

You should also be using WaveOut 2/3 for the front out

petera703 commented 4 years ago

Naturally I tried that.

Tried ALL outputs.

Each one in combination with all permutations of all the other hardware/software changes to the machine that I could think of.

Nope. Sure, it shows up in Device Manager, just like in your screenshot above, but the only way I get any sound out of my E-mu APS is to put it back under 98 or XP and use the E-mu drivers. Are you affiliated with the KX project?

fuba82 commented 1 year ago

Hi there,

Is it actually possible (in year 2022) to run the Kx-Audio Driver + Software on Windows 10 x64 with active Secure Boot (CSM Disabled)?
Because i need to know before i install windows on my "new" (10 year old i7 3820) 😅

Or is it better to install an older Windows version, maybe Windows 7 or even XP?!
Hopefully this step is not necessary!!

Or maybe you can give me a Link for a good "How-To" because almost ALL links here are dead ^^

Thanks in advance!

zornik123 commented 1 year ago

hi , is someone are still discuss this problem ?

moonman commented 12 months ago

This has been discussed at length before. It is not possible to install KX driver with SecureBoot enabled. It is not signed for secureboot. It is, however, still possible to use the driver with Win10 and 11 with secureboot disabled and everything works as it should. You may require mole hotfix to get everything to work right, like the mixer. I have the files saved here if anyone still needs them https://www.mediafire.com/folder/2iudnjz9rkvli/kx_driver

demmink commented 2 months ago

I get the following error when trying to use the mixer (which doesn't load natively BTW): "kx devices not found. Reinstall the drivers. kX Error: error initializing WinMM subsystem."

I have found a fix for it located here: http://www.hardwareheaven.com/community/threads/windows-10-and-kx-3552-new-fix.230567/

Hi,

This link takes me to a French site that contains no fix whatsoever. Can you post a working link, please?

Thanks,

Mark Demmink