Package Details: nvidia-550xx-dkms 550.163.01-3

Git Clone URL: https://aur.archlinux.org/nvidia-550xx-dkms.git (read-only, click to copy)
Package Base: nvidia-550xx-dkms
Description: NVIDIA drivers - module sources, 550 branch
Upstream URL: http://www.nvidia.com/
Keywords: 550 beta dkms drivers kernel nvidia panic utils whatever
Licenses: custom
Conflicts: nvidia, nvidia-dkms, NVIDIA-MODULE
Provides: nvidia, nvidia-dkms, NVIDIA-MODULE
Submitter: Kimiblock
Maintainer: failsafe65
Last Packager: failsafe65
Votes: 10
Popularity: 0.41
First Submitted: 2024-08-03 13:43 (UTC)
Last Updated: 2025-09-13 00:49 (UTC)

Required by (41)

Sources (9)

Latest Comments

1 2 3 Next › Last »

FrostyWave commented on 2025-11-03 01:48 (UTC)

sound missing after upgrading linux-lts to 6.12.56-1

ahungry commented on 2025-10-11 20:14 (UTC)

Thanks for the suggestion jadespace, I gave it a shot, but it still didn't work (the 580 line) - what happens is playing a game like Diablo 4 via lutris/wine, it works fine for awhile, and then if I minimize/swap from the game's workspace and come back, it will have a total lock (audio will still play, but the FPS is stuck to 0).

Adding the NVreg setting made no difference in behavior.

jadespace commented on 2025-10-10 14:01 (UTC)

Since some others are reporting using the old driver series to keep their laptop/notebook working, I'd like to mention that I've successfully upgraded to 6.16 and now 6.17 with no issues. I tried the advice from the new note in the Arch Wiki about setting the module parameter nvidia.NVreg_EnableGpuFirmware=0 and explicitly still using the proprietary nvidia package instead of nvidia-open.

My laptop with a 3050 Mobile has been stable since making that change weeks ago. I now run my laptop in discrete graphics mode with the most up-to-date driver and kernel.

Hope this helps any others that have been waiting on upstream to become stable again.

ahungry commented on 2025-10-09 22:54 (UTC)

@fl4tisjustice thanks a ton for the fix, you saved me a lot of time.

hopefully failsafe65 or someone else is able to repackage/maintain, as this is the only driver that works well on the Lenovo Thinkpad X1 Extreme (which just happens to be my machine) :)

fl4tisjustice commented on 2025-10-09 11:17 (UTC) (edited on 2025-10-09 13:03 (UTC) by fl4tisjustice)

After looking around for a bit, I found this comment, which this patch is based upon. Then, after reading some of the relevant Linux kernel and NVIDIA driver source code, and tweaking the patch accordingly, I managed to get it to work.

