You are not logged in.

#1 2014-05-18 18:16:41

mastorak
Member
Registered: 2014-04-01
Posts: 27

[SOLVED] Slow Desktop GUI components

Arch Linux 64
i5 -2500k  / 8GB Ram /  Nvidia with the closed source drivers
OpenBox
LXPanel
compton-git (from AUR)

I am running into a strange recurring problem for some time now.
Even though running and launching applications is fast, various GUI components of individual apps are lagging.
For example moving through the preferences tabs of Pidgin, or preferences tabs of firefox, or changing between open tabs in Firefox( does not happen in Chrome) or generally using the GUI dialogs of certain applications might take 2-3 seconds from the time I clicked to the gui component to the time the change occurs (for example changing from one preference tab to another).
I do not have any performance issues generally in the system, except those gui components that are painfully slow.
Things i have tried so far:
-Initially i thought it was only manifesting in firefox so I reseted the profile but that did not improve the situation.
-I thought it might have to do with GTK so I deleted the .gtk-bookmarks from home dir (in order to be recreated) but that did not improve the situation. I still believe it might have something to do with GTK.

any suggestions are greatly appreciated.

Last edited by mastorak (2014-05-19 19:56:16)

Offline

#2 2014-05-18 19:34:31

mastorak
Member
Registered: 2014-04-01
Posts: 27

Re: [SOLVED] Slow Desktop GUI components

I am starting to believe that the guilty party is the composite manager.
I removed compton-git(and the call to it from the autostart.sh of openbox) and so far there is no UI component lag.
If this is the case though, I cannot see how the composite manager can affect certain GTK components.

Offline

#3 2014-05-18 21:01:14

mastorak
Member
Registered: 2014-04-01
Posts: 27

Re: [SOLVED] Slow Desktop GUI components

After more experimentation I am now fairly certain that the issue is caused by compton.
I looked into the bugs reported for compton and apparently there are some issues caused by it when used with the nvidia driver having set the backend option to "glx".
With the following compton config it seems to be working correctly with no slowness.

backend = "xr_glx_hybrid"
vsync = "opengl-swc"
glx-no-rebind-pixmap = true
glx-no-stencil = true
paint-on-overlay = true
unredir-if-possible = true

Note that the backend "xr_glx_hybrid" config option is only available(for now) from the "compton-git" package and not "compton" package.

I do not mark it yet as "Solved" as I want to use it for sometime to be certain.


edit:for syntax errors

Last edited by mastorak (2014-05-19 08:38:28)

Offline

#4 2014-05-19 19:55:52

mastorak
Member
Registered: 2014-04-01
Posts: 27

Re: [SOLVED] Slow Desktop GUI components

After a day's use with no slowness I am now sure that the issue was caused by the compton config option

backend=glx

It was fixed by setting

 backend=xr_glx_hybrid

I mark it as solved

Offline

Board footer

Powered by FluxBB