You are not logged in.

#1 2022-10-30 22:39:59

Resiliunt
Member
Registered: 2018-03-23
Posts: 5

Cannot startx after NVIDIA drvier install [SOLVED]

I recently installed an NVIDIA driver through the download off of NVIDIA's website (515.76) before reading up about it. After the install, whenever I tried to startx, it would hang after:

Log file: "/var/log/XXorg.0.log", Time: Sat Oct 29 22:32:13 2022
Using config file: "/etc/X11/xorg.conf"
Using system config directory "/user/share/X11/xorg.conf.d"

I tried updating the driver by using pacman to 520.56.06 and it stopped hanging after startx. It gave 4-5 of the same error code. Sorry, I can't post that log since it's now hanging again. The error code was:

(EE) NVIDIA: Failed to initialize the NVIDIA kernel module.

I tried using dkms to reinstall the modules. Here is the current log.

[   299.645] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[   299.646] Current Operating System: Linux Arch 6.0.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 26 Oct 2022 15:25:45 +0000 x86_64
[   299.646] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=d5d2ed4c-4878-4300-9d52-95b738f2a569 rw loglevel=3 quiet
[   299.647]  
[   299.647] Current version of pixman: 0.42.0
[   299.648] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   299.648] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   299.650] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 30 15:26:41 2022
[   299.651] (==) Using config file: "/etc/X11/xorg.conf"
[   299.652] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   299.652] (==) ServerLayout "Layout0"
[   299.652] (**) |-->Screen "Screen0" (0)
[   299.652] (**) |   |-->Monitor "Monitor0"
[   299.652] (**) |   |-->Device "Device0"
[   299.652] (**) |-->Input Device "Keyboard0"
[   299.652] (**) |-->Input Device "Mouse0"
[   299.652] (==) Automatically adding devices
[   299.652] (==) Automatically enabling devices
[   299.652] (==) Automatically adding GPU devices
[   299.652] (==) Automatically binding GPU devices
[   299.652] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   299.652] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   299.652] 	Entry deleted from font path.
[   299.653] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   299.653] 	Entry deleted from font path.
[   299.654] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   299.654] (==) ModulePath set to "/usr/lib/xorg/modules"
[   299.654] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   299.654] (WW) Disabling Keyboard0
[   299.654] (WW) Disabling Mouse0
[   299.654] (II) Module ABI versions:
[   299.654] 	X.Org ANSI C Emulation: 0.4
[   299.654] 	X.Org Video Driver: 25.2
[   299.654] 	X.Org XInput driver : 24.4
[   299.654] 	X.Org Server Extension : 10.0
[   299.654] (++) using VT number 1

