You are not logged in.

#1 2022-11-25 22:50:29

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

some GTK apps Take a long time to open

some GTK apps Take a long time to open like IntelliJ, clion, pycharm take about 2 min to open, firefox takes about 4 min to open, but sometimes firefox,IntelliJ, clion, pycharm open so fast about 1s when using the battery

WM: bspwm

I tried to launch apps from the terminal, here is the output

 firefox 
(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14750:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14756:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14762:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14768:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14774:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14780:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14786:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:28:46.489: Theme parsing error: gtk.css:14792:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14750:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14756:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14762:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14768:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14774:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14780:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14786:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:46.962: Theme parsing error: gtk.css:14792:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14750:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14756:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14762:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14768:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14774:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14780:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14786:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.059: Theme parsing error: gtk.css:14792:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14750:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14756:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14762:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14768:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14774:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14780:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14786:20: Not a valid image

(firefox:70717): Gtk-WARNING **: 19:32:47.130: Theme parsing error: gtk.css:14792:20: Not a valid image
[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
ATTENTION: default value of option mesa_glthread overridden by environment.
[2022-11-16T17:33:03Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-11-16T17:33:03Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-11-16T17:33:03Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-11-16T17:33:03Z ERROR viaduct::backend::ffi] Missing HTTP status
[2022-11-16T17:33:03Z ERROR viaduct::backend::ffi] Missing HTTP status
 charm 
(java:23931): Gtk-WARNING **: 19:23:23.999: Theme parsing error: gtk.css:14750:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14756:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14762:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14768:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14774:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14780:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14786:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:24.001: Theme parsing error: gtk.css:14792:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14750:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14756:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14762:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14768:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14774:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14780:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14786:20: Not a valid image

(java:23931): Gtk-WARNING **: 19:23:43.264: Theme parsing error: gtk.css:14792:20: Not a valid image
2022-11-16 19:23:43,700 [  19843]   WARN - #c.i.u.s.SvgCacheManager - Icon cache will be recreated or previous version of data reused, (db=/home/ozil/.cache/JetBrains/PyCharm2022.1/icons-v6.db)
2022-11-16 19:23:44,244 [  20387]   WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@7f28e378). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/cwm-plugin, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,361 [  20504]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/lib, version=221.6008.17, package=com.intellij.feedback, isBundled=true)
2022-11-16 19:23:44,370 [  20513]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/lib, version=221.6008.17, package=com.intellij.feedback, isBundled=true)
2022-11-16 19:23:44,371 [  20514]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "NetBeans 6.5" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/lib, version=221.6008.17, package=com.intellij.feedback, isBundled=true)
2022-11-16 19:23:44,372 [  20515]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/lib, version=221.6008.17, package=com.intellij.feedback, isBundled=true)
2022-11-16 19:23:44,417 [  20560]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=HTML Tools, id=HtmlTools, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/htmltools, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,426 [  20569]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/github, version=221.6008.17, package=org.jetbrains.plugins.github, isBundled=true)
2022-11-16 19:23:44,431 [  20574]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Space, id=com.jetbrains.space, moduleName=intellij.space.vcs, descriptorPath=intellij.space.vcs.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/space, version=221.6008.17, package=com.intellij.space.vcs, isBundled=true)
2022-11-16 19:23:44,433 [  20576]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/JavaScriptLanguage, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,434 [  20577]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/JavaScriptLanguage, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,447 [  20590]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/python, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,448 [  20591]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "NetBeans 6.5" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/python, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,450 [  20593]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/python, version=221.6008.17, package=null, isBundled=true)
2022-11-16 19:23:44,451 [  20594]   WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Python, id=Pythonid, descriptorPath=plugin.xml, path=~/JetBrains/pycharm-2022.1.4/plugins/python, version=221.6008.17, package=null, isBundled=true)
Info  | RdCoroutineScope          | 14:JobScheduler FJ pool 3/11 | RdCoroutineHost overridden
2022-11-16 19:23:49,369 [  25512]   WARN - #c.i.o.a.i.ActionUpdater - 331 ms to grab EDT for OpenFileAction#update (com.intellij.ide.actions.OpenFileAction)
2022-11-16 19:23:55,726 [  31869]   WARN - #c.j.p.s.s.PySkeletonRefresher - Some skeletons failed to generate
2022-11-16 19:23:55,726 [  31869]   WARN - #c.j.p.s.s.PySkeletonRefresher - _decimal
2022-11-16 19:23:55,726 [  31869]   WARN - #c.j.p.s.s.PySkeletonRefresher - cv2.cv2
2022-11-16 19:23:55,726 [  31869]   WARN - #c.j.p.s.s.PySkeletonRefresher - cv2.qt.plugins.platforms.libqxcb
^C^C%                                                                                                            
 idea 
(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14750:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14756:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14762:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14768:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14774:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14780:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.330: Theme parsing error: gtk-dark.css:14786:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:41:12.331: Theme parsing error: gtk-dark.css:14792:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14750:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14756:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14762:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14768:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14774:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14780:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14786:20: Not a valid image

(java:549910): Gtk-WARNING **: 00:43:12.602: Theme parsing error: gtk.css:14792:20: Not a valid image
2022-11-26 00:43:13,717 [ 122170]   WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@72f35722). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=~/JetBrains/idea-IU-222.3345.118/plugins/cwm-plugin, version=222.3345.118, package=null, isBundled=true)
Info  | RdCoroutineScope          | 25:JobScheduler FJ pool 7/11 | RdCoroutineHost overridden
2022-11-26 00:43:17,096 [ 125549]   WARN - #c.i.o.a.i.ActionUpdater - 513 ms to grab EDT for BackAction#update@MainToolbar (com.intellij.ide.actions.BackAction)
 clion 
(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14750:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14756:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14762:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14768:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14774:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14780:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14786:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:24:46.580: Theme parsing error: gtk.css:14792:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14750:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14756:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14762:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14768:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14774:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14780:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14786:20: Not a valid image

(java:36277): Gtk-WARNING **: 19:26:46.907: Theme parsing error: gtk.css:14792:20: Not a valid image
2022-11-16 19:26:47,548 [ 121724]   WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@1bf8a417). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=~/JetBrains/clion-2022.2/plugins/cwm-plugin, version=222.3345.126, package=null, isBundled=true)
Info  | RdCoroutineScope          | 38:JobScheduler FJ pool 3/11 | RdCoroutineHost overridden
2022-11-16 19:26:50,500 [ 124676]   WARN - #c.i.o.a.i.ActionUpdater - 260 ms to grab EDT for BackAction#update@MainToolbar (com.intellij.ide.actions.BackAction)
2022-11-16 19:26:50,750 [ 124926]   WARN - #c.i.o.a.i.ActionUpdater - 247 ms to grab EDT for ForwardAction#update@MainToolbar (com.intellij.ide.actions.ForwardAction)
2022-11-16 19:26:55,563 [ 129739] SEVERE - #c.i.o.v.n.RefreshQueueImpl - null
org.jetbrains.concurrency.AsyncPromiseKt$CANCELED$1
2022-11-16 19:26:55,563 [ 129739] SEVERE - #c.i.o.v.n.RefreshQueueImpl - CLion 2022.2  Build #CL-222.3345.126
2022-11-16 19:26:55,563 [ 129739] SEVERE - #c.i.o.v.n.RefreshQueueImpl - JDK: 17.0.3; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-11-16 19:26:55,564 [ 129740] SEVERE - #c.i.o.v.n.RefreshQueueImpl - OS: Linux

Last edited by mmsaeed509 (2022-11-25 23:26:25)

Offline

#2 2022-11-25 23:40:08

jonno2002
Member
Registered: 2016-11-21
Posts: 445

