You are not logged in.

#1 2020-06-08 17:37:02

tesla135
Member
Registered: 2013-06-27
Posts: 76

[SOLVED]Nvidia problem after upgrading

I have a laptop at work with arch linux, and after an upgrade I rebooted my system(as usual). I use mate  as my desktop environment and I launched with startx.

But it dit not worked.

VGA:

01:00.0 VGA compatible controller: NVIDIA Corporation GF114M [GeForce GTX 670M] (rev a1)

my .xinitrc

#!/bin/sh

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto


userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

####twm &
####xclock -geometry 50x50-1+1 &
####xterm -geometry 80x50+494+51 &
####xterm -geometry 80x20+494-0 &
####exec xterm -geometry 80x66+0+0 -name login
exec mate-session
exec modprobe vboxdrv

/var/log/Xorg.0.log

[    54.183] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    54.194] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[    54.209] Build Operating System: Linux Arch Linux
[    54.218] Current Operating System: Linux myhostname 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[    54.218] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=49dbdc78-7830-4838-8dc9-382d3ba3a643 rw quiet
[    54.234] Build Date: 05 May 2020  05:08:17AM
[    54.239]  
[    54.244] Current version of pixman: 0.40.0
[    54.255] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    54.255] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    54.279] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun  5 13:00:10 2020
[    54.341] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    54.384] (==) No Layout section.  Using the first Screen section.
[    54.384] (==) No screen section available. Using defaults.
[    54.384] (**) |-->Screen "Default Screen Section" (0)
[    54.384] (**) |   |-->Monitor "<default monitor>"
[    54.393] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    54.393] (==) Automatically adding devices
[    54.393] (==) Automatically enabling devices
[    54.393] (==) Automatically adding GPU devices
[    54.393] (==) Automatically binding GPU devices
[    54.393] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    54.418] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    54.418] 	Entry deleted from font path.
[    54.447] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    54.447] 	Entry deleted from font path.
[    54.447] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    54.447] 	Entry deleted from font path.
[    54.447] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    54.447] 	Entry deleted from font path.
[    54.447] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    54.447] 	Entry deleted from font path.
[    54.447] (==) FontPath set to:
	/usr/share/fonts/TTF
[    54.447] (==) ModulePath set to "/usr/lib/xorg/modules"
[    54.447] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    54.447] (II) Module ABI versions:
[    54.447] 	X.Org ANSI C Emulation: 0.4
[    54.447] 	X.Org Video Driver: 24.1
[    54.447] 	X.Org XInput driver : 24.1
[    54.447] 	X.Org Server Extension : 10.0
[    54.449] (++) using VT number 1

[    54.453] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    54.457] (--) PCI:*(1@0:0:0) 10de:1213:1179:fb18 rev 161, Mem @ 0xd0000000/33554432, 0xc0000000/134217728, 0xc8000000/67108864, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[    54.457] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    54.457] (II) LoadModule: "glx"
[    54.506] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    54.584] (II) Module glx: vendor="X.Org Foundation"
[    54.584] 	compiled for 1.20.8, module version = 1.0.0
[    54.584] 	ABI class: X.Org Server Extension, version 10.0
[    54.593] (==) Matched nouveau as autoconfigured driver 0
[    54.593] (==) Matched nv as autoconfigured driver 1
[    54.593] (==) Matched modesetting as autoconfigured driver 2
[    54.593] (==) Matched fbdev as autoconfigured driver 3
[    54.593] (==) Matched vesa as autoconfigured driver 4
[    54.593] (==) Assigned the driver to the xf86ConfigLayout
[    54.593] (II) LoadModule: "nouveau"
[    54.618] (WW) Warning, couldn't open module nouveau
[    54.618] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    54.618] (II) LoadModule: "nv"
[    54.618] (WW) Warning, couldn't open module nv
[    54.618] (EE) Failed to load module "nv" (module does not exist, 0)
[    54.618] (II) LoadModule: "modesetting"
[    54.619] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    54.644] (II) Module modesetting: vendor="X.Org Foundation"
[    54.644] 	compiled for 1.20.8, module version = 1.20.8
[    54.644] 	Module class: X.Org Video Driver
[    54.644] 	ABI class: X.Org Video Driver, version 24.1
[    54.644] (II) LoadModule: "fbdev"
[    54.644] (WW) Warning, couldn't open module fbdev
[    54.644] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    54.644] (II) LoadModule: "vesa"
[    54.645] (WW) Warning, couldn't open module vesa
[    54.645] (EE) Failed to load module "vesa" (module does not exist, 0)
[    54.645] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    54.645] (EE) open /dev/dri/card0: No such file or directory
[    54.645] (WW) Falling back to old probe method for modesetting
[    54.645] (EE) open /dev/dri/card0: No such file or directory
[    54.645] (EE) Screen 0 deleted because of no matching config section.
[    54.645] (II) UnloadModule: "modesetting"
[    54.645] (EE) Device(s) detected, but none match those in the config file.
[    54.645] (EE) 
Fatal server error:
[    54.645] (EE) no screens found(EE) 
[    54.645] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    54.645] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    54.645] (EE) 
[    54.664] (EE) Server terminated with error (1). Closing log file.