[   299.655] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   299.655] (II) xfree86: Adding drm device (/dev/dri/card0)
[   299.655] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[   299.656] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[   299.656] (II) xfree86: Adding drm device (/dev/dri/card1)
[   299.656] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:07:00.0/drm/card1
[   299.656] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[   299.657] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   299.952] (--) PCI: (1@0:0:0) 10de:249d:1043:118c rev 161, Mem @ 0xfb000000/16777216, 0xfc00000000/8589934592, 0xfe00000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   299.952] (--) PCI:*(7@0:0:0) 1002:1638:1043:118c rev 196, Mem @ 0xfe10000000/268435456, 0xfe20000000/2097152, 0xfc500000/524288, I/O @ 0x0000c000/256
[   299.952] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   299.952] (II) LoadModule: "glx"
[   299.954] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   299.957] (II) Module glx: vendor="X.Org Foundation"
[   299.957] 	compiled for 1.21.1.4, module version = 1.0.0
[   299.957] 	ABI class: X.Org Server Extension, version 10.0
[   299.957] (II) LoadModule: "nvidia"
[   299.957] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   299.959] (II) Module nvidia: vendor="NVIDIA Corporation"
[   299.959] 	compiled for 1.6.99.901, module version = 1.0.0
[   299.959] 	Module class: X.Org Video Driver
[   299.959] (II) NVIDIA dlloader X Driver  520.56.06  Thu Oct  6 21:29:26 UTC 2022
[   299.959] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   299.960] (II) systemd-logind: releasing fd for 226:0
[   299.960] (II) Loading sub module "fb"
[   299.960] (II) LoadModule: "fb"
[   299.960] (II) Module "fb" already built-in
[   299.960] (II) Loading sub module "wfb"
[   299.960] (II) LoadModule: "wfb"
[   299.960] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   299.961] (II) Module wfb: vendor="X.Org Foundation"
[   299.961] 	compiled for 1.21.1.4, module version = 1.0.0
[   299.961] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   299.961] (II) Loading sub module "ramdac"
[   299.961] (II) LoadModule: "ramdac"
[   299.961] (II) Module "ramdac" already built-in
[   299.962] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   299.962] (==) NVIDIA(0): RGB weight 888
[   299.962] (==) NVIDIA(0): Default visual is TrueColor
[   299.962] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   299.962] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   299.962] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   299.962] (**) NVIDIA(0): Enabling 2D acceleration
[   299.962] (II) Loading sub module "glxserver_nvidia"
[   299.962] (II) LoadModule: "glxserver_nvidia"
[   299.962] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   299.977] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   299.977] 	compiled for 1.6.99.901, module version = 1.0.0
[   299.977] 	Module class: X.Org Server Extension
[   299.977] (II) NVIDIA GLX Module  520.56.06  Thu Oct  6 21:26:26 UTC 2022
[   299.977] (II) NVIDIA: The X server supports PRIME Render Offload.
[   301.161] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   301.161] (--) NVIDIA(0):     DFP-0
[   301.161] (--) NVIDIA(0):     DFP-1
[   301.161] (--) NVIDIA(0):     DFP-2
[   301.161] (--) NVIDIA(0):     DFP-3
[   301.162] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3070 Laptop GPU (GA104-A) at
[   301.162] (II) NVIDIA(0):     PCI:1:0:0 (GPU-0)
[   301.162] (--) NVIDIA(0): Memory: 8388608 kBytes
[   301.162] (--) NVIDIA(0): VideoBIOS: 94.04.3f.00.d7
[   301.162] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   301.162] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   301.162] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[   301.162] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock
[   301.162] (--) NVIDIA(GPU-0): 
[   301.162] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   301.162] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   301.162] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   301.162] (--) NVIDIA(GPU-0): 
[   301.162] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   301.162] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   301.162] (--) NVIDIA(GPU-0): DFP-2: 2670.0 MHz maximum pixel clock
[   301.162] (--) NVIDIA(GPU-0): 
[   301.162] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   301.162] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   301.162] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   301.162] (--) NVIDIA(GPU-0): 
[   301.162] (==) NVIDIA(0): 
[   301.162] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   301.162] (==) NVIDIA(0):     will be used as the requested mode.
[   301.162] (==) NVIDIA(0): 
[   301.162] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[   301.162] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[   301.163] (II) NVIDIA(0): Validated MetaModes:
[   301.163] (II) NVIDIA(0):     "NULL"
[   301.163] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   301.163] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   301.163] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   301.163] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   301.163] (II) NVIDIA:     access.
[   301.173] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   301.173] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   301.173] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   301.173] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   301.173] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   301.173] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   301.173] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   301.173] (II) NVIDIA(0):     Config Options in the README.
[   301.193] (II) NVIDIA(0): Setting mode "NULL"
[   301.203] (==) NVIDIA(0): Disabling shared memory pixmaps
[   301.203] (==) NVIDIA(0): Backing store enabled
[   301.203] (==) NVIDIA(0): Silken mouse enabled
[   301.203] (**) NVIDIA(0): DPMS enabled
[   301.203] (II) Loading sub module "dri2"
[   301.203] (II) LoadModule: "dri2"
[   301.203] (II) Module "dri2" already built-in
[   301.203] (II) NVIDIA(0): [DRI2] Setup complete
[   301.203] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   301.203] (II) Initializing extension Generic Event Extension
[   301.203] (II) Initializing extension SHAPE
[   301.203] (II) Initializing extension MIT-SHM
[   301.203] (II) Initializing extension XInputExtension
[   301.203] (II) Initializing extension XTEST
[   301.203] (II) Initializing extension BIG-REQUESTS
[   301.203] (II) Initializing extension SYNC
[   301.203] (II) Initializing extension XKEYBOARD
[   301.203] (II) Initializing extension XC-MISC
[   301.203] (II) Initializing extension SECURITY
[   301.204] (II) Initializing extension XFIXES
[   301.204] (II) Initializing extension RENDER
[   301.204] (II) Initializing extension RANDR
[   301.204] (II) Initializing extension COMPOSITE
[   301.204] (II) Initializing extension DAMAGE
[   301.204] (II) Initializing extension MIT-SCREEN-SAVER
[   301.204] (II) Initializing extension DOUBLE-BUFFER
[   301.204] (II) Initializing extension RECORD
[   301.204] (II) Initializing extension DPMS
[   301.204] (II) Initializing extension Present
[   301.204] (II) Initializing extension DRI3
[   301.204] (II) Initializing extension X-Resource
[   301.204] (II) Initializing extension XVideo
[   301.204] (II) Initializing extension XVideo-MotionCompensation
[   301.204] (II) Initializing extension GLX
[   301.204] (II) Initializing extension GLX
[   301.204] (II) Indirect GLX disabled.
[   301.204] (II) GLX: Another vendor is already registered for screen 0
[   301.204] (II) Initializing extension XFree86-VidModeExtension
[   301.204] (II) Initializing extension XFree86-DGA
[   301.204] (II) Initializing extension XFree86-DRI
[   301.204] (II) Initializing extension DRI2
[   301.204] (II) Initializing extension NV-GLX
[   301.205] (II) Initializing extension NV-CONTROL
[   301.249] (II) config/udev: Adding input device Asus Wireless Radio Control (/dev/input/event4)
[   301.249] (**) Asus Wireless Radio Control: Applying InputClass "libinput keyboard catchall"
[   301.249] (II) LoadModule: "libinput"
[   301.249] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   301.251] (II) Module libinput: vendor="X.Org Foundation"
[   301.251] 	compiled for 1.21.1.3, module version = 1.2.1
[   301.251] 	Module class: X.Org XInput Driver
[   301.251] 	ABI class: X.Org XInput driver, version 24.4
[   301.251] (II) Using input driver 'libinput' for 'Asus Wireless Radio Control'
[   301.251] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[   301.251] (**) Asus Wireless Radio Control: always reports core events
[   301.251] (**) Option "Device" "/dev/input/event4"
[   301.254] (II) event4  - Asus Wireless Radio Control: is tagged by udev as: Keyboard
[   301.254] (II) event4  - Asus Wireless Radio Control: device is a keyboard
[   301.254] (II) event4  - Asus Wireless Radio Control: device removed
[   301.254] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input4/event4"
[   301.254] (II) XINPUT: Adding extended input device "Asus Wireless Radio Control" (type: KEYBOARD, id 6)
[   301.255] (II) event4  - Asus Wireless Radio Control: is tagged by udev as: Keyboard
[   301.255] (II) event4  - Asus Wireless Radio Control: device is a keyboard
[   301.255] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[   301.255] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   301.255] (II) Using input driver 'libinput' for 'Video Bus'
[   301.255] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 45 paused 0
[   301.255] (**) Video Bus: always reports core events
[   301.255] (**) Option "Device" "/dev/input/event3"
[   301.256] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[   301.256] (II) event3  - Video Bus: device is a keyboard
[   301.256] (II) event3  - Video Bus: device removed
[   301.256] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0e/LNXVIDEO:00/input/input3/event3"
[   301.256] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   301.256] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[   301.256] (II) event3  - Video Bus: device is a keyboard
[   301.257] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   301.257] (II) No input driver specified, ignoring this device.
[   301.257] (II) This device may have been added with another device file.
[   301.257] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   301.257] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   301.257] (II) Using input driver 'libinput' for 'Power Button'
[   301.257] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 46 paused 0
[   301.257] (**) Power Button: always reports core events
[   301.257] (**) Option "Device" "/dev/input/event1"
[   301.257] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   301.257] (II) event1  - Power Button: device is a keyboard
[   301.258] (II) event1  - Power Button: device removed
[   301.258] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   301.258] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   301.258] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   301.258] (II) event1  - Power Button: device is a keyboard
[   301.258] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   301.258] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   301.258] (II) Using input driver 'libinput' for 'Sleep Button'
[   301.258] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 47 paused 0
[   301.258] (**) Sleep Button: always reports core events
[   301.258] (**) Option "Device" "/dev/input/event2"
[   301.259] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   301.259] (II) event2  - Sleep Button: device is a keyboard
[   301.259] (II) event2  - Sleep Button: device removed
[   301.259] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[   301.259] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   301.259] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   301.259] (II) event2  - Sleep Button: device is a keyboard
[   301.260] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event9)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.260] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event10)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.260] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.260] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.260] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event15)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.260] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event8)
[   301.260] (II) No input driver specified, ignoring this device.
[   301.260] (II) This device may have been added with another device file.
[   301.261] (II) config/udev: Adding input device Asus Keyboard (/dev/input/event16)
[   301.261] (**) Asus Keyboard: Applying InputClass "libinput keyboard catchall"
[   301.261] (II) Using input driver 'libinput' for 'Asus Keyboard'
[   301.261] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 48 paused 0
[   301.261] (**) Asus Keyboard: always reports core events
[   301.261] (**) Option "Device" "/dev/input/event16"
[   301.261] (II) event16 - Asus Keyboard: is tagged by udev as: Keyboard
[   301.261] (II) event16 - Asus Keyboard: device is a keyboard
[   301.262] (II) event16 - Asus Keyboard: device removed
[   301.262] (II) libinput: Asus Keyboard: needs a virtual subdevice
[   301.262] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb1/1-3/1-3:1.0/0003:0B05:19B6.0002/input/input22/event16"
[   301.262] (II) XINPUT: Adding extended input device "Asus Keyboard" (type: MOUSE, id 10)
[   301.262] (**) Option "AccelerationScheme" "none"
[   301.262] (**) Asus Keyboard: (accel) selected scheme none/0
[   301.262] (**) Asus Keyboard: (accel) acceleration factor: 2.000
[   301.262] (**) Asus Keyboard: (accel) acceleration threshold: 4
[   301.262] (II) event16 - Asus Keyboard: is tagged by udev as: Keyboard
[   301.262] (II) event16 - Asus Keyboard: device is a keyboard
[   301.263] (II) config/udev: Adding input device Asus Keyboard (/dev/input/event12)
[   301.263] (**) Asus Keyboard: Applying InputClass "libinput keyboard catchall"
[   301.263] (II) Using input driver 'libinput' for 'Asus Keyboard'
[   301.263] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 49 paused 0
[   301.263] (**) Asus Keyboard: always reports core events
[   301.263] (**) Option "Device" "/dev/input/event12"
[   301.263] (II) event12 - Asus Keyboard: is tagged by udev as: Keyboard
[   301.263] (II) event12 - Asus Keyboard: device is a keyboard
[   301.264] (II) event12 - Asus Keyboard: device removed
[   301.264] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb1/1-3/1-3:1.2/0003:0B05:19B6.0004/input/input23/event12"
[   301.264] (II) XINPUT: Adding extended input device "Asus Keyboard" (type: KEYBOARD, id 11)
[   301.264] (II) event12 - Asus Keyboard: is tagged by udev as: Keyboard
[   301.264] (II) event12 - Asus Keyboard: device is a keyboard
[   301.265] (II) config/udev: Adding input device HD-Audio Generic Mic (/dev/input/event17)
[   301.265] (II) No input driver specified, ignoring this device.
[   301.265] (II) This device may have been added with another device file.
[   301.265] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event18)
[   301.265] (II) No input driver specified, ignoring this device.
[   301.265] (II) This device may have been added with another device file.
[   301.265] (II) config/udev: Adding input device ASUE1209:00 04F3:319F Mouse (/dev/input/event7)
[   301.265] (**) ASUE1209:00 04F3:319F Mouse: Applying InputClass "libinput pointer catchall"
[   301.265] (II) Using input driver 'libinput' for 'ASUE1209:00 04F3:319F Mouse'
[   301.265] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 50 paused 0
[   301.265] (**) ASUE1209:00 04F3:319F Mouse: always reports core events
[   301.265] (**) Option "Device" "/dev/input/event7"
[   301.266] (II) event7  - ASUE1209:00 04F3:319F Mouse: is tagged by udev as: Mouse Pointingstick
[   301.266] (II) event7  - ASUE1209:00 04F3:319F Mouse: device is a pointer
[   301.266] (II) event7  - ASUE1209:00 04F3:319F Mouse: device removed
[   301.266] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-1/i2c-ASUE1209:00/0018:04F3:319F.0001/input/input14/event7"
[   301.266] (II) XINPUT: Adding extended input device "ASUE1209:00 04F3:319F Mouse" (type: MOUSE, id 12)
[   301.266] (**) Option "AccelerationScheme" "none"
[   301.266] (**) ASUE1209:00 04F3:319F Mouse: (accel) selected scheme none/0
[   301.266] (**) ASUE1209:00 04F3:319F Mouse: (accel) acceleration factor: 2.000
[   301.266] (**) ASUE1209:00 04F3:319F Mouse: (accel) acceleration threshold: 4
[   301.267] (II) event7  - ASUE1209:00 04F3:319F Mouse: is tagged by udev as: Mouse Pointingstick
[   301.267] (II) event7  - ASUE1209:00 04F3:319F Mouse: device is a pointer
[   301.267] (II) config/udev: Adding input device ASUE1209:00 04F3:319F Mouse (/dev/input/mouse0)
[   301.267] (II) No input driver specified, ignoring this device.
[   301.267] (II) This device may have been added with another device file.
[   301.268] (II) config/udev: Adding input device ASUE1209:00 04F3:319F Touchpad (/dev/input/event13)
[   301.268] (**) ASUE1209:00 04F3:319F Touchpad: Applying InputClass "libinput touchpad catchall"
[   301.268] (II) Using input driver 'libinput' for 'ASUE1209:00 04F3:319F Touchpad'
[   301.268] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 51 paused 0
[   301.268] (**) ASUE1209:00 04F3:319F Touchpad: always reports core events
[   301.268] (**) Option "Device" "/dev/input/event13"
[   301.268] (II) event13 - ASUE1209:00 04F3:319F Touchpad: is tagged by udev as: Touchpad
[   301.269] (II) event13 - ASUE1209:00 04F3:319F Touchpad: device is a touchpad
[   301.269] (II) event13 - ASUE1209:00 04F3:319F Touchpad: device removed
[   301.269] (**) Option "NaturalScrolling" "true"
[   301.269] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-1/i2c-ASUE1209:00/0018:04F3:319F.0001/input/input15/event13"
[   301.269] (II) XINPUT: Adding extended input device "ASUE1209:00 04F3:319F Touchpad" (type: TOUCHPAD, id 13)
[   301.270] (**) Option "AccelerationScheme" "none"
[   301.270] (**) ASUE1209:00 04F3:319F Touchpad: (accel) selected scheme none/0
[   301.270] (**) ASUE1209:00 04F3:319F Touchpad: (accel) acceleration factor: 2.000
[   301.270] (**) ASUE1209:00 04F3:319F Touchpad: (accel) acceleration threshold: 4
[   301.270] (II) event13 - ASUE1209:00 04F3:319F Touchpad: is tagged by udev as: Touchpad
[   301.271] (II) event13 - ASUE1209:00 04F3:319F Touchpad: device is a touchpad
[   301.272] (II) config/udev: Adding input device ASUE1209:00 04F3:319F Touchpad (/dev/input/mouse1)
[   301.272] (II) No input driver specified, ignoring this device.
[   301.272] (II) This device may have been added with another device file.
[   301.272] (II) config/udev: Adding input device Asus WMI hotkeys (/dev/input/event6)
[   301.272] (**) Asus WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   301.272] (II) Using input driver 'libinput' for 'Asus WMI hotkeys'
[   301.272] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 52 paused 0
[   301.272] (**) Asus WMI hotkeys: always reports core events
[   301.272] (**) Option "Device" "/dev/input/event6"
[   301.272] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   301.272] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   301.272] (II) event6  - Asus WMI hotkeys: device removed
[   301.272] (**) Option "config_info" "udev:/sys/devices/platform/asus-nb-wmi/input/input13/event6"
[   301.272] (II) XINPUT: Adding extended input device "Asus WMI hotkeys" (type: KEYBOARD, id 14)
[   301.273] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   301.273] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   301.273] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   301.273] (II) No input driver specified, ignoring this device.
[   301.273] (II) This device may have been added with another device file.
[   301.275] (**) Asus Keyboard: Applying InputClass "libinput keyboard catchall"
[   301.275] (II) Using input driver 'libinput' for 'Asus Keyboard'
[   301.275] (II) systemd-logind: returning pre-existing fd for /dev/input/event16 13:80
[   301.275] (**) Asus Keyboard: always reports core events
[   301.275] (**) Option "Device" "/dev/input/event16"
[   301.275] (II) libinput: Asus Keyboard: is a virtual subdevice
[   301.275] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb1/1-3/1-3:1.0/0003:0B05:19B6.0002/input/input22/event16"
[   301.275] (II) XINPUT: Adding extended input device "Asus Keyboard" (type: KEYBOARD, id 15)

