Package Details: nvidia-470xx-utils 470.256.02-7.95

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.22
First Submitted: 2021-10-31 00:50 (UTC)
Last Updated: 2025-02-03 19:42 (UTC)

Dependencies (6)

Required by (319)

Sources (12)

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.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 44 Next › Last »

injiniero commented on 2024-05-13 18:25 (UTC)

I can confirm that nvidia-470xx-dkms 470.239.06-2 builds with gcc 14.1.1 and 6.8.9-arch1-2 kernel without problems.

unixv commented on 2024-05-13 16:40 (UTC)

@SoftExpert: I tried it now with GCC 14 and I confirmed that working fine on my system with kernel 6.6.30-2-lts.

SoftExpert commented on 2024-05-13 16:31 (UTC)

Question: does anybody has any kind of difficulties building lib32-nvidia-470xx-utils or nvidia-470xx-settings with GCC 14.x ?

SoftExpert commented on 2024-05-13 16:19 (UTC)

I updated the package with the 3 suggested patches (each as individual patch).

On my system I could compile with GCC 13.2.1 and also for the xanmode kernel 6.9.0.

All seems good from my side. Big thank you to the patch author(s) !

Can anyone, please, confirm that everything goes well with GCC 14 / 14.1 ?

fuan_k commented on 2024-05-12 19:26 (UTC)

@benjarobin thank you for the patches, looks like it works. Don't forget to increment the pkgrel too. ;)

benjarobin commented on 2024-05-12 18:42 (UTC)

I reported my finding here: https://forums.developer.nvidia.com/t/nvidia-modules-470-239-06-build-failure-with-gcc-14-due-to-conftest-sh/292645

Mechanicus commented on 2024-05-12 18:23 (UTC)

@benjarobin: can confirm, your patches works.

benjarobin commented on 2024-05-12 17:55 (UTC) (edited on 2024-05-12 17:56 (UTC) by benjarobin)

I improved the second patch to properly fix warning during conftest related to EFI (instead of hiding it).

To build a package with a proper fix, do the following:

git clone https://aur.archlinux.org/nvidia-470xx-utils.git
cd nvidia-470xx-utils
curl https://0x0.st/XKB6.patch -o 0001-Fix-GCC-14-build.patch
patch -p1 -i 0001-Fix-GCC-14-build.patch
makepkg

See fixes provided by: https://0x0.st/XKB6.patch

benjarobin commented on 2024-05-12 16:26 (UTC) (edited on 2024-05-12 16:32 (UTC) by benjarobin)

Using -fpermissive is wrong, and introduces a major bug: The call to vmap is done with the wrong function call (missing one argument), as explained in [2].

I did create various patches in order to fix it properly, see [1] and the Nvidia fix that was back-ported [3].

To build a package with a proper fix, do the following:

git clone https://aur.archlinux.org/nvidia-470xx-utils.git
cd nvidia-470xx-utils
curl https://0x0.st/XKmG.patch -o 0001-Fix-GCC-14-build.patch
patch -p1 -i 0001-Fix-GCC-14-build.patch
makepkg

[1] https://0x0.st/XKmG.patch

[2] https://forums.developer.nvidia.com/t/nvidia-modules-build-failure-with-upcoming-gcc-14-and-recent-kernels-due-to-misfiring-conftest-sh-test-heads-up/279072

[3] https://github.com/NVIDIA/open-gpu-kernel-modules/commit/811073c51e1f098834e90e67a074f1746b6e2831#diff-32da369dcd8cd223fa47c8b86028f1a7572ed699c33f2057f4702e4b36f13dd5

unixv commented on 2024-05-12 15:20 (UTC)

@a821, @Mechanicus: actually i tried easiest workaround which is downgrade ['gcc-libs', 'gcc'] from 14.1.1+r1+g43b730b9134-1 to 13.2.1-6 and has been compiled and worked again as previously. Thanks you folks for your efforts to find a workarounds.

loading packages...
warning: downgrading package gcc (14.1.1+r1+g43b730b9134-1 => 13.2.1-6)
warning: downgrading package gcc-libs (14.1.1+r1+g43b730b9134-1 => 13.2.1-6)
resolving dependencies...
looking for conflicting packages...

Package (2)  Old Version               New Version  Net Change

gcc          14.1.1+r1+g43b730b9134-1  13.2.1-6     -17.55 MiB
gcc-libs     14.1.1+r1+g43b730b9134-1  13.2.1-6      -3.81 MiB

==> dkms install --no-depmod nvidia/470.239.06 -k 6.6.30-2-lts
==> depmod 6.6.30-2-lts
(6/6) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
==> Starting build: '6.6.30-2-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [keyboard]