Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2023 12:54:40 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        kde@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: Image viewer gwenview needs 27 secs to start
Message-ID:  <1396284672.14842.1697972080394@localhost>
In-Reply-To: <ZTTnWtgSNceS7uV2@c720-1400094>
References:  <ZTTnWtgSNceS7uV2@c720-1400094>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_14841_2016404828.1697972080327
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

This needs some debugging of the application.

During these 27 seconds it can be interesting to get the output of:

procstat -kk <pid>
procstat -t <pid>

This shows if the application is waiting for the kernel.

Use 'top' to see if the application is running 100% CPU or not.
Use 'iostat -d -x 1' to see if it is waiting for IO.

Dtrace might also be useful to see what the application is doing, but I don't know the proper syntax from the top of my head.

Regards,
Ronald.

 
Van: Matthias Apitz <guru@unixarea.de>
Datum: zondag, 22 oktober 2023 11:11
Aan: kde@freebsd.org, freebsd-ports@freebsd.org
Onderwerp: Image viewer gwenview needs 27 secs to start
> 
> I'm used to use gwenview for image viewing and manipulating. Since I
> updated to recent ports (via git at September 22, exact version see
> below) the start is VERY lazy. It takes 27 secs to present the image
> when started with 'gwenview file.jpg' from a shell.
> 
> Any ideas or help?
> 
>     matthias
> 
> 
> gwenview-23.08.0
> Name           : gwenview
> Version        : 23.08.0
> Installed on   : Sun Sep 24 11:27:49 2023 CEST
> Origin         : graphics/gwenview
> Architecture   : FreeBSD:14:amd64
> Prefix         : /usr/local
> Categories     : kde-applications kde graphics
> Licenses       : LGPL20
> Maintainer     : kde@FreeBSD.org
> WWW            : http://gwenview.sourceforge.net
> Comment        : Image viewer and browser for KDE
> Options        :
>     DOCS           : on
> Shared Libs required:
>     libwayland-client.so.0
>     libtiff.so.5
>     libpng16.so.16
>     libphonon4qt5.so.4
>     liblcms2.so.2
>     libkImageAnnotator.so.0
>     libjpeg.so.8
>     libexiv2.so.28
>     libX11.so.6
>     libQt5Xml.so.5
>     libQt5X11Extras.so.5
>     libQt5Widgets.so.5
>     libQt5WaylandClient.so.5
>     libQt5Svg.so.5
>     libQt5PrintSupport.so.5
>     libQt5Network.so.5
>     libQt5Gui.so.5
>     libQt5DBus.so.5
>     libQt5Core.so.5
>     libQt5Concurrent.so.5
>     libKF5XmlGui.so.5
>     libKF5WindowSystem.so.5
>     libKF5WidgetsAddons.so.5
>     libKF5TextWidgets.so.5
>     libKF5SonnetUi.so.5
>     libKF5Solid.so.5
>     libKF5Service.so.5
>     libKF5Parts.so.5
>     libKF5Notifications.so.5
>     libKF5KIOWidgets.so.5
>     libKF5KIOGui.so.5
>     libKF5KIOFileWidgets.so.5
>     libKF5KIOCore.so.5
>     libKF5KDcraw.so.5
>     libKF5JobWidgets.so.5
>     libKF5ItemViews.so.5
>     libKF5ItemModels.so.5
>     libKF5IconThemes.so.5
>     libKF5I18n.so.5
>     libKF5GuiAddons.so.5
>     libKF5FileMetaData.so.3
>     libKF5CoreAddons.so.5
>     libKF5ConfigWidgets.so.5
>     libKF5ConfigGui.so.5
>     libKF5ConfigCore.so.5
>     libKF5Completion.so.5
>     libKF5Codecs.so.5
>     libKF5Bookmarks.so.5
>     libKF5Baloo.so.5
>     libKF5AuthCore.so.5
>     libKF5Auth.so.5
>     libKF5Activities.so.5
> Shared Libs provided:
>     libgwenviewlib.so.5
> Annotations    :
>     FreeBSD_version: 1400094
>     build_timestamp: 2023-09-22T01:09:11+0000
>     built_by       : poudriere-git-3.3.99.20220831
>     port_checkout_unclean: no
>     port_git_hash  : 2a6cfd50d
>     ports_top_checkout_unclean: no
>     ports_top_git_hash: 1a898a009
>     repo_type      : binary
>     repository     : FreeBSD
> Flat size      : 11.1MiB
> Description    :
> Gwenview is a fast and easy to use image viewer for KDE.
> 
> Features:
>  - Supports simple image manipulations: rotate, mirror, flip, and resize.
>  - Supports basic file management actions such as copy, move, delete,
>    and others.
>  - Functions both as a standalone application and an embedded viewer
>    in the Konqueror web browser.
>  - Can be extended using KIPI plugins.
> -- 
> Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> 
> I am not at war with Russia.
> .
> Ich bin nicht im Krieg mit Russland.
>  
> 
> 
> 

 
------=_Part_14841_2016404828.1697972080327
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Hi,<br>
<br>
This needs some debugging of the application.<br>
<br>
During these 27 seconds it can be interesting to get the output of:<br>
<br>
procstat -kk &lt;pid&gt;<br>
procstat -t &lt;pid&gt;<br>
<br>
This shows if the application is waiting for the kernel.<br>
<br>
Use 'top' to see if the application is running 100% CPU or not.<br>
Use 'iostat -d -x 1' to see if it is waiting for IO.<br>
<br>
Dtrace might also be useful to see what the application is doing, but I don't know the proper syntax from the top of my head.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> Matthias Apitz &lt;guru@unixarea.de&gt;<br>
<strong>Datum:</strong> zondag, 22 oktober 2023 11:11<br>
<strong>Aan:</strong> kde@freebsd.org, freebsd-ports@freebsd.org<br>
<strong>Onderwerp:</strong> Image viewer gwenview needs 27 secs to start</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P"><br>
I'm used to use gwenview for image viewing and manipulating. Since I<br>
updated to recent ports (via git at September 22, exact version see<br>
below) the start is VERY lazy. It takes 27 secs to present the image<br>
when started with 'gwenview file.jpg' from a shell.<br>
<br>
Any ideas or help?<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;matthias<br>
<br>
<br>
gwenview-23.08.0<br>
Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: gwenview<br>
Version &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 23.08.0<br>
Installed on &nbsp;&nbsp;: Sun Sep 24 11:27:49 2023 CEST<br>
Origin &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: graphics/gwenview<br>
Architecture &nbsp;&nbsp;: FreeBSD:14:amd64<br>
Prefix &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: /usr/local<br>
Categories &nbsp;&nbsp;&nbsp;&nbsp;: kde-applications kde graphics<br>
Licenses &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: LGPL20<br>
Maintainer &nbsp;&nbsp;&nbsp;&nbsp;: kde@FreeBSD.org<br>
WWW &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: <a href="http://gwenview.sourceforge.net">http://gwenview.sourceforge.net</a><br>;
Comment &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Image viewer and browser for KDE<br>
Options &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;DOCS &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: on<br>
Shared Libs required:<br>
&nbsp;&nbsp;&nbsp;&nbsp;libwayland-client.so.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;libtiff.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libpng16.so.16<br>
&nbsp;&nbsp;&nbsp;&nbsp;libphonon4qt5.so.4<br>
&nbsp;&nbsp;&nbsp;&nbsp;liblcms2.so.2<br>
&nbsp;&nbsp;&nbsp;&nbsp;libkImageAnnotator.so.0<br>
&nbsp;&nbsp;&nbsp;&nbsp;libjpeg.so.8<br>
&nbsp;&nbsp;&nbsp;&nbsp;libexiv2.so.28<br>
&nbsp;&nbsp;&nbsp;&nbsp;libX11.so.6<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Xml.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5X11Extras.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Widgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5WaylandClient.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Svg.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5PrintSupport.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Network.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Gui.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5DBus.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Core.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libQt5Concurrent.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5XmlGui.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5WindowSystem.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5WidgetsAddons.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5TextWidgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5SonnetUi.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Solid.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Service.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Parts.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Notifications.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5KIOWidgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5KIOGui.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5KIOFileWidgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5KIOCore.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5KDcraw.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5JobWidgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5ItemViews.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5ItemModels.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5IconThemes.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5I18n.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5GuiAddons.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5FileMetaData.so.3<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5CoreAddons.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5ConfigWidgets.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5ConfigGui.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5ConfigCore.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Completion.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Codecs.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Bookmarks.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Baloo.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5AuthCore.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Auth.so.5<br>
&nbsp;&nbsp;&nbsp;&nbsp;libKF5Activities.so.5<br>
Shared Libs provided:<br>
&nbsp;&nbsp;&nbsp;&nbsp;libgwenviewlib.so.5<br>
Annotations &nbsp;&nbsp;&nbsp;:<br>
&nbsp;&nbsp;&nbsp;&nbsp;FreeBSD_version: 1400094<br>
&nbsp;&nbsp;&nbsp;&nbsp;build_timestamp: 2023-09-22T01:09:11+0000<br>
&nbsp;&nbsp;&nbsp;&nbsp;built_by &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: poudriere-git-3.3.99.20220831<br>
&nbsp;&nbsp;&nbsp;&nbsp;port_checkout_unclean: no<br>
&nbsp;&nbsp;&nbsp;&nbsp;port_git_hash &nbsp;: 2a6cfd50d<br>
&nbsp;&nbsp;&nbsp;&nbsp;ports_top_checkout_unclean: no<br>
&nbsp;&nbsp;&nbsp;&nbsp;ports_top_git_hash: 1a898a009<br>
&nbsp;&nbsp;&nbsp;&nbsp;repo_type &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: binary<br>
&nbsp;&nbsp;&nbsp;&nbsp;repository &nbsp;&nbsp;&nbsp;&nbsp;: FreeBSD<br>
Flat size &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 11.1MiB<br>
Description &nbsp;&nbsp;&nbsp;:<br>
Gwenview is a fast and easy to use image viewer for KDE.<br>
<br>
Features:<br>
&nbsp;- Supports simple image manipulations: rotate, mirror, flip, and resize.<br>
&nbsp;- Supports basic file management actions such as copy, move, delete,<br>
&nbsp;&nbsp;&nbsp;and others.<br>
&nbsp;- Functions both as a standalone application and an embedded viewer<br>
&nbsp;&nbsp;&nbsp;in the Konqueror web browser.<br>
&nbsp;- Can be extended using KIPI plugins.<br>
--&nbsp;<br>
Matthias Apitz, guru@unixarea.de, <a href="http://www.unixarea.de/">http://www.unixarea.de/</a>; +49-176-38902045<br>
Public GnuPG key: <a href="http://www.unixarea.de/key.pub">http://www.unixarea.de/key.pub</a><br>;
<br>
I am not at war with Russia.<br>
.<br>
Ich bin nicht im Krieg mit Russland.<br>
&nbsp;</div>

<hr></div>
</blockquote>
<br>
&nbsp;</body></html>
------=_Part_14841_2016404828.1697972080327--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1396284672.14842.1697972080394>