View previous topic :: View next topic |
Author |
Message |
taikuus n00b
Joined: 24 Jan 2016 Posts: 18
|
Posted: Wed Apr 27, 2016 4:08 pm Post subject: Plasma slow after upgrade from 5.5 to 5.6 |
|
|
Hi All,
I have upgraded my system from plasma-5.5 to plasma-5.6 (though emerge --ask --deep --update world) and it is not as responsive. Has anybody experienced this?
When I press Alt+F2 Krunner takes about 2 seconds to display, same happens when I press the K icon to display the menu, or anywhere else on the ksystray.
From the command line I did a "strace krunner", and there is the 2 second delay between the last line of strace being printed and krunner being displayed.
I have also created a fresh user. The fresh user had the same sluggish behavior.
htop shows a very low system usage (~5%)
Any tips on how to diagnose this?
Thanks! |
|
Back to top |
|
|
Hotblack n00b
Joined: 28 Dec 2004 Posts: 46
|
Posted: Fri Apr 29, 2016 9:35 am Post subject: |
|
|
Hello,
I'm experiencing exactly the same problem.
Which version of Qt is installed?
I suspect that Qt 5.6 upgrade could have something to do with that: I'm going to try to downgrade it and see. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri Apr 29, 2016 9:36 am Post subject: |
|
|
I can confirm this for a system with Qt-5.6.0 whereas everything is normal on Qt-5.5.1, both with Plasma-5.6. |
|
Back to top |
|
|
taikuus n00b
Joined: 24 Jan 2016 Posts: 18
|
Posted: Fri Apr 29, 2016 12:33 pm Post subject: |
|
|
Hi Genstrom and Hotblack!
Of course! How didn't I think of it? Qt! I have Qt-5.6 installed, and I had upgraded it just before I upgraded plasma to 5.6.
I am going to downgrade Qt and report back.
Many thanks! |
|
Back to top |
|
|
taikuus n00b
Joined: 24 Jan 2016 Posts: 18
|
Posted: Tue May 03, 2016 7:15 pm Post subject: |
|
|
I can confirm that downgrading to Qt-5.5 "solves" the problem.
These are the steps I followed to downgrade from Qt-5.6 to Qt-5.5. If you think there was a better way, please let me know
1.- I created the file /etc/portage/package.mask/qt56 with all the packages at dev-qt greater than 5.6 masked:
Code: |
>=dev-qt/assistant-5.6.0
>=dev-qt/designer-5.6.0
>=dev-qt/linguist-5.6.0
>=dev-qt/linguist-tools-5.6.0
>=dev-qt/pixeltool-5.6.0
>=dev-qt/qdbus-5.6.0
>=dev-qt/qtdbus-5.6.0
>=dev-qt/qdbusviewer-5.6.0
>=dev-qt/qdoc-5.6.0
>=dev-qt/qt-docs-5.6.0
>=dev-qt/qtbluetooth-5.6.0
>=dev-qt/qtconcurrent-5.6.0
>=dev-qt/qtcore-5.6.0
>=dev-qt/qtdbus-5.6.0
>=dev-qt/qtdeclarative-5.6.0
>=dev-qt/qtdiag-5.6.0
>=dev-qt/qtgraphicaleffects-5.6.0
>=dev-qt/qtgui-5.6.0
>=dev-qt/qthelp-5.6.0
>=dev-qt/qtimageformats-5.6.0
>=dev-qt/qtmultimedia-5.6.0
>=dev-qt/qtnetwork-5.6.0
>=dev-qt/qtopengl-5.6.0
>=dev-qt/qtpaths-5.6.0
>=dev-qt/qtpositioning-5.6.0
>=dev-qt/qtprintsupport-5.6.0
>=dev-qt/qtquick1-5.6.0
>=dev-qt/qtquickcontrols-5.6.0
>=dev-qt/qtscript-5.6.0
>=dev-qt/qtsensors-5.6.0
>=dev-qt/qtserialport-5.6.0
>=dev-qt/qtsql-5.6.0
>=dev-qt/qtsvg-5.6.0
>=dev-qt/qttest-5.6.0
>=dev-qt/qttranslations-5.6.0
>=dev-qt/qtwayland-5.6.0
>=dev-qt/qtwebchannel-5.6.0
>=dev-qt/qtwebkit-5.6.0
>=dev-qt/qtwebsockets-5.6.0
>=dev-qt/qtwidgets-5.6.0
>=dev-qt/qtwidget-5.6.0
>=dev-qt/qtx11extras-5.6.0
>=dev-qt/qtxml-5.6.0
>=dev-qt/qtxmlpatterns-5.6.0
|
2.- I logged out to a virtual terminal just in case
3.- Removed all Qt-5.6:
Code: |
emerge --unmerge --ask $(qlist -ICS 'dev-qt/qt')
|
4.-Finally I emerged Kde-frameworks, Plasma and the Apps (They will pull the required Qt packages)
Code: |
emerge -av $(qlist -ICS kde-frameworks) $(qlist -ICS plasma) $(qlist -ICS kde-apps)
|
5.-Wait for a couple of hours
6.-Run revdep-rebuild to check that nothing is broken
Code: |
revdep-rebuild.sh -v -- --ask
|
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed May 04, 2016 8:57 pm Post subject: |
|
|
Hi taikuus,
I tried your recipe
but it failed at polkit-kde-agent.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Wed May 04, 2016 8:58 pm Post subject: |
|
|
gerard82 wrote: | but it failed at polkit-kde-agent. |
Please be a bit more precise...? |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu May 05, 2016 12:30 pm Post subject: |
|
|
@genstorm,
I am trying out KF5 on a separate install on a separate HD.
Apparently things got messed up so badly that revdep-rebuild came up with a list which contains
(I think) all installed ebuilds.
The /var/tmp/portage/kde-plasma/polkit-kde-agent log contained a long list of undefined stuff
in /usr/lib64/libqt*.
When I have time I will run revdep-rebuild and have it rebuild the whole kit and caboodle.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Thu May 05, 2016 12:50 pm Post subject: |
|
|
OK, not really conclusive then, sounds like much bigger problems than a regular Plasma-5 upgrade. I can only recommend following the Plasma-5 upgrade guide, if there continue to be issues, feel free to visit #gentoo-kde or open a separate thread, whatever you feel comfortable with. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Thu May 05, 2016 2:10 pm Post subject: |
|
|
This was not an upgrade but a new install.
It worked but was much slower than my kde4.
A reboot took ages.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Thu May 05, 2016 2:29 pm Post subject: |
|
|
Well sorry, without more info it is hard to grasp why or at what point a revdep-rebuild was necessary on a new install. Hence my suggestion to visit #gentoo-kde, some problems are better discussed in IRC and I'm sure the plasma profile can use improvements for new installs. |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Thu May 05, 2016 11:05 pm Post subject: |
|
|
Not sure, but perhaps it might be something like old kde caches causing problems, where nagmat84 offers a tip for resolving this issue?
The tip is currently 3rd from the bottom in this thread https://forums.gentoo.org/viewtopic-t-1043368.htm
He said:
And I did not want to disable Baloo because I actually use the semantic search. But anyway, as one can see Baloo is idle.
It was actually a cashing problem. I did the following:
Log out of KDE
Switch to console
And for every user $user
Code: | $> cd /var/tmp/kdecache-$user/
$> find . -type f -exec rm '{}' ';'
$> cd ~$user/.cache
$> find . -type f -exec rm '{}' ';'
$> cd ~$user/.thumbnails
$> find . -type f -exec rm '{}' ';' |
_________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri May 06, 2016 8:11 am Post subject: |
|
|
Yes, I was going to try that on the affected machine as soon as I have access again. A second test box with Qt-5.6 didn't show the same behaviour. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri May 06, 2016 8:45 am Post subject: |
|
|
I am writing this from the repaired NEW INSTALL (no kde4)!
Thanks a lot taikuus for having to do all this work for nothing.
With Qt-5.5 it is still so slow it's not funny.
As for wrc1944 are you on systemd?
/var/tmp only contains a portage directory now.
Kde4 does have it though.
Again, this is not an upgrade but a new install,so no kde4 cruft.
I think I'll leave it for now and continue using kde4.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri May 06, 2016 8:47 am Post subject: |
|
|
Are you sure this isn't just baloo pounding your HDD? You're having a different problem than this thread is about. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri May 06, 2016 10:05 am Post subject: |
|
|
This thread is about slow plasma,remember genstorm?
Well that's what I have.
In the system-settings I switched off baloo.
In KDE4 I use recoll for searching,much smaller and far better than baloo.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Fri May 06, 2016 10:22 am Post subject: |
|
|
gerard82 wrote: | This thread is about slow plasma,remember genstorm? |
It is about a certain latency on-click experienced after an upgrade, not a general 'slowness'. Does that match your experience? From your description it doesn't seem so. |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Fri May 06, 2016 3:32 pm Post subject: |
|
|
on the slowness, are you doing the basic checks on what's causing it like finding out what process is using the CPU, or memory usage? As quite frankly, if your system can't handle it because you don't have enough ram (using a lot of swap slows the entire computer down), then waiting on plasma for some "fix" isn't going to help you one bit as the problem may be on your side and not plasma it self.
Identifying the process that is running a lot, or taking up a lot of memory goes a long ways to fixing your problem (whining about something doesn't fix anything). |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Sat May 07, 2016 11:29 am Post subject: |
|
|
@ct85711,
A 4core AMD processor,8GB of RAM,shouldn't that be enough?
I synced and got rid of the 5.6 Qt mask and ran an upgrade.
Must say it improved some.
.xsession-errors: Code: |
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) |
Still the same as in kde4.
But this is at the end after I did "reboot". Code: |
QDBusAbstractAdaptor: Cannot relay signal KDEDModule::moduleDeleted(KDEDModule*): Pointers are not supported: KDEDModule*
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server ":0"
after 1308 requests (1298 known processed) with 0 events remaining.
The X11 connection broke (error 1). Did the X11 server die?
QThread: Destroyed while thread is still running
Closing SQL connection: "kactivities_db_resources_140611461302144_readwrite"
KCrash: Attempting to start /usr/bin/kdeinit5 from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/bin/kdeinit5 directly
KCrash: Application 'kdeinit5' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib64/libexec/drkonqi directly
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 6 (No such device or address) on X server ":0"
after 6 requests (6 known processed) with 0 events remaining.
QXcbConnection: Could not connect to display :0
kdeinit5: Communication error with launcher. Exiting!
|
Apparently there is something not kosher somewhere in the reboot section.
It takes more than a minute before reboot starts.
During that time you see a black screen with movable cursor.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sat May 07, 2016 1:54 pm Post subject: |
|
|
gerard82,
No, I'm not on systemd on any of my Gentoo installations.
If you run kde, shouldn't one have at least a var/tmp/kdecache-root and a kdecache- dirctory for your main user, as well as any other user? _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sat May 07, 2016 2:02 pm Post subject: |
|
|
Quote: | A 4core AMD processor,8GB of RAM,shouldn't that be enough? |
That is just an assumtion, which you should never do! It's not hard to switch to console when the system is running slow, and run top and see what's going on. Finding what process has a memory leak tells us quite a bit, just like if you only have 20M available and no swap says quite a bit too.
Plasma is not just 1 program, it's a set of several programs/components. Instead of blaming something, start administrating your system and find out what is causing the slow down, as it may not be the Plasma package set it self. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Sat May 07, 2016 2:14 pm Post subject: |
|
|
You think I'm a noob?
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Sun May 22, 2016 11:20 pm Post subject: |
|
|
genstorm wrote: | I can confirm this for a system with Qt-5.6.0 whereas everything is normal on Qt-5.5.1, both with Plasma-5.6. | do you know if there is a bug tracking this? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8935
|
Posted: Mon May 23, 2016 6:10 am Post subject: |
|
|
No, and it's not a definitive Qt-5.6 problem, since on another box with it this behaviour is unheard of. |
|
Back to top |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Mon May 23, 2016 6:39 am Post subject: |
|
|
darn! I went through hell to downgrade to 5.5.1.... |
|
Back to top |
|
|
|