After I added /etc/X11/xorg.conf.d/20-nvidia.conf

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName "GeForce GTX 670M"
EndSection

The new /var/log/Xorg.0.log is

[    37.115] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    37.116] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[    37.118] Build Operating System: Linux Arch Linux
[    37.119] Current Operating System: Linux myhostname 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[    37.120] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=49dbdc78-7830-4838-8dc9-382d3ba3a643 rw quiet
[    37.121] Build Date: 05 May 2020  05:08:17AM
[    37.122]  
[    37.122] Current version of pixman: 0.40.0
[    37.124] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    37.124] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    37.127] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun  5 13:11:07 2020
[    37.171] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    37.172] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    37.236] (==) No Layout section.  Using the first Screen section.
[    37.236] (==) No screen section available. Using defaults.
[    37.236] (**) |-->Screen "Default Screen Section" (0)
[    37.236] (**) |   |-->Monitor "<default monitor>"
[    37.247] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    37.247] (**) |   |-->Device "Nvidia Card"
[    37.247] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    37.247] (==) Automatically adding devices
[    37.247] (==) Automatically enabling devices
[    37.247] (==) Automatically adding GPU devices
[    37.247] (==) Automatically binding GPU devices
[    37.247] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    37.272] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    37.272] 	Entry deleted from font path.
[    37.301] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    37.301] 	Entry deleted from font path.
[    37.301] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    37.301] 	Entry deleted from font path.
[    37.301] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    37.301] 	Entry deleted from font path.
[    37.301] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    37.301] 	Entry deleted from font path.
[    37.301] (==) FontPath set to:
	/usr/share/fonts/TTF
[    37.301] (==) ModulePath set to "/usr/lib/xorg/modules"
[    37.301] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    37.301] (II) Module ABI versions:
[    37.301] 	X.Org ANSI C Emulation: 0.4
[    37.301] 	X.Org Video Driver: 24.1
[    37.301] 	X.Org XInput driver : 24.1
[    37.301] 	X.Org Server Extension : 10.0
[    37.303] (++) using VT number 1

[    37.307] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    37.311] (--) PCI:*(1@0:0:0) 10de:1213:1179:fb18 rev 161, Mem @ 0xd0000000/33554432, 0xc0000000/134217728, 0xc8000000/67108864, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[    37.311] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    37.311] (II) LoadModule: "glx"
[    37.361] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    37.438] (II) Module glx: vendor="X.Org Foundation"
[    37.438] 	compiled for 1.20.8, module version = 1.0.0
[    37.438] 	ABI class: X.Org Server Extension, version 10.0
[    37.438] (II) LoadModule: "nvidia"
[    37.439] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    37.541] (II) Module nvidia: vendor="NVIDIA Corporation"
[    37.541] 	compiled for 4.0.2, module version = 1.0.0
[    37.541] 	Module class: X.Org Video Driver
[    37.555] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[    37.555] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    37.581] (II) Loading sub module "fb"
[    37.581] (II) LoadModule: "fb"
[    37.581] (II) Loading /usr/lib/xorg/modules/libfb.so
[    37.589] (II) Module fb: vendor="X.Org Foundation"
[    37.589] 	compiled for 1.20.8, module version = 1.0.0
[    37.589] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    37.589] (II) Loading sub module "wfb"
[    37.589] (II) LoadModule: "wfb"
[    37.589] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    37.598] (II) Module wfb: vendor="X.Org Foundation"
[    37.598] 	compiled for 1.20.8, module version = 1.0.0
[    37.598] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    37.598] (II) Loading sub module "ramdac"
[    37.598] (II) LoadModule: "ramdac"
[    37.598] (II) Module "ramdac" already built-in
[    37.606] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    37.606] (EE) NVIDIA:     system's kernel log for additional error messages and
[    37.606] (EE) NVIDIA:     consult the NVIDIA README for details.
[    37.606] (EE) No devices detected.
[    37.606] (EE) 
Fatal server error:
[    37.606] (EE) no screens found(EE) 
[    37.606] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    37.606] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    37.606] (EE) 
[    37.626] (EE) Server terminated with error (1). Closing log file.

After I executed nvidia-xconfig

The new /var/log/Xorg.0.log is

[   509.513] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   509.517] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   509.530] Build Operating System: Linux Arch Linux
[   509.540] Current Operating System: Linux myhostname 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[   509.541] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=49dbdc78-7830-4838-8dc9-382d3ba3a643 rw quiet
[   509.559] Build Date: 05 May 2020  05:08:17AM
[   509.565]  
[   509.572] Current version of pixman: 0.40.0
[   509.586] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   509.586] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   509.616] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun  5 13:19:00 2020
[   509.624] (==) Using config file: "/etc/X11/xorg.conf"
[   509.632] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   509.639] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   509.640] (==) ServerLayout "Layout0"
[   509.640] (**) |-->Screen "Screen0" (0)
[   509.640] (**) |   |-->Monitor "Monitor0"
[   509.640] (**) |   |-->Device "Device0"
[   509.640] (**) |   |-->GPUDevice "Device0"
[   509.640] (**) |-->Input Device "Keyboard0"
[   509.640] (**) |-->Input Device "Mouse0"
[   509.640] (==) Automatically adding devices
[   509.640] (==) Automatically enabling devices
[   509.640] (==) Automatically adding GPU devices
[   509.640] (==) Automatically binding GPU devices
[   509.640] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   509.640] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   509.640] 	Entry deleted from font path.
[   509.640] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   509.640] 	Entry deleted from font path.
[   509.640] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   509.640] 	Entry deleted from font path.
[   509.640] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   509.640] 	Entry deleted from font path.
[   509.640] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   509.640] 	Entry deleted from font path.
[   509.640] (==) FontPath set to:
	/usr/share/fonts/TTF
[   509.640] (==) ModulePath set to "/usr/lib/xorg/modules"
[   509.640] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   509.640] (WW) Disabling Keyboard0
[   509.640] (WW) Disabling Mouse0
[   509.640] (II) Module ABI versions:
[   509.640] 	X.Org ANSI C Emulation: 0.4
[   509.640] 	X.Org Video Driver: 24.1
[   509.640] 	X.Org XInput driver : 24.1
[   509.640] 	X.Org Server Extension : 10.0
[   509.640] (++) using VT number 1

[   509.643] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   509.644] (--) PCI:*(1@0:0:0) 10de:1213:1179:fb18 rev 161, Mem @ 0xd0000000/33554432, 0xc0000000/134217728, 0xc8000000/67108864, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[   509.644] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   509.644] (II) LoadModule: "glx"
[   509.644] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   509.645] (II) Module glx: vendor="X.Org Foundation"
[   509.646] 	compiled for 1.20.8, module version = 1.0.0
[   509.646] 	ABI class: X.Org Server Extension, version 10.0
[   509.646] (II) LoadModule: "nvidia"
[   509.646] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   509.646] (II) Module nvidia: vendor="NVIDIA Corporation"
[   509.646] 	compiled for 4.0.2, module version = 1.0.0
[   509.646] 	Module class: X.Org Video Driver
[   509.646] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[   509.646] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   509.646] (II) Loading sub module "fb"
[   509.646] (II) LoadModule: "fb"
[   509.646] (II) Loading /usr/lib/xorg/modules/libfb.so
[   509.646] (II) Module fb: vendor="X.Org Foundation"
[   509.646] 	compiled for 1.20.8, module version = 1.0.0
[   509.646] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   509.646] (II) Loading sub module "wfb"
[   509.646] (II) LoadModule: "wfb"
[   509.646] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   509.646] (II) Module wfb: vendor="X.Org Foundation"
[   509.646] 	compiled for 1.20.8, module version = 1.0.0
[   509.646] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   509.646] (II) Loading sub module "ramdac"
[   509.646] (II) LoadModule: "ramdac"
[   509.646] (II) Module "ramdac" already built-in
[   509.649] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   509.649] (EE) NVIDIA:     system's kernel log for additional error messages and
[   509.649] (EE) NVIDIA:     consult the NVIDIA README for details.
[   509.652] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   509.652] (EE) NVIDIA:     system's kernel log for additional error messages and
[   509.652] (EE) NVIDIA:     consult the NVIDIA README for details.
[   509.652] (EE) No devices detected.
[   509.652] (EE) 
Fatal server error:
[   509.652] (EE) no screens found(EE) 
[   509.652] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   509.652] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   509.652] (EE) 
[   509.668] (EE) Server terminated with error (1). Closing log file.

And still not working.

Last edited by tesla135 (2020-06-09 06:23:52)

Offline

#2 2020-06-08 19:43:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,789

Re: [SOLVED]Nvidia problem after upgrading

[    37.606] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    37.606] (EE) NVIDIA:     system's kernel log for additional error messages and
[    37.606] (EE) NVIDIA:     consult the NVIDIA README for details.
[    37.606] (EE) No devices detected.
pacman -Qs nvidia

Most likely issue is that you forgot to update the nvidia-390xx packages (dropped into AUR)

Offline

Board footer

Powered by FluxBB