#1116955 nvidia-open-kernel-dkms: Fail to build with linux 6.17

#1116955#5
Date:
2025-10-01 07:09:13 UTC
From:
To:
Dear Maintainer,

I'm using experimental packages but the problem should be the same
with unstable packages.

,----
| nvidia-drm/nvidia-drm-fb.c: In function ‘nv_drm_internal_framebuffer_create’:
| nvidia-drm/nvidia-drm-fb.c:262:9: error: passing argument 3 of ‘drm_helper_mode_fill_fb_struct’ from incompatible pointer type [-Wincompatible-pointer-types]
|   262 |         cmd);
|       |         ^~~
|       |         |
|       |         struct drm_mode_fb_cmd2 *
| In file included from /usr/src/linux-headers-6.17.0-1-custom/include/drm/drm_atomic_helper.h:33,
|                  from nvidia-drm/nvidia-drm-helper.h:186,
|                  from nvidia-drm/nvidia-drm-fb.c:32:
| /usr/src/linux-headers-6.17.0-1-custom/include/drm/drm_modeset_helper.h:37:67: note: expected ‘const struct drm_format_info *’ but argument is of type ‘struct drm_mode_fb_cmd2 *’
|    37 |                                     const struct drm_format_info *info,
|       |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| nvidia-drm/nvidia-drm-fb.c:257:5: error: too few arguments to function ‘drm_helper_mode_fill_fb_struct’; expected 4, have 3
|   257 |     drm_helper_mode_fill_fb_struct(
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /usr/src/linux-headers-6.17.0-1-custom/include/drm/drm_modeset_helper.h:35:6: note: declared here
|    35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
|       |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[4]: *** [/usr/src/linux-headers-6.17.0-1-custom/scripts/Makefile.build:287: nvidia-drm/nvidia-drm-fb.o] Error 1
`----

Christian

#1116955#10
Date:
2025-10-11 14:22:12 UTC
From:
To:
I can confirm this problem
#1116955#15
Date:
2025-11-19 23:49:21 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nvidia-open-gpu-kernel-modules, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1116955@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated nvidia-open-gpu-kernel-modules package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 20 Nov 2025 00:08:25 +0100
Source: nvidia-open-gpu-kernel-modules
Architecture: source
Version: 550.163.01-4
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1116955 1120470
Changes:
 nvidia-open-gpu-kernel-modules (550.163.01-4) unstable; urgency=medium
 .
   * Sync with src:nvidia-graphics-drivers.  (Closes: #1120470, #1116955)
Checksums-Sha1:
 45e4eaf975bbe06ff2ccc02662f76f9d819a4fce 2681 nvidia-open-gpu-kernel-modules_550.163.01-4.dsc
 425e0239b01d5815829d23242ce865348b21a5b4 37148 nvidia-open-gpu-kernel-modules_550.163.01-4.debian.tar.xz
 226242d086bf2bc726ba7ba07b3df25358656c23 5449 nvidia-open-gpu-kernel-modules_550.163.01-4_source.buildinfo
Checksums-Sha256:
 b83d6742caf26e13f291872b46405973ee662282fa8a8a370f00158d7f9c6c52 2681 nvidia-open-gpu-kernel-modules_550.163.01-4.dsc
 614cdcaf229cf37fce6dbecb0a20c8fe22da7a5f12bfc9e103413ed11d609da3 37148 nvidia-open-gpu-kernel-modules_550.163.01-4.debian.tar.xz
 f924ff61099f81ca2396a6a8bb746284fda3e27e8cc7a219c181d2b9f5a41708 5449 nvidia-open-gpu-kernel-modules_550.163.01-4_source.buildinfo
Files:
 828bd1f8868ad09015541e08c31d5907 2681 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4.dsc
 275c8cd7c5b1d622bdb390d03fb459ef 37148 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4.debian.tar.xz
 a09002c96d891ac6bcb6f597c056c8d0 5449 contrib/kernel optional nvidia-open-gpu-kernel-modules_550.163.01-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmkeUOcQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCJFIEACHPOOJv5ByJhAAYc/Gn7zcqIPzt7q9vC9F
N66DwLMaUQCrK/EDJTNgwrmbuQ/ktwAM/qg8wv13maOas+MkotMRmOvjENixAA5B
RKquDbqp+7zL1q6nmiQltYwYC7KFDmwoHwhe4J5iFuVNTUBGAWS8EJbaFk2YwLIs
S7xZwblyGFoCmgTQV7W6chvUNXXcF3eP1ksKpno6caJdna5pm3uRVO2ZUPtHyPBx
RuMbYQAMD9K/pQmjjQkHNzgi8phFJhLi4YEqSi8gUXmCYzvZNztYQ943e2kW5HeA
rG4ImvYTGagbyT5uJEU+uTdOgxrJgAzUy5rxBjZW39JKSS7vUIxa1C617wVkJPR+
SAsndsarzdgtMhRO9QlXbqK5zPxY7YPcQfblxAY1pEWmrMQjerQVeabP+SFs+JAG
KQ+MvIIWHLzTlmWiyI2PADMRggOJdW8Q+WYoUcKi8YhOtHSPZbs25ubju3xFxkCG
cFXyLtTFQQ5vxES1kXX8GK6Vf+/fYyi19DFx3/uYSpgJzZKUW7TrbS+vzQzHEhnp
tTNY9/yShlBX3hmQnLETcieYNKtRGz6H0wElrlfL2v4zjsDOHB1E0kUNuEl2nDF/
087eF6K2Ib0vjl35kWArHVHMSWV7H9NmELNel5WWoT5fyCIyWHqq/lhljpAKGbpi
UTJvBPXKHg==
=+yLX
-----END PGP SIGNATURE-----