Helpful Reply[Solved] Dropouts in Sonar X3

Page: 12 > Showing page 1 of 2
Author
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
2014/05/20 20:53:33 (permalink)

[Solved] Dropouts in Sonar X3

All of the features of my new Sonar X3 DAW seem to be fully functional, except that I'm experiencing severe and frequent dropout problems. I've optimized my system for recording by setting my computer's power for high performance and setting both my minimum and maximum 'plugged in' processor states to 100% (to avoid CPU throttling issues), disabled my system sounds, and set my processor scheduling to "background services".
 
I'm using a Toshiba Satellite S855 with an Intel core i7-3630QM @ 2.40GHz. 7.89 GB usable RAM. 64-bit Windows 8 with x64 based processor, a Focusrite 18i20, and the 64 bit version of Sonar X3. I've got my ASIO panel (MixControl) set to the maximum buffer of 20ms, and recording and playback both set to 256ms in Sonar. The Dropoutmsec variable in Sonar is currently set at the standard 250.
 
I've used the program LatencyMon to collect data while I record and experience dropouts. The data pointed me towards the Kernel Driver in my computer, which led me to suspect conflict between my Focusrite 18i20 (which I record with via USB), and my Allen & Heath Zed 18 mixing board (which I always kept connected to my computer via USB). As a result, I disconnected the Allen & Heath before attempting to record again, however the dropout problem persisted. I ran yet another LatencyMon test with the Allen & Heath disconnected, in which I recorded drums through the 18i20 until a dropout occurred, the results of which I've included below.
 
I had been connecting the Focusrite 18i20 through a USB 3.0 port, so I just ran another test (in which I recorded drums until a dropout occurred) with the 18i20 connected through a 2.0 port. The results are below as well.
 
Any further advice would be fantastic!
#1
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 20:55:08 (permalink)
After disconnecting the mixer:
 
_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more ISR routines that belong to a driver running in your system appear to be executing for too long. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
LatencyMon has been analyzing your system for 0:01:42 (h:mm:ss) on all processors.

_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: RICKYSLAPTOP
OS version: Windows 8 , 6.2, build: 9200 (x64)
Hardware: Satellite S855, TOSHIBA, Portable PC
CPU: GenuineIntel Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
Logical processors: 8
Processor groups: 1
RAM: 8076 MB total

_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 2395.0 MHz
Measured CPU speed: 2026.0 MHz (approx.)
Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.

_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
Highest measured interrupt to process latency (µs): 303.620309
Average measured interrupt to process latency (µs): 5.150816
Highest measured interrupt to DPC latency (µs): 280.100426
Average measured interrupt to DPC latency (µs): 1.251752

_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
Highest ISR routine execution time (µs): 562468.767850
Driver with highest ISR routine execution time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation
Highest reported total ISR routine time (%): 0.167453
Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation
Total time spent in ISRs (%) 0.127490
ISR count (execution time <250 µs): 579501
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µs): 0
ISR count (execution time >=4000 µs): 0

_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
Highest DPC routine execution time (µs): 362.288935
Driver with highest DPC routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation
Highest reported total DPC routine time (%): 0.186164
Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation
Total time spent in DPCs (%) 0.225216
DPC count (execution time <250 µs): 756767
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 1611
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µs): 0
DPC count (execution time >=4000 µs): 0

_________________________________________________________________________________________________________
REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.
NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
Process with highest pagefault count: chrome.exe
Total number of hard pagefaults 83
Hard pagefault count of hardest hit process: 75
Highest hard pagefault resolution time (µs): 1192702.685595
Total time spent in hard pagefaults (%): 0.199579
Number of processes hit: 3

