Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma slow after upgrade from 5.5 to 5.6
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon May 23, 2016 6:57 am    Post subject: Reply with quote

OK, after the downgrade, the delay in the KMenu is gone for sure. So, that's a big relief!
Back to top
View user's profile Send private message
Hotblack
n00b
n00b


Joined: 28 Dec 2004
Posts: 41

PostPosted: Mon May 23, 2016 7:04 am    Post subject: Reply with quote

I can confirm that downgrading worked also for me
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon May 23, 2016 8:18 am    Post subject: Reply with quote

I must say that it's only slow when I do a reboot/logoff/shutdown.
Takes more than a minute before the system reacts.
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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon May 23, 2016 8:46 am    Post subject: Reply with quote

That sounds like a Qt-5.6.0 bug that will be fixed in .1.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
taikuus
n00b
n00b


Joined: 24 Jan 2016
Posts: 18

PostPosted: Wed Jun 15, 2016 2:07 pm    Post subject: Reply with quote

Qt-5.6.1 is out! I will be building it in the next hours and report back.

Let's hope the issue is solved :-)
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Wed Jun 15, 2016 3:37 pm    Post subject: Reply with quote

taikuus wrote:
Qt-5.6.1 is out! I will be building it in the next hours and report back.

Let's hope the issue is solved :-)
I am interested in knowing whether this worked or not. So, please do report back. Thanks.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Wed Jun 15, 2016 3:43 pm    Post subject: Reply with quote

The delay certainly didn't go away for me, but I haven't yet tried out with a new profile. No delays after updating from Qt-5.5.1 to 5.6.1 on my main system though.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
taikuus
n00b
n00b


Joined: 24 Jan 2016
Posts: 18

PostPosted: Wed Jun 15, 2016 6:44 pm    Post subject: Reply with quote

I upgraded from 5.5.1 to 5.6.1 and I still get the delay.

What do you mean with the new profile, genstrom?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Thu Jun 16, 2016 8:24 am    Post subject: Reply with quote

Trying with a test user without any existing content in home directory.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Hotblack
n00b
n00b


Joined: 28 Dec 2004
Posts: 41

PostPosted: Fri Jun 17, 2016 2:27 pm    Post subject: Reply with quote

It seems that with latest plasma releases (>=5.6.5) from KDE overlay, QT 5.6.1 is now mandatory.

i.e. kde5.eclass
Code:
if [[ ${CATEGORY} = kde-plasma ]]; then
        if [[ $(get_version_component_range 2) -eq 6 && $(get_version_component_range 3) -ge 5 ]]; then
                QT_MINIMAL=5.6.1
        fi
        if [[ $(get_version_component_range 2) -ge 7 || ${PV} = 9999 ]]; then
                QT_MINIMAL=5.6.1
                FRAMEWORKS_MINIMAL=5.23.0
        fi
fi

:?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri Jun 17, 2016 2:45 pm    Post subject: Reply with quote

Is a month a typical release period for qt-5.6.x releases? I would wait for 5.6.2 before I got plasma-5.6.5.
Back to top
View user's profile Send private message
taikuus
n00b
n00b


Joined: 24 Jan 2016
Posts: 18

PostPosted: Sun Jun 19, 2016 2:07 pm    Post subject: Reply with quote

Hi! I think I solved it!

I couldn't resist the temptation of upgrading to plasma 5.6.5 and... it didn't work :-)

However, after some thinking, I started to play around the the graphics related flags of Qt, as I thought it might have something to do with the compositor. I removed gles2 (USE="-gles2" in make.conf). Recompiled the whole thing and It worked!

Please, let me know if it also works for you and we can mark this as solved/workaround. There is still a bug somewhere, but I am not sure is worth spending much time on it.


P.S: If it doesn't solve it for any of you, we can start comparing use flags.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Sun Jun 19, 2016 10:09 pm    Post subject: Reply with quote

