I had to run pacman -S linux-headers
so that I don't get any missing kernel headers errors.
Shouldn't linux-headers
be added to the dependencies?
Git Clone URL: | https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy) |
---|---|
Package Base: | nvidia-470xx-utils |
Description: | NVIDIA drivers utilities |
Upstream URL: | http://www.nvidia.com/ |
Keywords: | driver nvidia video |
Licenses: | custom |
Conflicts: | nvidia-libgl, nvidia-utils |
Provides: | nvidia-libgl, nvidia-utils, opengl-driver, vulkan-driver |
Submitter: | jonathon |
Maintainer: | Sinyria (cysp74, SoftExpert) |
Last Packager: | SoftExpert |
Votes: | 110 |
Popularity: | 3.79 |
First Submitted: | 2021-10-31 00:50 (UTC) |
Last Updated: | 2025-05-04 14:37 (UTC) |
« First ‹ Previous 1 .. 28 29 30 31 32 33 34 35 36 37 38 .. 47 Next › Last »
I had to run pacman -S linux-headers
so that I don't get any missing kernel headers errors.
Shouldn't linux-headers
be added to the dependencies?
Any ideas?
Error! Bad return status for module build on kernel: 6.2.1-arch1-1 (x86_64) Consult /var/lib/dkms/nvidia/470.161.03/build/make.log for more information.
cat /var/lib/dkms/nvidia/470.161.03/build/make.log
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (GCC) 12.2.1 20230201 You are using: cc (GCC) 12.2.1 20230201
My Solution (for the moment)
downgrade to Kernel 6.1.12-arch1-1
install the driver via this git-repo: https://github.com/Frogging-Family/nvidia-all
Now i'm back on track :-)
@Menelkir seems i found problem. its my vfio setup broken in 6.* kernel. after remove vfio modules from mkinitcpio.conf, regenerate initram, and adjust xorg.conf(second gpu now visible to nvidia driver). tty console start work normal.
It seems the system is having issues to load the module. You can try loading by hand before Xorg starts (or using some other ways) or add to your initrd (which doesn't hurt but it'll increase your initrd size).
My Arch (Kernel 6.2.1-arch1-1) stops at Reached target Graphical Interface. I can login via tty2.
The package was installed via yay shows no error during install.
Yesterday, the system runs without any Problems. The last thing i did before shutdown was pacman -Syu...
[ 193.295]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 193.299] Current Operating System: Linux DESKTOP 6.2.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 Feb 2023 03:39:23 +0000 x86_64
[ 193.299] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=dd5963d6-51a9-47a8-ba5a-d6df3384538e rw loglevel=3
[ 193.302]
[ 193.302] Current version of pixman: 0.42.2
[ 193.304] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 193.304] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 193.307] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 28 12:19:59 2023
[ 193.308] (==) Using config file: "/etc/X11/xorg.conf"
[ 193.309] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 193.309] (==) ServerLayout "Layout0"
[ 193.309] (**) |-->Screen "Screen0" (0)
[ 193.309] (**) | |-->Monitor "Monitor0"
[ 193.309] (**) | |-->Device "Device0"
[ 193.309] (**) |-->Input Device "Keyboard0"
[ 193.309] (**) |-->Input Device "Mouse0"
[ 193.309] (==) Automatically adding devices
[ 193.309] (==) Automatically enabling devices
[ 193.309] (==) Automatically adding GPU devices
[ 193.309] (==) Automatically binding GPU devices
[ 193.309] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 193.309] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 193.309] Entry deleted from font path.
[ 193.309] (WW)
fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 193.309] Entry deleted from font path.
[ 193.309] (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 193.309] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 193.309] Entry deleted from font path.
[ 193.309] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 193.309] Entry deleted from font path.
[ 193.309] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 193.309] Entry deleted from font path.
[ 193.309] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 193.309] Entry deleted from font path.
[ 193.309] (==) FontPath set to:
[ 193.309] (==) ModulePath set to "/usr/lib/xorg/modules" [ 193.309] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 193.309] (WW) Disabling Keyboard0 [ 193.309] (WW) Disabling Mouse0 [ 193.309] (II) Module ABI versions: [ 193.309] X.Org ANSI C Emulation: 0.4 [ 193.309] X.Org Video Driver: 25.2 [ 193.309] X.Org XInput driver : 24.4 [ 193.309] X.Org Server Extension : 10.0 [ 193.310] (--) using VT number 1
[ 193.310] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 193.312] (--) PCI:*(1@0:0:0) 10de:11c0:1043:8422 rev 161, Mem @ 0xaa000000/16777216, 0xa0000000/134217728, 0xa8000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/131072 [ 193.312] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 193.312] (II) LoadModule: "glx" [ 193.312] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 193.314] (II) Module glx: vendor="X.Org Foundation" [ 193.314] compiled for 1.21.1.7, module version = 1.0.0 [ 193.314] ABI class: X.Org Server Extension, version 10.0 [ 193.314] (II) LoadModule: "nvidia" [ 193.314] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so [ 193.315] (II) Module nvidia: vendor="NVIDIA Corporation" [ 193.315] compiled for 1.6.99.901, module version = 1.0.0 [ 193.315] Module class: X.Org Video Driver [ 193.315] (II) NVIDIA dlloader X Driver 470.161.03 Wed Oct 19 00:11:37 UTC 2022 [ 193.315] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 193.316] (II) Loading sub module "fb" [ 193.316] (II) LoadModule: "fb" [ 193.316] (II) Module "fb" already built-in [ 193.316] (II) Loading sub module "wfb" [ 193.316] (II) LoadModule: "wfb" [ 193.316] (II) Loading /usr/lib/xorg/modules/libwfb.so [ 193.316] (II) Module wfb: vendor="X.Org Foundation" [ 193.316] compiled for 1.21.1.7, module version = 1.0.0 [ 193.316] ABI class: X.Org ANSI C Emulation, version 0.4 [ 193.316] (II) Loading sub module "ramdac" [ 193.316] (II) LoadModule: "ramdac" [ 193.316] (II) Module "ramdac" already built-in [ 193.318] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [ 193.318] (EE) NVIDIA: system's kernel log for additional error messages and [ 193.318] (EE) NVIDIA: consult the NVIDIA README for details. [ 193.318] (EE) No devices detected. [ 193.318] (EE) Fatal server error: [ 193.318] (EE) no screens found(EE) [ 193.318] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 193.318] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 193.318] (EE) [ 193.320] (EE) Server terminated with error (1). Closing log file. `
The GPU is a GTX 660 - found by lspci 01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660]
@spikespi hard to know without a log, please post a xorg.0.log.
xorg works as expected, but tty screen show two rows stop updating "runing systemd udev and starting systemd-udev", i can still blind login to xorg desktop works as usual, but switching to different tty alt-ctrl F2 etc, just give two systemd row and stop update. this start happens after 6.* kernel update, tired googling, set default boot kernel parameters and nomodeset etc, with no luck. gpu 650ti. journalctl output give me any difference from 5.15.94 kernel load where tty work normal.
Pinned Comments
SoftExpert commented on 2025-02-09 10:20 (UTC)
For the beginners in need of assistance, first take a look at this recommended guide https://github.com/korvahannu/arch-nvidia-drivers-installation-guide - maybe it helps to solve the issues your are having with this version of the driver.