You are not logged in.
I've encountered a strange problem.
My arch linux sytem needs about 20 seconds for each x11 application to open.
Has someone an idea what the problem is?
My hardware: X220 Laptop with I3 cpu and HD3000 graphics card
Fixes I tried:
* removed xf86-video-intel
* downgraded the xserver
* switch to linux-lts kernel
But no changes
Offline
Gnome? i3? Xfce4?
Is your hostname set properly? What are the output of hostnamectl ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Sorry I forgot some information:
Problem is independent of the windowmanger, in a bar xsession, the delay still exists.
hostname is set correctly:
Static hostname: markus-laptop
Icon name: computer-laptop
Chassis: laptop
Machine ID: 5d4a9aae5ad44c5f579bca19000003ce
Boot ID: 297e1b3c74a94654a33052e4bef8e585
Operating System: Arch Linux
Kernel: Linux 4.6.4-1-ARCH
Architecture: x86-64
The logfiles of Xorg show no errors.
Offline
Okay. I was going for the low hanging fruit first ![]()
You say for each x11 application it takes 20 seconds. How are you launching the applications? What happens if you start them from a terminal? Any interesting messages reported? How about the journal -- anything interesting logged there?
What is your RAM / swap space state? (output of free )
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Okay. I was going for the low hanging fruit first
You say for each x11 application it takes 20 seconds. How are you launching the applications?
I'm starting the applications from a shell (inside xterm).
An interesting note: When i start rofi (dmenu alike), the keyboard and mouse clicks are immediately taken, but the window appears after 20s.
What happens if you start them from a terminal? Any interesting messages reported? How about the journal -- anything interesting logged there?
What is your RAM / swap space state? (output of free )
The load should be no problem and I have 7 Gbyte of free memory...
journalctl -xe:
Aug 10 15:03:13 markus-laptop pulseaudio[719]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
Aug 10 15:03:13 markus-laptop pulseaudio[719]: after 12 requests (6 known processed) with 0 events remaining.
Aug 10 15:03:13 markus-laptop systemd[653]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Aug 10 15:03:13 markus-laptop systemd[653]: pulseaudio.service: Unit entered failed state.
Aug 10 15:03:13 markus-laptop systemd[653]: pulseaudio.service: Failed with result 'exit-code'.
Aug 10 15:03:14 markus-laptop systemd[653]: pulseaudio.service: Service hold-off time over, scheduling restart.
Aug 10 15:03:14 markus-laptop systemd[653]: Stopped Sound Service.
-- Subject: Unit UNIT has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished shutting down.
Aug 10 15:03:14 markus-laptop systemd[653]: Starting Sound Service...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Aug 10 15:03:14 markus-laptop pulseaudio[871]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Aug 10 15:03:14 markus-laptop systemd[653]: Started Sound Service.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Aug 10 15:03:14 markus-laptop pulseaudio[871]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.servi
Aug 10 15:06:25 markus-laptop dbus-daemon[733]: Activating service name='org.gnome.GConf'
Aug 10 15:06:25 markus-laptop dbus-daemon[733]: Successfully activated service 'org.gnome.GConf'
Aug 10 15:06:25 markus-laptop dbus-daemon[733]: Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service'
Aug 10 15:06:25 markus-laptop systemd[653]: Starting Accessibility services bus...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Aug 10 15:06:25 markus-laptop dbus-daemon[733]: Successfully activated service 'org.a11y.Bus'
Aug 10 15:06:25 markus-laptop systemd[653]: Started Accessibility services bus.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Aug 10 15:06:25 markus-laptop at-spi-bus-launcher[1177]: ** (process:1177): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown
Aug 10 15:21:28 markus-laptop sudo[6105]: pam_ecryptfs: pam_sm_authenticate: /home/markus is already mountedThe problem is independent of the user configuration: I created a new user on my system, and the same behavior is observable.
Note: Xterm starts immediately (on the other user), but other applications firefox or rofi have the same lag.
Last edited by ghost (2016-08-10 15:10:53)
Offline
I'm really lost.
I just tested wayland with weston and the problem persists (with weston-terminal).
Does anyone has an advice for me?
Offline
Post output from:
cat /etc/hostsMods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
What is the output of `loginctl show-session`?
Offline
markus@markus-laptop ~ % loginctl show-session
EnableWallMessages=no
NAutoVTs=6
KillUserProcesses=no
RebootToFirmwareSetup=no
IdleHint=yes
IdleSinceHint=1470961016342913
IdleSinceHintMonotonic=77596350377
InhibitDelayMaxUSec=5s
HandlePowerKey=suspend
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
HoldoffTimeoutUSec=30s
IdleAction=ignore
IdleActionUSec=30min
PreparingForShutdown=no
PreparingForSleep=no
Docked=no
RemoveIPC=yes
RuntimeDirectorySize=825348096
InhibitorsMax=8192
NCurrentInhibitors=0
SessionsMax=8192
NCurrentSessions=4
UserTasksMax=10813
markus@markus-laptop ~ % cat /etc/hosts
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 markus-laptop.localdomain localhost markus-laptop
::1 markus-laptop.localdomain localhost markus-laptop
# End of fileOffline
You aren't supposed to replace the first localhost in your /etc/hosts, it should be:
127.0.0.1 localhost.localdomain localhost markus-laptop
::1 localhost.localdomain localhost markus-laptopas per https://wiki.archlinux.org/index.php/Ne … e_hostname
Last edited by V1del (2016-08-12 08:50:18)
Offline
Thanks V1del,
I changed the hosts file and restarted , but nothing changed.
Offline
After some serious debugging, I've found the problem:
I had installed the new "San Francisco" font by Apple in my /usr/share/fonts/OTF directory.
I removed these files, and now everything works as expected.
Offline