You are not logged in.

#1 2023-11-21 10:20:45

norbjert
Member
Registered: 2023-11-21
Posts: 4

[Solved?] Firefox, Intellij and Wine take over 2 minutes to open

After upgrading my packages yesterday and rebooting once, I noticed that firefox (&librewolf) took forever to open up. Same happened when starting any jetbrains IDE (Intellij, RustRover, Clion, pycharm,...) and when running even the simplest .exe file using wine.
This does not happen with the majority of other programs, Chromium or VsCodium for example open within a second.
Here's my system configuration, taken from neofetch:

OS: Arch Linux x86_64
Kernel: 6.6.1-arch1-1
Uptime: 13 mins
Packages: 1005 (pacman), 12 (flatpak)
Shell: zsh 5.9
Resolution: 1920x1080, 1280x1024
DE: Plasma 5.27.9
WM: KWin
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: alacritty
CPU: AMD Ryzen 5 3600X (12) @ 3.800GHz
GPU: NVIDIA GeForce RTX 4070 Ti
Memory: 3068MiB / 32023MiB

Last edited by norbjert (2023-12-21 10:51:47)

Offline

#2 2023-11-21 11:13:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [Solved?] Firefox, Intellij and Wine take over 2 minutes to open

How do you start the session? Can you post

echo $DBUS_SESSION_BUS_ADDRESS
loginctl session-status

Can you strace a faulty application to check where it's blocking? https://wiki.archlinux.org/title/List_o … n_services

You are either in a different DBUS context for some reason, or potentially lacking a xdg-desktop-portal implementation.

Those should however not really be related to wine so that's somewhat out of the ordinary.

Offline

#3 2023-11-21 11:58:16

norbjert
Member
Registered: 2023-11-21
Posts: 4

Re: [Solved?] Firefox, Intellij and Wine take over 2 minutes to open

norbjert@overlord ~ » echo $DBUS_SESSION_BUS_ADDRESS                                                                                                                                                           130 ↵
unix:path=/run/user/1000/bus
norbjert@overlord ~ » loginctl session-status
2 - norbjert (1000)
	   Since: Tue 2023-11-21 11:42:25 CET; 52min ago
	  Leader: 1644 (sddm-helper)
	    Seat: seat0; vc2
	     TTY: tty2
	 Service: sddm; type x11; class user
	 Desktop: KDE
	   State: active
	    Idle: no
	    Unit: session-2.scope
		  ├─1644 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-45d5455a-015e-4882-aa4c-218ae07d358c --id 1 --start /usr/bin/startplasma-x11 --user norbjert
		  ├─1661 /usr/bin/kwalletd5 --pam-login 12 14
		  └─1662 /usr/bin/startplasma-x11

Nov 21 11:42:25 overlord systemd[1]: Started Session 2 of User norbjert.

As for an Implementation of xdg-deskop-portal, I have "xdg-desktop-portal-kde" installed.

And as for stracing firefox, I uploaded it here: http://0x0.st/Hw8M.txt
Its blocking at each of the following two lines:

ppoll([{fd=11, events=POLLIN}], 1, {tv_sec=119, tv_nsec=999974000}, NULL, 8
ppoll([{fd=13, events=POLLIN}], 1, {tv_sec=119, tv_nsec=999978000}, NULL, 8

As for wine, I think it might be specific to the .exe file itself, after doing a few more checks this weird behavior also happens when starting up *some* steam games, but not all (cs2 f.e. is not affected)

I would also like to mention that when I click a link in an application it also takes 2-3 min before it actually opens in librewolf (my default browser), however once librewolf is open i can open new tabs and do anything else like regular

Last edited by norbjert (2023-11-23 09:06:32)

Offline

#4 2023-12-21 10:51:21

norbjert
Member
Registered: 2023-11-21
Posts: 4

Re: [Solved?] Firefox, Intellij and Wine take over 2 minutes to open

Update: I think this was somehow a network issue? although I dont quite understand it, simply toggling my wireguard configuration on made all programs immediately open as per normal, and this would continue working after disabling the wireguard configuration again. And no, this was not in a special work environment, but my home network. A few days later this stopped happening after some package updates, although  I couldnt quite figure out which ones.

Offline

Board footer

Powered by FluxBB