_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 7.754258
CPU 0 ISR highest execution time (µs): 562468.767850
CPU 0 ISR total execution time (s): 1.040316
CPU 0 ISR count: 579502
CPU 0 DPC highest execution time (µs): 362.288935
CPU 0 DPC total execution time (s): 1.805143
CPU 0 DPC count: 754556
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 3.571119
CPU 1 ISR highest execution time (µs): 0.0
CPU 1 ISR total execution time (s): 0.0
CPU 1 ISR count: 0
CPU 1 DPC highest execution time (µs): 22.560752
CPU 1 DPC total execution time (s): 0.000115
CPU 1 DPC count: 40
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 1.483513
CPU 2 ISR highest execution time (µs): 0.0
CPU 2 ISR total execution time (s): 0.0
CPU 2 ISR count: 0
CPU 2 DPC highest execution time (µs): 151.631733
CPU 2 DPC total execution time (s): 0.012879
CPU 2 DPC count: 1324
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 2.906584
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 25.059708
CPU 3 DPC total execution time (s): 0.000290
CPU 3 DPC count: 80
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 1.689829
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 154.588309
CPU 4 DPC total execution time (s): 0.010349
CPU 4 DPC count: 1172
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 3.022037
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 28.325678
CPU 5 DPC total execution time (s): 0.000620
CPU 5 DPC count: 150
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 1.590594
CPU 6 ISR highest execution time (µs): 0.0
CPU 6 ISR total execution time (s): 0.0
CPU 6 ISR count: 0
CPU 6 DPC highest execution time (µs): 149.844676
CPU 6 DPC total execution time (s): 0.008177
CPU 6 DPC count: 996
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 2.968890
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 19.546973
CPU 7 DPC total execution time (s): 0.000194
CPU 7 DPC count: 60
_________________________________________________________________________________________________________
#2
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 20:56:12 (permalink)
Attempted with a USB 2.0 port rather than 3.0
 
_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be suitable for handling real-time audio and other tasks without dropouts.
LatencyMon has been analyzing your system for 0:02:42 (h:mm:ss) on all processors.

_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: RICKYSLAPTOP
OS version: Windows 8 , 6.2, build: 9200 (x64)
Hardware: Satellite S855, TOSHIBA, Portable PC
CPU: GenuineIntel Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
Logical processors: 8
Processor groups: 1
RAM: 8076 MB total

_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 2395.0 MHz
Measured CPU speed: 2024.0 MHz (approx.)
Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.

_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
Highest measured interrupt to process latency (µs): 246.317321
Average measured interrupt to process latency (µs): 5.014379
Highest measured interrupt to DPC latency (µs): 180.461648
Average measured interrupt to DPC latency (µs): 1.271723

_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
Highest ISR routine execution time (µs): 130.096033
Driver with highest ISR routine execution time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation
Highest reported total ISR routine time (%): 0.013587
Driver with highest ISR total time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
Total time spent in ISRs (%) 0.013734
ISR count (execution time <250 µs): 25216
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µs): 0
ISR count (execution time >=4000 µs): 0

_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
Highest DPC routine execution time (µs): 879.666806
Driver with highest DPC routine execution time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation
Highest reported total DPC routine time (%): 0.045066
Driver with highest DPC total execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation
Total time spent in DPCs (%) 0.159669
DPC count (execution time <250 µs): 220585
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 3
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µs): 0
DPC count (execution time >=4000 µs): 0

_________________________________________________________________________________________________________
REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.
NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
Process with highest pagefault count: sonarx3.exe
Total number of hard pagefaults 80
Hard pagefault count of hardest hit process: 74
Highest hard pagefault resolution time (µs): 395066.676827
Total time spent in hard pagefaults (%): 0.186917
Number of processes hit: 3

_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 8.963876
CPU 0 ISR highest execution time (µs): 130.096033
CPU 0 ISR total execution time (s): 0.178007
CPU 0 ISR count: 25216
CPU 0 DPC highest execution time (µs): 298.505637
CPU 0 DPC total execution time (s): 1.899299
CPU 0 DPC count: 201209
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 1.754151
CPU 1 ISR highest execution time (µs): 0.0
CPU 1 ISR total execution time (s): 0.0
CPU 1 ISR count: 0
CPU 1 DPC highest execution time (µs): 33.264301
CPU 1 DPC total execution time (s): 0.001731
CPU 1 DPC count: 214
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 1.487311
CPU 2 ISR highest execution time (µs): 0.0
CPU 2 ISR total execution time (s): 0.0
CPU 2 ISR count: 0
CPU 2 DPC highest execution time (µs): 879.666806
CPU 2 DPC total execution time (s): 0.037981
CPU 2 DPC count: 4364
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 2.229057
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 58.243424
CPU 3 DPC total execution time (s): 0.002533
CPU 3 DPC count: 343
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 1.495404
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 138.677244
CPU 4 DPC total execution time (s): 0.027181
CPU 4 DPC count: 3363
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 2.355847
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 78.554906
CPU 5 DPC total execution time (s): 0.003786
CPU 5 DPC count: 475
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 1.605092
CPU 6 ISR highest execution time (µs): 0.0
CPU 6 ISR total execution time (s): 0.0
CPU 6 ISR count: 0
CPU 6 DPC highest execution time (µs): 82.406681
CPU 6 DPC total execution time (s): 0.090242
CPU 6 DPC count: 9784
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 2.489387
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 47.356159
CPU 7 DPC total execution time (s): 0.006751
CPU 7 DPC count: 836
_________________________________________________________________________________________________________
 
