Re: Image viewer gwenview needs 27 secs to start

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Sun, 22 Oct 2023 10:54:40 UTC
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.
>  
> 
> 
>