Re: some GTK apps Take a long time to open

check your journal, there are 2 and 4 minute gaps in those gtk error messages, somthing else is going on

Offline

#3 2022-11-26 08:24:54

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

WM: bspwm

How do you start the session? xinit/startx?

Offline

#4 2022-11-26 21:35:55

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

seth wrote:

WM: bspwm

How do you start the session? xinit/startx?

I'm using sddm that start session with bspwm.desktop

 bspwm.desktop 
 
[Desktop Entry]
Name=bspwm
Comment=Binary space partitioning window manager
Exec=bspwm
Type=Application

I don't use .xinitrc in home dir

Last edited by mmsaeed509 (2022-11-26 21:37:50)

Offline

#5 2022-11-26 22:06:42

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

There goes the broken session bus theory sad

I'll point out that IntelliJ, clion & pycharm are rather "java" than "gtk" applciations.
wrt https://bbs.archlinux.org/viewtopic.php?id=281569 - could this be a network/hostname resolution issue?
Can you force the behavior by "breaking" your network?

Offline

#6 2022-11-27 00:00:41

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

I think it's not a network/hostname resolution issue, as google chrome opens so fast and takes less than 1s to open and I mentioned above that these apps sometimes take 1s to open when using battery

Offline

#7 2022-11-27 08:29:02

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

Neither the behavior of other clients nor "battery" are relevant to this.

But the non-determninistic behavior suggests that outer factors have an influence.
Apparently it's not RAM or CPU or indirect disc IO (since only some clients are affected) and (direct) disk IO would show different patterns (always, 1st time after login, …)

How frequent are those stalls when running those clients? What's the (estimated) ratio between "slow start" and "fast start"?
You could "strace -f -tt -o /tmp/slowclient.strace firefox", pay attention to the exact time when the client starts and inspect the strace on what it's waiting on before that.

Offline

#8 2022-11-27 11:34:06

nahso
Member
Registered: 2022-11-27
Posts: 7

Re: some GTK apps Take a long time to open

Are you using xf86-video-intel? If so, you can try to modify the AccelMethod option to another one.

https://wiki.archlinux.org/title/Intel_ … ccelMethod

Last edited by nahso (2022-11-27 11:35:10)

Offline

#9 2022-11-27 12:14:14

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

seth wrote:

Neither the behavior of other clients nor "battery" are relevant to this.

But the non-determninistic behavior suggests that outer factors have an influence.
Apparently it's not RAM or CPU or indirect disc IO (since only some clients are affected) and (direct) disk IO would show different patterns (always, 1st time after login, …)

How frequent are those stalls when running those clients? What's the (estimated) ratio between "slow start" and "fast start"?
You could "strace -f -tt -o /tmp/slowclient.strace firefox", pay attention to the exact time when the client starts and inspect the strace on what it's waiting on before that.


for tracing firefox takes 5m 3s, /tmp/slowclient.strace is 1287219 line yikes

for

 xf86-video-intel 

yes I'm using it as I have hybrid GPU intel and NVIDIA (Acer Predator Helios 300 ), also NVIDIA driver installed

nvidia 520.56.06-12
nvidia-settings 520.56.06-1
nvidia-utils 520.56.06-2

specs

  • Intel i7-9750H (12) @ 4.500GHz.

  • NVIDIA GeForce GTX 1660 Ti Mobile.

  • Intel CoffeeLake-H GT2 [UHD Graphics 630].

  • dual monitor setup 1920x1080, 1920x1080 .

Offline

#10 2022-11-27 13:23:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 18,248

Re: some GTK apps Take a long time to open

Remove xf86-video-intel it doesn't work with the modern sw stack and always had a variety of issues on newer systems

Offline

#11 2022-11-27 14:30:31

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

for tracing firefox takes 5m 3s, /tmp/slowclient.strace is 1287219 line yikes

The strace for a fat client will be longer, yes. There's no way around that - which is why I told you to pay attention to the timestamps.