#3
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 21:47:34 (permalink) ☄ Helpfulby Synaptic 2015/09/16 07:17:24
Hardware is my weakest area but while waiting on the experts....
 
It is unclear if this is an audio dropout or MIDI missing notes issue. If this is audio, how many tracks are being recorded. The sample rate might also be useful.
 
But while awaiting clarification, just a few notes.
 
Setting the processor scheduling to "background services" is usually not recommended for SONAR although it has been claimed to be a benefit by some. If there was more optimization done than was indicated above, it may be a good idea to undo it. A lot of optimization is not needed from Win7 on and some can make performance worse.
 
There is no harm in doubling or tripling the Dropoutmsec variable.
 
Neither device is USB3, usually it is not recommended to use USB3 ports for USB2 audio interfaces. IIRC the Allen & Heath Zed 18 is a USB1 device.
#4
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 21:56:05 (permalink)
Audio dropout, no midi involved here. Currently I've been attempting to record just 3 channels simultaneously, with no effects applied. 44.1kHz sample rate.
#5
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:08:13 (permalink)
Are you trying to do everything on the 5400RPM system drive?
#6
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:18:10 (permalink)
Currently, yes.
#7
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:28:01 (permalink)
I do have access to an unused 7200RPM, 320GB, USB 2.0 external drive. Would that take the load off my system drive?
#8
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:37:13 (permalink)
Not crazy about using USB2 drives for project data but it may be better than the current setup. You could also try tweaking  the playback and record buffers in Preferences > Audio > Sync and Caching. Adjust the values up in 128MB increments.
#9
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:45:38 (permalink)
I'll play around with the buffers and then give the external drive a shot if the problem persists. If I were to connect the external drive, which components should I move over to it?
#10
Cactus Music
Max Output Level: 0 dBFS
  • Total Posts : 8424
  • Joined: 2004/02/09 21:34:04
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:54:31 (permalink)
Laptops are often problematic . I cannot decipher the stuff you posted,, over my head, I use the simple DPCLAT test which I know is not as accurate, but at least it gives me a ballpark of what is going on... Red= Bad, Green = Good. 
If your experiencing DPCLAT issues, you need to deal with that first. Some Laptops cannot be tamed. Example, my laptop will not run audio until I disable the battery management in device manager. Wireless cards are also bad. 

Johnny V  
Cakelab  
Focusrite 6i61st - Tascam us1641. 
3 Desktops and 3 Laptops W7 and W10
 http://www.cactusmusic.ca/
 
 
#11
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 22:54:55 (permalink)
I would try to record to the external drive. Nothing needs to be moved, just some config changes in SONAR
  • "Project Files" in Project > File > Folder Locations and
  • "Global Audio Folder" in Project > File > Audio Data
should be pointed to a directory on the external drive.
 
One thing to keep in mind when relocating the "Global Audio Folder" to removable media, if the drive is not available when SONAR starts up, the program will automatically revert the "Global Audio Folder" setting to "C:\Cakewalk Projects". It will not revert back to the external drive when it becomes available, it must be manually reset.
#12
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 23:03:24 (permalink)
OK - let's back up a second.
 
You are using a laptop, which will have a Wi-Fi adapter present, which will FREQUENTLY cause massive latency spikes.  There is an easy fix for that, so do not despair, IF that is part of the problem.
 
Soooo, go into Device Manager, and just before launching Sonar, temporarily DISABLE your Wi-Fi adapter.  Do not worry, as you are not uninstalling it, it is only essentially making it invisible to Windows, and not really deleting it.
 
After you finish disabling it, you should see much better performance in Sonar, as far as dropouts are concerned, IF you have settings made reasonably well.
 
