您尚未登录。

公告

[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。

您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/14206

#1 2025-07-16 16:15:45

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 207

[已解决] 升级 linux-firmware 、linux 6.15.6 后,X 启动不了

桌面环境:dwm
先卸载、再重新安装 linux-firmware,升级 linux 内核至 6.15.6 之后,重新启动计算机。
发现登录后 X 启动不了, 查看 Xorg.0.log 如下:

[    45.205] 
X.Org X Server 1.21.1.18
X Protocol Version 11, Revision 0
[    45.205] Current Operating System: Linux Arch 6.15.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Jul 2025 17:10:18 +0000 x86_64
[    45.205] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=11111111-1111-1111-1111-111111111111 rw loglevel=3
[    45.206]  
[    45.206] Current version of pixman: 0.46.2
[    45.206] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    45.206] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    45.206] (==) Log file: "/home/zp/.local/share/xorg/Xorg.0.log", Time: Tue Jul 15 20:17:49 2025
[    45.206] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    45.206] (==) No Layout section.  Using the first Screen section.
[    45.206] (==) No screen section available. Using defaults.
[    45.206] (**) |-->Screen "Default Screen Section" (0)
[    45.206] (**) |   |-->Monitor "<default monitor>"
[    45.206] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    45.206] (**) Allowing byte-swapped clients
[    45.206] (==) Automatically adding devices
[    45.206] (==) Automatically enabling devices
[    45.206] (==) Automatically adding GPU devices
[    45.206] (==) Automatically binding GPU devices
[    45.206] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    45.206] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    45.206] 	Entry deleted from font path.
[    45.206] (==) FontPath set to:
	
[    45.206] (==) ModulePath set to "/usr/lib/xorg/modules"
[    45.206] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    45.206] (II) Module ABI versions:
[    45.206] 	X.Org ANSI C Emulation: 0.4
[    45.206] 	X.Org Video Driver: 25.2
[    45.206] 	X.Org XInput driver : 24.4
[    45.206] 	X.Org Server Extension : 10.0
[    45.207] (++) using VT number 1

