Colin Nicholls Posted July 4, 2023 Share Posted July 4, 2023 (edited) Help! My new DAW is exhibiting jerky video display redraws, very distracting. RESOLUTION: There was a plugin in my project that was performing a periodic activation check on the UI thread, causing the screen redraws to be interrupted. I discovered this by opening each VST property window in the project in turn, until Modartt Pianoteq 4 displayed with a "Activation Needed" popup, which is otherwise completely invisible. After clearing the activation warning by activating the plugin, the screen redraws returned to normal. Obvious Clues in hindsight: Audio playback was smooth and unaffected; only visual effects observed The problem was consistent and apparent whether playing back or just manipulating the UI while the project was open: Scrolling up and down in the Track View Observing the Aim Assist line "sticking" as the mouse cursor moves about Observing Control Bar modules "sticking" when rearranging them The NOW time indicator and current M:B:T display would "stick" during playback Changing CPU related parameters such as core parking, thread optimization, etc, had no effect Smaller projects with few or no plugins played back with no visual interruption Other DAWS played back complex projects with no visual interruption (*) This was a new computer and much software had been freshly installed, user settings transferred, and licensing prompts acknowledged and dismissed. I hope this helps other folks who may be trying to solve similar issues in the future. ORIGINAL POST: Any advice gratefully received. Here's the details: Problem description: If I scroll up/down with the mouse wheel, the Track View updates in fits and starts. (whether playing back or idle) During playback, the NOW time marker horizontal motion freezes every few seconds, along with the transport time indicator display also freezing happens for less than a second every few seconds, consistently. Note: Audio playback appears to be rock solid and sounds great if I close my eyes and don't look at the screen Steps taken so far: Checked for accidental engagement of CPU-save mode (Pause/Break key). Not applicable (can only make it worse!) Checked Performance monitor for Core-parking. Yes it was happening Installed and used ParkControl to configure power profiles that disable core parking. DID NOT FIX ISSUE (but might have reduced it slightly) Background: It's a new DAW! Intel NUC Extreme Dragon Canyon form-factor Intel i9-12900 processor (16 cores, potentially 24 threads) Video is using integrated GPU, intel UHD 770 32G RAM, SSDs, the works Currently using Focusrite Scarlett 6i6 USB 2.0 Audio interface (ASIO) Next steps: Although I feel the integrated graphics should be fine - @msmcleod concurs with this - I think maybe the next step is to try installing a separate GPU? I have a NVideo card from my old DAW I could install and try and see if I see a difference. BIOS settings I should try? I feel like this should be a speed demon out of the box, frustrating! Thanks in advance for your thoughts on this one Additional notes Performance module, before disabling core-parking: Performance module, after disabling core-parking: ... I have no idea why the "used" cores have moved around. UPDATE: Here's a video of the issue. Typically it was super-aggressive until I activated LiceCap and then it wasn't so severe. But it is still visible. The low frame rate makes it a little harder to see also: LiceCap gif of issue Observe: See how the Aim Assist and Performance Module do not smoothly track the mouse See how the NOW time and M:B:S indicator freeze momentarily and periodically during playback Edited July 6, 2023 by Colin Nicholls Link to comment Share on other sites More sharing options...
JnTuneTech Posted July 4, 2023 Share Posted July 4, 2023 Do the jerky screen draws occur outside of CbB as well? I would try running Windows Task Manager, Processes - (show all if needed), and while the problem is occurring, click the column sorting on CPU usage, and see if any of the spikes show up in concert with the freezes, and find out detail on what processes are causing that. -If that works at all for you. Maybe you've already done that? I say that, because I have a similar problem with my laptop (whenever NVIDIA drivers are updated in my case) that I stop by shutting down the background process (and removing it from startup) that causes it. Maybe you have something similar going on. Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 4, 2023 Author Share Posted July 4, 2023 33 minutes ago, Lord Tim said: This sounds like a driver issue to me, although being integrated, it's fairly unlikely. Definitely give the NVIDIA a go for troubleshooting at least. Those specs should eat anything you throw at it for breakfast out of the box with no tweaking. What resolution and how many monitors are you running? You might want to check your refresh rates in the Intel graphics utility as well. Thanks for the advice, good ideas, some of which I was part way into implementing when your response came in. Concerning the GPU: Video refresh rate is 60 Hz and seems optimal. The monitor is Viewsonic VP2770 and is native rez at 2560x1440, 100% scaling. Trying a separate NVIDIA graphics card showed that it did not appear to be video driver or GPU hardware related. Basically, I could see no difference. There's a setting in Windows Settings that appears with the nVidia card installed, "use hardware acceleration". I don't remember seeing it before. Setting it ON made no difference. I have since removed the card from the chassis and returned to the integrated GPU. Concerning CbB project size: Obviously I first saw this issue when I opened one of my large-ish projects (not to get into a size comparison here. My older DAW had no issues with it). There is a relationship between size of the project and display update behavior. Opening a tiny project (one track of piano driving Modartt Pianoteq) showed NO TRACE of the hesitant or freezing. I tried opening a second, large-ish project and observed even worse laggy scroll and play back display updates. This bothers me because it doesn't seem to be a specific plugin that I can pin this on. If this new box can't handle an average sized project that my last box (i7-8600 , 6 cores) handled with no issues, then color me very depressed because as Lord Tim says, this hardware config shouldn't even be breaking a sweat. And... it's not. I mean, performance monitor is barely registering. During playback: Next things to try: Disable WiFi/Internet/Networking Turn XBox Game Mode on? Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 4, 2023 Author Share Posted July 4, 2023 4 minutes ago, JnTuneTech said: Do the jerky screen draws occur outside of CbB as well? Not that I've noticed, JnTuneTech. I'm familiar with Task Manager ? 1 Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 4, 2023 Author Share Posted July 4, 2023 Concerning networking: I disabled my network adapter, and opened Cakewalk and the project. Noticed that it seemed to stick for a while during loading plugins, on BREVERB BREVERB wasn't activated, and was complaining about demo mode. I reconnected to the Internet, and authorized the plugin with my serial number. Disconnected from Internet. Re-opened project. Commenced playback - no change. Issue persists. Conclusion: The root cause doesn't appear to be related to the availability of the Internet/network. Have I really authorized ALL the plugins? Next Steps: I have difficulty believing this is related to my Focusrite USB interface which is my backup device. I currently don't have a backup-backup but I'm waiting on the delivery of a new Thunderbolt audio interface, so when it arrives, we'll try comparing. And, no doubt, deal with other problems I've not yet known related to Thunderbolt. Link to comment Share on other sites More sharing options...
Larioso Posted July 5, 2023 Share Posted July 5, 2023 I just come to think of the old Optimize for appearance or performance dialog. - I would test turning for performance so all visuals stuff are gone - as a test Redrawing stuff make me think it might be relevant. - had long ago that shadows under mouse or popup menus etc could even create crackles in audio - so a windows visuals thing Link to comment Share on other sites More sharing options...
chris.r Posted July 5, 2023 Share Posted July 5, 2023 5 hours ago, Colin Nicholls said: Performance module, before disabling core-parking: Performance module, after disabling core-parking: Please forgive me the off topic, but what is core-parking and should I care for it? (and is it something I can adjust on my own being a musician and not a programmer so having not much experience with bios or group policy settings?) TIA Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 (edited) 14 minutes ago, chris.r said: what is core-parking and should I care for it? Good question. I think if you are not experiencing performance issues then you don't need to worry about it. It's good for laptops and other devices that need to conserve power and aren't running real-time applications. I wouldn't have worried about it either, except that I'm clutching at CPU-shaped straws. In my case it clearly does something because the CPU performance histogram changes substantially. Edited July 5, 2023 by Colin Nicholls 1 Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 1 hour ago, Lord Tim said: Maybe try a nuke of the UHD770 and a fresh driver install? It just does feel like a video driver issue doesn't it. I think I'd have to put the nVidia card back in the slot, or maybe it would revert to "generic video adapter" or some such. And, good call on sysInternals. Link to comment Share on other sites More sharing options...
chris.r Posted July 5, 2023 Share Posted July 5, 2023 4 minutes ago, Colin Nicholls said: I wouldn't have worried about it either, except that I'm clutching at CPU-shaped straws. Thanks. Your NUC specs seems amazing comparing to my bit older hp elitedesk mini with 6th gen i7 and your intel UHD is again much better than mine, and still my lovely little box is quite capable even today. You should expect it smashing awesome with the Cakewalk/Scarlett tandem assuming both video and audio drivers are fine. I'm pretty sure you did check if you didn't accidentally hit the Pause/Break button on your keyboard. Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 2 minutes ago, Lord Tim said: Have you had a chance to go to the product page and grab the latest drivers for everything and install them? Uh, no, I haven't. That's another good idea. I was about to try the "remove Intel integrated video driver" trick you mentioned above, but instead I had a thought. Cakewalk is not my only DAW: I use Studio One's project page for album mastering, or at least, I used to. (Cakewalk's Audio Export dialog + Arrangement lane - I confess - has largely made that unnecessary) but i still keep it around, and in fact, I recently took advantage of an email offer and upgraded from v.3 to v.6, but hadn't installed it on this new machine yet. Well, I just installed it, and downloaded the Alina Smith demo project. Okay, look, I don't want to turn this into a brand war or anything. For me, this is just another data point: Studio One playback and video redraws was flawless. And that "Rhythm of the Night" demo is pretty heavy as plugins goes. I'm not super-familiar with how to read S1's performance monitor but the CPU meter was hovering at 15% which kind of feels about right. This makes me feel a lot better about my choice of hardware :-). The issue no longer feels like an intrinsic CPU- or Video- driver problem. It feels more like some kind of configuration problem on the Cakewalk side. I want to call this all a "clean Cakewalk install" but the truth is, it may be picking up stuff from my C:\Users or C:\ProgramData folders that I restored as part of moving my files over. That said, I've never experienced this kind of issue in my last two DAW upgrades. Maybe I need to reprofile aud.ini or something like that, could it be that simple? I'm doubtful. I will try it, and also the other things you've suggested. For me, this is still an on-going diagnostic project. Link to comment Share on other sites More sharing options...
scook Posted July 5, 2023 Share Posted July 5, 2023 Is the DAW excluded in the AV software? 1 Link to comment Share on other sites More sharing options...
Promidi Posted July 5, 2023 Share Posted July 5, 2023 What happens if you disable C-States and speedstep (maybe called IEST - (intel enhanced speed step) in the BIOS? Link to comment Share on other sites More sharing options...
mettelus Posted July 5, 2023 Share Posted July 5, 2023 Didn't read through the entire thread, so not sure if you checked the input devices - a wireless mouse in particular. Low batteries or dust on the optics (for the wireless/optical variety) can wreak havoc on inputs. Those devices drivers can also be "reset" on the fly by unplugging the USB FOB and plugging that back in. Link to comment Share on other sites More sharing options...
Traveler Posted July 5, 2023 Share Posted July 5, 2023 I don't know if we're allowed to post from other forums but this optimization process worked for my new DAW: https://gearspace.com/board/showpost.php?p=16176610&postcount=295 I'll use this process anytime I update NVIDIA drivers and I've had no issues with graphics to date. (System details in signature below) Hopefully this will help even if you don't need to follow the entire process. Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 @scook, re: Anti-Virus software: Good thought, I'll investigate @mettelus, re: Wireless Mouse: don't use them. Wired all the way. @promidi, re: Disabling C-States/Speedstep: I thought this was related to Core Parking which I've definitely altered. I'll do some more research on this although it seems to me that "here be dragons" Also, it bugs me to mess with something that should work in our favor: Parking on Idle = good Looking at the performance monitor module, I wonder... does Cakewalk have an upper core/thread limit? Lots of good information here:https://discuss.cakewalk.com/index.php?/topic/34270-how-to-assign-cakewalk-to-use-all-the-cpu-cores/ @Traveler, re: optimization guide Thanks! I'll review, and post if something makes a difference. This forum is the best, have I said that recently? Onward! 1 Link to comment Share on other sites More sharing options...
Klaus Posted July 5, 2023 Share Posted July 5, 2023 In Cakewalk's AUD.INI, is "ThreadSchedulingModel" set to "2"? "1" is the default value, but "2" is recommended for multiprocessing systems with quad core or higher processors. Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 1 hour ago, Klaus said: In Cakewalk's AUD.INI, is "ThreadSchedulingModel" set to "2"? It was set to "1" . I have set it to "2". It did not appear to make a difference. Good thinking, though. Link to comment Share on other sites More sharing options...
Colin Nicholls Posted July 5, 2023 Author Share Posted July 5, 2023 I have updated the top post with a link to a LiceCap screen capture of the issue. More comments up top 2023_Video_Freeze.gif Link to comment Share on other sites More sharing options...
Bristol_Jonesey Posted July 5, 2023 Share Posted July 5, 2023 I know you said in your first post that you've checked you haven't pressed the Pause/Break key inadvertently, but have you checked the Scroll Lock Key? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now