MY recommendation for a reasonable set of settings is as follows:
 
For your audio interface: Sample Rate of 48 k, ASIO Buffer Size of 128.  (If your interface uses a different term for it, you might have to tell it to adjust the number of samples or that sort of thing, in which case you want something like 200-230 samples).
 
For Sonar: Driver Mode of ASIO, Sample Rate of 48 k.  You want to shoot to end up with a Sonar-reported Total Roundtrip Latency of around 10 milliseconds or just a little less.  Please note that these settings are recommended for doing RECORDING, and not for doing Mixing/Mastering.  When mixing/mastering, you will need to likely bump up your ASIO Buffer Size to as high as 1024, which is fine, since you will not be doing tracking/recording at that point.
 
For the rest of time, you will be bouncing back and forth as needed, with your ASIO Buffer Size, as you move between tracking and mixing/mastering.  You need a low latency when recording, so you aren't trying to play through a giant lag, and that no longer applies once you move on to mixing and mastering, so the buffer can be really high.  This will accommodate plugins that are designed for the mixing process, which often use something called 'look-ahead processing', which will add LOTS of latency (it is scanning ahead to determine how to process, for effects such as Perfect Space or Boost 11).
 
SOOOOO, give the above a shot, and please post back and we will look at other things, as needed.  :)
 
Once you finish your Sonar session, by the way, you can enable the Wi-Fi adapter again.
 
You might consider also running LatencyMon with Sonar closed and the Wi-Fi adapter disabled, to see the difference that makes in your system's basic ability to handle streaming audio, such as what Sonar does.
 
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  
#13
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 23:09:39 (permalink)
If the machine is not recording well at 44.1 what would be the benefit of changing the sample rate to 48?
#14
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/20 23:16:02 (permalink)
I believe I've been correctly disabling wifi during each use of Sonar, but I'll give it a shot with the different settings suggestions, and if the problem persists I'll see if the external drive helps.
 
And by the way - thank you very much for all of the help, everyone!
#15
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 08:28:01 (permalink)
44.1 k or 48 k - either one is fine.  I was too lazy last night to add 44.1 k, and additionally there is not much of a resource bump needed between one or the other of those, so why not go with 48 k?
 
But, again, you were correct that 44.1 k is also a fine choice.
 
I would hope that some local environmental issue is at work on this computer, causing the dropouts, because then we should be able to ferret it out.
 
Please DO list the Sonar-reported Total Roundtrip Latency value, from Edit>Preferences>Audio>Driver Settings, with the settings set to as I posted above (sample rate of either 44.1 or 48 k, ASIO Buffer Size of 128, Sonar Driver Mode of ASIO).
 
And, as Cactus posted above, I too had problems with the battery management devices in my gigging laptop, and I had to disable that stuff to avoid massive latency spikes.
 
Also, extra devices, such as COM 1 port, can be disabled, as it is a vestigial leftover for most folks, from way long ago.
 
I also agree that generally the whole background/foreground services tweak is not needed from Windows 7 on up.
 
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  
#16
Cactus Music
Max Output Level: 0 dBFS
  • Total Posts : 8424
  • Joined: 2004/02/09 21:34:04
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 11:56:25 (permalink)
I was to lazy to copy paste this last night, But give it a try for what it's worth. It's free and take a few minutes to see whats up. 
 
http://www.thesycon.de/deu/latency_check.shtml
 
 

Johnny V  
Cakelab  
Focusrite 6i61st - Tascam us1641. 
3 Desktops and 3 Laptops W7 and W10
 http://www.cactusmusic.ca/
 
 
