Search Criteria
Package Details: opencl-nvidia-550xx 550.163.01-2
Package Actions
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: | 7 |
Popularity: | 1.66 |
First Submitted: | 2024-08-03 13:43 (UTC) |
Last Updated: | 2025-05-15 22:18 (UTC) |
Dependencies (3)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- patchelf (patchelf-gitAUR) (make)
- opencl-headers (opencl-headers-gitAUR) (optional) – headers necessary for OpenCL development
Required by (66)
- aftershotpro3 (requires opencl-nvidia) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- bfgminer-git (requires opencl-driver) (optional)
- computecpp (requires opencl-driver)
- cpu-x-git (requires opencl-driver) (optional)
- crark (requires opencl-driver) (optional)
- cuda-10.2 (requires opencl-nvidia)
- cuda-11.1 (requires opencl-nvidia)
- cuda-11.7 (requires opencl-nvidia)
- cuda-8.0 (requires opencl-nvidia)
- cuda-9.0 (requires opencl-nvidia)
- cuda11.1 (requires opencl-nvidia)
- cuda11.4 (requires opencl-nvidia)
- cuda11.4-versioned (requires opencl-nvidia)
- cuda12.0 (requires opencl-nvidia)
- cuda12.0-versioned (requires opencl-nvidia)
- cytoscape (requires opencl-driver) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- Show 46 more...
Sources (7)
- 0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch
- https://us.download.nvidia.com/XFree86/Linux-x86_64/550.163.01/NVIDIA-Linux-x86_64-550.163.01.run
- nvidia-drm-outputclass.conf
- nvidia-utils.sysusers
- nvidia.rules
- systemd-homed-override.conf
- systemd-suspend-override.conf
Latest Comments
1 2 3 Next › Last »
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: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
withkernel
.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 lineifeq ($(ARCH),powerpc)
, so you can just search forpowerpc
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:
Applying this, since apparently 6.15 removed support for EXTRA_CFLAGS: https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/feat/nvidia-575/nvidia/nvidia-utils/0003-Kbuild-Convert-EXTRA_CFLAGS-to-ccflags-y.patch (You could also do a find+replace for that I suppose)
Then this, for compatibility with the new 6.15 timer interface: https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/feat/nvidia-575/nvidia/nvidia-utils/0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch
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 toThen 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)
0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch
file and add intoPKGBUILD
patch
command in prepare functionHere is diff for
PKGBUILD
fileww998 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.
jadespace commented on 2025-05-04 08:48 (UTC) (edited on 2025-05-04 08:49 (UTC) by jadespace)
@ww998, it would be applied similarly to the commit that contained the patch. That is, for me having installed it with
paru
, the build flags are being patched inkernel
andkernel-open
under$HOME/.cache/paru/clone/nvidia-550xx-dkms/src/NVIDIA-Linux-x86_64-550.163.01
.The slightly painful part is that installing it would likely mean needing to update the
PKGBUILD
s for all the other 550 driver packages that you have installed (for example, I have to uninstall and reinstall Steam every time there's an update here because of circular dependencies).Judge whether it's worth your time to pursue those manual patches and any subsequent build errors that arise from changes in GCC 15, or wait for the packages to get updated. (@failsafe65, do you need any co-maintainers?)
In the meantime, I downgraded back to GCC 14 with everything working as normal:
An additional tip for anyone that needs it: if you add
gcc gcc-libs
to theIgnorePkg
line in/etc/pacman.conf
, pacman will skip over those two until you're ready for them to be updated.1 2 3 Next › Last »