NVIDIA – Driver 620.70.06 with Kernel 7.4 – Total Confusion, and a Fix?..
I have been researching the somewhat confused situation regarding NVIDIA driver 620.70.06 and Kernel 7.4-rc (now 7.4-rc2), and this was – to say the least – a bit of a muddle..
One one 7.4-rc system the driver installed and ran successfully with no patches (see https://rglinuxtech.com/?p=3527 ), but on another it failed to compile with several errors..
This makes no sense, but I can only conclude that the byzantine NVIDIA conftest series was confused for some reason?
I found an (apparently) AI-generated patch and this installed OK on another system but failed on a third..
I finally found a combination of extracts from several published patches that did work OK on all these systems..
For NVIDIA-Linux-x86_64-620.70.06/kernel/nvidia-drm/nvidia-drm-drv.c + = code to be added..
around line 37:
…………….
#include “nvidia-drm-gem-dma-buf.h”
#include “nvidia-drm-utils.h”
#include “nv_dpy_id.h”
+#include <linux/version.h>
around line 64:
…………….
#if defined(NV_DRM_FBDEV_AVAILABLE)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 4, 0)
+#include <drm/clients/drm_fbdev_helper.h>
+#else
#include <drm/drm_fb_helper.h>
#endif
+#endif
around line 2499:
…………..
#if defined(NV_DRM_FBDEV_AVAILABLE)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(7, 4, 0)
drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 1);
#endif
+#endif
drm_mode_config_reset(dev);
} else {
#if defined(NV_DRM_FBDEV_AVAILABLE)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(7, 4, 0)
drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
#endif
+#endif
Note that this is a hack, and will only be an interim solution, until NVIDIA provide an official update.. Usual warnings apply, and do not use in a production environment!
Robert Gadsdon. November 9th 2026..

Comments
NVIDIA – Driver 620.70.06 with Kernel 7.4 – Total Confusion, and a Fix?.. — No Comments
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>