#17
Jim Roseberry
Max Output Level: 0 dBFS
  • Total Posts : 9871
  • Joined: 2004/03/23 11:34:51
  • Location: Ohio
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 13:21:48 (permalink)
Off-the-shelf laptops are often problematic when used as a DAW.
Let me explain why (it's pretty logical when you break it down).
 
A typical laptop is designed for the "general purpose" end user.
That user is surfing the Internet, using Facebook, sending Email, running Office applications, maybe light photo editing, listening to MP3s, etc.  None of these tasks are particularly taxing.  The general-purpose user is much more concerned about battery-life than how well the machine sustains heavy loads in timing critical applications.
 
When you're dealing with ultra-tight space (small form-factor machines - which a laptop is an extreme example), performance compromises *have* to be made to keep temperature in check.
Notice that clock-speeds of mobile CPUs haven't gone up much the past ~5 years.
Power-management and CPU throttling help keep temps in check.
 
 
Off-the-shelf laptops often use motherboards where the majority of BIOS parameters have been blocked.  
This is done to keep tech-support issues to a minimum.
The general-purpose user will never notice DPC Latency spikes... or a 2ms hiccup in data flow.
When running ultra low-latency audio, those settings can make a huge difference.  
If there's a 2ms hiccup in data flow and your ASIO buffer size is 1.5ms, you're going to experience a drop-out.
There's not much you can do in this case.  The BIOS parameters you need aren't exposed.
 
All that said, some laptops are certainly better than others.
Custom built laptops tend to fair a lot better... as you at least have some control over the components used... and additional BIOS parameters are available.  Even with the best laptops, you're making performance compromise compared to a fast tower.
 
To summarize:
To effectively work at ultra low-latency, your machine needs to be able to (indefinitely) sustain heavy loads (processing and disk) without hiccups.
Those requirements are exactly the opposite of a general-purpose user.
 
 
 

Best Regards,

Jim Roseberry
jim@studiocat.com
www.studiocat.com
#18
Splat
Max Output Level: 0 dBFS
  • Total Posts : 8672
  • Joined: 2010/12/29 15:28:29
  • Location: Mars.
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 13:24:46 (permalink)

Sell by date at 9000 posts. Do not feed.
@48/24 & 128 buffers latency is 367 with offset of 38.

Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
#19
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 17:47:29 (permalink)
Ok, so the round trip latency reported by Sonar is 101.9msec, 4495 samples. I've got sample rate set to 44.1kHz. Driver is set to ASIO. My ASIO panel (in Scarlett MixControl, with the Focusrite 18i20) only gives buffer size options in terms of msec 1-20, so the ASIO buffer size in MixControl is currently set to 20msec. Sonar says that ASIO buffer size is 20msec, 883 samples. The fast/safe buffer size slider in Sonar is faded and I am unable to move it. It's currently stuck all the way at the fast end. I wish I could share a screenshot of the page to make it clearer, but I don't have it posted at any url that I could pull it from.
 
#20
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 17:59:05 (permalink)
Just ran the sycon DPC Latency Checker. Latency seems to be hovering around 1030 micro sec with an absolute max of about 1400 micro sec in the DPC Latency Checker.

#21
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 18:40:08 (permalink)
I also attempted to record to the external hard drive I mentioned earlier. As I said, it's a usb 2.0 drive. I only have one usb 2.0 port on my computer, so I used a usb 2.0 four port hub to connect both the Focusrite 18i20 and the external drive to that port. This failed to resolve the dropout problem.
#22
Philip
Max Output Level: -34.5 dBFS
  • Total Posts : 4062
  • Joined: 2007/03/21 13:09:13
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 19:00:46 (permalink)
Some wistful ponderings:
 
I use a UA-4FX for my lappy and it is finicky.  But I believe your specs are reasonable.  Albeit, 7200 internal HD is about mandatory, iirc.  SSD is better.
 
1) Experiment with the ASIO buffers as most may not work.
2) Make sure your USB card has all its switches correctly positioned.
3) Make sure your USB card uses external power if required (albeit some cards operate reasonably with USB-3's power (900mA, iirc))
 
My current lappy (Dell XPS 15) only works with 1 ASIO setting.  Sometimes I have to reset things to that specific setting.
 

Philip  
(Isa 5:12 And the harp, and the viol, the tabret, and pipe, and wine, are in their feasts: but they regard not the work of the LORD)

Raised-Again 3http://soundclick.com/share.cfm?id=12307501
#23
Cactus Music
Max Output Level: 0 dBFS
  • Total Posts : 8424
  • Joined: 2004/02/09 21:34:04
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:09:29 (permalink)
See!  both of what I said originally, Jim backed me up too on the "Laptops are problematic" theme. 
 
Until you test for DPCLAT your working blind. your reading is not good at all, My old 2004 Toshiba laptop runs a 50ms, My wife's Lenovo about the same. 300ms is about as High as I would ever want happening. Now you need to figure out what it is that is hogging your resources. Did you try the battery management? 
The Scarlet Mix control should be fine at 10. Even on half the computer you have. 
 

Johnny V  
Cakelab  
Focusrite 6i61st - Tascam us1641. 
3 Desktops and 3 Laptops W7 and W10
 http://www.cactusmusic.ca/
 
 
#24
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:26:40 (permalink)
I believe I've got battery management disabled, but maybe there's something I'm missing. I'm set to the high performance power plan for windows 8, with all plan settings changed to 'never'. Is there something further I need to do?
#25
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:33:10 (permalink)
Jim Roseberry
Off-the-shelf laptops are often problematic when used as a DAW.
Let me explain why (it's pretty logical when you break it down).
 
A typical laptop is designed for the "general purpose" end user.
That user is surfing the Internet, using Facebook, sending Email, running Office applications, maybe light photo editing, listening to MP3s, etc.  None of these tasks are particularly taxing.  The general-purpose user is much more concerned about battery-life than how well the machine sustains heavy loads in timing critical applications.
 
When you're dealing with ultra-tight space (small form-factor machines - which a laptop is an extreme example), performance compromises *have* to be made to keep temperature in check.
Notice that clock-speeds of mobile CPUs haven't gone up much the past ~5 years.
Power-management and CPU throttling help keep temps in check.
 
 
Off-the-shelf laptops often use motherboards where the majority of BIOS parameters have been blocked.  
This is done to keep tech-support issues to a minimum.
The general-purpose user will never notice DPC Latency spikes... or a 2ms hiccup in data flow.
When running ultra low-latency audio, those settings can make a huge difference.  
If there's a 2ms hiccup in data flow and your ASIO buffer size is 1.5ms, you're going to experience a drop-out.
There's not much you can do in this case.  The BIOS parameters you need aren't exposed.
 
All that said, some laptops are certainly better than others.
Custom built laptops tend to fair a lot better... as you at least have some control over the components used... and additional BIOS parameters are available.  Even with the best laptops, you're making performance compromise compared to a fast tower.
 
To summarize:
To effectively work at ultra low-latency, your machine needs to be able to (indefinitely) sustain heavy loads (processing and disk) without hiccups.
Those requirements are exactly the opposite of a general-purpose user.
 



Great explanation. Do you have any idea whether running a MacBook Pro with Boot Camp would perform better that an off-the-shelf Windows laptop of comparable cost?

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#26
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:38:25 (permalink)
Superpar
I also attempted to record to the external hard drive I mentioned earlier. As I said, it's a usb 2.0 drive. I only have one usb 2.0 port on my computer, so I used a usb 2.0 four port hub to connect both the Focusrite 18i20 and the external drive to that port. This failed to resolve the dropout problem.


This is not surprising. Audio interfaces generally need to be attached directly to a USB port and not a hub. Does the drive work connected to the USB3 port?
 
Does the PC manage recording a single track without dropouts?
#27
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:45:38 (permalink)
I was able to successfully record 16 simultaneous channels of drums both with and without the external drive, with the MixControl ASIO buffer set to 20msec, and the playback and recording buffer sizes in Sonar both set to 1024, and the Dropoutmsec variable set to 1000.
 
In every scenario that I've set up however, both with and without the external drive, the data from my LatencyMon tests consistently point to the USBPORT.SYS driver file (USB 1.1 & 2.0 Port Driver) as the biggest issue, with the highest execution in msec.
#28
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 21:54:46 (permalink)
So this does not appear to be a dropout issue anymore. By "playback and recording buffers in SONAR" are these the disk buffer settings in Preferences > Audio > Synch and Caching? If so, that is fine.
 
What issue(s) are needing to be addressed?
#29
Superpar
Max Output Level: -90 dBFS
  • Total Posts : 23
  • Joined: 2014/03/23 00:45:44
  • Status: offline
Re: Dropouts in Sonar X3 2014/05/21 22:00:25 (permalink)
Yes. The disk buffers in Sonar's Synch and Caching.
I believe the issue needing be addressed is my DPC latency. The Sycon DPC Latency Checker is still reporting latency greater than 1000 microsec, even when Sonar is not in use.
#30
Page: 12 > Showing page 1 of 2
Jump to:
© 2024 APG vNext Commercial Version 5.1