Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Terabyte
119 discussion posts
As per title, I updated to beta 8 and right after I did the pc became sluggish. After a restart it was still like that and taking a look at the processes I saw that DF was using constantly 90% of the CPU.

I tried uninstalling and re-installing it again just in case but I still had the same issue. After this I went back to Beta 7 and all is working fine again. CPU usage with Beta 7 is around 0.5%-1.0%.
Nov 19, 2014  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's no good! Would you be able to update to Beta 8 again and send over a debug log? Hopefully it will be possible to grab a log but if the CPU usage is that high, I'm not sure that it will be.
  • On the Troubleshooting tab, change the Logging drop-down to "L1: Logging Minimal"
  • Restart DisplayFusion
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Send us the DisplayFusion.log and DebugInfo.html files (can be found by clicking the Open Log button on the Troubleshooting tab)
  • Disable debug logging after sending the log
Nov 20, 2014  • #2
User Image
Terabyte
119 discussion posts
I'll update to beta 8 again tomorrow after work and see what I can do about the log.
Nov 20, 2014  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We think we may have figured out the issue. Could you give this build a try?

http://www.binaryfortress.com/Files/DisplayFusion/DisplayFusionSetup-7.0.0-Beta8-Test1.exe

Thanks!
Nov 20, 2014 (modified Nov 20, 2014)  • #4
User Image
Terabyte
119 discussion posts
haha, I was starting the beta 8 installer to take the log and I received the email notification about your reply.

I'll try this test build and let you know, in case I'll take a log with it.
Nov 20, 2014 (modified Nov 20, 2014)  • #5
User Image
Terabyte
119 discussion posts
Maybe not, the link gives me "file not found" ???
Nov 20, 2014  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry, missed a 0 in there. Try again :)
Nov 20, 2014  • #7
User Image
Terabyte
119 discussion posts
That worked, downloading it now :P
Nov 20, 2014  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, keep me posted :)
Nov 20, 2014  • #9
User Image
Terabyte
119 discussion posts
No luck Keith, I'm taking a log now.

What happens is that the process is at 93%+ right now and the bar on my second monitor doesn't appear. I do have some pinned items in it (about 7-8) and I remember reading some kind of fix for pinned items in beta 8. I think the fix you made is somehow interfering with the pinned items I have.
Nov 20, 2014 (modified Nov 20, 2014)  • #10
User Image
Terabyte
119 discussion posts
Interesting, I closed most of the apps that open on startup and the CPU load is back to 0.1-0.5%.

I'm gonna make a few tests and see why the load was so high before, maybe a malware program or the firewall were the cause.
Nov 20, 2014  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, interesting! Would you be able to startup the programs one by one to see which one causes the DisplayFusion CPU usage to go wonky?

If you could also let me know what apps you have running on startup, I can try testing them out here.

Thanks!
Nov 20, 2014 (modified Nov 20, 2014)  • #12
User Image
Terabyte
119 discussion posts
Here are my debug files, I re-started DF around 20:29 and right away it started using a lot of CPU.

Initially on windows restart it started using the "usual" 90% CPU but after a few minutes it went back down properly, however, once I tried to open the DF settings window the CPU usage spiked up again. Then it did the same when I open for the first time a program, for example let's say I open up Notepad++ and move it to the second monitor, it takes several seconds for DF to move the taskbar entry for it in the second monitor as well. Once it does it at least once the next "moves" to another monitor are faster. (this part is NOT included in the logs though).

