@aparthy I'm really clueless about this issue, specially because I daily use zen kernel (I actually have lts and zen installed too) and it works well, I even run some expressive games from time to time. It looks like something related to ACPI, but I don't know what could be since it looks like something specific from the nvidia driver.
Search Criteria
Package Details: nvidia-470xx-utils 470.256.02-7.95
Package Actions
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: | 103 |
Popularity: | 1.12 |
First Submitted: | 2021-10-31 00:50 (UTC) |
Last Updated: | 2025-02-03 19:42 (UTC) |
Dependencies (6)
- egl-wayland (egl-wayland-gitAUR)
- libglvnd (libglvnd-gitAUR)
- xorg-server (xorg-server-gitAUR, xorg-server-bug865-issue1578AUR, xorg-server-bug865AUR)
- nvidia-470xx-settingsAUR (optional) – configuration tool
- opencl-nvidia-470xxAUR (optional) – OpenCL support
- xorg-server-devel (xorg-server-devel-gitAUR) (optional) – nvidia-xconfig
Required by (319)
- adaptivecpp (requires nvidia-utils)
- adaptivecpp-git (requires nvidia-utils)
- agisoft-metashape (requires nvidia-utils) (optional)
- agisoft-metashape-pro (requires nvidia-utils) (optional)
- airshipper (requires vulkan-driver) (optional)
- alchemy-viewer-git (requires nvidia-libgl) (optional)
- alchemy-viewer-git (requires nvidia-utils) (optional)
- aquamarine-git (requires opengl-driver)
- ares-emu (requires vulkan-driver)
- ares-emu-avx-git (requires vulkan-driver)
- ares-emu-git (requires vulkan-driver)
- armorpaint (requires opengl-driver)
- arrayfire-git (requires nvidia-utils) (optional)
- aurorafw-git (requires opengl-driver)
- auto-gpufreq-git (requires nvidia-utils)
- autokey-git (requires nvidia-utils) (optional)
- blackmagic-raw-sdk (requires nvidia-utils) (optional)
- btop-git (requires nvidia-utils) (optional)
- btop-gpu-git (requires nvidia-utils) (optional)
- ccdc-mercury (requires opengl-driver)
- Show 299 more...
Sources (12)
- 0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
- 0002-Fix-conftest-to-use-a-short-wchar_t.patch
- 0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
- https://us.download.nvidia.com/XFree86/Linux-x86_64/470.256.02/NVIDIA-Linux-x86_64-470.256.02.run
- kernel-6.10.patch
- kernel-6.12.patch
- nvidia-470xx-fix-linux-6.13.patch
- nvidia-470xx-utils.sysusers
- nvidia-470xx.rules
- nvidia-drm-outputclass.conf
- systemd-homed-override.conf
- systemd-suspend-override.conf
Latest Comments
« First ‹ Previous 1 .. 25 26 27 28 29 30 31 32 33 34 35 .. 44 Next › Last »
<deleted-account> commented on 2023-03-19 13:34 (UTC)
aparthy commented on 2023-03-19 13:13 (UTC) (edited on 2023-03-27 12:44 (UTC) by aparthy)
@Menelkir Thanks for reply, I scrubbed my caches and found some CFLAGS/CXXFLAGS and unset them and then reinstalled kernel+headers and nvidia-470xx-dkms but unfortunately I'm still getting the same error:
...
==> dkms install --no-depmod nvidia/470.161.03 -k 6.2.7-zen1-1-zen
Error! Bad return status for module build on kernel: 6.2.7-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/470.161.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/470.161.03 -k 6.2.7-zen1-1-zen' exited 10
❯ less /var/lib/dkms/nvidia/470.161.03/build/make.log
KMS make.log for nvidia-470.161.03 for kernel 6.2.7-zen1-1-zen (x86_64)
...
/var/lib/dkms/nvidia/470.161.03/build/nvidia/nv-acpi.c:84:19: error: initialization of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(struct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
84 | .remove = nv_acpi_remove_two_args,
| ^~~~~~~~~~~~~~~~~~~~~~~
I will try removing then reinstalling involved packages as a last effort and see if this will change anything. If not I'm out of ideas and stay on lts kernel for now I guess.
edit: removing before reinstalling didn't change anything
edit: I just got 6.2.8-zen1-1-zen kernel and nvidia-470xx-dkms from chaotic-aur to work. But this aur package still fails to build the module for me. I'm getting a different error, but now for the lts kernel as well. So the problem is most likely on my side. Might be mixing aur with chaotic-aur packages or just something about my very old arch installation. Since chatotic-aur does the trick for me I won't investigate further. Thanks for hearing me out and looking into it @Menelkir.
<deleted-account> commented on 2023-03-18 21:18 (UTC)
@aparthy I use zen too, I just removed and reinstalled the package (after cleaning up any sort of cache) and it builds and installs without any issue. Do you have custom CFLAGS? I've noticed you're forcing the dkms autoinstall, is there something preventing you from just installing this package? Dkms should trigger and install the modules by default just fine.
aparthy commented on 2023-03-18 20:47 (UTC) (edited on 2023-03-19 13:14 (UTC) by aparthy)
❯ less /var/lib/dkms/nvidia/470.161.03/build/make.log
DKMS make.log for nvidia-470.161.03 for kernel 6.2.6-zen1-1-zen (x86_64)
Sa 18. Mär 21:18:26 CET 2023
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
...
/var/lib/dkms/nvidia/470.161.03/build/nvidia/nv-acpi.c:84:19: error: initializatio
n of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(stru
ct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
84 | .remove = nv_acpi_remove_two_args,
| ^~~~~~~~~~~~~~~~~~~~~~~
<deleted-account> commented on 2023-03-12 19:20 (UTC)
I don't know if there's a proper way to make it right, because there's many kernels and also many linux-headers. Holding linux-headers as dependency will force to install the main linux-headers even if a person only uses linux-headers-lts or linux-headers-zen.
dough.mean commented on 2023-03-12 19:17 (UTC)
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?
shrigma commented on 2023-03-01 20:24 (UTC) (edited on 2023-03-01 20:26 (UTC) by shrigma)
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
wizzard2002 commented on 2023-03-01 00:23 (UTC) (edited on 2023-03-01 00:23 (UTC) by wizzard2002)
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 :-)
spikespi commented on 2023-02-28 15:30 (UTC)
@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.
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.