audiodriverwriter Posted February 2, 2009 Share Posted February 2, 2009 I've had the same problem with v.13! I've just installed v.02 and all is fine again! Taste it! Ok, so v.02 probably didn't have the special memory allocation code in it (I can check my logs), but this can lead to a freeze when starting playback (which was the original complaint and why I changed to the special allocation code in the first place). Link to comment Share on other sites More sharing options...
tackle Posted February 2, 2009 Share Posted February 2, 2009 I suppose crashing now and then is better than nothing. Where do I find this v.02? Link to comment Share on other sites More sharing options...
imrazor Posted February 3, 2009 Share Posted February 3, 2009 Nope, your codecs are not initialized which is probably why it sounds distorted. Is initializing the codec something I can do, or is it up to the driver? I looked through the console logs and didn't see any failure messages about codec initialization. If it is something the driver needs to do, can I respectfully request the addition of the Delta 410 to the driver's repertoire of cards? I wouldn't think it would be terribly difficult since you already have the 44 and 1010 working... Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 3, 2009 Share Posted February 3, 2009 Is initializing the codec something I can do, or is it up to the driver? I looked through the console logs and didn't see any failure messages about codec initialization. If it is something the driver needs to do, can I respectfully request the addition of the Delta 410 to the driver's repertoire of cards? I wouldn't think it would be terribly difficult since you already have the 44 and 1010 working... It's something the driver needs to do. The 410 has a different codec than the 44 and 1010 and I don't have the card myself which always makes it a bit harder than people tend to think. I can have a look though, I can't promise when. I suppose crashing now and then is better than nothing.Where do I find this v.02? What would be interesting to see if a 'normal' allocation can result in an address space below 256 MB. If that's the case, there is something wrong with the special OSX allocation function. What I'll do is change the driver so that it first attempts with the special allocation function and if that fails, it will try a normal allocation. I'll give a message in the log if the 2nd allocation allocated memory below the 256MB limit or not. And if not, you're on your own! Link to comment Share on other sites More sharing options...
tackle Posted February 3, 2009 Share Posted February 3, 2009 What would be interesting to see if a 'normal' allocation can result in an address space below 256 MB. If that's the case, there is something wrong with the special OSX allocation function.What I'll do is change the driver so that it first attempts with the special allocation function and if that fails, it will try a normal allocation. I'll give a message in the log if the 2nd allocation allocated memory below the 256MB limit or not. And if not, you're on your own! Ok sounds great, let me know when I should try it! Btw, you said having only 1 gig might fix the problem. Not that it matters, but how come? Just curious. Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 3, 2009 Share Posted February 3, 2009 Ok sounds great, let me know when I should try it! Btw, you said having only 1 gig might fix the problem. Not that it matters, but how come? Just curious. I'm not understanding it myself. It's like the more memory available, the more memory that drivers get allocated in the first segments of physical address space. Sounds weird, but practice shows that it's at least partly true. I have 1 GB in my system and it always works, until I try reloading the driver when the system has already booted. Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 3, 2009 Share Posted February 3, 2009 Ok, this version (14) will allocate memory regardless of the 256MB memory limit if the first attempt to allocate memory within the first 256MB of address space failed. Therefore, this may result in a crash or no playback at all. Use at your own risk. Link to comment Share on other sites More sharing options...
mlkt Posted February 3, 2009 Share Posted February 3, 2009 Hi My card is Terratec ews88 MT. On boot: Envy24AudioDevice[0x3a72f00]::initHardware(0x39ec880) Terratec Phase88/EWS88MT/TS88PCI detected! read config = 3 Memory allocated OK! phys = 5389000, virt = 2e203000 Memory allocated OK! phys = 5634000, virt = 2e22b000 but no sound, no outputs Log dmesg IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (2,5f2)->(3,7f2). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (3,5f2) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (5,9f2)->(6,ac3). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (6,9f2) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (8,a1b)->(9,ac3). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (9,a1b) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (9,ac3)->(a,c4c). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (a,ac3) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (d,a4c)->(e,b6c). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (e,a4c) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (10,adf)->(11,b6c). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (11,adf) IOAudioStream[0x3fefb00]::clipIfNecessary() - Error: attempting to clip to a position more than one buffer ahead of last clip position (11,b6c)->(12,b85). IOAudioStream[0x3fefb00]::clipIfNecessary() - adjusting clipped position to (12,b6c) Sorry, I do not speak English Thanks Link to comment Share on other sites More sharing options...
tackle Posted February 4, 2009 Share Posted February 4, 2009 Ok, this version (14) will allocate memory regardless of the 256MB memory limit if the first attempt to allocate memory within the first 256MB of address space failed. Therefore, this may result in a crash or no playback at all. Use at your own risk. Ok I tried that and it worked great. The driver still gives the system.log messages of not having enough memory in the first 256 etc I got a reply in my thread on how to add kext dependencies, which now led me to an unbootable OS (my fault ) Some questions: - Would you say it's inevitable to have crashes/freezes/no playback sooner or later? I only got to try it out for a few minutes in logic but it worked great for the time I tried it. - Does any of the other sound cards you've made working drivers for have midi working? I have midi ports on the delta 1010lt, as a breakout cable on the card, but I don't know if they are working. I haven't used logic that much, and I can't find any list/settings for actual midi devices, so I'm not sure it's working. Link to comment Share on other sites More sharing options...
toxykdude Posted February 4, 2009 Share Posted February 4, 2009 hI ,,, i just got my audiophile 192 working great... i installed the Envy24HT.0.4.0 version of the driver and it worked great at the first attemp /// note that i had this iAtkos long time testing some plugs and lot of stuff and with and old CMI dont remeber what-- just working with logic and everything /// then i just plug my brand new AP 192 on my pc / installed on win tryed // then boot on mac install the driver and working great // even at 96kHz // when i try to switch to 192kHz in logic and in the AudioMidiSetup i get just noise... i can see that the driver seems to load first thant the video drivers / dont know why it just does// so.... @audiodriverwriter / / man thanks a lot for your work keep it up /. im giving some donation just when i got stablish with my accounts. and... is there a thing that it make me wanna makes me install the latest drivers? and could you just explain why it gives noise when switchs to 192kHz ? just as general info thks a lot keep the good work ! Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 4, 2009 Share Posted February 4, 2009 Hi My card is Terratec ews88 MT. On boot: Envy24AudioDevice[0x3a72f00]::initHardware(0x39ec880) Terratec Phase88/EWS88MT/TS88PCI detected! read config = 3 Memory allocated OK! phys = 5389000, virt = 2e203000 Memory allocated OK! phys = 5634000, virt = 2e22b000 but no sound, no outputs I recently bought a second hand EWS88MT so I can possibly try myself. But due to the number of issues and requests currently already running, I can not say when I will fix this. Stay tuned. - Would you say it's inevitable to have crashes/freezes/no playback sooner or later? I only got to try it out for a few minutes in logic but it worked great for the time I tried it.- Does any of the other sound cards you've made working drivers for have midi working? I have midi ports on the delta 1010lt, as a breakout cable on the card, but I don't know if they are working. I haven't used logic that much, and I can't find any list/settings for actual midi devices, so I'm not sure it's working. 1) Yes. Let's go back in history a bit. I made a first Envy24 driver Some people complained that it totally froze their systems on playback or start-up, while my system never had that issue It turned out that it had something to do with memory size, people with more than say 1GB of ram had problems I found out that the Envy24 docs state that the DMA engine can only address up to 256MB of physical address space I changed the memory allocation code to a special OSX function which deals with this limit The freezes that people reported were gone New complaints that sometimes the driver does not load Now: a driver which first attempt to properly allocate memory in a range that the Envy24 chip can handle. If that fails, it does a normal allocation. So, yes, I expect some people to get freezes again, but not after you have started playback successfully once (until you reboot ofcourse). So, once you boot and it works, it will probably work until you reboot (apart from a bug which might cause a problem when your system has gone in sleep-mode). 2) I don't have a MIDI driver yet for any card. Somewhere in future. Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 4, 2009 Share Posted February 4, 2009 when i try to switch to 192kHz in logic and in the AudioMidiSetup i get just noise... Yes, it's possible that I need to set some extra register when going higher than 96 kHz. I will look at it later. i can see that the driver seems to load first thant the video drivers / dont know why it just does// The Envy24HT doesn't have this address space issue and doesn't need to load before another driver. @audiodriverwriter / / man thanks a lot for your work keep it up /. im giving some donation just when i got stablish with my accounts. Thank you! is there a thing that it make me wanna makes me install the latest drivers? Ehm, if it works don't fix it I'd say! Link to comment Share on other sites More sharing options...
nikketrikke Posted February 4, 2009 Share Posted February 4, 2009 Hi i have 2 pci delta 66 card in the same system i have 4 input activated but the first two analog of the 1° card go right , some rumors on the other i presume spdif (?) not work the first 2 analog of the second card!!! Hi i have 2 pci delta 66 cards in the same system i have 4 input activated but the first two analog of the 1° card go right , some rumors on the other i presume spdif (?) not work the first 2 analog of the second card!!! Link to comment Share on other sites More sharing options...
imrazor Posted February 4, 2009 Share Posted February 4, 2009 Well I got tired of listening to the nasty distortion on the 410, and transplanted my Revolution 7.1 from my G5, where it had frequent problems with distortion and even the occasional kernel panic. Now it's sounding quite lovely in my Hackintosh thanks to your Envy24HT driver. I wish M-Audio could write a driver for PPC that worked as well as your Intel driver. Anyway, I sent a small contribution to you to say thanks for the Envy24HT driver. Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 5, 2009 Share Posted February 5, 2009 Hi i have 2 pci delta 66 cards in the same system i have 4 input activated but the first two analog of the 1° card go right , some rumors on the other i presume spdif (?) not work the first 2 analog of the second card!!! Do you have 2 Envy24 entries in Audio/MIDI setup? (Check the combo boxes) Link to comment Share on other sites More sharing options...
nikketrikke Posted February 5, 2009 Share Posted February 5, 2009 Do you have 2 Envy24 entries in Audio/MIDI setup? (Check the combo boxes) no only one entry Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 5, 2009 Share Posted February 5, 2009 Any chance you are seeing 2 devices when choosing something like 'Aggregate device' in the Audio/MIDI setup's menu? Link to comment Share on other sites More sharing options...
nikketrikke Posted February 5, 2009 Share Posted February 5, 2009 Any chance you are seeing 2 devices when choosing something like 'Aggregate device' in the Audio/MIDI setup's menu? i aggregate but seems that aggregate always the same card (the first) only 4 input not greyed the others greyed here follow pci utils scan 03:00.0 IDE interface [0101]: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller [197b:2363] (rev 03) 05:01.0 Multimedia audio controller [0401]: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller [1412:1712] (rev 02) 05:02.0 Multimedia audio controller [0401]: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller [1412:1712] (rev 02) 05:03.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller [1106:3044] (rev c0) it seems there are 2 delta cars Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 5, 2009 Share Posted February 5, 2009 Envy24HT.0.6.0 adds output volume controls for the Revolution 7.1. Note that the ADC has no gain controls. Enjoy! Note: if people are experiencing problems replying using this new forum style, 'fast reply' is the only thing that works for me! Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 7, 2009 Share Posted February 7, 2009 Envy24.0.16.0 adds support for the Delta 410 including output volume controls. The codec does not have input gain controls, so there aren't any input controls in Audio/MIDI setup. This version also changes the 32-bit indication in Audio/MIDI setup to 24-bit and adds a 16-bit format. Note that this doesn't affect quality whatsoever since samples arrive in 32-bit floating point and are always converted to 32/24-bit. The reason for the 16-bit format addition is that some people complained about certain apps requiring 16-bit output. Perhaps this helps. Link to comment Share on other sites More sharing options...
frag84 Posted February 7, 2009 Share Posted February 7, 2009 Hi audiowriter, great to see you still working on this drivers! After I updated to 10.5.6 my old envy24 driver worked. But After I installed RosettaStone (the language learning software with speaking function) I suddenly had some problems with the bits, I guess. All sounded very high and was played very fast. As I just installed your new drivers the problems seems to be solved. I got an usual sound. But after I started RosettaStone again, the old problem came back! But bad thing is that I can't solve it be deleting and reinstalling the driver. Do you have any Idea why this happens when I started this app ? How do I have to DEinstall the driver correct? Because I think there a still some parts on my hd after deleting the one kext... by the way I don't have any audio/midi setup opportunity. theres no icon! thx Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 7, 2009 Share Posted February 7, 2009 I've added instructions on how to remove the driver at the bottom of my webpage. I'm afraid I don't know about your other problems. You don't have Audio/MIDI setup in menu -> Go -> Utilties ?? Link to comment Share on other sites More sharing options...
frag84 Posted February 7, 2009 Share Posted February 7, 2009 no I don't If I had, I may solve it... Link to comment Share on other sites More sharing options...
audiodriverwriter Posted February 7, 2009 Share Posted February 7, 2009 Hmm.. can't help you with that. Seems your installation of OSX is not ok. Link to comment Share on other sites More sharing options...
frag84 Posted February 7, 2009 Share Posted February 7, 2009 when I type kextunload /System/Library/Extensions/Envy24PCIAudioDriver.kext > /dev/null kextunload /System/Library/Extensions/Envy24PCIAudioDriver.kext > /dev/null rm -R /System/Library/Extensions/Envy24PCIAudioDriver.kext into the terminal it goes: permission denied; you must be root to unload kexts so what to do? I'm logged in as admin Oh mean, I often think I'm too noobie for this whole thing I just found the midi/audio setup elsewhere... The sound seems to be right. But I still don't know how to do this root thing, in case of problems when I type kextunload /System/Library/Extensions/Envy24PCIAudioDriver.kext > /dev/null kextunload /System/Library/Extensions/Envy24PCIAudioDriver.kext > /dev/null rm -R /System/Library/Extensions/Envy24PCIAudioDriver.kext into the terminal it goes: permission denied; you must be root to unload kexts so what to do? I'm logged in as admin Oh mean, I often think I'm too noobie for this whole thing I just found the midi/audio setup elsewhere... The sound seems to be right. But I still don't know how to do this root thing, in case of problems I just found out, that rosettastone sets my audio optiones to 16000 HZ. So how can I surpress that? Link to comment Share on other sites More sharing options...
Recommended Posts