您尚未登录。

#1 2023-01-15 13:49:39

suxxsfe
会员
注册时间: 2020-08-05
帖子: 37

安装nvdia-beta后startx提示no screens found

提示no screens found, no devices detected
这是/var/log/Xorg.0.log的报错、以及根据 12两个wiki设定的内核参数

[   510.633] 
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[   510.634] Current Operating System: Linux suxxsfe 6.1.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 31 Dec 2022 17:40:35 +0000 x86_64
[   510.634] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=233a3526-068d-496c-804e-477533c7c694 rw loglevel=3 quiet ibt=off nomodeset nouveau.modeset=0
[   510.635]  
[   510.635] Current version of pixman: 0.42.2
[   510.636] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   510.636] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   510.638] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 15 13:07:19 2023
[   510.639] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   510.639] (==) No Layout section.  Using the first Screen section.
[   510.639] (==) No screen section available. Using defaults.
[   510.639] (**) |-->Screen "Default Screen Section" (0)
[   510.639] (**) |   |-->Monitor "<default monitor>"
[   510.639] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   510.639] (==) Automatically adding devices
[   510.639] (==) Automatically enabling devices
[   510.639] (==) Automatically adding GPU devices
[   510.639] (==) Automatically binding GPU devices
[   510.639] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   510.639] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   510.639] 	Entry deleted from font path.
[   510.639] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   510.639] 	Entry deleted from font path.
[   510.639] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   510.639] 	Entry deleted from font path.
[   510.639] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   510.639] (==) ModulePath set to "/usr/lib/xorg/modules"
[   510.639] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   510.639] (II) Module ABI versions:
[   510.639] 	X.Org ANSI C Emulation: 0.4
[   510.639] 	X.Org Video Driver: 25.2
[   510.639] 	X.Org XInput driver : 24.4
[   510.639] 	X.Org Server Extension : 10.0
[   510.639] (++) using VT number 1

[   510.640] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   510.643] (--) PCI: (0@0:2:0) 8086:3e92:17aa:36ef rev 0, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[   510.643] (--) PCI:*(1@0:0:0) 10de:1c02:19da:4438 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[   510.643] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   510.643] (II) LoadModule: "glx"
[   510.643] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   510.644] (II) Module glx: vendor="X.Org Foundation"
[   510.644] 	compiled for 1.21.1.6, module version = 1.0.0
[   510.644] 	ABI class: X.Org Server Extension, version 10.0
[   510.644] (==) Matched nouveau as autoconfigured driver 0
[   510.644] (==) Matched nv as autoconfigured driver 1
[   510.644] (==) Matched modesetting as autoconfigured driver 2
[   510.644] (==) Matched fbdev as autoconfigured driver 3
[   510.644] (==) Matched vesa as autoconfigured driver 4
[   510.644] (==) Assigned the driver to the xf86ConfigLayout
[   510.644] (II) LoadModule: "nouveau"
[   510.644] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   510.644] (II) Module nouveau: vendor="X.Org Foundation"
[   510.644] 	compiled for 1.21.1.1, module version = 1.0.17
[   510.644] 	Module class: X.Org Video Driver
[   510.644] 	ABI class: X.Org Video Driver, version 25.2
[   510.644] (II) LoadModule: "nv"
[   510.644] (WW) Warning, couldn't open module nv
[   510.644] (EE) Failed to load module "nv" (module does not exist, 0)
[   510.644] (II) LoadModule: "modesetting"
[   510.644] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   510.645] (II) Module modesetting: vendor="X.Org Foundation"
[   510.645] 	compiled for 1.21.1.6, module version = 1.21.1
[   510.645] 	Module class: X.Org Video Driver
[   510.645] 	ABI class: X.Org Video Driver, version 25.2
[   510.645] (II) LoadModule: "fbdev"
[   510.645] (WW) Warning, couldn't open module fbdev
[   510.645] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   510.645] (II) LoadModule: "vesa"
[   510.645] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   510.645] (II) Module vesa: vendor="X.Org Foundation"
[   510.645] 	compiled for 1.21.1.4, module version = 2.6.0
[   510.645] 	Module class: X.Org Video Driver
[   510.645] 	ABI class: X.Org Video Driver, version 25.2
[   510.645] (II) NOUVEAU driver 
[   510.645] (II) NOUVEAU driver for NVIDIA chipset families :
[   510.645] 	RIVA TNT            (NV04)
[   510.645] 	RIVA TNT2           (NV05)
[   510.645] 	GeForce 256         (NV10)
[   510.645] 	GeForce 2           (NV11, NV15)
[   510.645] 	GeForce 4MX         (NV17, NV18)
[   510.645] 	GeForce 3           (NV20)
[   510.645] 	GeForce 4Ti         (NV25, NV28)
[   510.645] 	GeForce FX          (NV3x)
[   510.645] 	GeForce 6           (NV4x)
[   510.645] 	GeForce 7           (G7x)
[   510.645] 	GeForce 8           (G8x)
[   510.645] 	GeForce 9           (G9x)
[   510.645] 	GeForce GTX 2xx/3xx (GT2xx)
[   510.645] 	GeForce GTX 4xx/5xx (GFxxx)
[   510.645] 	GeForce GTX 6xx/7xx (GKxxx)
[   510.645] 	GeForce GTX 9xx     (GMxxx)
[   510.645] 	GeForce GTX 10xx    (GPxxx)
[   510.645] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   510.645] (II) VESA: driver for VESA chipsets: vesa
[   510.646] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[   510.646] (EE) open /dev/dri/card0: No such file or directory
[   510.646] (WW) Falling back to old probe method for modesetting
[   510.646] (EE) open /dev/dri/card0: No such file or directory
[   510.646] vesa: Refusing to run, Framebuffer or dri device present
[   510.646] (EE) Screen 0 deleted because of no matching config section.
[   510.646] (II) UnloadModule: "modesetting"
[   510.646] (EE) Device(s) detected, but none match those in the config file.
[   510.646] (EE) 
Fatal server error:
[   510.646] (EE) no screens found(EE) 
[   510.646] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   510.646] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   510.646] (EE) 
[   510.648] (EE) Server terminated with error (1). Closing log file.

63c38e96be43e0d30e201f0f.jpg

我没有多个gpu,但还是根据 wiki 修改了 /etc/X11/xorg.conf.d/xorg.conf,但是没起作用,下面是两个配置文件 

63c39207be43e0d30e26780c.jpg

而且另一个问题是,即使我删除掉所有新安装的包、新生成的文件,用原来的驱动再startx仍然会得到类似报错

最近编辑记录 suxxsfe (2023-01-15 15:31:11)

离线

#2 2023-01-15 15:27:32

suxxsfe
会员
注册时间: 2020-08-05
帖子: 37

Re: 安装nvdia-beta后startx提示no screens found

我试了将nvidia-beta换成nvidia或nvidia-open,但都没用

如果将后两个内核参数删除,那么可以用以前的驱动正常启动,但如果想使用nvidia则会在开机后卡在 Starting systemd-udevd version 252.4-2-arch(就像wiki所述:https://wiki.archlinuxcn.org/wiki/NVIDIA/%E6%95%85%E9%9A%9C%E6%8E%92%E9%99%A4#System_will_not_boot_after_driver_was_installed)

离线

页脚