Latency with UX2 - interpreting RATTV3 results

Author
_Angus_
Max Output Level: -89 dBFS
  • Total Posts : 79
  • Joined: 2012/04/01 14:04:39
  • Status: offline
2013/04/24 08:13:28 (permalink)

Latency with UX2 - interpreting RATTV3 results

  Hi all, I've trying to sort out my latency problems with Sonar and a Line 6 UX2 guitar interface with some great help from this forum, but without success. I've ended up running Microsoft's RATTV3 tool to try and pinpoint the problems. The large time it comes up with are as follows: RktHDAudio.sys 20.0ms USBPort.sys 2.7ms atapi.sys 30.0 I've just installed a new Realtek driver.... any thoughts on how to proceed? Thanks.

Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
#1

19 Replies Related Threads

    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 14:41:04 (permalink)
    Realtek will never have low latency because it does not have low latency drivers nor is it designed with that in mind. It is a general purpose audio device for playing MP songs and windows sounds.  If you want low latency you will need an audio device meant for that purpose. 

    Why do think there are so many add on cards for this?

    Best
    John
    #2
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 15:16:36 (permalink)
    Perhaps I am confused, isn't the Line 6 UX2 an audio interface with ASIO drivers?

    So, to the original poster, what settings are specified for the interface, and what settings are set in Sonar?

    I am speaking of Sample Rate and ASIO Buffer Size, and am assuming your Sonar Driver Mode is set to ASIO and using the Line 6 UX2 as its interface.

    I am still confused in any case, because the specs for the original poster list both an M-Audio 2496 AND the Line 6 Pod Studio UX2, both of which seem to me to be audio interfaces, and it is my understanding that only a single set of ASIO drivers can be used at a time.  So, if the specs are correct, and if my understanding is correct, then how would that work?

    Bob Bone


    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #3
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 15:36:13 (permalink)
    Right, I appreciate the Realtek onboard card is not suitable. I don't use it for making music, I mention it only because RATTV3 said that it (along with USBPort.sys and atapi.sys) were causing latency problems, and have BIG numbers (micro seconds?) associated with them. If I'm just trying to generate some music within Sonar I use the M-Audio card, I just use the UX2 when I want to add my own guitar playing. But that's when the problems start. Its all set to ASIO, I have tried various buffer sizes and sample rates, but the sound dropouts remain. If I use the DPC Latency tool, I can see the graph frequently going into the red when I use Sonar via the UX2. :(

    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #4
    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 15:36:51 (permalink)
    I don't know either. The latency seems in line with using a Realtek driver. And the OP talks about installing a new version of the Realtek driver. 

    I agree with your points. 

    Best
    John
    #5
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 17:29:28 (permalink)
    The guy is not clear about what he is doing.

    To the original poster, you have MULTIPLE drivers specified, and it is not at all clear WHICH one you use.

    Please pick ONE interface, and get everything set to that interface, and THEN talk about what issues you are having.

    You CANNOT use 2 devices and ASIO at the same time, so unless your driver mode in Sonar is changing to something other than ASIO, you cannot have both the M-Audio and the Line 6 interface connected AND using ASIO.

    So, please make it easy on yourself, and on us, by picking ONE and then let's get that working.

    Since the Line 6 has ASIO drivers AND 1/4" inputs, why not take the M-Audio completely out of the equation by removing it altogether from your system for the moment?  (leaving the Line 6 interface using ASIO mode and the ONLY interface specified in Sonar and the default device in Windows).

    THEN tell us what problems that causes you.

    Thanks - just too many things going on at the same time for no understandable reason, 

    Bob Bone


    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #6
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 22:18:08 (permalink)
    Angus,

    It sounds like you're trying to use 3 audio devices at the same time.  With the UX2 you don't need to use your on-board sound card or the M-Audio card.  Unplug the M-Audio (if it's a usb device), disable your on-board card in the device manager, and then only use the UX2.  You shouldn't have any latency at all since the UX2 provides direct monitoring.  Make sure you have the latest drivers.  And perhaps, you need to do a little more reading of your manuals and become more familiar with your equipment.  Good luck.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #7
    Fog
    Max Output Level: 0 dBFS
    • Total Posts : 12302
    • Joined: 2008/02/27 21:53:35
    • Location: UK
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/24 23:38:56 (permalink)
    I have noticed my laptop has been a PITA since turning it on for music again the other week. it used to be fine.. so I can only put it down to software updates.

    I noticed once I did update a few drivers (including a realtek HD one) it improved a fair bit..

    *BUT* here is something I saw from focusrites site.. it might be to do with you usb ports.. and if it's using a generic hub

     http://www.focusrite.com/...en/article.php?id=1127

    #8
    Kev999
    Max Output Level: -36 dBFS
    • Total Posts : 3922
    • Joined: 2007/05/01 14:22:54
    • Location: Victoria, Australia
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/25 00:32:10 (permalink)

    So you've got 3 soundcards:

    Line6 UX2 (USB)
    M-Audio 2496 (PCI)
    Realtek whatever (onboard)

    Questions:
    1. Which one are the speakers currently connected to?
    2. Is there anything that you ever run that wouldn't work just fine with the UX2 alone?
    post edited by Kev999 - 2013/04/25 02:20:53

    SonarPlatinum(22.11.0.111)|Mixbus32C(4.3.19)|DigitalPerformer(9.5.1)|Reaper(5.77)
    FractalDesign:DefineR5|i7-6850k@4.1GHz|16GB@2666MHz-DDR4|MSI:GamingProCarbonX99a|Matrox:M9148(x2)|UAD2solo(6.5.2)|W7Ult-x64-SP1
    Audient:iD22+ASP800|KRK:VXT6|+various-outboard-gear|+guitars&basses, etc.
    Having fun at work lately
    #9
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/25 04:50:39 (permalink)
    Guys, apologies - I seem to have confused everyone with my ramblings. The facts:

    My problem is when I configure Sonar to use the UX2 (for my guitar parts) it becomes unuseable because of dropouts. I've been using the tools DPC latency checker and RATTV3 to try and track down the problem. RATTV3 generates a report that points to RtkHDAudio sys, USBPort.sys and atapi.sys as the drivers that are causing the biggest delays in my system - BUT I'm not using the realtek at the time, just the UX2.  


    Sorry for the confusion, I'm pulling my hair out over this, (and I can't even format my text with carriage returns!)  :)

    Thanks.


    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #10
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/25 07:38:11 (permalink)
    Angus - it still leaves questions as to what is configured, we cannot see what is plugged in at the time you are either running diagnostic tests or when you are doing your audio processing.

    So, for the moment, let's try to tackle one interface at a time.

    Please for the moment remove your M-Audio card from your system, and disable your Realtek on-board sound, then set your default audio device to be your Line 6 UX2.

    Once that is done, please then detail your results running DPC Latency Checker outside of Sonar, and also running it while Sonar is running.

    Additionally, please detail your settings for the Line 6 UX2 interface at the time of the above tests. (We need to know Sample Rate and ASIO Buffer Size)

    We also need to know what the Sample Rate is set to in Sonar, and the reported Total Round Trip latency for Sonar being configured for the Line 6 UX2 interface.

    Could it also be possible that dropouts are occurring due to some project's use of plugins?  Sometimes certain plugins can cause dropouts and issues - look ahead processing or CPU-intensive plugins meant for mastering are often the cause for tracking issues.

    The above should eliminate confusion for us as to what is running on your system, and perhaps we can figure out how to help reduce any latency on your system.

    Bob Bone


    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #11
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/25 14:11:55 (permalink)
    Thanks for the reply. I disabled the M-Audio and Realtek in Device Manager, checked the UX2 was my default sound device and ran DPC Latency checker. It started off a bit all over the place but after a couple of minutes with the system idle, rumbles along at 21us. I then played an mp3 file using Windows media player (No Sonar involvement) and it was horrible with lots of dropouts, and DPC showed a continuous latency of around 5000us. Then I ran Sonar and played some music I'd produced with it, and its up around the 3000 us mark, sometimes peaking every 3 seconds or so. I have tried various settings but currently the UX2 settings are 512k buffer, 16 bit - bit depth (44100 Hz).

    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #12
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/25 17:00:55 (permalink)
    OK - so this is some progress.

    The fact that an MP3 file through Windows Media Player produces the dropouts indicates some sort of problem with the system itself.

    I am not sure if it is enough to just disable the M-Audio device - I would like to ask you to physically remove that PCI card for testing purposes, then running the Windows Media Player test again, to see if the physical presence of that PCI card is causing any latency problems.

    So - please if you don't mind, run the above test and post back with the results.

    Don't be too discouraged - you have made some progress, by determining that the issues are external to Sonar, so now it is a matter of finding the actual culprit.

    Bob Bone

    post edited by robert_e_bone - 2013/04/26 08:52:40

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #13
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/26 04:28:35 (permalink)
    Darn, I thought you might say that.  :)


    I am a bit out of my comfort zone pulling bits out of my pc, and my eyesight doesn't help.... but okay, I will give that a go (and thanks for your continued interest). Will you be on the forum over the weekend, or shall I do this on Monday morning. The earliest I can attempt it is this evening (Friday).


    Thanks again.

    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #14
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/26 09:11:11 (permalink)
    I will be on through the weekend, checking every 2-3 hours for much of that time.

    That article link posted above by Fog is pretty nice, give that a good read too.

    Are you plugged into a USB 2 or USB 3 port with the Line 6?

    Bob Bone

    Wisdom is a giant accumulation of "DOH!"
     
    Sonar: Platinum (x64), X3 (x64) 
    Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
    Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
    Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
    MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
    Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
    #15
    Marcus Curtis
    Max Output Level: -72 dBFS
    • Total Posts : 945
    • Joined: 2007/09/04 22:50:09
    • Location: Tulsa
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/26 10:46:30 (permalink)
    A few things to consider

    First The UX2 is USB 1.0 and that will have an impact on your latency depending on the amount of tracks you are playing back.

    Second For this reason you should get a better latency from your m-audio device. As an experiment try to record a few tracks using your m-audio card and use Pod Farm or Gearbox as a plug-in. If your latency problem is still there then it is the system and not the UX2. If your latency issue is gone then the problem is the UX2 itself

    Make sure that the M-audio device is selected in sonar and everything else is not selected. Use ASIO drivers only. Those drivers will only allow you to use one device at a time. You will still need to leave your UX2 plugged in to unlock Gearbox or Podfarm so you can use it as a plug-in.


    To use Pod Farm or Gearbox as a plug-in copy the dll files from the default line 6 folder into the default cakewalk vst folder

    This should address your issues and you will still be able to use Pod Farm or Gearbox on your guitar tracks. If you still want to use your UX2 then the default settings are 512k buffer 16 bit 44.1 sample rate for lower latency. Use Pod farm or Gearbox outside of Sonar and not as a plug-in if you are plugging in through the UX2.

    Disabling a device in device manager should turn it off. You should not need to pull the card. go to the control panel and open up your Sound icon (assuming you are using windows 7). If you see your m-audio device in there then it is not disabled. If it is not in there then the M-audio card is disabled. 



    http://www.marcuscurtismusic.com/  

    Windows 10 ultimate, Sonar Platinum, AMD Phenom 2 x6 1075T processor 3.00 GHz, (6 cores) 8 gigs of Ram, 

    Audio interfaces=VS-100, Pod X3 live pro, Boss GT-100, Boss GP10
    Midi Controllers=Edirol  PCR 800, roland GR-55.    

    Ozone 7, Podfarm, Th2 Full Version, Melda, True Pianos Full Version, and a whole bunch of free VST plugins which can be found through my site.
     
    #16
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/26 15:04:30 (permalink)
      Okaaaaaaaay........... I physically removed the M-Audio card, and right away a significant improvement was evident. You can listen to the music without cringing at the dropouts. On DPC latency checker it rolls along around 100 us with spikes every few seconds sometimes up to 500 or 1000 us. Sometimes you'll get a cycle every 4 or 5 seconds of these spikes, sometimes the interval is different. This broadly describes the performance in Sonar and playing an .mp3 with Windows Media Player, although during my test, the average latency was a bit higher using Windows Media Player - but it is highly variable. It is a big improvement though. Thanks. What are your thoughts? PS Can I also thank Fog, Marcus, Kev et al for their input. Fog, I wasn't too clear on the technical side of the article but I have ordered a pci usb board.

    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #17
    Kev999
    Max Output Level: -36 dBFS
    • Total Posts : 3922
    • Joined: 2007/05/01 14:22:54
    • Location: Victoria, Australia
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/27 02:53:57 (permalink)
    _Angus_

    ...I have ordered a pci usb board.
    If you need a USB expansion card, get PCI-e not PCI, unless it's only to connect less-critical devices like mouse and keyboard.

    SonarPlatinum(22.11.0.111)|Mixbus32C(4.3.19)|DigitalPerformer(9.5.1)|Reaper(5.77)
    FractalDesign:DefineR5|i7-6850k@4.1GHz|16GB@2666MHz-DDR4|MSI:GamingProCarbonX99a|Matrox:M9148(x2)|UAD2solo(6.5.2)|W7Ult-x64-SP1
    Audient:iD22+ASP800|KRK:VXT6|+various-outboard-gear|+guitars&basses, etc.
    Having fun at work lately
    #18
    _Angus_
    Max Output Level: -89 dBFS
    • Total Posts : 79
    • Joined: 2012/04/01 14:04:39
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/28 14:05:00 (permalink)
      Right, well, the pci usb card didn't improve things at all, any further thoughts, chaps?

    Sonar X3 Studio, Win 7, M-Audio 2496, Line 6 Pod 2,  Nvidia GTX 760, I7 3770K, 16GB ram, ASUS P8Z77-V LE Plus, Amiga 1200, Blizzard 1260, Protracker 2.3b
    #19
    Kev999
    Max Output Level: -36 dBFS
    • Total Posts : 3922
    • Joined: 2007/05/01 14:22:54
    • Location: Victoria, Australia
    • Status: offline
    Re:Latency with UX2 - interpreting RATTV3 results 2013/04/29 00:17:24 (permalink)
    What was the UX2 connected to before you added the expansion card? It's normally best to connect it to a regular USB2 port on the back of the computer.

    SonarPlatinum(22.11.0.111)|Mixbus32C(4.3.19)|DigitalPerformer(9.5.1)|Reaper(5.77)
    FractalDesign:DefineR5|i7-6850k@4.1GHz|16GB@2666MHz-DDR4|MSI:GamingProCarbonX99a|Matrox:M9148(x2)|UAD2solo(6.5.2)|W7Ult-x64-SP1
    Audient:iD22+ASP800|KRK:VXT6|+various-outboard-gear|+guitars&basses, etc.
    Having fun at work lately
    #20
    Jump to:
    © 2025 APG vNext Commercial Version 5.1