[systemd-devel] xorg uses 100% CPU after upgrading to 226
Jin Liu
m.liu.jin at gmail.com
Tue Sep 22 12:23:22 PDT 2015
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 at 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.
Regards,
Jin Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150922/c789076d/attachment.html>
More information about the systemd-devel
mailing list