Confirmed. Getting rid of gles2 flag in dev-qt/*, kwin and plasma indeed fixed the delays!
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon Jun 20, 2016 3:29 am    Post subject: Reply with quote

genstorm wrote:
Confirmed. Getting rid of gles2 flag in dev-qt/*, kwin and plasma indeed fixed the delays!
But isn't that too much to give up to workaround a problem?

Is there a bug filed for this somewhere?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon Jun 20, 2016 6:11 am    Post subject: Reply with quote

I don't see why, after all you go back to 'full' OpenGL.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Sun Jun 26, 2016 5:48 am    Post subject: Reply with quote

So, we have blocks to deal with now...:( e.g. polkit-kde-agent wants qtwidgets-5.6.1.

Looks like I need to unmask and disable gles2?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Sun Jun 26, 2016 6:00 am    Post subject: Reply with quote

Its not easy. There are other packages which force mesa[+gles2] if I enable 'opengl' flag. I want 'opengl' support globally. And I can't give up on packages like qemu, which is forcing gles2 on mesa.

So, where do we go from here?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Sun Jun 26, 2016 7:19 am    Post subject: Reply with quote

It's no problem to have mesa[gles2], you just don't build Qt/Frameworks/Plasma with that flag.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon Jun 27, 2016 3:16 am    Post subject: Reply with quote

genstorm wrote:
It's no problem to have mesa[gles2], you just don't build Qt/Frameworks/Plasma with that flag.
it is still insisting on gles2 for qtwidgets and qtgui.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon Jun 27, 2016 4:57 am    Post subject: Reply with quote

Please show 'it'

No one can help you at that level of (non-)information.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon Jun 27, 2016 5:31 pm    Post subject: Reply with quote

genstorm wrote:
Please show 'it'

No one can help you at that level of (non-)information.
:-)

Only issue is that it does not give me much info:

Code:

# time emerge -pvuDN --tree --verbose-conflicts world

These are the packages that would be merged, in reverse order:

Calculating dependencies  ..... ... done!

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
#
>=dev-qt/qtwidgets-5.6.1 gles2
#
>=dev-qt/qtgui-5.6.1 gles2

real    0m40.639s
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon Jun 27, 2016 5:39 pm    Post subject: Reply with quote

Well, what were your steps towards removing gles2 use flag? Is it enabled in make.conf? Is it set or unset in package.use?

Code:
$ emerge --info | grep gles2
$ grep -R gles2 /etc/portage/package.use

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon Jun 27, 2016 6:01 pm    Post subject: Reply with quote

genstorm wrote:
Well, what were your steps towards removing gles2 use flag? Is it enabled in make.conf? Is it set or unset in package.use?

Code:
$ emerge --info | grep gles2
$ grep -R gles2 /etc/portage/package.use
Removed in make.conf and added to package.use for mesa.

Code:

# grep -r gles2 /etc/portage/
/etc/portage/package.use/all-others.use:# dev-qt/*:5                            -gles2
/etc/portage/package.use/all-others.use:media-libs/gst-plugins-bad              -gles2
/etc/portage/package.use/all-others.use:net-libs/webkit-gtk                     -gles2
/etc/portage/package.use/all-others.use:media-libs/mesa                         g3dvl -llvm xa gles2

# grep gles2 /etc/make.conf
        crash-reporter qt5 systemtap wayland bluetooth x265 postproc -libav gles1 gles -gles2 vaapi

# emerge --info | grep gles2
#
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Mon Jun 27, 2016 6:04 pm    Post subject: Reply with quote

devsk wrote:
# grep gles2 /etc/make.conf
gles1 gles -gles2

Remove gles, at least for kinfocenter, that's what is forcing qtgui[gles2].

No need to switch off gles2, it's not on by default anywhere. Not sure what you do with gles1 either.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Mon Jun 27, 2016 8:01 pm    Post subject: Reply with quote

Any ideas on why portage is not telling me who is enforcing the gles2? It has always told me that in the past.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum