In the past few days, I've noticed some CPU spikes out of DisplayFusion and out of Explorer. I don't know if they are related. I tried capturing a dump when DF was at 40% (according to ProcExp) on an i7, but by the time the dump was probably written, the spikes had settied.
(As I'm typing, I saw a sudden spike where both Explorer and DF were the highest and I was at 100% CPU, but I couldn't get to the window in time for more info.)
It seems that DF is the highest right now, at "idle" running about 5-7%, staying above DWM.
I have the dump, although I don't know what you might find in there. Please let me know if you'd like it. (It's too big for 50MB.)
I restarted DF but it hasn't changed behavior (I just hit a 100% spike between DF and Explorer again).
Logging had been minimal, I've disabled completely just in case.
I've attached the debug info.
• Attachment [protected]: DisplayFusionDebugInfo_20190326_1029.zip [204,631 bytes]
I've disabled the hooks and it does seem to be doing better. I also set the logging back to level 1. Seems to be behaving better.
Here's the dump: https://send.firefox.com/download/863abe839958f296/#DwFhAxcyjNn8jDfxJe9YVg
Ok, thanks! We'll check out the dump and see if we can spot anything.
Logging will use a lot of CPU. Did you enable L2 logging before you noticed the CPU issues or after?
No, I've been on L1 for a long time. I just set back to L0 for those few moments.
Has it still been good with the hooks disabled? If so, could you re-enable the hooks, and the next time you're running into performance issues, try closing other apps one at a time to see if they improve?
I'm wondering if any of the other apps are generating messages that are flooding the DisplayFusion hooks.
Hi Keith,
Update: a couple of days ago I turned hooks back on. The CPU spikes have not occurred, however another behavior which I did not mention originally did come back. I didn't think it was associated, but now it may be.
I also use a product called ShareMouse (
http://www.keyboard-and-mouse-sharing.com/, there's a URL for you), which is like Synergy and other mouse/keyboard sharing software, but its one benefit is that there is no master computer that must be on at all times. On the one PC that was experiencing the CPU spikes, every once in a while the mouse movement hangs/becomes sluggish, and then resumes. It wasn't doing this while I had hooks off.
This happened within the past 15 minutes, so I've copied the log (L1) to see if there's anything useful. If not, then I can up the log level.
Cheers,
Ray
• Attachment [protected]: DF_20190403_0955.zip [287,037 bytes]
OK, an additional update: a couple of hours after I wrote the previous reply, the CPU spikes returned as well. I have started shutting down some apps to see if one of them manages to remove the problem.
After shutting down applications, it seems to me that the sluggishness is proportional to the number of open windows. I have also begun to see this on another computer, when the number of windows open increased.
I occasionally see artifacts of the title bar icons as screens disappear, taking a few extra seconds to disappear. I am going to disable those and see what happens as more windows open.
Sounds great, let me know how that goes!
Eh, removing the title bar icons didn't improve things. My empirical observation still believes it's tied to the number of open windows.
I kicked up to L2 logging while there was some degredation occuring. It really appears to be more and more tied to open windows, and the more Explorer windows open, the worse it is. Fire up a Chrome session with four open windows and it gets even worse.
I've zipped up the log and attached it.
• Attachment [protected]: DF_20190408_1248.zip [198,880 bytes]
If you exit all instances of the "Vista TN3270" software, does the CPU usage for DisplayFusion settle down after a couple of minutes? I've setup a fresh test machine here, and only installed DisplayFusion and Vista TN3270. After a few minutes of running Vista TN3270, DisplayFusion's CPU usage goes way up. When I close it, the CPU usage comes back down after 30 seconds or so.
At first it does. However, the spikes eventually returned. Right now I have no Vista TN3270 sessions open, but I'm seeing both explorer.exe and DF occasionally spiking, especially with any mouse movement activity.
During these CPU peaks, I also see a lot of display flashing, almost as if windows are being redrawn. Another item, when being presented with a file section box (such as a file open), the window is redrawn several times.
Something else; I'm right now running FileSeek. When I went to resize a window, I got the circle of death for a bit before it accepted the mouse movement and expanded the window.
I have not disabled hooks during these situations.
I can send an L1 log if you'd like.
Ah, heck, here's the log.
• Attachment [protected]: DF_20190411_0845.zip [336,720 bytes]
Thanks for the log! There are some interesting lines that I need to check in with our devs on. I'll keep you posted on what I find out.
Explorer just crashed and phoned home with this bit of info:
Source
Windows Explorer
Summary
Stopped working
Date
2019-04-11 10:22
Status
Report sent
Description
Faulting Application Path: C:\Windows\explorer.exe
Problem signature
Problem Event Name: APPCRASH
Application Name: explorer.exe
Application Version: 10.0.17763.348
Application Timestamp: 03d46193
Fault Module Name: msvcrt.dll
Fault Module Version: 7.0.17763.1
Fault Module Timestamp: 05c26c69
Exception Code: 40000015
Exception Offset: 000000000000ae92
OS Version: 10.0.17763.2.0.0.256.48
Locale ID: 1033
Additional Information 1: ebc1
Additional Information 2: ebc1fa880bf9e67504068cd20825ac9d
Additional Information 3: 9a93
Additional Information 4: 9a93481fbaab3c674ac99e3ff869d692
Extra information about the problem
Bucket ID: df8ef70317bae5aba5c35fab7ee6a4cf (1568202285428155599)
I had been trying to bring a Java program window to the front, first by hovering over the Windows taskbar icon and clicking on the popup; it did not go to the front. Then I tried Alt-Tab and selected the window, same lack of bring to front. Then I tried Win-Tab and selected the window, same lack. Note that I always seem to have issues with this particular Java window, I don't think it's DF-specific.
The log is also attached.
For the moment, I'm going to turn off the hooks, as I need some stability.
• Attachment [protected]: DF_20190411_1015.zip [392,185 bytes]
So this is a bit of a tricky one. Something seems to be causing DisplayFusion to constantly try to repaint itself. There are tons of lines in the log from DisplayFusion trying to prevent that from happening, which might be what's causing the CPU usage to run up.
The next time this happens, could you try closing all open applications to see if the DF CPU then goes back to normal?
This may be the case. I disabled the hooks, but I'll renable them next week and test.
I did a little testing today with this. Almost immediately after reactivating the hooks, boom, the CPU went nuts. I closed Chrome (I had 4 windows, but like 80 tabs in those 4 windows), and that helped a lot. It's still not great, there are occasional hangs, but it's a lot less w/o Chrome.
Was Chrome the only application open? Are there any applications running in the background that you could close via their system tray icons?
Oh! I think I know what the issue is. On the DisplayFusion Settings > Options tab, can you try setting the "Aero Colour Mode" option to disabled?
No, there were several others (including some background stuff), but things sure settled down when I closed Chrome.
I've disabled the Aero settings, and I'll report back later.
I have discovered that if you run ccleaner (registry cleaner) its almost a necessary to run this between uninstall \ reinstall of ANY Windows program. I have followed this paradigm for YEARs.
Lots of people disagree but a registry cleaner is CRUCIAL to Windows health. Not trying to promote ccleaner per se just pointing out that a good registry cleaner (and that one is the best IMO) will maintain a good working Windows environment especially between beta \ stable versions of prodcuts. Windows does millions (yes millions) of transactions a day in the registry you would be amazed.. it's not uncommon to find multiple errors left by errant programs. It's also a testament to how sloppy ALL applications are written..
Doesn't matter if they are Microsoft or 3rd party registry cleaner I use 2 or 3 times a day to validate my Windows is healthy. Just my 2 cents.
I do have CCleaner running on this machine, although it has been a while since I did a registry clean on it. I'll give it a shot.
Oh, I forgot, disabling the Aero color settings has worked beautifully!
Excellent, glad to hear that sorted it out!
I'll wait for Beta 2 to renable.