In general anyway everything feels more "sluggish" with B8 & B8T1 compared to B7. Already went back to it after taking the log :-[
• Attachment [protected]: DebugInfo.html [125,860 bytes]
• Attachment [protected]: DisplayFusion.log [394,126 bytes]
Nov 20, 2014  • #13
User Image
Terabyte
119 discussion posts
Quote:
Ok, interesting! Would you be able to startup the programs one by one to see which one causes the DisplayFusion CPU usage to go wonky?

If you could also let me know what apps you have running on startup, I can try testing them out here.

Thanks!


That was not it unfortunately, the cause seems to be something else. I tried to manually close and start up all the programs and the CPU always spiked up to 90% for ~1 minute and then went back down after I waited. The log I attached above was taken right after I started DF while all the apps were already running and I was able to reproduce the issue consistently this way.
Nov 20, 2014 (modified Nov 20, 2014)  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, it looks like the taskbar thread is stacking for some reason. Would you be able to change the logging level to L2, and send another log? That should tell us the reason that so many taskbar threads are firing.

Thanks!
Nov 20, 2014  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Actually, we've got another test build in which we've added more logging. Can you update to this one: http://www.binaryfortress.com/Files/DisplayFusion/DisplayFusionSetup-7.0.0-Beta8-Test2.exe, change the logging to "L2: Log Detailed" and then send over the log?

Thanks!
Nov 20, 2014 (modified Nov 20, 2014)  • #16
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Edit: Updated the link in the previous post to 7.0 Beta 8 Test 2.
Nov 20, 2014  • #17
User Image
Terabyte
119 discussion posts
I'll see if I can try again later, if not I'll do it tomorrow.
Nov 20, 2014  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sounds good, thanks for your help so far!
Nov 20, 2014  • #19
User Image
Morello
4 discussion posts
Hi Keith,

I updated to Beta 8 tonight and also had the same thing happen, I've installed the extra logging version and done as you asked Terabyte to do - although I don't appear to have a DebugInfo.html file.

I started the program with the logging set to L2, left it running for 5 seconds and it maxxed out my CPU, left it for a few seconds then tried to close it, missed because it was causing my mouse cursor to jump around and so accidentally launched the settings window, then after a couple more tries managed to close it.

Anyway hope it helps.
• Attachment [protected]: DisplayFusion.log [418,493 bytes]
Nov 21, 2014  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks Morello! This issue is our top priority until it's fixed, so we'll definitely post an update as soon as we have more news, or if we need any additional information.
Nov 21, 2014  • #21
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Morello: Could you do the debug logging steps again, but let it run a bit longer before exiting and sending the logs? If you could let it run for a minute or two, that would be awesome.
Nov 21, 2014  • #22
User Image
Morello
4 discussion posts
Yep, here you go - I left it running for around 3 minutes, let me know if you need it left for longer. I sent an email during this time but don't think I did anything else. I didn't clear the log before I opened it up so it'll have the previous session at the top.
• Attachment [protected]: DisplayFusion.log [1,277,568 bytes]
Nov 21, 2014  • #23
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, we've found the cause of the bug, but we're not 100% sure of the root cause. We added some code that checks the shortcuts in the following folders for their icons, so that the same icons can be used on the DisplayFusion taskbar if a user has changed them to custom icons. It seems that the .NET function for enumerating a folder is getting stuck in an infinite loop for some reason.

%appdata%\Microsoft\Internet Explorer\Quick Launch
%userprofile%\Desktop
C:\Users\Public\Public Desktop

Would you be able to send me screenshots of the contents of each of those folders? I'm hoping that I'll spot a shortcut that might be causing the issue, so that we can reproduce this here and get it fixed up.

Thanks!
Nov 21, 2014 (modified Nov 21, 2014)  • #24
User Image
Morello
4 discussion posts
I did look through the log last night and started tidying things up in those folders just to see if that was the issue, so my %appdata%\Microsoft\Internet Explorer\Quick Launch folder is empty since last night's log, I just deleted the Google Chrome Canary link on the desktop that it was having trouble with, and that's not it. However I just moved a work folder that I had on my desktop, and Display Fusion has now loaded, spiked initially to use all CPU, then loaded the taskbar on the second monitor, and CPU usage has now gone back to nothing and things are working as expected.

So - in my case it appears that it was either the "Shortcut to My Webs.lnk" or "Shortcut to Website Hours.lnk" which were causing issues, which were inside my %useprofile%\Desktop folder, inside another folder called Work. However, after moving the whole folder to another drive, and checking that Display Fusion then worked OK, I then moved those files back into the root of the %userprofile and launched Display Fusion and... it works fine. As the Work folder I had was around 6GB big I wonder if it could be a size / number of files issue, or because it likely had some symbolic links in it perhaps it's getting confused with trying to follow those?
Nov 21, 2014  • #25
User Image
Terabyte
119 discussion posts
Here's the images of my folders.

I also want to add that I do have too some very big folders on my desktop, the folders you'll see in my Desktop.png image contain 56.000+ files in 10.000+ folders. Total folders size is ~20 GB and there are also some big 1-2 GB ISO files.

I've had those shortcuts, apps and folders in there for a long time now and I haven't changed anything recently.
• Attachment [protected]: DF 7B8T2 CPU Issue.zip [192,268 bytes]
Nov 21, 2014 (modified Nov 21, 2014)  • #26
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks guys! We're 99% sure we'll have this fixed up for 7.0 Beta 9. We'll be posting it today, barring anything unforseen, so I'll follow-up as soon as it's available.

Thanks!
Nov 21, 2014  • #27
User Image
Terabyte
119 discussion posts
Quote:
Ok, thanks guys! We're 99% sure we'll have this fixed up for 7.0 Beta 9. We'll be posting it today, barring anything unforseen, so I'll follow-up as soon as it's available.

Thanks!


Great, I'll be keeping a look on it then. What do you think was the issue in the end? I'm curious :P
Nov 21, 2014  • #28
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The issue was that we were checking the desktop folder for Chrome app shortcuts, to grab the correct icon for the Chrome app shortcut on the DF taskbar. We overlooked the fact that some customers may have folders with a huge amount of sub-folders on the desktop, so for this build (Beta 8 Test5) we've limited the search to only the root of the Desktop folder, and we've added some caching for it too.

I was able to reproduce this issue here finally, by creating a folder on the desktop that contained a metric ton of files and sub-folders. We've got it all fixed up in this build: http://www.binaryfortress.com/Files/DisplayFusion/DisplayFusionSetup-7.0.0-Beta8-Test5.exe. Please let me know how it works out when you've had a chance to try it.

Thanks!
Nov 21, 2014  • #29
User Image
Morello
4 discussion posts
It looks like that's done the job, I put the large folder I had back there, installed the new build, and it worked as it should. Thanks for getting it sorted out - and for constantly improving a great product.
Nov 21, 2014  • #30
User Image
Terabyte
119 discussion posts
Just installed this new build too and that seems to have fixed it for me too.

The CPU load went up to 18% when I started this new version but dropped 10 seconds later to ~0.5% as usual ;)
Nov 21, 2014  • #31
User Image
t-rexismyspiritanimal
1 discussion post
Quote:
The issue was that we were checking the desktop folder for Chrome app shortcuts, to grab the correct icon for the Chrome app shortcut on the DF taskbar. We overlooked the fact that some customers may have folders with a huge amount of sub-folders on the desktop, so for this build (Beta 8 Test5) we've limited the search to only the root of the Desktop folder, and we've added some caching for it too.

I was able to reproduce this issue here finally, by creating a folder on the desktop that contained a metric ton of files and sub-folders. We've got it all fixed up in this build: http://www.binaryfortress.com/Files/DisplayFusion/DisplayFusionSetup-7.0.0-Beta8-Test5.exe


I just wanted to add that I was also experiencing CPU spikes with the initial Beta 8 build, especially during copy operations, but the Beta 8 Test5 build you posted seems to have fixed it. Thanks for being awesome and resolving the issue before I even got around to finishing gathering logs, etc.

And yes, recursively, my desktop folder has at least several metric tons files and subfolders.
Nov 21, 2014  • #32
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, no worries guys. Thanks for helping us track this bug down!
Nov 22, 2014  • #33
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)