Hi On Tue, Sep 22, 2015 at 9:23 PM, Jin Liu <m.liu....@gmail.com> wrote: > After upgrading to 226, the Xorg process keeps using 100% CPU. Also, the > "xrandr --dpi 168" command in my .xinitrc no longer works. > > My startx.service and .xinitrc: > > $ systemctl cat startx.service > # /etc/systemd/system/startx.service > [Unit] > Description=Direct X login > After=systemd-user-sessions.service > Conflicts=getty@tty1.service > > [Service] > User=jin > TTYPath=/dev/tty1 > PAMName=login > Environment=DISPLAY=:0 > ExecStart=/usr/bin/bash --login -c "cd; (/usr/lib/xorg-server/Xorg -nolisten > tcp vt1 &); source .xinitrc" > > [Install] > WantedBy=graphical.target > $ cat .xinitrc > #!/bin/sh > # > # ~/.xinitrc > # > # Executed by startx (run your window manager from here) > > export DESKTOP_SESSION="plasma" > > if [ -d /etc/X11/xinit/xinitrc.d ]; then > for f in /etc/X11/xinit/xinitrc.d/*; do > [ -x "$f" ] && . "$f" > done > unset f > fi > > xrandr --dpi 168 > > exec /usr/bin/startkde > > $ > > BTW, if I move the "xrandr --dpi 168" line into /usr/bin/startkde, it works > again (only DPI setting. Xorg still uses 100% CPU). > > What change in version 226 could cause the above problem, and how should I > change the above files to fix it? Thanks.
Please run "strace -p <pid>" on the offending process or "perf top". Then try to figure out which function is spinning. Thanks David _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel