Nvidia G05 driver compile fail, X11 start fail following zypper dup

(377/383) Installing: nvidia-gfxG05-kmp-default-470.256.02_k6.13.6_1-74.3.x86_64 [......
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-uvm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
make: Entering directory '/usr/src/linux-6.14.2-1-obj/x86_64/default'
make[1]: Entering directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
  MODPOST Module.symvers
make[1]: Leaving directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
make: Leaving directory '/usr/src/linux-6.14.2-1-obj/x86_64/default'
/usr/src/kernel-modules/nvidia-470.256.02-default /
make[1]: Entering directory '/usr/src/linux-6.14.2-1'
make[2]: Entering directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (SUSE Linux) 14.2.1 20250220 [revision 9ffecde121af883b60bbe60d00425036bc873048]
  You are using:           cc (SUSE Linux) 14.2.1 20250220 [revision 9ffecde121af883b60bbe60d00425036bc873048]
  SYMLINK nvidia/nv-kernel.o
  SYMLINK nvidia-modeset/nv-modeset-kernel.o


  CC [M]  nvidia-drm/nvidia-drm-crtc.o
nvidia-drm/nvidia-drm-drv.c:885:6: error: ā€˜struct drm_driver’ has no member named ā€˜date’
  885 |     .date                   = "20160202",
      |      ^~~~
nvidia-drm/nvidia-drm-drv.c:885:31: error: initialization of ā€˜unsigned int’ from ā€˜char *’ makes integer from pointer without a cast [-Wint-conversion]
  885 |     .date                   = "20160202",
      |                               ^~~~~~~~~~
nvidia-drm/nvidia-drm-drv.c:885:31: note: (near initialization for ā€˜nv_drm_driver.driver_features’)
nvidia-drm/nvidia-drm-drv.c:885:31: error: initializer element is not computable at load time
nvidia-drm/nvidia-drm-drv.c:885:31: note: (near initialization for ā€˜nv_drm_driver.driver_features’)
make[4]: *** [/usr/src/linux-6.14.2-1/scripts/Makefile.build:208: nvidia-drm/nvidia-drm-drv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
nvidia-drm/nvidia-drm-crtc.c: In function ā€˜plane_req_config_update’:
nvidia-drm/nvidia-drm-crtc.c:89:9: warning: unused variable ā€˜ret’ [-Wunused-variable]
   89 |     int ret = 0;
      |         ^~~
nvidia-drm/nvidia-drm-crtc.c: In function ā€˜nv_drm_plane_atomic_set_property’:
nvidia-drm/nvidia-drm-crtc.c:371:32: warning: unused variable ā€˜nv_drm_plane_state’ [-Wunused-variable]
  371 |     struct nv_drm_plane_state *nv_drm_plane_state =
      |                                ^~~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-6.14.2-1/Makefile:2017: .] Error 2
make[2]: *** [/usr/src/linux-6.14.2-1/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.14.2-1'
make: *** [Makefile:80: modules] Error 2
/
install: cannot stat '/usr/src/kernel-modules/nvidia-470.256.02-default/nvidia*.ko': No such file or directory
/usr/src/kernel-modules/nvidia-470.256.02-default /
rm -f -r conftest
make[1]: Entering directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
make[1]: *** /lib/modules/6.14.1-1-default/build: No such file or directory.  Stop.
make[1]: Leaving directory '/usr/src/kernel-modules/nvidia-470.256.02-default'
make: *** [Makefile:80: clean] Error 2
/
update-alternatives: using /usr/lib/nvidia/alternate-install-present-default to provide /usr/lib/nvidia/alternate-install-present (alternate-install-present) in auto mode
Modprobe blacklist files have been created at /usr/lib/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /usr/lib/modprobe.d/nvidia-*.conf.
*** Reboot your computer and verify that the NVIDIA graphics driver can be loaded. ***
warning: %triggerin(nvidia-gfxG05-kmp-default-470.256.02_k6.13.6_1-74.3.x86_64) scriptlet failed, exit status 1
done]

Removing /usr/lib/modprobe.d/nvidia-default.conf circumvented the issue.

I have the complete zypper dup output if anyone wants it.
Thanks.

sorry for being such a dweeb, I didn’t intend to have such a long ā€œsummaryā€.

Oh, that’s not so bad. First time posting on the forum, learning curve in progress.

1 Like

There is no such file in a default install, but I see a /usr/lib/modprobe.d/50-nvidia-default.conf.rpmsave that was created by a zypper dup on Jan 23.
Was yours an upgrade after a looong time?

And, BTW, welcome to the openSUSE Forums!

Thank you for the welcome. I did a full install from a TW ISO on 2025-04-11. The ISO was probably a few days old at that time. I believe /usr/lib/modprobe.d/nvidia-default.conf was created by zypper dup following the compile errors. I pulled maintenance with zypper dup seveal times following the install. The compile error was the first time zypper dup had performed nvidia compiles since the install.

cat /usr/lib/os-release
NAME=ā€œopenSUSE Tumbleweedā€

VERSION=ā€œ20250409ā€

ID=ā€œopensuse-tumbleweedā€
ID_LIKE=ā€œopensuse suseā€
VERSION_ID=ā€œ20250409ā€
PRETTY_NAME=ā€œopenSUSE Tumbleweedā€

ls -alh /etc/release
lrwxrwxrwx 1 root root 21 Apr 9 19:40 /etc/os-release → …/usr/lib/os-release
[I typed release but the preview window doesn’t show the stars.]

Not clear to me what the current situation is and what help you expect from us.
Snapshot 20250409 had kernel 6.14.1: did the system work after install?
When did you install the nvidia-gfxG05-kmp-default for the first time? Did it work then?
BTW, are you sure that you need the G05 version (legacy, for rather old GPUs) and not the G06 version?
The current snapshot 20250417 included the 6.14.2 kernel, so it triggered a rebuild of the nvidia modules and there you met with the reported error, so yes, that was the first time a zypper dup triggered a module (re)build; what is not clear is whether nvidia modules were already built and installed for the previous 6.14.1 kernel.
And yes, without working nvidia modules it is likely that X11 does not start.

As a new user I am limited to two URLs per post, so I’m splitting my response.

Not clear to me what the current situation is and what help you expect from us.
Snapshot 20250409 had kernel 6.14.1: did the system work after install?

The current situation is that at least one of the nvidia G05 drivers has compile errors which stop X11 from starting until the user intervenes by deleting the driver blacklist item. I first experienced the compile error 2025-04-11 on an old daily driver install that I keep current maintenance-wise. At the compile failure, this old daily driver had been updated to the 20250409 snapshot level.

I didn’t have good diagnostic data at that point, so I did a fresh install using the 20250409 snapshot. This and all subsequent installs were performed by formatting /boot/efi, /, and swap.

During this first 20250409 re-install, I allowed access to online repositories. That install produced the nvidia G05 driver compile error. At that time I still didn’t have a good clean zyplog dup output (yes, a fuller log is available in /var/log/zypp and /var/log/zypper.log but it seemed a bit large to dig thru), so I chose to do another 20250409 snapshot install, this time without enabling online repositories.

For the second 20250409 snapshot re-install, I was ready to collect better diagnostics by using zypper dup | tee /root/zyplog.txt. This second re-install, without online repositories activated, was my daily driver from 2025-04-11 until the 6.14.2 kernel update appeared around the 18th. I regularly ran zypper dup (at least daily, I wanted to narrow down the failing environment as much as possible) without nvidia driver issues until then. On the 18th, the nvidia G05 driver compile failed. Trimmed zypper dup output from this second 20250409 re-install appears on the first post in this thread. Note the repos are only what the 20250409 snapshot decided upon, until the 16th when I added the packman repos. At that point, still no nvidia G05 driver issues. I used

https://en.opensuse.org/SDB:Installing_codecs_from_Packman_repositories

to install the packman repos.

As for what help I expect from you, I am hoping for a resolution to the nvidia G05 compile errors so I can run current drivers. I do note the 20250409 snapshot repos do include

1 | NVIDIA:repo-non-free | repo-non-free | Yes | (r ) Yes | Yes | - | 99 | rpm-md | Index of /opensuse/tumbleweed

This post was flagged as spam. I’m not sure what I can do to avoid mentioning openSUSE website except delete the URLs, which seems kind of pointless.

Aside from performing the packman repos addition, no other repos were added by me. So to me, this issue is with the openSUSE nvidia G05 drivers rather than the proprietary nvidia drivers. But perhaps I’m wrong, in which case maybe I should pursue the issue with Nvidia?

When did you install the nvidia-gfxG05-kmp-default for the first time? Did it work then?

I took no explicit action to install nvidia-gfxG05-kmp-default. More than likely it came with the 20250409 snapshot. If you like, I can do another 20250409 snapshot install and verify this. The 20250409 snapshot, plus zypper dup maintenance, ran until the 18th.

BTW, are you sure that you need the G05 version (legacy, for rather old GPUs) and not the G06 version?

Yes, the G05 drivers are what is needed. My video card is an old nvidia GEFORCE GT 710 (fan version), running on an old AMD AM3+ PCIe 2.x motherboard. At some point in the past, I researched whether this was indeed the correct driver by looking into

https://en.opensuse.org/SDB:Configuring_graphics_cards
and
https://en.opensuse.org/SDB:NVIDIA_drivers#Determination_of_driver_version

The 20250409 snapshot install picked the nvidia G05 driver during installation. This same driver level was what I ran on prior openSUSE installs (my old daily driver) and worked pretty well.

The current snapshot 20250417 included the 6.14.2 kernel, so it triggered a rebuild of the nvidia modules and there you met with the reported error, so yes, that was the first time a zypper dup triggered a module (re)build; what is not clear is whether nvidia modules were already built and installed for the previous 6.14.1 kernel.
And yes, without working nvidia modules it is likely that X11 does not start.

Since I have done several zypper dups since the base 20250409 install, I can’t say for certain about the nvidia modules prior to the 6.14.2 kernel updates. If you wish, I can do another 20250409 install and let you know.

Thank you for your kind support and helpful questions. I appreciate it. I am sorry to be so long-winded, but I’m trying to provide clean diagnostics and be clear about how they were gathered.

Post

zypper lr -d

OK, no need to reinstall, but you should still have the 6.14.1 kernel in the system and booting to that may show if it is using nvidia or nouveau or modesetting… at the GRUB menu screen go to ā€œAdvanced options for Tumbleweedā€ and scroll down to see the 6.14.1 kernel.
With either kernel running, showing the output from:

inxi -Gaz
sudo lsmod | grep -E "nvidia|nouveau"
zypper se -si nvidia

might help us understand if something is wrong with your setup.

I’m having trouble posting the repos list with URLs, even when I remove http and https and the ://. It’ll take me a bit to figure out how to provide the data you want.

Use ā€œPreformatted text </>ā€ button.

I’m still running the 6.14.1 kernel.

inxi -Gaz
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI
    driver: nouveau v: kernel non-free: series: 470.xx+
    status: legacy-active (EOL~2024-09-xx) arch: Fermi-2 code: GF119/GK208
    process: TSMC 28nm built: 2010-2016 pcie: gen: 2 speed: 5 GT/s lanes: 8
    ports: active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0
    chip-ID: 10de:128b class-ID: 0300 temp: 40.0 C
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev,nouveau,nv,nvidia dri: nouveau gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Asus VW246 serial: <filter>
    built: 2011 res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 92 gamma: 1.2
    size: 531x299mm (20.91x11.77") diag: 609mm (24") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.0.3 glx-v: 1.4
    direct-render: yes renderer: NV106 device-ID: 10de:128b memory: 1.94 GiB
    unified: no
  API: Vulkan v: 1.4.309 layers: 1 device: 0 type: cpu name: llvmpipe (LLVM
    20.1.2 256 bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
# lsmod | grep -E "nvidia|nouveau"
nouveau              3649536  27
drm_ttm_helper         16384  1 nouveau
ttm                   114688  2 drm_ttm_helper,nouveau
video                  81920  1 nouveau
gpu_sched              69632  1 nouveau
i2c_algo_bit           20480  1 nouveau
drm_gpuvm              49152  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
mxm_wmi                12288  1 nouveau
drm_display_helper    282624  1 nouveau
wmi                    32768  3 video,mxm_wmi,nouveau
button                 24576  1 nouveau
# zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                          | Type    | Version              | Arch   | Repository
---+-------------------------------+---------+----------------------+--------+-----------
i  | kernel-firmware-nvidia        | package | 20250206-2.1         | noarch | repo-oss
i+ | openSUSE-repos-MicroOS-NVIDIA | package | 20250324.7d1bc96-1.1 | x86_64 | repo-oss
#

Thanks for the preformatted text tip.

#  | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                                 | Service
---+----------------------------------+----------------------------------------+---------+-----------+---------+------+----------+--------+-------------------------------------------------------------------------------------+---------
 1 | NVIDIA:repo-non-free             | repo-non-free                          | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed                                     | NVIDIA
 2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                               | 
 3 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                   | 
 4 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                     | 
 5 | openSUSE-20250409-0              | openSUSE-20250409-0                    | No      | ----      | ----    | -    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Glide_03003017092323192519-0:0-part2 | 
 6 | openSUSE:repo-non-oss            | repo-non-oss                           | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/non-oss                                     | openSUSE
 7 | openSUSE:repo-openh264           | repo-openh264                          | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                             | openSUSE
 8 | openSUSE:repo-oss                | repo-oss                               | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed/repo/oss                                         | openSUSE
 9 | openSUSE:repo-oss-debug          | repo-oss-debug                         | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed/repo/oss                                   | openSUSE
10 | openSUSE:repo-oss-source         | repo-oss-source                        | No      | ----      | ----    | -    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed/repo/oss                                  | openSUSE
11 | openSUSE:update-tumbleweed       | update-tumbleweed                      | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed                                           | openSUSE
12 | packman                          | packman                                | Yes     | (r ) Yes  | Yes     | -    |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                | 
13 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/                             | 
14 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                             | 
15 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/                            | 

Wrong package?

Nvidia drivers are not installed.

Could be. I don’t think I have anything MicroOS on my system.

I’m wondering if there are no nvidia drivers due to the compile errors?

IMHO yes.
Try to install Nvidia drivers with command prompt and zypper, such as ā€œzypper install ā€¦ā€

zypper install -l x11-video-nvidiaG05