On 10/2/24 8:22 PM, -pj via openSUSE Users wrote:
Hi, what I did have done, (for 6.10) series kernel. Was to download the seven individual .rpm files in your repo, located here: > https://download.opensuse.org/repositories/home:/drankinatty:/branches:/home...
I did *not* have gcc nor kernel-devel kernel-default-devel packages installed. There were issues using zypper to install them initially.
Went to /Downloads/nvidia directory, then zypper in -f *.rpm then powercycled the machine. This worked well for the 6.10.5-1-default kernel which I am still using now.
Good deal, Since the other repo updated the G05 package, I disabled my branch of the liguros/ repo - no need to duplicate. You do need gcc AND kernel-devel, kernel-default-devel installed for the driver to build with kms on each kernel update. The closed source (all legacy G03, G04, G05 drivers) build their kernel modules against the kernel source. The kernel source will change with each kernel update. (now granted, if there is nothing that has changed w.r.t. the nvidia driver, the old drivers will work with the new source), but that isn't the way kernel modules are loaded. You have separate module directories for each kernel you install. (look in /usr/lib/modules/). In order for the nvidia drivers to be loaded by the kernel, they need to be built and placed in the updates directory, e.g. /usr/lib/modules/6.11.0-1-default/updates/ Without gcc and the kernel-devel (source) packages installed, your system cannot build the kernel modules and populate the update directory with the required modules, e.g. $ ls -1 /usr/lib/modules/6.11.0-1-default/updates/ nvidia-drm.ko nvidia-modeset.ko nvidia.ko So you need to go ahead and install the require packages if you haven't already -- they should have been required as dependencies of the nvidia driver packages. -- David C. Rankin, J.D.,P.E.