Some programs and functions slow to start/open

I have noticed for a while now that on TW and recently on Leap 42.2 alpha that some things are slower than they used to be . For example emptying the Wastebin/Trashcan after a right click on it and selecting empty the window border appears but there is a very noticeable delay before the options appear in the window and allow you to actually do the function. In Dolphin the same happens when trying to delete files but only on the first time you do a delete after starting Dolphin. Also it seems to me that both Firefox and Thunderbird are noticeably slower to open than they used to be.

Is this something anyone else has noticed? Is this a bug somewhere perhaps in Plasma 5?

Stuart

I don’t think so.

I haven’t noticed something like that neither on my 13.2 system (with latest Plasma5 from additional repos), nor in a Tumbleweed VM nor the Krypton LiveCD (which is Tumbleweed with the latest unstable KDE packages).

What happens if you run the affected applications in Konsole?
Do you get some error messages?

Opening up Firefox has become exceedingly slow for me in the recent past. It takes about 4s just for the window to open up and then about another 10s before it becomes responsive to any kind of input. This sloth like behaviour is beginning to really annoy me … funny how a measly 14s can really grate on you, but it does!

Anyway, and while I haven’t checked yet myself, my first suspicion would be with one of the extensions being the culprit for the delay.

FWIW, I haven’t perceived a noticeable change with TB … though I find that I"m opening it much less often these days (as I use my phone more for quick checking of email)

In the case of Dolphin I do see

QXcbConnection: XCB error: 3 (BadWindow), sequence: 3092, resource id: 37748838, major code: 40 (TranslateCoords), minor code: 0

but not until the delete window closes.

I’ll try firefox with all the plugins disabled and see if it makes any difference. Dont know how I can see what happens with the waste bin from a console though.

Stuart

My programs function normally, but since the last few updates in Tumbleweed using Plasma workspace, the Cursor Themes settings won’t open (take forever) and the same with the SDDM settings in the start-up module. The CPU temp rises to over 80C every time I try to open these from the system-settings control panel. Other than that everything runs as expected.
Is there anyone might know a fix for this?
I’m using an ACER laptop with i7 processor and 16GB RAM.

run top in a console to view CPU activity

john@linux-sn3k:~> top

top - 09:40:35 up 2:38, 5 users, load average: 2.32, 1.86, 1.80
Tasks: 251 total, 4 running, 246 sleeping, 0 stopped, 1 zombie
%Cpu(s): 25.7 us, 1.9 sy, 0.0 ni, 71.9 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 16344424 total, 8680476 free, 2373176 used, 5290772 buff/cache
KiB Swap: 6120444 total, 6120444 free, 0 used. 13332052 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26156 john 20 0 872020 115752 77264 R 100.3 0.708 2:24.06 systemsettings5
12662 john 20 0 2371680 901536 135460 R 4.319 5.516 19:40.80 firefox
1941 john 20 0 9790892 282404 113188 S 1.329 1.728 13:58.30 plasmashell
1708 john 20 0 310800 87460 58244 S 0.997 0.535 4:49.45 Xorg
1916 john 20 0 3169824 121980 67580 S 0.664 0.746 2:38.12 kwin_x11
51 root 20 0 0 0 0 R 0.332 0.000 0:31.70 kworker/0:1
1469 root 20 0 296420 8460 7068 S 0.332 0.052 0:19.17 upowerd
1961 john 20 0 801888 57072 35492 S 0.332 0.349 0:02.94 python2
2185 john 20 0 2508376 160172 15636 S 0.332 0.980 1:33.61 mysqld
26382 john 20 0 39536 3916 3332 R 0.332 0.024 0:00.18 top
1 root 20 0 189716 6204 4132 S 0.000 0.038 0:05.22 systemd
2 root 20 0 0 0 0 S 0.000 0.000 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.000 0.000 0:00.31 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.000 0.000 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 S 0.000 0.000 0:13.16 rcu_preempt
8 root 20 0 0 0 0 S 0.000 0.000 0:00.00 rcu_sched
9 root 20 0 0 0 0 S 0.000 0.000 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.000 0.000 0:00.01 migration/0
11 root 0 -20 0 0 0 S 0.000 0.000 0:00.00 lru-add-drain
12 root rt 0 0 0 0 S 0.000 0.000 0:00.00 watchdog/0
13 root 20 0 0 0 0 S 0.000 0.000 0:00.00 cpuhp/0
14 root 20 0 0 0 0 S 0.000 0.000 0:00.00 cpuhp/1
15 root rt 0 0 0 0 S 0.000 0.000 0:00.01 watchdog/1
16 root rt 0 0 0 0 S 0.000 0.000 0:00.01 migration/1
17 root 20 0 0 0 0 S 0.000 0.000 0:01.47 ksoftirqd/1
19 root 0 -20 0 0 0 S 0.000 0.000 0:00.00 kworker/1:0H

Figure which is the zombie and kill it, Probably systemsetting5

use ps -A to find PID

Then kill PID

where PID is the process number of the process to kill

ah, OK… did that, but that just kills systemsetting5 which gets rid of the temperature issue, but then I still can’t get in and change my cursor or open the SDDM settings… I still don’t know why it’s playing up like that

Maybe a corrupt systemsettings5 file or config.

Try a different user to see if it is a config problem. If problem follows to different user force reinstall systemsettings5 maybe. Note not sure if systemsettings5 is in own rpm or part of another package. can check provides in Yast software management search to find correct package