You can find the relevant .patch file here. (I couldn't get everything to fit in one comment.)

And for the PKGBUILD patch:

diff --git a/PKGBUILD b/PKGBUILD
index ede204f..40134a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 pkgbase=nvidia-550xx-dkms
 pkgname=('nvidia-550xx-utils' 'opencl-nvidia-550xx' 'nvidia-550xx-dkms')
 pkgver=550.163.01
-pkgrel=3
+pkgrel=4
 pkgdesc="NVIDIA drivers for Linux, 550 branch"
 arch=('x86_64')
 url="http://www.nvidia.com/"
@@ -23,6 +23,7 @@ source=('nvidia-drm-outputclass.conf'
        '0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch'
        '0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch'
        '0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch'
+       '0005-kernel-nvidia-Fulfill-6.17-fb_create-contract.patch'
        "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
 sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
            '4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
@@ -32,6 +33,7 @@ sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc50677
            '6814990f8046759d35f724ac9114d7fa284710fd1ad8cca7e1a861ea54a72fe4f67b5614f157a911f5ecfa0c964fa989edc61c85b1cfef6428e0cd7cdeea856e'
            '21c964b4d0ceda23d543485cb285becf111849313da3ff9cc9c7bed241de83fd826d72f196d071e4f53790b8fd5d1e3dab9319c0ca08b37c9c841f45d3afd041'
            'eb5cfdb4ccaea5aee8626009b66c9024929fd921784080fb34b6db0f222c2908ea7c4932e492c24afb570de79c78489d67e4e07312dc67ce6415ad0b5f38e008'
+           'f3161d7796546e68122998c4c03aa153631db6ffbdf67720b2ca7d068fae4a1519b8cb88df184b52eaa25a2ea2025013f3bd0e0569f72197d0615e9ab40d3845'
            '676b1de35d21e80091528a49080c114e0870ea90b3f3721265ae8071abbc2183c851e6f11ba96a332c743fedfaf4ec9a014ad6ceed586fdbb03d94d33405e356')


@@ -50,14 +52,17 @@ prepare() {
    cd "${_pkg}"
    bsdtar -xf nvidia-persistenced-init.tar.bz2

-    # GCC 15
-    patch -Np1 -i "${srcdir}/0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch" -d "${srcdir}/${_pkg}/kernel"
+   # GCC 15
+   patch -Np1 -i "${srcdir}/0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch" -d "${srcdir}/${_pkg}/kernel"

    # Linux 6.15
    sed -i 's/EXTRA_CFLAGS/ccflags-y/' ${srcdir}/${_pkg}/kernel{,-open}/Kbuild
-    patch -Np1 -i "${srcdir}/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch" -d "${srcdir}/${_pkg}/kernel"
-    patch -Np2 -i "${srcdir}/0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch" -d "${srcdir}/${_pkg}/kernel"
-
+   patch -Np1 -i "${srcdir}/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch" -d "${srcdir}/${_pkg}/kernel"
+   patch -Np2 -i "${srcdir}/0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch" -d "${srcdir}/${_pkg}/kernel"
+   
+   # Linux 6.17
+   patch -Np1 -i "${srcdir}/0005-kernel-nvidia-Fulfill-6.17-fb_create-contract.patch" -d "${srcdir}/${_pkg}"
+   
    cd kernel

TL;DR: Download this patch into the nvidia-500xx-dkms package folder, apply the above patch to the PKGBUILD, and run makepkg.

Edit 1: Had uploaded an older attempt by mistake.

Edit 2: Update checksum in PKGBUILD accordingly.

Edit 3: Text formatting.

Fuxino commented on 2025-10-09 07:57 (UTC)

Kernel module fails to build with kernel 6.17.x

Niluge_KiWi commented on 2025-07-21 22:06 (UTC)

I've followed instructions from @fl4tisjustice and @Philanche, and simplified packaging, here is the result: https://github.com/Niluge-KiWi/aur-nvidia-550xx-dkms/commit/531accd274b1d6f3f88e8f4ede0c1e2bc5eac656#diff-c13dbcca92f9ff12cd26ecce958be3f9ee8563baace04f7a463a6d2dd4252e0b

Subject: [PATCH] aggregate random patches to make it work on linux 6.15

- patches taken from https://aur.archlinux.org/packages/nvidia-550xx-dkms#comment-1028266
  - I don't know what they do
- more instructions from https://aur.archlinux.org/packages/nvidia-550xx-dkms#comment-1028583

packaging improvement:
- replaced broken 0003-Kbuild-Convert-EXTRA_CFLAGS-to-ccflags-y by a
  simple sed (no risk of future conflict, or patch of patch depending
  on previous patches)
- adjust patch path striping to patch kernel/ and not kernel-open/ in 0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch
- get patches from pinned commits from actual upstream
---

diff --git a/PKGBUILD b/PKGBUILD
index 7c66522..677669b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 pkgbase=nvidia-550xx-dkms
 pkgname=('nvidia-550xx-utils' 'opencl-nvidia-550xx' 'nvidia-550xx-dkms')
 pkgver=550.163.01
-pkgrel=2
+pkgrel=3
 pkgdesc="NVIDIA drivers for Linux, 550 branch"
 arch=('x86_64')
 url="http://www.nvidia.com/"
@@ -21,6 +21,8 @@ source=('nvidia-drm-outputclass.conf'
                'systemd-homed-override.conf'
                'systemd-suspend-override.conf'
                '0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch'
+               'https://github.com/CachyOS/CachyOS-PKGBUILDS/raw/0b700e574f7769e5db4b846b4e9d559f4e4f6b38/nvidia/nvidia-utils/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch'
+               'https://github.com/CachyOS/CachyOS-PKGBUILDS/raw/0b700e574f7769e5db4b846b4e9d559f4e4f6b38/nvidia/nvidia-utils/0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch'
                "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
 sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
                        '4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
@@ -28,6 +30,8 @@ sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc50677
                        'a0183adce78e40853edf7e6b73867e7a8ea5dabac8e8164e42781f64d5232fbe869f850ab0697c3718ebced5cde760d0e807c05da50a982071dfe1157c31d6b8'
                        '55def6319f6abb1a4ccd28a89cd60f1933d155c10ba775b8dfa60a2dc5696b4b472c14b252dc0891f956e70264be87c3d5d4271e929a4fc4b1a68a6902814cee'
                        '6814990f8046759d35f724ac9114d7fa284710fd1ad8cca7e1a861ea54a72fe4f67b5614f157a911f5ecfa0c964fa989edc61c85b1cfef6428e0cd7cdeea856e'
+                       '21c964b4d0ceda23d543485cb285becf111849313da3ff9cc9c7bed241de83fd826d72f196d071e4f53790b8fd5d1e3dab9319c0ca08b37c9c841f45d3afd041'
+                       'eb5cfdb4ccaea5aee8626009b66c9024929fd921784080fb34b6db0f222c2908ea7c4932e492c24afb570de79c78489d67e4e07312dc67ce6415ad0b5f38e008'
                        '676b1de35d21e80091528a49080c114e0870ea90b3f3721265ae8071abbc2183c851e6f11ba96a332c743fedfaf4ec9a014ad6ceed586fdbb03d94d33405e356'
                        )

@@ -50,6 +54,11 @@ prepare() {
     # GCC 15
     patch -Np1 -i "${srcdir}/0002-CFLAGS-Set-std-gnu17-for-all-compilation-flags.patch" -d "${srcdir}/${_pkg}/kernel"

+    # linux 6.15, from https://aur.archlinux.org/packages/nvidia-550xx-dkms#comment-1028583 and https://aur.archlinux.org/packages/nvidia-550xx-dkms#comment-1028266
+    sed -i "s/EXTRA_CFLAGS/ccflags-y/" "${srcdir}/${_pkg}/kernel/Kbuild"
+    patch -Np1 -i "${srcdir}/0003-Workaround-nv_vm_flags_-calling-GPL-only-code.patch" -d "${srcdir}/${_pkg}/kernel"
+    patch -Np2 -i "${srcdir}/0004-kernel-open-nvidia-Use-new-timer-functions-for-6.15.patch" -d "${srcdir}/${_pkg}/kernel"
+
        cd kernel

        sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
-- 
2.50.1

tested with linux 6.15.7.arch1-1

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.