Last edited by Resiliunt (2022-11-01 01:25:42)

Offline

#2 2022-10-31 03:53:17

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: Cannot startx after NVIDIA drvier install [SOLVED]

Uninstall the drivers gotten off from Nvidia's website and reinstall them using pacman.
Consider nvidia or nvidia-dkms packages.

https://wiki.archlinux.org/title/NVIDIA
This'll help you setup your Nvidia assuming that you're able to remove the driver files currently present in the file system.
Also keep in mind that kernel headers are required.

(EE) NVIDIA: Failed to initialize the NVIDIA kernel module.

What's the output of lsmod | grep nvidia and modprobe nvidia.

journalctl -b-0 could also have some clues to why your system is unable to load the driver.

Last edited by Irets (2022-10-31 03:58:37)

Offline

#3 2022-10-31 05:21:15

Resiliunt
Member
Registered: 2018-03-23
Posts: 5

Re: Cannot startx after NVIDIA drvier install [SOLVED]

Thanks for the response!

I'm not sure how to fully uninstall the driver.

dkms status

showed that there was two drivers so I removed the one I got from the website. I tried installing through pacman and it didn't help.

lsmod | grep nvidia

nvidia_drm        73728    0
nvidia_uvm       285008    0
nvidia_modeset   1466368   1   nvidia_drm
nvidia          60055552   1   nvidia_uvm,nvidia_modeset

