Package Details: opencl-nvidia-470xx 470.256.02-7

Git Clone URL: https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy)
Package Base: nvidia-470xx-utils
Description: OpenCL implemention for NVIDIA
Upstream URL: http://www.nvidia.com/
Keywords: driver nvidia video
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia
Submitter: jonathon
Maintainer: Sinyria (cysp74, SoftExpert)
Last Packager: SoftExpert
Votes: 100
Popularity: 1.15
First Submitted: 2021-10-31 00:50 (UTC)
Last Updated: 2024-11-10 08:39 (UTC)

Dependencies (2)

Required by (67)

Sources (11)

Latest Comments

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

Maniaxx commented on 2024-05-09 18:37 (UTC) (edited on 2024-05-09 18:37 (UTC) by Maniaxx)

I can confirm TechXero patch is working on stable kernel 6.8.9-arch1-2 and GCC 14.1.1. The patch shows 'offset -52 lines'.

PKGBUILD with patch:

https://0x0.st/X8pn.tar.gz/nvidia-470xx-conftest-patch-techxero.tar.gz

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

Please only flag "out of date" the package when a new version of the driver is released. Tweaking the build process of the current version does not qualify as an "out of date".

@TechXero: have you tested the patch with various kernel / compiler configurations ? Does it work in all cases ?

TechXero commented on 2024-05-09 11:09 (UTC) (edited on 2024-05-09 15:08 (UTC) by TechXero)

Yep thanks for solution worked for me too.. I think an update is on the way.

Patch here

diff --git a/kernel/conftest.sh b/kernel/conftest.sh
index 093704c..a9db899 100755
--- a/kernel/conftest.sh
+++ b/kernel/conftest.sh
@@ -153,7 +153,8 @@ test_headers() {
 build_cflags() {
     BASE_CFLAGS="-O2 -D__KERNEL__ \
 -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
--nostdinc -isystem $ISYSTEM"
+-nostdinc -isystem $ISYSTEM \
+-Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-incompatible-pointer-types"

     if [ "$OUTPUT" != "$SOURCES" ]; then
         OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"

DanielCook30a commented on 2024-05-09 01:12 (UTC)

For anyone having issues installing, downgrade GCC back to 13.2. GCC 14 breaks the dkms installation for this driver.

ecognito commented on 2024-05-08 21:44 (UTC)

Downgrading gcc and gcc-libs to 13.2.1, then re-installing the current 6.8.9-arch1-2 of linux and linux-headers worked for me.

P.S. Thanks grzechoo and everyone for the solve. Not the way I wanted to spend my morning!

grzechoo commented on 2024-05-08 21:30 (UTC) (edited on 2024-05-08 21:38 (UTC) by grzechoo)

Downgrade gcc and gcc-libs to 13.2.1 and go back with your linux and linux-headers packages to 6.8.9-arch1-1. Latest gcc 14.1.1 causes NVIDIA dkms module installation to fail. Just figure that out after an hour of digging on internet and lately upgraded packages...

jfernandz commented on 2024-05-08 20:54 (UTC) (edited on 2024-05-08 20:59 (UTC) by jfernandz)

@pervokur may you provide more details on how to get that kernel version and how to set clang-17 with lto=none?

I'm guessing you installed that kernel manually ... so I supose if it works for 6.9.0 ... it should work for 6.8.x, should we flag this package as out of date?

pervokur commented on 2024-05-08 20:43 (UTC)

Module works on 6.9.0-rc6 + clang-17 lto=none

jfernandz commented on 2024-05-08 20:38 (UTC) (edited on 2024-05-08 20:39 (UTC) by jfernandz)

I can't install the moduel for 6.8.9-arch1-2, like @erickwill

but the module either is installed for 6.6.30-2-lts !

Why is that? I've even tried to downgrade to 6.8.9-arch1-1 where I had the module working previously but still doesn't install!

erickwill commented on 2024-05-07 23:20 (UTC)

Got an issue here while updating to the latest kernel linux-6.8.9.arch1-2 linux-headers-6.8.9.arch1-2.

==> dkms install --no-depmod nvidia/470.239.06 -k 6.8.9-arch1-2 Error! Bad return status for module build on kernel: 6.8.9-arch1-2 (x86_64) Consult /var/lib/dkms/nvidia/470.239.06/build/make.log for more information. =

here is the make.log:

https://drive.google.com/file/d/1ySTYgyOFMt-MdaNNwbTpKdHRnTgRkZlS/view?usp=drive_link

Please, let me know if I can provide anything else. In this meantime, is there any workaround? Thanks!