You are not logged in.
I'm installing a driver on a desktop computer and I'm having problems.
I install https://aur.archlinux.org/packages/nvidia-340xx-dkms
After that, I created a config with nvidia-xconfig, here it is:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 340.108 (buildmeister@swio-display-x64-rhel04-01) Wed Dec 11 15:13:33 PST 2019
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
#Option "AccelMethod" # <str>
#Option "PageFlip" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "DoubleShadow" # [<bool>]
#Option "Atomic" # [<bool>]
#Option "VariableRefresh" # [<bool>]
#Option "UseGammaLUT" # [<bool>]
#Option "AsyncFlipSecondaries" # [<bool>]
Identifier "Card0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
And copied the file 20-nvidia.conf to /etc/X11/xorg.conf.d
Black screen after reboot and I see the following errors!
/var/log/lightdm/x-0.log:
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux linux 6.2.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 07 Apr 2023 02:10:43 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6d18ae7d-63f5-4770-a495-92a24a344604 rw loglevel=3
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 11 06:24:52 2023
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
================ WARNING WARNING WARNING WARNING ================
This server has a video driver ABI version of 25.2 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
=================================================================
(WW) NVIDIA: The driver will continue to load, but may behave strangely.
(WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit e6ef2b12404dfec7f23592a3524d2a63d9d25802 and may not be compatible with the final version of this SDK.
modprobe: ERROR: could not insert 'nvidia': No such device
modprobe: ERROR: could not insert 'nvidia': No such device
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/var/log/Xorg.0.log:
[ 11.458]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[ 11.458] Current Operating System: Linux linux 6.2.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 07 Apr 2023 02:10:43 +0000 x86_64
[ 11.458] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6d18ae7d-63f5-4770-a495-92a24a344604 rw loglevel=3
[ 11.458]
[ 11.458] Current version of pixman: 0.42.2
[ 11.458] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11.458] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11.458] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 11 06:24:52 2023
[ 11.459] (==) Using config file: "/etc/X11/xorg.conf"
[ 11.459] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 11.459] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11.459] (==) ServerLayout "X.org Configured"
[ 11.459] (**) |-->Screen "Screen0" (0)
[ 11.459] (**) | |-->Monitor "Monitor0"
[ 11.459] (**) | |-->Device "Card0"
[ 11.459] (**) | |-->GPUDevice "Nvidia Card"
[ 11.459] (**) |-->Input Device "Mouse0"
[ 11.459] (**) |-->Input Device "Keyboard0"
[ 11.459] (**) Option "IgnoreABI" "1"
[ 11.459] (**) Ignoring ABI Version
[ 11.459] (==) Automatically adding devices
[ 11.459] (==) Automatically enabling devices
[ 11.459] (==) Automatically adding GPU devices
[ 11.459] (==) Automatically binding GPU devices
[ 11.459] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 11.459] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 11.459] Entry deleted from font path.
[ 11.459] (**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 11.459] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 11.459] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 11.459] (WW) Disabling Mouse0
[ 11.459] (WW) Disabling Keyboard0
[ 11.459] (II) Module ABI versions:
[ 11.459] X.Org ANSI C Emulation: 0.4
[ 11.459] X.Org Video Driver: 25.2
[ 11.459] X.Org XInput driver : 24.4
[ 11.459] X.Org Server Extension : 10.0
[ 11.460] (++) using VT number 7
[ 11.460] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 11.461] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11.461] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[ 11.467] (--) PCI:*(1@0:0:0) 10de:0611:1043:8261 rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
[ 11.467] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 11.467] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 11.467] (II) LoadModule: "glx"
[ 11.467] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11.494] (II) Module glx: vendor="X.Org Foundation"
[ 11.494] compiled for 1.21.1.8, module version = 1.0.0
[ 11.494] ABI class: X.Org Server Extension, version 10.0
[ 11.494] (II) LoadModule: "nvidia"
[ 11.494] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 11.494] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 11.494] compiled for 4.0.2, module version = 1.0.0
[ 11.494] Module class: X.Org Video Driver
[ 11.494] ================ WARNING WARNING WARNING WARNING ================
[ 11.494] This server has a video driver ABI version of 25.2 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 11.494] =================================================================
[ 11.494] (WW) NVIDIA: The driver will continue to load, but may behave strangely.
[ 11.494] (WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit e6ef2b12404dfec7f23592a3524d2a63d9d25802 and may not be compatible with the final version of this SDK.
[ 11.494] (II) NVIDIA dlloader X Driver 340.108 Wed Dec 11 14:06:00 PST 2019
[ 11.494] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 11.495] (II) Loading sub module "fb"
[ 11.495] (II) LoadModule: "fb"
[ 11.495] (II) Module "fb" already built-in
[ 11.495] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 11.495] (II) Loading sub module "wfb"
[ 11.495] (II) LoadModule: "wfb"
[ 11.495] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 11.495] (II) Module wfb: vendor="X.Org Foundation"
[ 11.495] compiled for 1.21.1.8, module version = 1.0.0
[ 11.495] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.495] (II) Loading sub module "ramdac"
[ 11.495] (II) LoadModule: "ramdac"
[ 11.495] (II) Module "ramdac" already built-in
[ 11.775] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 11.775] (EE) NVIDIA: system's kernel log for additional error messages and
[ 11.775] (EE) NVIDIA: consult the NVIDIA README for details.
[ 12.052] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 12.052] (EE) NVIDIA: system's kernel log for additional error messages and
[ 12.052] (EE) NVIDIA: consult the NVIDIA README for details.
[ 12.052] (EE) No devices detected.
[ 12.052] (EE)
Fatal server error:
[ 12.052] (EE) no screens found(EE)
[ 12.052] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 12.052] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 12.052] (EE)
[ 12.056] (EE) Server terminated with error (1). Closing log file.
I tried blacklisting nouveau and removing kms from the HOOKS array mkinitcpio.conf and nothing works
Last edited by raym (2023-04-11 04:14:36)
Offline
I figured out everything with fine settings, now everything works!
Offline
Hey Can you share your settings? I have the same issue.
Offline
I figured out everything with fine settings, now everything works!
I'm here with the exact same issue, found this thread via google search and all we get is "figured out, it now works!".
Yeah, but how?
Offline
Remove whatever config you generated with nvidia-xconfig if you did use that and remove the kms hook from your mkinicpio.conf as stated in step 5 of https://wiki.archlinux.org/title/NVIDIA#Installation and regenerate your initramfs. Also make sure the -headers (e.g. linux-headers) package is installed as that is a prerequisite for the dkms package to build the kernel module.
Offline