[    45.208] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[    45.208] (II) xfree86: Adding drm device (/dev/dri/card1)
[    45.208] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[    45.208] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[    45.211] (--) PCI:*(0@0:2:0) 8086:0102:1043:844d rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    45.211] (II) LoadModule: "glx"
[    45.211] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    45.213] (II) Module glx: vendor="X.Org Foundation"
[    45.213] 	compiled for 1.21.1.18, module version = 1.0.0
[    45.214] 	ABI class: X.Org Server Extension, version 10.0
[    45.214] (==) Matched intel as autoconfigured driver 0
[    45.214] (==) Matched modesetting as autoconfigured driver 1
[    45.214] (==) Matched fbdev as autoconfigured driver 2
[    45.214] (==) Matched vesa as autoconfigured driver 3
[    45.214] (==) Assigned the driver to the xf86ConfigLayout
[    45.214] (II) LoadModule: "intel"
[    45.214] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    45.214] (II) Module intel: vendor="X.Org Foundation"
[    45.214] 	compiled for 1.21.1.16, module version = 2.99.917
[    45.214] 	Module class: X.Org Video Driver
[    45.214] 	ABI class: X.Org Video Driver, version 25.2
[    45.214] (II) LoadModule: "modesetting"
[    45.214] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    45.215] (II) Module modesetting: vendor="X.Org Foundation"
[    45.215] 	compiled for 1.21.1.18, module version = 1.21.1
[    45.215] 	Module class: X.Org Video Driver
[    45.215] 	ABI class: X.Org Video Driver, version 25.2
[    45.215] (II) LoadModule: "fbdev"
[    45.215] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    45.215] (II) Module fbdev: vendor="X.Org Foundation"
[    45.215] 	compiled for 1.21.1.14, module version = 0.5.1
[    45.215] 	Module class: X.Org Video Driver
[    45.215] 	ABI class: X.Org Video Driver, version 25.2
[    45.215] (II) LoadModule: "vesa"
[    45.215] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    45.215] (II) Module vesa: vendor="X.Org Foundation"
[    45.215] 	compiled for 1.21.1.11, module version = 2.6.0
[    45.215] 	Module class: X.Org Video Driver
[    45.215] 	ABI class: X.Org Video Driver, version 25.2
[    45.215] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    45.215] (II) intel: Driver for Intel(R) HD Graphics
[    45.215] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    45.215] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    45.215] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    45.215] (II) FBDEV: driver for framebuffer: fbdev
[    45.215] (II) VESA: driver for VESA chipsets: vesa
[    45.215] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[    45.216] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 0
[    45.216] (II) intel(0): SNA compiled from 2.99.917-939-g4a64400e
[    45.216] (WW) Falling back to old probe method for modesetting
[    45.216] (EE) open /dev/dri/card0: No such file or directory
[    45.216] (WW) Falling back to old probe method for fbdev
[    45.216] (II) Loading sub module "fbdevhw"
[    45.216] (II) LoadModule: "fbdevhw"
[    45.216] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    45.216] (II) Module fbdevhw: vendor="X.Org Foundation"
[    45.216] 	compiled for 1.21.1.18, module version = 0.0.2
[    45.216] 	ABI class: X.Org Video Driver, version 25.2
[    45.216] (EE) open /dev/fb0: Permission denied
[    45.216] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    45.216] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 2000
[    45.216] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
[    45.216] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    45.216] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    45.217] (==) intel(0): RGB weight 888
[    45.217] (==) intel(0): Default visual is TrueColor
[    45.217] (II) intel(0): Output VGA1 has no monitor section
[    45.217] (II) intel(0): Enabled output VGA1
[    45.217] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    45.217] (II) intel(0): Output VIRTUAL1 has no monitor section
[    45.217] (II) intel(0): Enabled output VIRTUAL1
[    45.217] (--) intel(0): Output VGA1 using initial mode 1440x900 on crtc 0
[    45.217] (==) intel(0): TearFree disabled
[    45.217] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    45.217] (==) intel(0): DPI set to (96, 96)
[    45.217] (II) Loading sub module "dri3"
[    45.217] (II) LoadModule: "dri3"
[    45.218] (II) Module "dri3" already built-in
[    45.218] (II) Loading sub module "dri2"
[    45.218] (II) LoadModule: "dri2"
[    45.218] (II) Module "dri2" already built-in
[    45.218] (II) Loading sub module "present"
[    45.218] (II) LoadModule: "present"
[    45.218] (II) Module "present" already built-in
[    45.218] (II) UnloadModule: "modesetting"
[    45.218] (II) Unloading modesetting
[    45.218] (II) UnloadModule: "fbdev"
[    45.218] (II) Unloading fbdev
[    45.218] (II) UnloadSubModule: "fbdevhw"
[    45.218] (II) Unloading fbdevhw
[    45.218] (II) UnloadModule: "vesa"
[    45.218] (II) Unloading vesa
[    45.218] (II) intel(0): SNA initialized with Sandybridge (gen6, gt1) backend
[    45.218] (==) intel(0): Backing store enabled
[    45.218] (==) intel(0): Silken mouse enabled
[    45.218] (II) intel(0): HW Cursor enabled
[    45.218] (==) intel(0): DPMS enabled
[    45.218] (==) intel(0): Display hotplug detection enabled
[    45.218] (II) intel(0): [DRI2] Setup complete
[    45.218] (II) intel(0): [DRI2]   DRI driver: i965
[    45.218] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    45.218] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    45.218] (II) intel(0): hardware support for Present enabled
[    45.218] (II) Initializing extension Generic Event Extension
[    45.218] (II) Initializing extension SHAPE
[    45.219] (II) Initializing extension MIT-SHM
[    45.219] (II) Initializing extension XInputExtension
[    45.219] (II) Initializing extension XTEST
[    45.219] (II) Initializing extension BIG-REQUESTS
[    45.219] (II) Initializing extension SYNC
[    45.219] (II) Initializing extension XKEYBOARD
[    45.219] (II) Initializing extension XC-MISC
[    45.220] (II) Initializing extension SECURITY
[    45.220] (II) Initializing extension XFIXES
[    45.220] (II) Initializing extension RENDER
[    45.220] (II) Initializing extension RANDR
[    45.220] (II) Initializing extension COMPOSITE
[    45.220] (II) Initializing extension DAMAGE
[    45.220] (II) Initializing extension MIT-SCREEN-SAVER
[    45.221] (II) Initializing extension DOUBLE-BUFFER
[    45.221] (II) Initializing extension RECORD
[    45.221] (II) Initializing extension DPMS
[    45.221] (II) Initializing extension Present
[    45.221] (II) Initializing extension DRI3
[    45.221] (II) Initializing extension X-Resource
[    45.221] (II) Initializing extension XVideo
[    45.222] (II) Initializing extension XVideo-MotionCompensation
[    45.222] (II) Initializing extension GLX
[    45.222] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    45.222] (EE) AIGLX error: unable to load driver i965
[    45.256] (EE) 
[    45.256] (EE) Backtrace:
[    45.256] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.256] (EE) 0: /usr/lib/Xorg (?+0x0) [0x5627a8c71514]
[    45.256] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.257] (EE) 1: /usr/lib/libc.so.6 (?+0x0) [0x7fc7c20a5ef0]
[    45.257] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.257] (EE) 2: /usr/lib/libgallium-25.1.5-arch1.1.so (?+0x0) [0x7fc7be51c7b0]
[    45.257] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.257] (EE) 3: /usr/lib/libgallium-25.1.5-arch1.1.so (?+0x0) [0x7fc7be90968a]
[    45.257] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.257] (EE) 4: /usr/lib/libgallium-25.1.5-arch1.1.so (?+0x0) [0x7fc7be034ab4]
[    45.257] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.257] (EE) 5: /lib64/ld-linux-x86-64.so.2 (?+0x0) [0x7fc7c26f02f7]
[    45.258] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.258] (EE) 6: /lib64/ld-linux-x86-64.so.2 (?+0x0) [0x7fc7c26f03cd]
[    45.258] (EE) 7: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0x145) [0x7fc7c26ed4b5]
[    45.259] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.259] (EE) 8: /lib64/ld-linux-x86-64.so.2 (?+0x0) [0x7fc7c26f70c9]
[    45.259] (EE) 9: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0xa6) [0x7fc7c26ed416]
[    45.259] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.259] (EE) 10: /lib64/ld-linux-x86-64.so.2 (?+0x0) [0x7fc7c26f74de]
[    45.260] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.260] (EE) 11: /usr/lib/libc.so.6 (?+0x0) [0x7fc7c20f9b34]
[    45.260] (EE) 12: /lib64/ld-linux-x86-64.so.2 (_dl_catch_exception+0xa6) [0x7fc7c26ed416]
[    45.261] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.261] (EE) 13: /lib64/ld-linux-x86-64.so.2 (?+0x0) [0x7fc7c26ed569]
[    45.261] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.261] (EE) 14: /usr/lib/libc.so.6 (?+0x0) [0x7fc7c20f9623]
[    45.261] (EE) 15: /usr/lib/libc.so.6 (dlopen+0x6b) [0x7fc7c20f9beb]
[    45.262] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.262] (EE) 16: /usr/lib/libEGL.so.1 (?+0x0) [0x7fc7c145788d]
[    45.262] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.262] (EE) 17: /usr/lib/libEGL.so.1 (?+0x0) [0x7fc7c145812c]
[    45.262] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.262] (EE) 18: /usr/lib/libc.so.6 (?+0x0) [0x7fc7c2102cb4]
[    45.263] (EE) 19: /usr/lib/libc.so.6 (pthread_once+0x19) [0x7fc7c2102d29]
[    45.263] (EE) 20: /usr/lib/libEGL.so.1 (eglGetProcAddress+0x348) [0x7fc7c14564e8]
[    45.263] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.263] (EE) 21: /usr/lib/dri/swrast_dri.so (?+0x0) [0x7fc7c14742e2]
[    45.263] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.263] (EE) 22: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7fc7c19178c5]
[    45.263] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.263] (EE) 23: /usr/lib/xorg/modules/extensions/libglx.so (?+0x0) [0x7fc7c19122af]
[    45.264] (EE) 24: /usr/lib/Xorg (_CallCallbacks+0x3c) [0x5627a8b87bdc]
[    45.264] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.264] (EE) 25: /usr/lib/Xorg (?+0x0) [0x5627a8c82b45]
[    45.264] (EE) 26: /usr/lib/Xorg (InitExtensions+0x8d) [0x5627a8b514ad]
[    45.264] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.264] (EE) 27: /usr/lib/Xorg (?+0x0) [0x5627a8b436d0]
[    45.264] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    45.264] (EE) 28: /usr/lib/libc.so.6 (?+0x0) [0x7fc7c208f6b5]
[    45.265] (EE) 29: /usr/lib/libc.so.6 (__libc_start_main+0x89) [0x7fc7c208f769]
[    45.265] (EE) 30: /usr/lib/Xorg (_start+0x25) [0x5627a8b44cd5]
[    45.265] (EE) 
[    45.265] (EE) Illegal instruction at address 0x7fc7be51c7b0
[    45.265] (EE) 
Fatal server error:
[    45.265] (EE) Caught signal 4 (Illegal instruction). Server aborting
[    45.265] (EE) 
[    45.265] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    45.265] (EE) Please also check the log file at "/home/zp/.local/share/xorg/Xorg.0.log" for additional information.
[    45.265] (EE) 
[    45.301] (EE) Server terminated with error (1). Closing log file.