modprobe nvidia doesn't output anything.

journalctl -b-0 | grep nvidia

Oct 30 19:19:28 Arch kernel: nvidia: loading out-of-tree module taints kernel.
Oct 30 19:19:28 Arch kernel: nvidia: module license 'NVIDIA' taints kernel.
Oct 30 19:19:28 Arch kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Oct 30 19:19:28 Arch kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 239
Oct 30 19:19:28 Arch kernel: nvidia 0000:01:00.0: enabling device (0000 -> 0003)
Oct 30 19:19:28 Arch kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Oct 30 19:19:28 Arch kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  520.56.06  Thu Oct  6 21:22:53 UTC 2022
Oct 30 19:19:28 Arch kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Oct 30 19:19:28 Arch kernel: nvidia-uvm: Loaded the UVM driver, major device number 237.
Oct 30 19:19:28 Arch kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Oct 30 19:19:28 Arch kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
Oct 30 19:19:28 Arch systemd-udevd[397]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Oct 30 19:19:29 Arch systemd-udevd[370]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1.
Oct 30 21:58:00 Arch dbus-daemon[575]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.93' (uid=0 pid=1327 comm="sudo modprobe nvidia")
Oct 30 21:58:02 Arch sudo[1327]: syncopated : TTY=tty1 ; PWD=/home/syncopated ; USER=root ; COMMAND=/usr/bin/modprobe nvidia

