Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvidia-open-driver-G07-signed for 
openSUSE:Factory checked in at 2026-05-29 18:04:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed (Old)
 and      /work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1937 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvidia-open-driver-G07-signed"

Fri May 29 18:04:33 2026 rev:12 rq:1355751 version:595.80

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed/nvidia-open-driver-G07-signed.changes
      2026-05-04 17:30:26.293480958 +0200
+++ 
/work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1937/nvidia-open-driver-G07-signed.changes
    2026-05-29 18:04:52.820831350 +0200
@@ -1,0 +2,15 @@
+Thu May 28 10:53:08 UTC 2026 - Stefan Dirsch <[email protected]>
+
+- linux-7.0.patch
+  * adjust driver to changes of screen_info with Kernel 7.0,
+    which broke the driver completely (boo#1263825); see also
+    
https://forums.developer.nvidia.com/t/linux-driver-595-71-05-still-tries-to-use-screen-info-struct-which-was-refactored-in-7-0-kernel/370825
+
+-------------------------------------------------------------------
+Thu May 28 00:30:42 UTC 2026 - Stefan Dirsch <[email protected]>
+
+- update non-CUDA variant to 595.80 (boo#1266660)
+- update CUDA variant to 610.43.02
+- kernel-5.14.patch not needed; removed therefore
+
+-------------------------------------------------------------------

Old:
----
  kernel-5.14.patch
  open-gpu-kernel-modules-595.71.05.tar.gz
  pci_ids-595.71.05

New:
----
  linux-7.0.patch
  open-gpu-kernel-modules-595.80.tar.gz
  open-gpu-kernel-modules-610.43.02.tar.gz
  pci_ids-595.80
  pci_ids-610.43.02

----------(Old B)----------
  Old:- update CUDA variant to 610.43.02
- kernel-5.14.patch not needed; removed therefore
----------(Old E)----------

----------(New B)----------
  New:
- linux-7.0.patch
  * adjust driver to changes of screen_info with Kernel 7.0,
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nvidia-open-driver-G07-signed.spec ++++++
--- /var/tmp/diff_new_pack.4zD21E/_old  2026-05-29 18:05:08.629485484 +0200
+++ /var/tmp/diff_new_pack.4zD21E/_new  2026-05-29 18:05:08.641485980 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%define gfx_aarch64_version 595.71.05
+%define gfx_aarch64_version 595.80
 
 %ifarch aarch64
 %define gfx_version %gfx_aarch64_version
 %else
-%define gfx_version 595.71.05
+%define gfx_version 595.80
 %endif
-%define cuda_version 595.71.05
+%define cuda_version 610.43.02
 
 %global flavor @BUILD_FLAVOR@%{?nil}
 
@@ -98,9 +98,7 @@
 Source15:       kmp-trigger.sh
 Source17:       kmp-post.sh
 Source18:       Check4WrongSupplements.sh
-%if 0%{?sle_version} < 150600
-Patch1:         kernel-5.14.patch
-%endif
+Patch0:         linux-7.0.patch
 %ifnarch aarch64
 Patch2:         fix-objtool-warnings.patch
 %endif

++++++ linux-7.0.patch ++++++
Index: open-gpu-kernel-modules-595.80/kernel-open/common/inc/nv-linux.h
===================================================================
--- open-gpu-kernel-modules-595.80.orig/kernel-open/common/inc/nv-linux.h
+++ open-gpu-kernel-modules-595.80/kernel-open/common/inc/nv-linux.h
@@ -169,6 +169,9 @@
 #include <linux/efi.h>              /* efi_enabled                      */
 #include <linux/fb.h>               /* fb_info struct                   */
 #include <linux/screen_info.h>      /* screen_info                      */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 20, 0)
+#include <linux/sysfb.h>            /* sysfb_primary_display            */
+#endif
 
 #if !defined(CONFIG_PCI)
 #warning "Attempting to build driver for a platform with no PCI support!"
Index: open-gpu-kernel-modules-595.80/kernel-open/nvidia/nv.c
===================================================================
--- open-gpu-kernel-modules-595.80.orig/kernel-open/nvidia/nv.c
+++ open-gpu-kernel-modules-595.80/kernel-open/nvidia/nv.c
@@ -6410,7 +6410,15 @@ void NV_API_CALL nv_get_screen_info(
      * in v6.7, 'screen_info' is exported as GPL licensed symbol for ARM64.
      */
 
-#if NV_CHECK_EXPORT_SYMBOL(screen_info)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 20, 0)
+    // Rel. commit "sysfb: Replace screen_info with sysfb_primary_display" 
(Thomas Zimmermann, 26 Nov 2025)
+    const struct screen_info *si = &sysfb_primary_display.screen;
+#elif NV_CHECK_EXPORT_SYMBOL(screen_info)
+    const struct screen_info *si = &screen_info;
+#endif
+  
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 20, 0)) || \
+    NV_CHECK_EXPORT_SYMBOL(screen_info)
     /*
      * If there is not a framebuffer console, return 0 size.
      *
@@ -6418,13 +6426,13 @@ void NV_API_CALL nv_get_screen_info(
      * initialization, and then will be set to a value, such as
      * VIDEO_TYPE_VLFB or VIDEO_TYPE_EFI if an fbdev console is used.
      */
-    if (screen_info.orig_video_isVGA > 1)
+    if (si->orig_video_isVGA > 1)
     {
-        NvU64 physAddr = screen_info.lfb_base;
+        NvU64 physAddr = si->lfb_base;
 #if defined(VIDEO_CAPABILITY_64BIT_BASE)
-        if  (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE)
+        if  (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE)
         {
-            physAddr |= (NvU64)screen_info.ext_lfb_base << 32;
+            physAddr |= (NvU64)si->ext_lfb_base << 32;
         }
 #endif
         /*
@@ -6436,10 +6444,10 @@ void NV_API_CALL nv_get_screen_info(
             NV_IS_CONSOLE_MAPPED(nv, physAddr))
         {
             *pPhysicalAddress = physAddr;
-            *pFbWidth = screen_info.lfb_width;
-            *pFbHeight = screen_info.lfb_height;
-            *pFbDepth = screen_info.lfb_depth;
-            *pFbPitch = screen_info.lfb_linelength;
+            *pFbWidth = si->lfb_width;
+            *pFbHeight = si->lfb_height;
+            *pFbDepth = si->lfb_depth;
+            *pFbPitch = si->lfb_linelength;
             *pFbSize = (NvU64)(*pFbHeight) * (NvU64)(*pFbPitch);
             return;
         }

++++++ open-gpu-kernel-modules-595.71.05.tar.gz -> 
open-gpu-kernel-modules-595.80.tar.gz ++++++
/work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed/open-gpu-kernel-modules-595.71.05.tar.gz
 
/work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1937/open-gpu-kernel-modules-595.80.tar.gz
 differ: char 12, line 1

++++++ open-gpu-kernel-modules-595.71.05.tar.gz -> 
open-gpu-kernel-modules-610.43.02.tar.gz ++++++
/work/SRC/openSUSE:Factory/nvidia-open-driver-G07-signed/open-gpu-kernel-modules-595.71.05.tar.gz
 
/work/SRC/openSUSE:Factory/.nvidia-open-driver-G07-signed.new.1937/open-gpu-kernel-modules-610.43.02.tar.gz
 differ: char 12, line 1

Reply via email to