I checked last night (by disabling all extensions) and, indeed, the suspicion was correct … perhaps on the weekend I’ll narrow down which one is causing the lethargy.

Works fine here.

I don’t think this would be caused by a broken config file, but it’s probably still a good idea to try on a fresh user account (as gogalthorp suggested).

Those two modules use QML though (which relies on OpenGL), so it might be a graphics driver problem (or related to the graphics settings, compositing e.g.).

So I would investigate into this direction too.

May be the OP’s problem too, at least the BadWindow error may point to Xorg/graphics related issues.

JFYI, you can edit the settings manually with a text editor too.
The mouse cursor is set in ~/.config/kcminputrc (cursorTheme=xxx), the sddm settings are in /etc/sddm.conf.

OK, I’ll follow your lead and try that… thanks. If the result is positive I’'ll let you know too

ok, that’s possible too… I’ve got a Geforce 940m Nvidia display adapter that uses optimus, but I’m using the bumblebee. I’ll look into it

Try this:
https://en.opensuse.org/SDB:Switch_xf86-video-intel_to_UXA

Or try uninstalling xf86-video-intel completely and try with the generic modesetting driver (shouldn’t really make a difference with OpenGL though, as that is provided by Mesa).

I did that, Wolfi, and it made no difference either. In fact, I’ve tried every recommendation given on this thread and it still remains the same. Every time I click on cursors or SDDM themes in the settings, it locks into trying to open it, begins roasting my CPU up to 90C and then I have to kill systemsettings5 for it to settle down again . Everything else under settings works perfectly. I have no other issues running anything within Plasma. Weird, eh? :stuck_out_tongue: Also, I have GNOME 3.20 on the same machine and not a single issue with that either. Reinstalling systemsettings5 did nothing either.

And what about a fresh user account?

Though at least the SDDM module only reads/writes system-wide config files anyway.

Reinstalling systemsettings5 did nothing either.

Of course not.
systemsettings5 is just a shell to list and embed the configuration modules.

The actual modules are part of plasma5-desktop (in this case).

But reinstalling the software normally doesn’t solve any problems (unless the reason is that installed files got deleted or corrupted, which should not happen normally unless your harddrive is dying).

yes, I tried all recommendations including logging in with a newly created user account.

Sure you don’t have conflicting repos???

zypper lr -d

don’t think so

zypper lr -d
#  | Alias                               | Name                                                      | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                              | Service
---+-------------------------------------+-----------------------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------------------+--------
 1 | Games                               | Games                                                     | No      | ----      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/                             |        
 2 | X11:Bumblebee-openSUSE_Tumbleweed   | X11:Bumblebee-openSUSE_Tumbleweed                         | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Tumbleweed/                    |        
 3 | X11_MATE_Current                    | The latest official release of MATE (openSUSE_Tumbleweed) | No      | ----      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/MATE:/Current/openSUSE_Tumbleweed/                |        
 4 | adobe                               | adobe                                                     | No      | ----      | No      |   99     | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/                                                     |        
 5 | dvd                                 | dvd                                                       | No      | ----      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                                               |        
 6 | google-chrome                       | google-chrome                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                              |        
 7 | home:/Horst3180/openSUSE_Tumbleweed | home:Horst3180_openSUSE_Tumbleweed                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Horst3180/openSUSE_Tumbleweed/                   |        
 8 | home:X0FopenSUSE_Tumbleweed         | home:X0FopenSUSE_Tumbleweed                               | No      | ----      | No      |  100     | rpm-md | http://download.opensuse.org/repositories/home:/X0F/openSUSE_Tumbleweed/                         |        
 9 | openSUSE_Factory                    | openSUSE_GNOME:apps                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_Factory/                          |        
10 | openSUSE_Tumbleweed                 | home:munix9_openSUSE_Tumbleweed                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/munix9/openSUSE_Tumbleweed/                      |        
11 | openSUSE_Tumbleweed_1               | home:nick31:INFINALITY-ULTIMATE_openSUSE_Tumbleweed       | Yes     | (r ) Yes  | Yes     |   98     | rpm-md | http://download.opensuse.org/repositories/home:/nick31:/INFINALITY-ULTIMATE/openSUSE_Tumbleweed/ |        
12 | openSUSE_Tumbleweed_3               | openSUSE_Tumbleweed_KDE:Extra                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Tumbleweed/                        |        
13 | openSUSE_Tumbleweed_4               | openSUSE_Tumbleweed_M17N                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/M17N:/fonts/openSUSE_Tumbleweed/                       |        
14 | openSUSE_Tumbleweed_5               | home:giordanoboschetti                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/giordanoboschetti/openSUSE_Tumbleweed/           |        
15 | packman-alt                         | packman-alt                                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed/                                                |        
16 | repo-debug                          | openSUSE-Tumbleweed-Debug                                 | No      | ----      | No      |   99     | yast2  | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                          |        
17 | repo-non-oss                        | openSUSE-Tumbleweed-Non-Oss                               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                            |        
18 | repo-oss                            | openSUSE-Tumbleweed-Oss                                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                                |        
19 | repo-source                         | openSUSE-Tumbleweed-Source                                | No      | ----      | No      |   99     | yast2  | http://download.opensuse.org/source/tumbleweed/repo/oss/                                         |        
20 | repo-update                         | openSUSE-Tumbleweed-Update                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/