home  bbs  files  messages ]

      ZZLI4416             linux.debian.bugs.dist             15094 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 14962 of 15094 on ZZLI4416, Thursday 11-05-25, 1:00  
  From: JEFF KING  
  To: JONAS ANDRADAS  
  Subj: Bug#1119908: nvidia-kernel-dkms: fails b  
 6+deb14- 
 23: 
 11838857769199403258. 
 11838857769199403258. 
 From: peff@peff.net 
  
 On Tue, Nov 04, 2025 at 11:00:37AM +0100, Jonas Andradas wrote: 
  
 > I wanted to confirm that I am also seeing this situation, in which the 
 nvidia 
 > kernel driver, version 550.163.01-3 fails to build (by DKMS) for kernel 6. 
 17.6 
 > (linux-image-6.17.6+deb14-amd64 (as a dependency of linux-image-amd64, 
 version 
 > 6.17.6-1)) 
  
 Me too. The following hacky patch, applied to /usr/src/nvidia-current-550. 
 163.01, 
 was enough to get things compiling and the result seems to work. 
 Probably not the ultimate solution, but a possible workaround for now. 
  
 -Peff 
  
 diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c 
 index 1d64592..7fbf927 100644 
 --- a/nvidia-drm/nvidia-drm-drv.c 
 +++ b/nvidia-drm/nvidia-drm-drv.c 
 @@ -188,6 +188,7 @@ static void nv_drm_output_poll_changed(struct 
 drm_device *dev) 
  static struct drm_framebuffer *nv_drm_framebuffer_create( 
      struct drm_device *dev, 
      struct drm_file *file, 
 +    const struct drm_format_info *info, 
      #if defined(NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG) 
      const struct drm_mode_fb_cmd2 *cmd 
      #else 
 diff --git a/nvidia-drm/nvidia-drm-fb.c b/nvidia-drm/nvidia-drm-fb.c 
 index 1c84201..87b59fb 100644 
 --- a/nvidia-drm/nvidia-drm-fb.c 
 +++ b/nvidia-drm/nvidia-drm-fb.c 
 @@ -259,6 +259,7 @@ struct drm_framebuffer *nv_drm_ 
 internal_framebuffer_create( 
          dev, 
          #endif 
          &nv_fb->base, 
 +        NULL, 
          cmd); 
  
      /* 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 
    

[ list messages | list forums | previous | next | reply ]

search for:

328,104 visits
(c) 1994,  bbs@darkrealms.ca