You are not logged in.
Pages: 1
Topic closed
Hi there,
I have a very serious issue here with my Qt apps.
Their GUIs are very unresponsive and show all few seconds very annoying lags. For instance when I am typing text, I see the text being written about a second later. When I select text, I see the text being highlighted about a second later. And so on.
I experienced this unresponsiveness in Skype, Qtconfig, Virtualbox menus but not the virtual machine itself, and Sublime Text 3. The latter is interesting because as far as I know, it is not a Qt app.
Thus I am not even certain whether this is a true Qt app problem. All my GTK apps which I am running on my Openbox only system perform fine without any lags.
The journalctl logs don't show anything of interest. Thus I have no idea where to start looking for the error.
What could cause it - any ideas?
Last edited by orschiro (2013-12-23 16:30:55)
Offline
I would run top and iotop and see what is hogging cpu/disk when it happens, that should help you narrow it down for a start.
Offline
Skype and htop (sorted by CPU): http://i.imgur.com/IKFUhaK.png
Nothing special I can see.
And here the output of sudo iotop: http://i.imgur.com/UjqBga7.png
Offline
Looks fine - where those screens taken when skype was being unresponsive? I meant re-create the problem, then watch iotop/top to see if anything is strange.
Offline
This hanging problem appears periodically every few seconds. When observing iotop/top while for instance Skype is running, I do not see any special peaks. Just as you have already seen in the screenshots. Everything appears to be ok.
What else could cause such hangs and why not in GTK apps such as Chromium, Zotero, Thunar?
Offline
It could be several things - I notice you're running on x86_64 so it could be one of the 32bit libs that skype uses or even your X driver.
Offline
But then why does it happen in qtconfig-qt4, Virtualbox and Sublime Text 3, too?
Interestingly, when I run all these applications from the command line, then I do not see any error messages either.
Offline
Try downgrading your graphics driver and see if anything changes.
Offline
What driver are you using for X? If you're using vesa, switch to the appropriate one for your card or try another alternative: https://wiki.archlinux.org/index.php/Xo … stallation
Offline
@Minsc
No vesa here:
~ $ pacman -Q | grep xf86
lib32-libxxf86vm 1.1.3-1
libxxf86dga 1.1.4-1
libxxf86vm 1.1.3-1
xf86-input-evdev 2.8.2-1
xf86-input-wacom 0.23.0-1
xf86-video-intel 2.21.14-2
xf86dgaproto 2.1-2
xf86vidmodeproto 2.3.1-2
I will try downgrading xf86-video-intel.
Apart from that I am using the following Xorg config as I have a relatively old GMA 4500 which does not benefit from SNA.
~ $ cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection
Offline
OK I downgraded xf86-video-intel but things remain unchanged.
~ $ downgrade xf86-video-intel
The following packages are available in your cache:
1) local xf86-video-intel-2.21.15-1-x86_64.pkg.tar.xz
2) local xf86-video-intel-2.21.14-2-x86_64.pkg.tar.xz [installed]
please choose a version, [s]earch A.R.M or [q]uit:
Any other ideas?
Offline
Maybe try clearing ~/.kde4 directory.
Offline
I don't use systemd myself, so I am not sure. Usually the video driver is suspect in such cases. Maybe you should open a bug report on the bug tracker.
Offline
Bug report here: https://bugs.archlinux.org/task/38021
Offline
I could further narrow down the problem. Interestingly the apps mentioned above behave correctly when launched within Gnome. So, Gnome must launch something that cause the apps to behave smoothly. I am almost certain it has something to do with the gconf or dconf settings which Qt needs but which are not loaded on Openbox.
To better compare both systems, I completely deleted all personal gtkrc files and configs.
But still, when launching Gnome, a different (the correct) icon theme (Faenza) is used. See this screenshot from Virtualbox:
http://i.imgur.com/WqFe6Ug.png
When launching Virtualbox in Openbox, a different (the Qt icons) icon theme (the Qt icons?) is used. I suspect that this is somehow causing troubles. See this screenshot:
http://i.imgur.com/iBRKMhD.png
What is doing Gnome differently than Openbox in that respect?
Offline
I finally found the cause of the issue. non-GTK apps were not lagging on Cinnamon or Gnome not because of GTK settings but enabled composting. That is, when I run Openbox with compton, then these applications do not lag anymore!
Does anyone have an idea why just non-GTK apps require composting but GTK apps are running nicely without?
Offline
I finally found the cause of the issue. non-GTK apps were not lagging on Cinnamon or Gnome not because of GTK settings but enabled composting. That is, when I run Openbox with compton, then these applications do not lag anymore!
Does anyone have an idea why just non-GTK apps require composting but GTK apps are running nicely without?
Ok running composting also seemed to solve my problem. Not sure why this is an issue.
Offline
Welcome to the Arch Linux forums, aagavin. Please take a moment to read through the forum etiquette, in particular the section regarding necrobumping.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed