Support Report
UAD-1 and Tiger
by James Cigler
While our software engineers are hard at work with the UAD-1 V. 3.9 update for Tiger, I thought I'd give all the Mac users an update on the features--aside from OS X 10.4 support--that are going to be part of the UAD-1 V. 3.9 software update.
First up is an issue that has mostly affected PCI-X G5 users (as well as a handful of G4 and PC users). The "UAD-1 Not Responding" error (which sometimes appears as "Error -21") could occur at seemingly random times, In our internal tests with 3.9, this problem has been fixed for all reproducible test cases that we have.
Also, a small handful of G5 users have had problems with clicks/pops during an offline process or export--even with the optimal settings in their DAW host application and the UAD-1 Meter. This issue also appears to have been resolved in our internal testing.
Also, a small handful of G5 users have had problems with clicks/pops during an offline process or export--even with the optimal settings in their DAW host application and the UAD-1 Meter. This issue also appears to have been resolved in our internal testing.
For a while now, Logic users have not had the benefit of UAD-1 plug-ins releasing their DSP resources when they are bypassed, or when they are "frozen" through Logic's Freeze function. We have been working with Emagic on this issue, and as of Logic V. 7.1 and UAD-1 V. 3.9, Logic users will now be able to release the DSP of UAD-1 plug-ins when they are bypassed or frozen.
For all the UAD-1 users out there using Digital Performer, DP's 4.5 update with automatic delay compensation was a huge breath of fresh air. However, the Dynamic CPU Management system implemented in their 4.52 update didn't necessarily jive well with UAD-1 plug-ins. Users could sometimes see large host CPU spikes and/or clicks and pops when using UAD-1 plug-ins. This is because the Dynamic CPU Management system will automatically bypass or un-bypass plug-ins, depending on what audio is on the track, and in the case of the UAD-1, this bypass/un-bypass could be a rather "heavyweight" operation. Thanks to a new feature implemented into the UAD-1 driver, you can now set a preference to make the AU bypass a "lightweight" operation. This allows for a much smoother bypass/un-bypass operation and resolves the above issue.
Last, we have had a few reports of an issue where cycling presets on some of the UAD-1 plug-ins under VST hosts in Mac OS 9 could cause a system freeze. Our test cases where we could reproduce this issue have shown that this is cleared up with the V. 3.9 update.
Make sure you are using ASIO drivers for your sound card, and that you have tried multiple ASIO buffer sizes. A larger ASIO buffer size will usually put less stress on your system, and should prove to be more stable regarding clicking and popping issues.
In general, if you experience this problem, you should start troubleshooting by looking at your sound card settings and your digital clock settings. Make sure you are using ASIO drivers for your sound card, and that you have tried multiple ASIO buffer sizes. A larger ASIO buffer size will usually put less stress on your system, and should prove to be more stable regarding clicking and popping issues. This said, it is advisable to try both lower and higher settings, as the best setting depends on your hardware and DAW application. The next thing to check is your digital clock settings. If you are using an external digital clock, we recommend turning this off temporarily and just using your sound card's internal sync for troubleshooting purposes. After the problem has been isolated and fixed, then you can re-establish the external clocking. Make sure that your sound card and your digital audio program are using the same sample rate and that there is only one master clock in the system.
Because our plug-ins run on the powerful UAD-1 PCI card, which uses PCI to shuttle data to and from the card, there are a few other issues to be aware of that may affect PCI devices. One issue is that some PCI slots share resources with other devices in your computer, such as video or USB controllers, and if the UAD-1 or your audio device is in these slots, there may be clicking and popping issues. The easiest solution for this--one that we commonly recommend-- is to try installing the UAD-1 or your sound card in a different PCI slot. This alone solves a good number of clicking and popping problems. Another issue that affects PCI devices, and the main focus of this article, is the fact that PCI devices are subject to the timing and arbitration priority rules inherent on the PCI bus. These settings are normally not adjustable without special software, and for most applications (Web browsing, games, business, etc.) they don't ever need adjustment. For people using their computers for digital audio, however, these settings can be critical.
Each device in a computer that is connected to the PCI bus (this includes video cards and other motherboard components such as USB and FireWire devices, as well as add-in PCI devices) has a latency setting of between 0 and 255. These settings are decided either by the device itself or by the operating system, depending on the device. The latency setting can basically be thought of as the "priority" of the device on the bus. The higher the number, the longer the device can block other devices from using the PCI bus during data transfers. Because the PCI bus is the backbone of a PC's input/output (I/O) system, the relative priority of each device is critical. It is common for AGP cards to have latency settings of 255, but this is desirable only if graphics performance is the most important requirement of the system. This might be fine for Web surfing or gaming, but it can create havoc when the user is working on music. Although some of the PCI latency settings depend on the system itself, a good general rule for audio systems is that the video card's latency setting should be lower than any audio device's. This alone can help with problems where you hear a click or pop when you select something onscreen with your mouse: This is a sign that the graphics card is taking priority over your audio devices. Other adjustments can involve raising the priority of your sound card, UAD-1 card(s), or FireWire adapter (by using a higher latency setting).
There are a number of software tools available for managing your PCI latency settings. Almost all of them are free for download, and a few ask for a small fee ($10 to $20) to activate the ability to apply the saved PCI settings on reboot. These tools include PCI Dawg, Double Dawg, and an application called LtcyCfg.
There's a simple rule for configuring the PCI Latency timers on any DAW. The PCI Latency timer settings can be thought of as setting the priorities for each device on the PCI bus: The higher the PCI Latency timer value, the higher the priority. For a DAW, arrange the priorities in decending order as follows (example settings are shown in brackets, but you should experiment to find the best settings for your system):
The PCI Latency values for the UAD-1 card must be set using the MIN_GNT setting on the Configuration dialog of the UAD-1 Meter application. These settings will override any values you set using the software tools mentioned above.
If you're using a FireWire audio interface, make sure the Firewire (IEEE 1394) controller has a high priority as well. If you're using a USB audio device, it's especially important to put it on its own USB connector and to avoid using a hub to share the USB port with other devices.
If your audio device does not use bus-mastered DMA (e.g. M-Audio's Delta series, and any USB audio IO), you should either reduce the maximum PCI latency timer values of your devices (i.e. set your DSP cards to 32 or 64, and everything else lower than that), or increase the PCI latency timer value in the system BIOS to give the USB driver software higher priority.
Some systems allow setting the default PCI Latency value in the BIOS. This value is used for CPU access to the PCI bus, and/or as the default for devices that don't otherwise specify a value. Note: Some audio device manufacturers advise setting this to 0, but do not do so, because it can seriously degrade your system's performance.
Keep in mind that the PCI Latency timers do not affect your audio latency! PCI Latency refers to the amount of time each device is granted access to the PCI bus when it is transferring data, while audio latency refers to the time delay from audio input to output, and which is set by the buffer size in your audio driver.
Questions or comments on this article?