Slow operations - something wrong?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

ini File

Post by helmut »

Xyzzy wrote:There were ~500 pics in the directory, shown pic was ~1500x2000.
Disabled "High zoom quality" and Cache and tested a little, there is significant speedup! Disabling cache seems to have much less impact on load time than disabling "High quality options". Hovewer, I can still see main window redraw before picture is show. Full frame of main windows is drawn along with toolbar (including icons), no panels' frames are drawn now. Progess bar in status bar shows loading before picture is shown.
I will test a bit more tomorrow and report.

X.
There's various settings which may have impact on performance. Perhaps you have a set a setting which causes the slow behaviour.
So could you place your current .ini file (xnview.ini) somewhere on a webserver and place a link here? (Pasting the whole ini file in this thread is not recommended).

(I've just noticed that the option "Don't start browser thumbnails" causes slow start and a bit strange behaviour of XnView on my computer. Not sure what this options really should do).
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Not for me

Post by Clo »

:) Hello !

Code: Select all

(I've just noticed that the option "Don't start browser thumbnails" causes slow start and a bit strange behaviour of XnView on my computer. Not sure what this option really should do).
- I've this option always enabled, and it doesn't cause any trouble or slow down… ( I had requested that option years ago, because to start thumbnails in Win 3.1/Win 32S version caused crashes sometimes by a suddent lack of memory)
- Like you can see above, a 3-MB MOV is loaded in one second with a so powerful machine; indeed, isn't wonderful, but isn't ages …

:mrgreen: Regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

It's NOT the MOV file that is slow loading, it is THE image file shown in the MOV clip that is slow loading.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Xyzzy wrote:There were ~500 pics in the directory, shown pic was ~1500x2000.
Disabled "High zoom quality" and Cache and tested a little, there is significant speedup! Disabling cache seems to have much less impact on load time than disabling "High quality options". Hovewer, I can still see main window redraw before picture is show. Full frame of main windows is drawn along with toolbar (including icons), no panels' frames are drawn now. Progess bar in status bar shows loading before picture is shown.
I will test a bit more tomorrow and report.
Could you send me a test picture, please?
So the problem is "High zoom quality"?
Pierre.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

XnView could load whole image first at the start, then plugins, xnview.ini, languages... starting should be faster then - without changing settings or deleting plugins...
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

OK, at URLs below you can download the file loaded on MOV and my xnview.ini.

After some testing I can say, that the disabling High zoom quality makes great difference, but also picure quality is visibly degraded. Also, when picture is already displayed, zooming in High quality is also very slow.
Maybe my system is in such a mess?
I will make another movies.

BTW, Just to make sure, I hope you noted the Enter key click sound, that started loading XnView .

http://www.in-tra.com.pl/~lukasz/mh.jpg (0.5MB)
http://www.in-tra.com.pl/~lukasz/xnview.ini
(Reverted from saving settings to registry to save the ini file, language and plugins folders still renamed.)
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Xyzzy wrote:..
http://www.in-tra.com.pl/~lukasz/mh.jpg (0.5MB)
http://www.in-tra.com.pl/~lukasz/xnview.ini
(Reverted from saving settings to registry to save the ini file, language and plugins folders still renamed.)
Thank your for providing the .ini file and sample file. I think the problem is caused by the transmitter the woman holds in the left hand. The transmitter waves block the IDE channel and slow down data transfer significantly. ;-)

Back to 'business':
I've placed your file in a folder and made 499 copies. Also saved your .ini file in the XnView program directory. All the images still open in less then 0.5 seconds (P4, 2.4 GHz, 512 MB, ATI Radeon 9600). All this extra drawing (Window, status bar, ...) that can be seen in your video is a bit strange. I've disabled the hardware acceleration for Windows (in Control Panels, Display, Settings, Advanced... the Windows settings (Display), then opening an image looks very much like in your video, but still it opens in about 1 second.

What graphic card do you use? During those 3 seconds, is there a lot of hard disk activity?

I think the High quality Zooming is a different problem: When using High quality zoom, zooming your image (~1500x1500 pixels) takes about 8 seconds at 400 % on my computer and gets even worse the more you zoom in.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

helmut wrote:I think the High quality Zooming is a different problem: When using High quality zoom, zooming your image (~1500x1500 pixels) takes about 8 seconds at 400 % on my computer and gets even worse the more you zoom in.
8 seconds on your P4 when having high zoom quality????
Pierre.
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

xnview wrote:
helmut wrote:I think the High quality Zooming is a different problem: When using High quality zoom, zooming your image (~1500x1500 pixels) takes about 8 seconds at 400 % on my computer and gets even worse the more you zoom in.
8 seconds on your P4 when having high zoom quality????
Same here,
8-9 seconds to zoom with high quality options from 100% to 400% in View mode with mh.jpg
0.1 seconds or instantly to zoom without high quality options from 100% to 400% in View mode with mh.jpg

Athlon XP1700+ at 1.83Ghz, 512MB PC2700 DDR, nVidia Geforce2 GTS 32Mb (yea I know, I need a new video card)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

I use Sapphire Radeon 9700Pro, not overclocked. Drivers Catalyst 4.7, I will upgrade to 4.11 and we'll see. Full hardware acceleration enabled.
Also, deactivating AV (Avast 4.5 Home) doesn't make any difference.
Maybe it's something wrong with my system? Some software conflict? Trashed registry?
Do you think a log from filemon or pmon (from Sysinternals site) would help?

X.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:Same here,
8-9 seconds to zoom with high quality options from 100% to 400% in View mode with mh.jpg
0.1 seconds or instantly to zoom without high quality options from 100% to 400% in View mode with mh.jpg
Oh ok, but high zoom quality in zoom in is not really good. I means high zoom quality when zoomin out (used often).
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

OK, here's new movie (2MB)
http://www.in-tra.com.pl/~lukasz/P1090819.ZIP
All high quality zoom options off, cache off. Note the "press Enter sound" starting loading. High disk activity lasts until first signs of the GUI appear.

I noticed the same behavior (like on both movies) on another PC. PIV 2MHz, no HT, 256MB RAM, onboard Intel graphics.

X.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Xyzzy wrote:OK, here's new movie (2MB)
http://www.in-tra.com.pl/~lukasz/P1090819.ZIP
All high quality zoom options off, cache off. Note the "press Enter sound" starting loading. High disk activity lasts until first signs of the GUI appear.

I noticed the same behavior (like on both movies) on another PC. PIV 2MHz, no HT, 256MB RAM, onboard Intel graphics.
Very strange, the GUI doesn't appear immediately. On my Win2K, xnview start immediately (even with plugins & language & xnview.ini), and after 1/2 sec to load the picture. Someone else has the same problem?
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

I will reinstall system in a few days. Maybe it will help.
X.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Xyzzy wrote:I will reinstall system in a few days. Maybe it will help.
X.
Before reinstalling your whole system, I'd update the driver of the video card and see if this helps. Also you could set a different resolutions (e.g. 1024x768) and colour depth in Windows and see what happens.

Another idea:
Perhaps you can check whether you have the standard font size set. I had the impression that with a larger or smaller fonts, Windows display is a bit slower.
Post Reply