页次: 1
基本说明:桌面环境使用的是Cinnamon,没有安装登录管理器,直接login以后用startx开启的桌面环境。
$ uname -a
Linux 5.4.32-1-lts #1 SMP Mon, 13 Apr 2020 12:21:10 +0000 x86_64 GNU/Linux
症状:
经常输入中文输入着画面就freeze住,特别是打字很快的时候(我发这个贴已经卡住三次了……)使用的输入法是fcitx+libpinyin,但是后来发现别的情况下也会莫名其妙freeze。只能切换到别的tty,pkill x再startx重启,切换到别的tty再切换回来仍然卡住。但是奇怪的是,应该只是画面显示卡住了,如果有程序在播放音频,音频仍然正常播放,且有时候移动鼠标指针能响应控件变化样式:比如卡住的界面有个文本框,鼠标指针移动到文本框上会变成光标样式。貌似界面其实实际上是响应我的操作的,但是显示的画面冻住了。系统升级了,内核也换成LTS版本了,但是问题照旧。
dmesg(太长了,截取卡住时部分)
$ dmesg
[1636922.404121] audit: type=1100 audit(1588633160.556:581): pid=536395 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1637225.409577] audit: type=1100 audit(1588633463.568:582): pid=536509 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1639875.832394] audit: type=1100 audit(1588636113.991:583): pid=537205 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1643975.910198] audit: type=1130 audit(1588640214.099:584): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1643975.910202] audit: type=1131 audit(1588640214.099:585): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1648355.666083] audit: type=1100 audit(1588644593.893:586): pid=541749 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1658615.781310] audit: type=1130 audit(1588654854.067:587): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1658615.804893] audit: type=1131 audit(1588654854.087:588): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1658615.834664] audit: type=1130 audit(1588654854.117:589): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logrotate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1658615.834667] audit: type=1131 audit(1588654854.117:590): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logrotate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1658616.821072] audit: type=1130 audit(1588654855.097:591): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1658616.821081] audit: type=1131 audit(1588654855.097:592): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1687445.171308] audit: type=1100 audit(1588683683.619:593): pid=548569 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1687714.281807] audit: type=1130 audit(1588683952.731:594): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1687744.358134] audit: type=1131 audit(1588683982.801:595): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1687810.494831] audit: type=1130 audit(1588684048.942:596): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1687840.566714] audit: type=1131 audit(1588684079.012:597): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1688402.241161] audit: type=1130 audit(1588684640.695:598): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1688432.300402] audit: type=1131 audit(1588684670.755:599): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689331.365595] audit: type=1130 audit(1588685569.821:600): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689361.428945] audit: type=1131 audit(1588685599.892:601): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689364.693602] audit: type=1130 audit(1588685603.152:602): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689394.752035] audit: type=1131 audit(1588685633.212:603): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689568.825860] audit: type=1130 audit(1588685807.283:604): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1689598.893225] audit: type=1131 audit(1588685837.353:605): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1691020.728071] audit: type=1100 audit(1588687259.203:606): pid=552378 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1693400.236866] audit: type=1130 audit(1588689638.723:607): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1693430.335539] audit: type=1131 audit(1588689668.823:608): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1693437.516637] audit: type=1130 audit(1588689676.003:609): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1693467.582507] audit: type=1131 audit(1588689706.073:610): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1705296.094609] audit: type=1130 audit(1588701534.674:611): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1705326.153087] audit: type=1131 audit(1588701564.734:612): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1707194.910061] audit: type=1100 audit(1588703433.511:613): pid=557647 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1714799.260899] audit: type=1100 audit(1588711037.907:614): pid=559476 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1724331.090522] audit: type=1100 audit(1588720569.806:615): pid=562753 uid=1000 auid=1000 ses=1 msg='op=PAM:unix_chkpwd acct="auser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
[1730047.001152] nemo-desktop[549977]: segfault at 90 ip 00007f4b93c33e75 sp 00007ffecf696590 error 4 in libgdk-3.so.0.2410.7[7f4b93c0e000+79000]
[1730047.001159] Code: 0a 00 4c 89 ff 48 89 c3 48 89 c6 67 e8 24 7e 04 00 4c 8b 44 24 08 4c 89 c7 67 e8 f6 86 04 00 4c 89 ff 48 89 c6 e8 db 41 04 00 <48> 8b b3 90 00 00 00 4c 89 ff 67 e8 5b 41 04 00 49 8b 7f 38 49 8b
[1730047.001196] audit: type=1701 audit(1588726285.758:616): auid=1000 uid=1000 gid=1000 ses=1 pid=549977 comm="nemo-desktop" exe="/usr/bin/nemo-desktop" sig=11 res=1
[1730047.101777] audit: type=1130 audit(1588726285.858:617): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-565047-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1730048.029598] audit: type=1131 audit(1588726286.788:618): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-565047-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1730435.324918] audit: type=1130 audit(1588726674.081:619): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1730435.324922] audit: type=1131 audit(1588726674.081:620): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1730461.052293] audit: type=1100 audit(1588726699.811:621): pid=566484 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=? acct="auser" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=failed'
[1730463.515339] audit: type=1100 audit(1588726702.271:622): pid=566485 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="auser" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1730463.529911] audit: type=1101 audit(1588726702.281:623): pid=566485 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="auser" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1730463.530359] audit: type=1110 audit(1588726702.281:624): pid=566485 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1730463.532396] audit: type=1105 audit(1588726702.291:625): pid=566485 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1730465.490944] audit: type=1106 audit(1588726704.251:626): pid=566485 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1730465.491082] audit: type=1104 audit(1588726704.251:627): pid=566485 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[1731129.404576] audit: type=1130 audit(1588727368.165:628): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1731159.458235] audit: type=1131 audit(1588727398.226:629): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
卡住时Xorg log:
$ tail -n 100 .local/share/xorg/Xorg.0.log
[1730287.618] (**) ELAN1200:00 04F3:3066 Touchpad: (accel) selected scheme none/0
[1730287.618] (**) ELAN1200:00 04F3:3066 Touchpad: (accel) acceleration factor: 2.000
[1730287.618] (**) ELAN1200:00 04F3:3066 Touchpad: (accel) acceleration threshold: 4
[1730287.619] (II) event11 - ELAN1200:00 04F3:3066 Touchpad: is tagged by udev as: Touchpad
[1730287.620] (II) event11 - ELAN1200:00 04F3:3066 Touchpad: device is a touchpad
[1730287.620] (II) config/udev: Adding input device ELAN1200:00 04F3:3066 Touchpad (/dev/input/mouse1)
[1730287.620] (II) No input driver specified, ignoring this device.
[1730287.620] (II) This device may have been added with another device file.
[1730287.621] (II) config/udev: Adding input device HDA Intel PCH Headset Mic (/dev/input/event12)
[1730287.621] (II) No input driver specified, ignoring this device.
[1730287.621] (II) This device may have been added with another device file.
[1730287.621] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event13)
[1730287.621] (II) No input driver specified, ignoring this device.
[1730287.621] (II) This device may have been added with another device file.
[1730287.621] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
[1730287.621] (II) No input driver specified, ignoring this device.
[1730287.621] (II) This device may have been added with another device file.
[1730287.622] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event15)
[1730287.622] (II) No input driver specified, ignoring this device.
[1730287.622] (II) This device may have been added with another device file.
[1730287.622] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event16)
[1730287.622] (II) No input driver specified, ignoring this device.
[1730287.622] (II) This device may have been added with another device file.
[1730287.622] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event17)
[1730287.622] (II) No input driver specified, ignoring this device.
[1730287.622] (II) This device may have been added with another device file.
[1730287.622] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event18)
[1730287.622] (II) No input driver specified, ignoring this device.
[1730287.622] (II) This device may have been added with another device file.
[1730287.623] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event8)
[1730287.623] (**) Asus WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[1730287.623] (**) Asus WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[1730287.623] (II) Using input driver 'libinput' for 'Asus WMI hotkeys'
[1730287.623] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 25 paused 0
[1730287.623] (**) Asus WMI hotkeys: always reports core events
[1730287.623] (**) Option "Device" "/dev/input/event8"
[1730287.623] (**) Option "_source" "server/udev"
[1730287.624] (II) event8 - Asus WMI hotkeys: is tagged by udev as: Keyboard
[1730287.624] (II) event8 - Asus WMI hotkeys: device is a keyboard
[1730287.624] (II) event8 - Asus WMI hotkeys: device removed
[1730287.624] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input10/event8"
[1730287.624] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 14)
[1730287.625] (II) event8 - Asus WMI hotkeys: is tagged by udev as: Keyboard
[1730287.625] (II) event8 - Asus WMI hotkeys: device is a keyboard
[1730287.626] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[1730287.626] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[1730287.626] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[1730287.626] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[1730287.626] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 26 paused 0
[1730287.626] (**) AT Translated Set 2 keyboard: always reports core events
[1730287.626] (**) Option "Device" "/dev/input/event4"
[1730287.626] (**) Option "_source" "server/udev"
[1730287.627] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[1730287.627] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[1730287.628] (II) event4 - AT Translated Set 2 keyboard: device removed
[1730287.628] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[1730287.628] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[1730287.629] (II) event4 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[1730287.629] (II) event4 - AT Translated Set 2 keyboard: device is a keyboard
[1730287.630] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[1730287.630] (II) No input driver specified, ignoring this device.
[1730287.630] (II) This device may have been added with another device file.
[1730287.842] (II) intel(0): EDID vendor "AUO", prod id 22573
[1730287.842] (II) intel(0): Printing DDC gathered Modelines:
[1730287.842] (II) intel(0): Modeline "1920x1080"x0.0 142.60 1920 1978 2020 2080 1080 1083 1088 1142 -hsync -vsync (68.6 kHz eP)
[1730287.842] (II) intel(0): Modeline "1920x1080"x0.0 142.60 1920 1978 2020 2080 1080 1083 1088 1428 -hsync -vsync (68.6 kHz e)
[1730874.770] (**) Option "fd" "15"
[1730874.770] (II) event3 - Power Button: device removed
[1730874.773] (**) Option "fd" "18"
[1730874.773] (II) event5 - Asus Wireless Radio Control: device removed
[1730874.773] (**) Option "fd" "19"
[1730874.773] (II) event7 - Video Bus: device removed
[1730874.774] (**) Option "fd" "20"
[1730874.774] (II) event2 - Power Button: device removed
[1730874.774] (**) Option "fd" "21"
[1730874.774] (II) event1 - Sleep Button: device removed
[1730874.775] (**) Option "fd" "22"
[1730874.775] (II) event9 - USB2.0 VGA UVC WebCam: USB2.0 V: device removed
[1730874.775] (**) Option "fd" "23"
[1730874.775] (II) event10 - ELAN1200:00 04F3:3066 Mouse: device removed
[1730874.776] (**) Option "fd" "24"
[1730874.776] (II) event11 - ELAN1200:00 04F3:3066 Touchpad: device removed
[1730874.776] (**) Option "fd" "25"
[1730874.776] (II) event8 - Asus WMI hotkeys: device removed
[1730874.777] (**) Option "fd" "26"
[1730874.777] (II) event4 - AT Translated Set 2 keyboard: device removed
[1730874.778] (II) AIGLX: Suspending AIGLX clients for VT switch
[1730874.856] (II) systemd-logind: got pause for 13:74
[1730874.857] (II) systemd-logind: got pause for 13:73
[1730874.857] (II) systemd-logind: got pause for 13:68
[1730874.857] (II) systemd-logind: got pause for 13:66
[1730874.857] (II) systemd-logind: got pause for 226:0
[1730874.857] (II) systemd-logind: got pause for 13:71
[1730874.857] (II) systemd-logind: got pause for 13:75
[1730874.857] (II) systemd-logind: got pause for 13:69
[1730874.857] (II) systemd-logind: got pause for 13:67
[1730874.857] (II) systemd-logind: got pause for 13:65
[1730874.857] (II) systemd-logind: got pause for 13:72
[1730874.867] (II) libinput: ELAN1200:00 04F3:3066 Touchpad: SetProperty on 327 called but device is disabled.
This driver cannot change properties on a disabled device
从
AIGLX: Suspending AIGLX clients for VT switch
一直到
This driver cannot change properties on a disabled device
这些信息开始向下几乎每次卡住都出现过,上面的有没有出现没有太注意。
顺便问一下有什么简单方便的办法把这两个日志的timestamp转换成human readable的Datetime。
离线
你用的什么桌面环境?json-c 版本是?
在线
你用的什么桌面环境?json-c 版本是?
我使用的是桌面环境是Cinnamon,版本是4.4.8-1
json-c版本是0.13.1-3
离线
好像与xim相关,我这边wps、libreoffice写文档经常导致桌面环境僵住,启用kde的kimpanel后貌似可以解决问题。
最近编辑记录 灰色小狼 (2020-05-08 15:02:38)
离线
好像与xim相关,我这边wps、libreoffice写文档经常导致桌面环境僵住,启用kde的kimpanel后貌似可以解决问题。
但是最近发现有时候不输入文字的时候也会发生这种情况。
离线
页次: 1