Last edited by Resiliunt (2022-10-31 05:23:02)

Offline

#4 2022-10-31 07:48:20

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

Re: Cannot startx after NVIDIA drvier install [SOLVED]

I tried using dkms to reinstall the modules. Here is the current log.

[   299.651] (==) Using config file: "/etc/X11/xorg.conf"
[   299.652] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   299.652] (==) ServerLayout "Layout0"
[   299.652] (**) |-->Screen "Screen0" (0)
[   299.652] (**) |   |-->Monitor "Monitor0"
[   299.652] (**) |   |-->Device "Device0"
[   299.652] (**) |-->Input Device "Keyboard0"
[   299.652] (**) |-->Input Device "Mouse0"
[   299.952] (--) PCI: (1@0:0:0) 10de:249d:1043:118c rev 161, Mem @ 0xfb000000/16777216, 0xfc00000000/8589934592, 0xfe00000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   299.952] (--) PCI:*(7@0:0:0) 1002:1638:1043:118c rev 196, Mem @ 0xfe10000000/268435456, 0xfe20000000/2097152, 0xfc500000/524288, I/O @ 0x0000c000/256
[   301.162] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[   301.162] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[   301.163] (II) NVIDIA(0): Validated MetaModes:
[   301.163] (II) NVIDIA(0):     "NULL"
[   301.163] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   301.163] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   301.163] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   301.163] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   301.163] (II) NVIDIA:     access.
…
[   301.193] (II) NVIDIA(0): Setting mode "NULL"

You've an optimus system, used nvidia-settings or nvidia-xconfig to write /etc/X11/xorg.conf, tries to run on the nvidia chip, but there're no outputs attached to that.
tl;dr: remove /etc/X11/xorg.conf

Offline

#5 2022-11-01 01:26:34

Resiliunt
Member
Registered: 2018-03-23
Posts: 5

Re: Cannot startx after NVIDIA drvier install [SOLVED]

That worked, thanks guys!

I feel dumb but also relieved that it was such a simple fix.

Offline

Board footer

Powered by FluxBB