Package Details: opencl-nvidia-550xx 550.163.01-2

Git Clone URL: https://aur.archlinux.org/nvidia-550xx-dkms.git (read-only, click to copy)
Package Base: nvidia-550xx-dkms
Description: OpenCL implemention for NVIDIA, 550 branch
Upstream URL: http://www.nvidia.com/
Keywords: 550 beta dkms drivers kernel nvidia panic utils whatever
Licenses: custom
Conflicts: opencl-nvidia
Provides: opencl-driver, opencl-nvidia
Submitter: Kimiblock
Maintainer: failsafe65
Last Packager: failsafe65
Votes: 9
Popularity: 1.95
First Submitted: 2024-08-03 13:43 (UTC)
Last Updated: 2025-05-15 22:18 (UTC)

Dependencies (3)

Required by (67)

Sources (7)

Latest Comments

1 2 3 Next › Last »

ww998 commented on 2025-06-27 08:56 (UTC) (edited on 2025-06-27 08:58 (UTC) by ww998)

As this driver does not build with the current kernel at the moment I was looking for alternatives. The AUR package for the 525 driver (https://aur.archlinux.org/packages/nvidia-525xx-dkms) has been updated recently and builds fine with kernel 6.15.3. This might be an option for people who are in need of an older NVIDIA driver, until this one gets updated.

jadespace commented on 2025-06-13 09:43 (UTC)

+1 to needing this package to stay maintained. I tried updating to 575 (nvidia-open) + 6.15.2 to see if my 3050 Mobile was finally stable yet with the newer drivers, but every version past 550 is still dysfunctional for me. Past 550, I can't keep the laptop in discrete graphics mode without the laptop constantly freezing from the GPU hard crashing:

kernel: NVRM: GPU at PCI:0000:01:00: GPU-1d3e636f-6ffd-9532-60af-bcc87b1a453d
kernel: NVRM: Xid (PCI:0000:01:00): 79, GPU has fallen off the bus.
kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.

Pinning linux, etc. to 6.14 for now and hoping this package gets updated.

Philanche commented on 2025-06-13 09:36 (UTC) (edited on 2025-06-13 09:37 (UTC) by Philanche)

@fl4tisjustice: Thanks a lot, thanks to your comment I was able to get the drivers to work. If anyone else is struggling, here is exactly what I did:

  • Download all 3 patch files (including the workaround one, it was in fact necessary as dkms was complaining without it)

  • Add them to the PKGBUILD source, and add 'SKIP' in the sha512sums for each of them (as we will need to modify them)

  • For both 0003-Kbuild and 0004-kernel, search and replace kernel-open with kernel.

  • For 0003-Kbuild, we need to replace the line added by patch 0002-CFLAGS, by adding a line -EXTRA_CFLAGS += -std=gnu17 before the line -EXTRA_CFLAGS += -I$(src)/common/inc, and similarly adding a line +ccflags-y += -std=gnu17 before +ccflags-y += -I$(src)/common/inc. Then, on lines 96 and 97, we need to add -mno-altivec at the end, so line 96 should become - EXTRA_CFLAGS += -mlittle-endian -mno-strict-align -mno-altivec (this is after the line ifeq ($(ARCH),powerpc), so you can just search for powerpc to find it)

Normally, after these edits, and following the blacklist that @fl4tisjustice said, you should be able to build, reboot, and have your drivers working.

ww998 commented on 2025-06-12 12:58 (UTC)

@fl4tisjustice: Thank you very much. I guess applying these fixes manualy by myself is over my skill level. I'll wait for an updated package.

Sadly this driver package is the last one not affected by this bug, that makes every newer version unusable on systems with external screens: https://forums.developer.nvidia.com/t/external-monitor-freezes-when-using-dedicated-gpu/

fl4tisjustice commented on 2025-06-11 11:30 (UTC) (edited on 2025-06-11 11:40 (UTC) by fl4tisjustice)

After a while of scouring, I managed to get it to build and work after:

Then finally and most annoyingly you have to add:

blacklist nova_core

blacklist nova_drm

to /etc/modprobe.d/blacklist.conf or similar file, since apparently 6.15 comes with these new drivers, and they'll end up binding to the GPU before nvidia has a chance to

Then for it to take effect just regenerate initramfs either manually with mkinitcpio or by reinstalling the kernel.

(I also ended up applying https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/feat/nvidia-575/nvidia/nvidia-utils/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch while I was testing stuff but supposedly it shouldn't be needed since that's only for closed source, but I'll mention it since you never know)

ww998 commented on 2025-06-10 14:39 (UTC) (edited on 2025-06-10 14:43 (UTC) by ww998)

Building fails for me with the 2025-05-15 package.

nvidia/nv-cray.c:26:10: os-interface.h: file or directory not found 26 | #include "os-interface.h"

Full buildlog is here: https://voidbin.com/paste/46f3b414-c32a-4cf0-9dec-47d8a9f057a1

Any help to fix this is greatly appreciated.

EDIT: Found this here, probably related https://github.com/NVIDIA/open-gpu-kernel-modules/issues/866

Hope the package is not broken beyond repair.

jadespace commented on 2025-05-16 09:15 (UTC)

@failsafe65, thanks for the patch. It's a little hard to follow the changes with all the whitespace updates, but it does like the more generalized fix was more complicated than just updating the PKGBUILD. Everything's working here on my end, finally updating to GCC 15, with a 3050 Mobile in discrete graphics mode, 12 processes in nvidia-smi, and laptop suspend still working as normal :)

acuriouscrow commented on 2025-05-11 17:08 (UTC)

Is there a plan to incorporate these patch steps into the package as a whole? I'm trying to decide if I should do them or wait for the package to be updated.

BoringCat commented on 2025-05-07 02:31 (UTC)

@ww998: I got some idea and build succeed with gcc version 15.1.1 20250425 (GCC)

  1. download 0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch file and add into PKGBUILD
  2. add patch command in prepare function
  3. just make it

Here is diff for PKGBUILD file

diff --git a/PKGBUILD b/PKGBUILD
index 75f4214..9a4cd94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,12 +20,14 @@ source=('nvidia-drm-outputclass.conf'
         'nvidia.rules'
         'systemd-homed-override.conf'
         'systemd-suspend-override.conf'
+        '0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch'
         "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
 sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
             '4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
             'f8f071f5a46c1a5ce5188e104b017808d752e61c0c20de1466feb5d693c0b55a5586314411e78cc2ab9c0e16e2c67afdd358da94c0c75df1f8233f54c280762c'
             'a0183adce78e40853edf7e6b73867e7a8ea5dabac8e8164e42781f64d5232fbe869f850ab0697c3718ebced5cde760d0e807c05da50a982071dfe1157c31d6b8'
             '55def6319f6abb1a4ccd28a89cd60f1933d155c10ba775b8dfa60a2dc5696b4b472c14b252dc0891f956e70264be87c3d5d4271e929a4fc4b1a68a6902814cee'
+            '6814990f8046759d35f724ac9114d7fa284710fd1ad8cca7e1a861ea54a72fe4f67b5614f157a911f5ecfa0c964fa989edc61c85b1cfef6428e0cd7cdeea856e'
             '676b1de35d21e80091528a49080c114e0870ea90b3f3721265ae8071abbc2183c851e6f11ba96a332c743fedfaf4ec9a014ad6ceed586fdbb03d94d33405e356')


@@ -40,6 +42,7 @@ create_links() {
 }

 prepare() {
+    local buildroot=$PWD
     sh "${_pkg}.run" --extract-only
     cd "${_pkg}"
     bsdtar -xf nvidia-persistenced-init.tar.bz2
@@ -62,6 +65,9 @@ DEST_MODULE_LOCATION[4]="/kernel/drivers/video"' dkms.conf

     # Gift for linux-rt guys
     sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES/' dkms.conf
+
+    # patch for gcc 15
+    patch -i ${buildroot}/0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch
 }

 package_opencl-nvidia-550xx() {

ww998 commented on 2025-05-05 20:08 (UTC)

@jadespace: Thank you very much, I now managed to install the 550 driver. I guess there must be a much more elegant way to do it, but maybe this can help other people who are lost here:

download the packagebuild

yay -G nvidia-550xx-dkms

install from the packagebuild. this will fail but download all needed files

cd nvidia-550xx-dkms; makepkg -i ./PKGBUILD

unpack the downloaded nvidia driver package
download the patch from @Fuxino
search for Kbuild and conftest.sh in the extracted files
Apply the patch with the "patch" command
Repack the package, keep the original filename
navigate back to the dir with the PKGBUILD
Use makepkg again to now succesfully install the patched package

makepkg -i ./PKGBUILD

I added the nvidia-550xx-* packages to the IgnorePkg line in /etc/pacman.conf to prevent further updates as suggested by @jadespace I did not have to patch other packages. Everything seems to work now.

I sadly have to use the 550 branch because every driver after this one has a showstopper bug for me that makes it impossible to use. As this affects my notebook there is no way to switch to another GPU.

I hope this AUR package will continue to find some love.