You are not logged in.

#1 2022-07-03 20:05:33

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

[SOLVED] "No screens found" with Xorg+nvidia. ibt=off doesn't help.

A month or two ago, I updated Arch (with no obvious issues), but X started in a low non-native resolution.  I'd been slowly troubleshooting, when a subsequent update fixed the problem.  Recently, I updated again, and now X refuses to start at all, with a "no screens found" error.

I've re-read the wiki pages, but the only issue I could see was the temporary requirement to set ibt=off, which I did, yet the problem persists.

The PC dual-boots to Windows 10 without issues.  I'm using GRUB, the linux kernel, nvidia driver, and XFCE.  Instead of using a GUI login manager, the PC boots to a bash shell, where I log in and run "startx" manually. 

I don't have an /etc/X11/xorg.conf file, and my /etc/X11/xorg.conf.d/20-nvidia.conf file is entirely commented-out.

I've examined the /var/log/Xorg.0.log file (below), but... I'm not sure where to go from here.  Can anyone point me in the right direction?  :-)

[    22.363] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    22.365] Current Operating System: Linux i7pc 5.18.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 29 Jun 2022 23:03:08 +0000 x86_64
[    22.365] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=303432b7-e114-4e80-9e2e-6d947835529b rw audit=0 loglevel=3 nowatchdog module_blacklist=iTCO_wdt nvidia-drm.modeset=1 ibt=off
[    22.368]  
[    22.369] Current version of pixman: 0.40.0
[    22.370] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    22.371] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.375] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul  3 18:08:31 2022
[    22.377] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    22.378] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.380] (==) No Layout section.  Using the first Screen section.
[    22.380] (==) No screen section available. Using defaults.
[    22.380] (**) |-->Screen "Default Screen Section" (0)
[    22.380] (**) |   |-->Monitor "<default monitor>"
[    22.380] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    22.380] (==) Automatically adding devices
[    22.380] (==) Automatically enabling devices
[    22.380] (==) Automatically adding GPU devices
[    22.380] (==) Automatically binding GPU devices
[    22.380] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.380] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    22.380] 	Entry deleted from font path.
[    22.380] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    22.380] 	Entry deleted from font path.
[    22.380] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    22.380] 	Entry deleted from font path.
[    22.381] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    22.381] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.381] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.381] (II) Module ABI versions:
[    22.381] 	X.Org ANSI C Emulation: 0.4
[    22.381] 	X.Org Video Driver: 25.2
[    22.381] 	X.Org XInput driver : 24.4
[    22.381] 	X.Org Server Extension : 10.0
[    22.381] (++) using VT number 1

[    22.383] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    22.390] (--) PCI:*(2@0:0:0) 10de:1184:1462:2835 rev 161, Mem @ 0xfa000000/16777216, 0xd8000000/134217728, 0xd6000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
[    22.390] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    22.390] (II) LoadModule: "glx"
[    22.391] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    22.396] (II) Module glx: vendor="X.Org Foundation"
[    22.396] 	compiled for 1.21.1.3, module version = 1.0.0
[    22.396] 	ABI class: X.Org Server Extension, version 10.0
[    22.396] (==) Matched nouveau as autoconfigured driver 0
[    22.396] (==) Matched nv as autoconfigured driver 1
[    22.396] (==) Matched modesetting as autoconfigured driver 2
[    22.396] (==) Matched fbdev as autoconfigured driver 3
[    22.396] (==) Matched vesa as autoconfigured driver 4
[    22.396] (==) Assigned the driver to the xf86ConfigLayout
[    22.396] (II) LoadModule: "nouveau"
[    22.397] (WW) Warning, couldn't open module nouveau
[    22.397] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    22.397] (II) LoadModule: "nv"
[    22.397] (WW) Warning, couldn't open module nv
[    22.397] (EE) Failed to load module "nv" (module does not exist, 0)
[    22.397] (II) LoadModule: "modesetting"
[    22.397] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    22.399] (II) Module modesetting: vendor="X.Org Foundation"
[    22.399] 	compiled for 1.21.1.3, module version = 1.21.1
[    22.399] 	Module class: X.Org Video Driver
[    22.399] 	ABI class: X.Org Video Driver, version 25.2
[    22.399] (II) LoadModule: "fbdev"
[    22.399] (WW) Warning, couldn't open module fbdev
[    22.399] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    22.399] (II) LoadModule: "vesa"
[    22.399] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    22.399] (II) Module vesa: vendor="X.Org Foundation"
[    22.399] 	compiled for 1.21.1.3, module version = 2.5.0
[    22.399] 	Module class: X.Org Video Driver
[    22.399] 	ABI class: X.Org Video Driver, version 25.2
[    22.399] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    22.399] (II) VESA: driver for VESA chipsets: vesa
[    22.400] (EE) open /dev/dri/card0: No such file or directory
[    22.400] (WW) Falling back to old probe method for modesetting
[    22.400] (EE) open /dev/dri/card0: No such file or directory
[    22.400] vesa: Refusing to run, Framebuffer or dri device present
[    22.400] (EE) Screen 0 deleted because of no matching config section.
[    22.400] (II) UnloadModule: "modesetting"
[    22.400] (EE) Device(s) detected, but none match those in the config file.
[    22.400] (EE) 
Fatal server error:
[    22.400] (EE) no screens found(EE) 
[    22.400] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[    22.400] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.400] (EE) 
[    22.630] (EE) Server terminated with error (1). Closing log file.

Last edited by esuhl (2022-07-04 00:35:21)

Offline

#2 2022-07-03 20:31:26

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] "No screens found" with Xorg+nvidia. ibt=off doesn't help.

Please post the output of the following

modinfo nvidia
dmesg

Offline

#3 2022-07-03 21:37:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] "No screens found" with Xorg+nvidia. ibt=off doesn't help.

It's not matching the nvidia ddx, so you don't have nvidia-utils installed?

Offline

#4 2022-07-04 00:35:01

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

Re: [SOLVED] "No screens found" with Xorg+nvidia. ibt=off doesn't help.

loqs wrote:

Please post the output of the following

modinfo nvidia
dmesg

Aha!  Thank you so much!  dmesg showed that my nVidia GeForce GTX 770 card now uses the legacy nvidia-470xx-dkms driver.

I removed the following packages:

nvidia
nvidia-lts
nvidia-utils
lib32-nvidia-utils
open-cl-nvidia
cuda

I then (re)installed the following replacements:

dkms
nvidia-470xx-dkms
nvidia-470xx-utils
lib32-nvidia-470xx-utils
opencl-nvidia-470xx
cuda

And now I can start X successfully!  Thanks again :-)

Offline

Board footer

Powered by FluxBB