Ever since I updated debian,
evince
has been slow to startup - it takes about half a minute. Once it is open, it works fine, its just slow to open. It never used to take that long - it just used to take a couple of seconds. How can I get it going fast again?
$ uname -a
Linux mypc 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
I noticed that evince
is hanging at the following line for about half a minute:
$ strace evince
...
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 11
write(11, "\1\0\0\0\0\0\0\0", 8) = 8
write(10, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0x562f5b8ffac0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x562f5b909b30, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x562f5b8bd158, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=11, events=POLLIN}], 1, 25000) = 1 ([{fd=11, revents=POLLIN}])
read(11, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=11, events=POLLIN}], 1, 25000) = 0 (Timeout) # /dev/null 2>&1 && \
startx -- :0 vt1
# if using rxvt or urxvt immediately set the window to fullscreen
if [[ $TERM == *"rxvt"* ]]; then
# make the window with rxvt in the name the active window
wmctrl -a rxvt
# make the active window fullscreen
wmctrl -r ":ACTIVE:" -b add,fullscreen
fi
**Edit: add some dbus information**
$ ls -l ~/.dbus/session-bus/
total 28
-rw-r--r-- 1 me me 465 Nov 8 06:23 c984eb16cbd294a01d56c2ac523f7100-0
-rw-r--r-- 1 me me 465 Nov 6 14:11 c984eb16cbd294a01d56c2ac523f7100-1
-rw-r--r-- 1 me me 476 Apr 24 2017 c984eb16cbd294a01d56c2ac523f7100-10
-rw-r--r-- 1 me me 465 Jun 5 2017 c984eb16cbd294a01d56c2ac523f7100-100
-rw-r--r-- 1 me me 476 Apr 7 2017 c984eb16cbd294a01d56c2ac523f7100-11
-rw-r--r-- 1 me me 465 Nov 6 14:37 c984eb16cbd294a01d56c2ac523f7100-2
-rw-r--r-- 1 me me 463 May 6 2016 c984eb16cbd294a01d56c2ac523f7100-3
$ echo $DBUS_SESSION_BUS_ADDRESS
# empty!
Asked by mulllhausen
(2751 rep)
Nov 6, 2021, 04:05 AM
Last activity: Feb 7, 2025, 06:06 PM
Last activity: Feb 7, 2025, 06:06 PM