Page 1 of 1

XnView causes 100% CPU usage in directory opus (dopus.exe)

Posted: Wed Apr 30, 2008 11:28 pm
by aQe-YWl4
Hi,
I'm using Directory Opus 8 (don't want to pay for 9 as there aren't any interesting new features in there) and latest XnView.
For quite some time often when using XnView (launched from DOpus by double-clicking an image) suddenly DOpus starts using 100% CPU.
As this happens only when XnView is running I'm absolutly sure it's somehow caused by XnView, but I'm not sure whether this is actually a bug in DOpus for XnView.
Would be nice if you could look into this issue. If there's any info you need from me feel free to ask for it, I'm an experienced user so getting debug info shouldn't be a problem.

Re: xnview causes 100% cpu usage in directory opus (dopus.ex

Posted: Thu May 01, 2008 11:57 am
by xnview
And if you double clic on xnview, you have this problem too?

Posted: Thu May 01, 2008 12:25 pm
by aQe-YWl4
problem is that it doesn't happen every time i use xnview. I guess it's some specific action or something that causes it, but not knowing makes repoducing pretty hard.
I never start XnView by calling the exe without parameters, but I don't think it's related to the way it's started.
My guess would be that XnView does some file action and Dopus gets confused by it)

Posted: Thu May 01, 2008 12:28 pm
by xnview
aQe-YWl4 wrote:problem is that it doesn't happen every time i use xnview. I guess it's some specific action or something that causes it, but not knowing makes repoducing pretty hard.
I never start XnView by calling the exe without parameters, but I don't think it's related to the way it's started.
My guess would be that XnView does some file action and Dopus gets confused by it)
Do you known the command line used by opus?

Posted: Thu May 01, 2008 12:34 pm
by aQe-YWl4
it's using the standard command line that's set in Windows when you make XnView the default handler in XnViews prefs

Posted: Thu May 01, 2008 3:35 pm
by xnview
aQe-YWl4 wrote:it's using the standard command line that's set in Windows when you make XnView the default handler in XnViews prefs
So something like xnview file.jpg?

Posted: Thu May 01, 2008 3:43 pm
by aQe-YWl4
would think so. couldn't find the actual call neither in registry nor control panel > folder options, windows is just showing the "restore" button there.

but i really don't think it's related to the way xnview is started, the high cpu usage would probably happen right after starting xnview.

another thing it might be related to: creating files. could be it happens when saving a file, for example in photoshop.
i'm still trying to find a way to repoduce but as usual with stuff like that it just won't happen when you need it to :(

Posted: Thu May 01, 2008 3:44 pm
by xnview
aQe-YWl4 wrote:would think so. couldn't find the actual call neither in registry nor control panel > folder options, windows is just showing the "restore" button there.

but i really don't think it's related to the way xnview is started, the high cpu usage would probably happen right after starting xnview.
Could you try to disable option/View/Misc/Read ahead?

Posted: Thu May 01, 2008 3:50 pm
by aQe-YWl4
disabled it now. could take some time to figure out whether it solved the issue though.

Posted: Fri May 02, 2008 2:28 pm
by aQe-YWl4
nope, didn't help.
Here's what I did this time, but again it's hard to repoduce: Double-click on an image on my HDD, look at some images in that folder (using pageup/down), close XnView, delete a rtf file from that folder. I didn't notice when exactly the high cpu usage started though :(

Posted: Sun May 18, 2008 5:21 pm
by aQe-YWl4
I just figured out it wasn't related to XnView at all but a bug in DOpus that occured when i was running XnView due to the way I use DOpus. Sorry about the false report.

Posted: Sun May 18, 2008 8:14 pm
by helmut
aQe-YWl4 wrote:I just figured out it wasn't related to XnView at all but a bug in DOpus that occured when i was running XnView due to the way I use DOpus. Sorry about the false report.
Good that you have found the reason for the 100% CPU usage. :-) Please post some details for the 100% usage if you think that these are interesting for other users.

Posted: Sun May 18, 2008 8:51 pm
by aQe-YWl4
when you hover images in DOpus you get thumbnails of the image. sometimes those thumbnails make DOpus use 100% CPU. Only way to stop that is disabling the thumbs. I already submitted this bug to GPSoft

Posted: Sun May 18, 2008 9:01 pm
by helmut
aQe-YWl4 wrote:when you hover images in DOpus you get thumbnails of the image. sometimes those thumbnails make DOpus use 100% CPU. Only way to stop that is disabling the thumbs. I already submitted this bug to GPSoft
Ah, o.k. Thank you for posting details! :-)

Posted: Wed May 21, 2008 8:11 am
by LeoDavidson
Hi aQe-YWl4,

This will probably help you find out which plugin/shell extension/video codec is causing the 100% CPU problem in Opus:

http://resource.dopus.com/viewtopic.php?p=5877

(Sorry if this is a little off-topic for the XnView forum. Just saw this thread and thought I'd point to some useful info.)