Page 3 of 4
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 12:17 pm
by xnview
Qt team has replied "It is normal on Windows due to the fact it loads the dependent Qt dlls at start up and this can also cause other dlls to be loaded."
Do you have same delay for first startup with other Qt based app like 'db browser sqlite'?
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 12:30 pm
by XnTriq
xnview wrote: Mon Nov 15, 2021 12:17 pmDo you have same delay for first startup with other Qt based app like 'db browser sqlite'?
Are you referring to
DB Browser for SQLite, Pierre?
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 12:44 pm
by BK201
xnview wrote: Mon Nov 15, 2021 12:17 pm
Qt team has replied "It is normal on Windows due to the fact it loads the dependent Qt dlls at start up and this can also cause other dlls to be loaded."
Do you have same delay for first startup with other Qt based app like 'db browser sqlite'?
I don't know what app used qt
But tested with this testapp (I'll call it this since) and DB Browser for SQLite @XnTriq provided
xnview wrote: Tue Mar 09, 2021 10:10 am
could you try to put this
file in XnView MP folder, and start it?
First cold start time after a windows cold restart (rebooted 3 times, run one target a time)
- testapp (application.exe): ~1.5s
- DB Browser for SQLite.exe: ~6s
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 12:45 pm
by XnTriq
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 1:00 pm
by XnTriq
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 1:04 pm
by BK201
XnTriq wrote: Mon Nov 15, 2021 1:00 pm
You mean post things like this?
Yeah I got a better pc so it's faster...a little bit
btw this debug screen was generated by the in-app feedback button by
screentogif
Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 1:29 pm
by xnview
BK201 wrote: Mon Nov 15, 2021 12:44 pm
First cold start time after a windows cold restart (rebooted 3 times, run one target a time)
- testapp (application.exe): ~1.5s
- DB Browser for SQLite.exe: ~6s
and XnConvert?
- DB Browser for SQLite.exe: ~6s
too long

Re: First startup after windows boot is extremely slow
Posted: Mon Nov 15, 2021 1:45 pm
by XnTriq
From Super User (“
xnview lags when I start it”):
Brian wrote:Most likely it is trying to access a network resource and can't find it. Usually because the server it's on isn't responding or no longer exists. Timing it more accurately can help troubleshooting as the delay will always be over the timeout value.
Try and see what it is trying to open or access. I would suggesting using Sysinternals
Process Monitor and/or
Process Explorer.
A 15 second delay is often from trying to access an IP address that doesn't respond but should be reachable. You can use Sysinternals
TCPView to see what address it's trying to access (open a connection to).
Re: First startup after windows boot is extremely slow
Posted: Tue Nov 16, 2021 9:28 am
by BK201
XnTriq wrote: Mon Nov 15, 2021 1:45 pm
From Super User (“
xnview lags when I start it”):
Brian wrote:Most likely it is trying to access a network resource and can't find it. Usually because the server it's on isn't responding or no longer exists. Timing it more accurately can help troubleshooting as the delay will always be over the timeout value.
Try and see what it is trying to open or access. I would suggesting using Sysinternals
Process Monitor and/or
Process Explorer.
A 15 second delay is often from trying to access an IP address that doesn't respond but should be reachable. You can use Sysinternals
TCPView to see what address it's trying to access (open a connection to).
Thanks for the tool
TCPView didn't show any connection from xnview
promon shows that xnview takes tons of time loading some dlls
Here's the full log (this run takes 8 seconds btw):
Re: First startup after windows boot is extremely slow
Posted: Tue Nov 16, 2021 9:39 am
by xnview
it seems that libQt5Webkit is slow to load... And XnConvert delay? (it doesn't use WebKit)
Re: First startup after windows boot is extremely slow
Posted: Tue Nov 16, 2021 9:40 am
by BK201
xnview wrote: Tue Nov 16, 2021 9:39 am
it seems that libQt5Webkit is slow to load... And XnConvert delay? (it doesn't use WebKit)
I didn't found xnconvert.exe in xnviewmp folder
Re: First startup after windows boot is extremely slow
Posted: Tue Nov 16, 2021 10:30 am
by XnTriq
BK201 wrote: Tue Nov 16, 2021 9:28 amTCPView didn't show any connection from xnview
promon shows that xnview takes tons of time loading some dlls
Thank you for your patience and continued support, BK201
BK201 wrote: Tue Nov 16, 2021 9:40 amI didn't found xnconvert.exe in xnviewmp folder
XnConvert is a separate application which consists of XnView's batch processing engine (no view and no browse mode etc.). XnConvert is also based on Qt, but comes with less DLLs.
v1.94.0 is the latest release.
Re: First startup after windows boot is extremely slow
Posted: Tue Nov 16, 2021 10:44 am
by BK201
XnTriq wrote: Tue Nov 16, 2021 10:30 am
BK201 wrote: Tue Nov 16, 2021 9:28 amTCPView didn't show any connection from xnview
promon shows that xnview takes tons of time loading some dlls
Thank you for your patience and continued support, BK201
BK201 wrote: Tue Nov 16, 2021 9:40 amI didn't found xnconvert.exe in xnviewmp folder
XnConvert is a separate application which consists of XnView's batch processing engine (no view and no browse mode etc.). XnConvert is also based on Qt, but comes with less DLLs.
v1.94.0 is the latest release.
7 seconds
Re: First startup after windows boot is extremely slow
Posted: Fri Nov 19, 2021 10:54 am
by xnview
It's crazy, for XnView MP 64 bits after first startup
Windows 10 Pro (20H2): no big duration
Windows 10 Pro (21H1), slow device: no duration greater than 0.09
Do you have an anti spam and/or anti virus app?
Re: First startup after windows boot is extremely slow
Posted: Fri Nov 19, 2021 10:59 am
by BK201
xnview wrote: Fri Nov 19, 2021 10:54 am
It's crazy, for XnView MP 64 bits after first startup
Windows 10 Pro (20H2): no big duration
log1.jpg
Windows 10 Pro (21H1), slow device: no duration greater than 0.09
log2.jpg
Do you have an anti spam and/or anti virus app?
Yes, Microsoft Defender, all feature turned on, newest version on windows 10 home (21h1)