저는 Chromebook C201(ARM)에서 Arch Linux를 사용하고 있습니다. 최근 시스템을 업그레이드했기 때문에 로그인 직후 데스크탑 환경이 충돌하는 것 같습니다(업그레이드 전에는 정상적으로 작동했습니다). LXDE와 MATE가 설치되어 있는데 둘 다 비슷한 충돌이 발생합니다. 두 DE는 서로 다른 창 관리자(Openbox 및 marco)를 사용하므로 X 서버에 문제가 있는 것으로 의심됩니다.
시스템이 충돌하면 화면이 멈추고 바탕 화면이 완전히 잠깁니다. 마우스나 키보드 입력에 응답이 없고 CTL-ALT-F2
등을 사용하여 콘솔 tty로 전환 할 수 없습니다. 몇 분 후에 lightdm 로그인 화면으로 다시 리디렉션되었습니다.
다음 오류를 발견했습니다(관련된 것으로 보입니다) ~/.cache/lxsession/LXDE/run.log
.
** (lxpanel:524): WARNING **: 21:18:33.907: The directory '~/Templates' doesn't exist, ignoring it
** (pcmanfm:525): WARNING **: 21:18:33.907: The directory '~/Templates' doesn't exist, ignoring it
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.467: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.467: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.476: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (lxpanel:524): WARNING **: 21:18:34.544: Battery entry BAT0 not found, using sbs-20-000b
(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.547: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(lxpanel:524): GLib-GObject-CRITICAL **: 21:18:34.547: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (lxpanel:524): WARNING **: 21:18:34.736: launchbar: desktop entry does not exist
(nm-applet:541): libnotify-WARNING **: 21:18:38.692: Failed to connect to proxy
(nm-applet:541): nm-applet-WARNING **: 21:18:38.698: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
lxterminal
(lxpanel:524): Wnck-WARNING **: 21:18:40.000: Unhandled action type _OB_WM_ACTION_UNDECORATE
(lxpanel:524): Wnck-WARNING **: 21:19:12.727: Unhandled action type _OB_WM_ACTION_UNDECORATE
(lxpanel:524): Wnck-WARNING **: 21:19:12.861: Unhandled action type _OB_WM_ACTION_UNDECORATE
/usr/lib/firefox/firefox
(lxpanel:524): Wnck-WARNING **: 21:19:36.058: Unhandled action type _OB_WM_ACTION_UNDECORATE
(END)
MATE의 해당 오류는 다음과 ~/.xsession-errors
같습니다.
mate-session[1216]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
(caja:1299): Gtk-WARNING **: 21:22:12.818: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
(mate-power-manager:1337): Gdk-CRITICAL **: 21:22:14.720: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Gdk-Message: 21:25:19.408: mate-power-manager: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.408: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.409: mate-session: Fatal IO error 104 (Connection reset by peer) on X server :0.
Gdk-Message: 21:25:19.409: marco: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.415: caja: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.413: polkit-mate-authentication-agent-1: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.409: mate-maximus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.408: mate-volume-control-status-icon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.408: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.409: mate-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.415: mate-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Gdk-Message: 21:25:19.423: mate-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Xorg.0.log의 내용:
[ 10.124]
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[ 10.124] Build Operating System: Linux Arch Linux
[ 10.124] Current Operating System: Linux leeLibrebook 5.5.6-1-ARCH #1 SMP PREEMPT Wed Feb 26 00:56:53 UTC 2020 armv7l
[ 10.124] Kernel command line: cros_secure console=tty0 init=/sbin/init root=PARTUUID=1b19e700-f9cb-f247-bc7f-207dece4cdb7/PARTNROFF=1 rootwait rw noinitrd
[ 10.124] Build Date: 16 January 2020 05:49:11PM
[ 10.124]
[ 10.124] Current version of pixman: 0.38.4
[ 10.124] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10.124] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10.124] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 17 21:57:41 2020
[ 10.125] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10.125] (==) No Layout section. Using the first Screen section.
[ 10.125] (==) No screen section available. Using defaults.
[ 10.125] (**) |-->Screen "Default Screen Section" (0)
[ 10.125] (**) | |-->Monitor "<default monitor>"
[ 10.125] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 10.125] (==) Automatically adding devices
[ 10.125] (==) Automatically enabling devices
[ 10.125] (==) Automatically adding GPU devices
[ 10.125] (==) Automatically binding GPU devices
[ 10.125] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10.126] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 10.126] Entry deleted from font path.
[ 10.126] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 10.126] Entry deleted from font path.
[ 10.126] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 10.126] Entry deleted from font path.
[ 10.126] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 10.126] Entry deleted from font path.
[ 10.126] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 10.126] Entry deleted from font path.
[ 10.126] (==) FontPath set to:
/usr/share/fonts/TTF
[ 10.126] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 10.126] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.126] (II) Module ABI versions:
[ 10.126] X.Org ANSI C Emulation: 0.4
[ 10.126] X.Org Video Driver: 24.1
[ 10.126] X.Org XInput driver : 24.1
[ 10.126] X.Org Server Extension : 10.0
[ 10.127] (++) using VT number 7
[ 10.127] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10.129] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10.143] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 10.144] (II) no primary bus or device found
[ 10.144] falling back to /sys/devices/platform/display-subsystem/drm/card0
[ 10.144] (II) LoadModule: "glx"
[ 10.144] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10.148] (II) Module glx: vendor="X.Org Foundation"
[ 10.148] compiled for 1.20.7, module version = 1.0.0
[ 10.148] ABI class: X.Org Server Extension, version 10.0
[ 10.148] (==) Matched modesetting as autoconfigured driver 0
[ 10.148] (==) Matched fbdev as autoconfigured driver 1
[ 10.148] (==) Assigned the driver to the xf86ConfigLayout
[ 10.148] (II) LoadModule: "modesetting"
[ 10.148] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10.149] (II) Module modesetting: vendor="X.Org Foundation"
[ 10.149] compiled for 1.20.7, module version = 1.20.7
[ 10.149] Module class: X.Org Video Driver
[ 10.149] ABI class: X.Org Video Driver, version 24.1
[ 10.149] (II) LoadModule: "fbdev"
[ 10.150] (WW) Warning, couldn't open module fbdev
[ 10.150] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10.150] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10.160] (II) modeset(0): using drv /dev/dri/card0
[ 10.160] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 10.160] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 10.160] (==) modeset(0): RGB weight 888
[ 10.160] (==) modeset(0): Default visual is TrueColor
[ 10.160] (II) Loading sub module "glamoregl"
[ 10.160] (II) LoadModule: "glamoregl"
[ 10.161] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 10.173] (II) Module glamoregl: vendor="X.Org Foundation"
[ 10.173] compiled for 1.20.7, module version = 1.0.1
[ 10.173] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.193] (EE)
[ 10.193] (EE) Backtrace:
[ 10.193] (EE)
[ 10.193] (EE) Segmentation fault at address 0xdda8
[ 10.193] (EE)
Fatal server error:
[ 10.193] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 10.193] (EE)
[ 10.193] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 10.193] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10.193] (EE)
[ 10.200] (EE) Server terminated with error (1). Closing log file.
이 문제의 원인이 무엇인지 아는 사람이 있습니까? 나는 이것을 실행했는데 memtester
(댓글에서 제안한 대로) 메모리에 어떤 문제도 발견되지 않았습니다. 콘솔 터미널에서 시스템은 매우 안정적으로 보입니다.
문제는 단순히 마지막 업데이트 중에 시스템을 손상시킨 Arch ARM의 잘못된 패키지일 수 있습니다. 어떤 패키지가 손상되었는지 아는 사람이 있나요? (그렇다면 롤백을 시도하겠습니다)
답변1
위 댓글에 게시된 바와 같이:
Xorg 로그 파일은 glamoregl
충돌을 나타내며 하드웨어 가속에 문제가 있음을 나타냅니다.
임시 해결 방법: 다음과 같이 GLX를 비활성화하면서 X를 시작합니다.이 게시물즉:
startx -- :2 vt2 -extension GLX
제가 알고 싶은 한 가지는 귀하의 GPU에 대한 특정 독점/오픈 소스 드라이버가 있는지입니다(귀하의 모델은 Mali Graphics T764로 추정되는 것으로 알고 있습니다).이 게시물제안 xf86-video-armsoc-rockchip
과 veyron-libgl
어쩌면 나도 보고 싶다.개발자 웹사이트