Offline

#12 2022-11-27 16:50:59

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

V1del wrote:

Remove xf86-video-intel it doesn't work with the modern sw stack and always had a variety of issues on newer systems

OK, I'm gonna try

Offline

#13 2022-11-27 16:55:15

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

I removed `xf86-video-intel` nothing changed
IntelliJ, clion, pycharm, firefox still take long time

Offline

#14 2022-11-27 20:12:03

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

Did you look at the strace?

Did you try to force this w/ a broken network?
What's the output of "hostnamectl" and "getent hosts"?

Also

seth wrote:

How frequent are those stalls when running those clients? What's the (estimated) ratio between "slow start" and "fast start"?
You could "strace -f -tt -o /tmp/slowclient.strace firefox", pay attention to the exact time when the client starts and inspect the strace on what it's waiting on before that.

Offline

#15 2022-11-27 22:57:11

mmsaeed509
Member
Registered: 2022-09-01
Posts: 9

Re: some GTK apps Take a long time to open

hostnamectl
Static hostname: Predatorph315-52
       Icon name: computer-laptop
         Chassis: laptop ?
      Machine ID: 0fbab8b9a017458d8a0618234062c14a
         Boot ID: be148721bb8e4f44bfbcb6cfcf01afb7
Operating System: Exodia OS
          Kernel: Linux 6.0.10-arch2-1
    Architecture: x86-64
 Hardware Vendor: Acer
  Hardware Model: Predator PH315-52
Firmware Version: V1.12
getent hosts
127.0.0.1       localhost
127.0.1.1       Predator_ph315-52
127.0.0.1       localhost ip6-localhost ip6-loopback

I didn't break the network but, here are the enabled services

systemctl list-unit-files --state=enabled
UNIT FILE                          STATE   PRESET
cups.path                          enabled disabled
avahi-daemon.service               enabled disabled
bluetooth.service                  enabled disabled
choose-mirror.service              enabled disabled
cloud-config.service               enabled disabled
cloud-final.service                enabled disabled
cloud-init-local.service           enabled disabled
cloud-init.service                 enabled disabled
cronie.service                     enabled disabled
cups.service                       enabled disabled
getty@.service                     enabled enabled
ModemManager.service               enabled disabled
NetworkManager-dispatcher.service  enabled disabled
NetworkManager-wait-online.service enabled disabled
NetworkManager.service             enabled disabled
pacman-init.service                enabled disabled
reflector.service                  enabled disabled
sddm-plymouth.service              enabled disabled
sshd.service                       enabled disabled
systemd-resolved.service           enabled enabled
systemd-timesyncd.service          enabled enabled
teamviewerd.service                enabled disabled
turbo-fan.service                  enabled disabled
wpa_supplicant.service             enabled disabled
avahi-daemon.socket                enabled disabled
cups.socket                        enabled disabled
remote-fs.target                   enabled enabled
pamac-cleancache.timer             enabled disabled

28 unit files listed.

it's impossible to trace 1287219 line

seth wrote:

Also

seth wrote:

How frequent are those stalls when running those clients? What's the (estimated) ratio between "slow start" and "fast start"?
You could "strace -f -tt -o /tmp/slowclient.strace firefox", pay attention to the exact time when the client starts and inspect the strace on what it's waiting on before that.

Offline

#16 2022-11-28 08:53:11

seth
Member
Registered: 2012-09-03
Posts: 35,182

Re: some GTK apps Take a long time to open

it's impossible to trace 1287219 line

No, it's not.
That's why I told you to

seth wrote:

pay attention to the exact time when the client starts and inspect the strace on what it's waiting on before that

Your network configuration is btw. "broken" - disable the extra wpa_supplicant.service - NM starts that itself.

That being said

Operating System: Exodia OS

You're not running archlinux - https://bbs.archlinux.org/misc.php?action=rules

Offline

Board footer

Powered by FluxBB