470xx drivers and linux 6.2 kernel

today i updated my opensuse tumbleweed system to linux kernel 6.2.
but when i tried to create the nvidia driver (version: 470.161.03) for that kernel it failed.
i uploaded the installer log to this post.
the first errors is:

/tmp/NVIDIA-Linux-x86_64-470.161.03/kernel/nvidia/nv-acpi.c:84:19: error: initialization of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(struct acpi_device *, int)’ [-Werror=incompatible-pointer-types]
      84 |         .remove = nv_acpi_remove_two_args,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~


   /tmp/NVIDIA-Linux-x86_64-470.161.03/kernel/nvidia-drm/nvidia-drm-drv.c:245:21: error: ‘struct drm_mode_config’ has no member named ‘fb_base’
     245 |     dev->mode_config.fb_base = 0;
         |                     ^


  /tmp/NVIDIA-Linux-x86_64-470.161.03/kernel/nvidia-drm/nvidia-drm-connector.c:101:18: error: ‘struct drm_connector’ has no member named ‘override_edid’
     101 |     if (connector->override_edid) {
         |                  ^~

nvidia-installer.log (58.4 KB)

1 Like

Same here in my Gentoo-box


i found a solution:

it works for me.

1 Like

Here too :)
Thanks a lot!!!