最先出错的是 /usr/lib/dri/i965_dri.so
后面一堆 lib 错误,没太搞明白错误究竟在哪,经检查发现 /usr/lib/dri/i965_dri.so 也是存在的。
请大家帮忙分析分析,谢谢!

最近编辑记录 zplinux (2025-07-16 21:30:37)


Archlinux + DWM,赞同 K.I.S.S 理念!

离线

#2 2025-07-16 16:23:04

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,397
个人网站

Re: [已解决] 升级 linux-firmware 、linux 6.15.6 后,X 启动不了

看看以下命令的输出:

pacman -Qi mesa libglvnd xorg-server
lscpu
pacman -Qkk mesa libglvnd xorg-server

离线

#3 2025-07-16 21:29:58

zplinux
会员
所在地: 江西省
注册时间: 2014-10-12
帖子: 207

Re: [已解决] 升级 linux-firmware 、linux 6.15.6 后,X 启动不了

依云 说:

看看以下命令的输出:
pacman -Qi mesa libglvnd xorg-server
lscpu
pacman -Qkk mesa libglvnd xorg-server

经检查,发现 mesa 组件有损坏,重新安装后故障解决了。
谢谢仙子!

mesa: 77 total files, 1 altered file
libglvnd: 58 total files, 0 altered files
xorg-server: 49 total files, 0 altered files

Archlinux + DWM,赞同 K.I.S.S 理念!

离线

页脚