您尚未登录。

#1 2022-04-12 15:01:00

BBBob
会员
注册时间: 2017-02-08
帖子: 6

[已解决](EE) no screens found(EE)

gdm和startx都无法启动,xorg日志如下:

[   124.713] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   124.713]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   124.713] Build Operating System: Linux Archlinux
[   124.713] Current Operating System: Linux 429 5.12.14-arch1-1 #1 SMP PREEMPT Thu, 01 Jul 2021 07:26:06 +0000 x86_64
[   124.713] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=22d404cb-4644-5f4b-80b6-aa6936c42c21 rw modprobe.blacklist=nouveau nvidia-drm.modeset=1
[   124.714] Build Date: 13 April 2021  03:12:10PM
[   124.714]
[   124.714] Current version of pixman: 0.40.0
[   124.714] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[   124.714] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   124.714] (==) Log file: "/home/xuzhenan/.local/share/xorg/Xorg.0.log", Time: Tue Apr 12 14:33:14 2022
[   124.714] (==) Using config file: "/etc/X11/xorg.conf"
[   124.715] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   124.716] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   124.716] (==) No Layout section.  Using the first Screen section.
[   124.716] (==) No screen section available. Using defaults.
[   124.716] (**) |-->Screen "Default Screen Section" (0)
[   124.716] (**) |   |-->Monitor "<default monitor>"
[   124.716] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   124.716] (**) |   |-->Device "Card0"
[   124.716] (**) |   |-->GPUDevice "Card1"
[   124.716] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   124.716] (==) Automatically adding devices
[   124.716] (==) Automatically enabling devices
[   124.716] (==) Automatically adding GPU devices
[   124.716] (==) Automatically binding GPU devices
[   124.716] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   124.716] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   124.716] 	Entry deleted from font path.
[   124.716] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   124.716] (==) ModulePath set to "/usr/lib/xorg/modules"
[   124.716] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   124.716] (II) Module ABI versions:
[   124.716] 	X.Org ANSI C Emulation: 0.4
[   124.716] 	X.Org Video Driver: 24.1
[   124.716] 	X.Org XInput driver : 24.1
[   124.716] 	X.Org Server Extension : 10.0
[   124.717] (++) using VT number 5

[   124.718] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_38
[   124.719] (II) xfree86: Adding drm device (/dev/dri/card0)
[   124.720] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   124.724] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   124.728] (--) PCI:*(101@0:0:0) 10de:1c30:1028:11b3 rev 161, Mem @ 0xd7000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000b000/128, BIOS @ 0x????????/131072
[   124.728] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   124.729] (II) LoadModule: "glx"
[   124.729] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   124.730] (II) Module glx: vendor="X.Org Foundation"
[   124.730] 	compiled for 1.20.11, module version = 1.0.0
[   124.730] 	ABI class: X.Org Server Extension, version 10.0
[   124.730] (II) LoadModule: "nvidia"
[   124.730] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   124.730] (II) Module nvidia: vendor="NVIDIA Corporation"
[   124.730] 	compiled for 1.6.99.901, module version = 1.0.0
[   124.730] 	Module class: X.Org Video Driver
[   124.730] (II) LoadModule: "modesetting"
[   124.730] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   124.731] (II) Module modesetting: vendor="X.Org Foundation"
[   124.731] 	compiled for 1.20.11, module version = 1.20.11
[   124.731] 	Module class: X.Org Video Driver
[   124.731] 	ABI class: X.Org Video Driver, version 24.1
[   124.731] (II) NVIDIA dlloader X Driver  465.31  Thu May 13 22:19:15 UTC 2021
[   124.731] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   124.731] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   124.731] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   124.731] (WW) Falling back to old probe method for modesetting
[   124.731] (II) modeset(0): using default device
[   124.731] (II) systemd-logind: releasing fd for 226:0
[   124.732] (II) Loading sub module "fb"
[   124.732] (II) LoadModule: "fb"
[   124.732] (II) Loading /usr/lib/xorg/modules/libfb.so
[   124.732] (II) Module fb: vendor="X.Org Foundation"
[   124.732] 	compiled for 1.20.11, module version = 1.0.0
[   124.732] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   124.732] (II) Loading sub module "wfb"
[   124.732] (II) LoadModule: "wfb"
[   124.732] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   124.732] (II) Module wfb: vendor="X.Org Foundation"
[   124.732] 	compiled for 1.20.11, module version = 1.0.0
[   124.732] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   124.732] (II) Loading sub module "ramdac"
[   124.732] (II) LoadModule: "ramdac"
[   124.732] (II) Module "ramdac" already built-in
[   124.733] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   124.733] (EE) Screen 0 deleted because of no matching config section.
[   124.733] (II) UnloadModule: "modesetting"
[   124.733] (EE) Device(s) detected, but none match those in the config file.
[   124.733] (EE)
Fatal server error:
[   124.733] (EE) no screens found(EE)
[   124.733] (EE)
Please consult the The X.Org Foundation support
	 at [url]http://wiki.x.org[/url]
 for help.
[   124.733] (EE) Please also check the log file at "/home/xuzhenan/.local/share/xorg/Xorg.0.log" for additional information.
[   124.733] (EE)
[   124.735] (EE) Server terminated with error (1). Closing log file.

glxgears:

Error: couldn't open display (null)

glxinfo:

Error: unable to open display

lspci | grep -E "VGA|3D"

65:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)

最近编辑记录 BBBob (2022-04-12 16:13:18)

离线

#2 2022-04-12 15:07:57

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

Re: [已解决](EE) no screens found(EE)

lspci | grep -E 'VGA|3D'

离线

#3 2022-04-12 15:17:07

BBBob
会员
注册时间: 2017-02-08
帖子: 6

Re: [已解决](EE) no screens found(EE)

依云 说:

lspci | grep -E 'VGA|3D'

65:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)

离线

#4 2022-04-12 16:00:56

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

Re: [已解决](EE) no screens found(EE)

lsmod | grep nvidia 有输出吗?

离线

#5 2022-04-12 16:06:33

BBBob
会员
注册时间: 2017-02-08
帖子: 6

Re: [已解决](EE) no screens found(EE)

依云 说:

lsmod | grep nvidia 有输出吗?

nvidia_drm             65536  2
drm_kms_helper        290816  1 nvidia_drm
drm                   581632  5 drm_kms_helper,nvidia_drm
nvidia_uvm           1179648  0
nvidia_modeset       1187840  3 nvidia_drm
nvidia              34992128  69 nvidia_uvm,nvidia_modeset

我把xorg.conf里的内容删了之后能进图形界面了,但是图形界面有问题还是只能用命令行,尝试系统重新升级。情况比较复杂,具体可以看下telegram archlinuxcn里的讨论。感谢大佬!

离线

#6 2022-04-12 17:47:38

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

Re: [已解决](EE) no screens found(EE)

哦,你自己写 xorg.conf 了啊……

离线

页脚