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

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

And if you double clic on xnview, you have this problem too?
Pierre.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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)
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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?
Pierre.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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?
Pierre.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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 :(
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post 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?
Pierre.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post by aQe-YWl4 »

disabled it now. could take some time to figure out whether it solved the issue though.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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 :(
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post 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.
aQe-YWl4
Posts: 14
Joined: Thu Jan 11, 2007 12:43 pm

Post 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
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post 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! :-)
LeoDavidson

Post 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.)
Post Reply