TW - 6.11 kernel - Nvidia G04 build just fine :)
All, The G03 (340), G04 (390) and G05 (470) Nvidia drivers build without further patching on the 6.11 kernel. Since starting the patch scramble last week, this looked to be the case, but had not tested since Arch has not yet put out the 6.11 kernel in its core repo. (openSUSE TW Beats Arch on 6.11 kernel -- should be the byline) The open-source driver for current cards and GPUs did need some patching and there was an open question whether changes to the fbdev header in the kernel would need a patch for the closed source drivers as well. Nope, all good! $ uname -r 6.11.0-1-default $ lsmod | grep nvidia nvidia_drm 65536 1 nvidia_modeset 1339392 3 nvidia_drm nvidia 19791872 83 nvidia_modeset ipmi_msghandler 94208 2 ipmi_devintf,nvidia video 81920 1 nvidia We haven't has a smooth minor version bump since 6.8 -> 6.9 (and none in memory before that for a long time). Small favors. -- David C. Rankin, J.D.,P.E.
On 09-27-2024 07:45PM, David C. Rankin wrote:
All,
The G03 (340), G04 (390) and G05 (470) Nvidia drivers build without further patching on the 6.11 kernel. Since starting the patch scramble last week, this looked to be the case, but had not tested since Arch has not yet put out the 6.11 kernel in its core repo.
(openSUSE TW Beats Arch on 6.11 kernel -- should be the byline)
The open-source driver for current cards and GPUs did need some patching and there was an open question whether changes to the fbdev header in the kernel would need a patch for the closed source drivers as well.
Nope, all good!
$ uname -r 6.11.0-1-default
$ lsmod | grep nvidia nvidia_drm 65536 1 nvidia_modeset 1339392 3 nvidia_drm nvidia 19791872 83 nvidia_modeset ipmi_msghandler 94208 2 ipmi_devintf,nvidia video 81920 1 nvidia
We haven't has a smooth minor version bump since 6.8 -> 6.9 (and none in memory before that for a long time). Small favors.
I am having problem with kernel 6.11.0-1-default (no gui) with Nvidia G05. I used your packages for the 6.10 series kernel and they have worked until now, with the 6.11 series kernel. I had added the modified Nvidia packages manually not with 'drankinatty' repo. Should I start a new topic for this? -Thanks
On 10/2/24 6:05 PM, -pj via openSUSE Users wrote:
I am having problem with kernel 6.11.0-1-default (no gui) with Nvidia G05. I used your packages for the 6.10 series kernel and they have worked until now, with the 6.11 series kernel. I had added the modified Nvidia packages manually not with 'drankinatty' repo.
Should I start a new topic for this?
Which repository are you using? For G05, I would: Try (packages updated 10/1): https://download.nvidia.com/opensuse/tumbleweed/ or try (packages also updated 10/1): https://download.opensuse.org/repositories/home:/liguros/openSUSE_Tumbleweed... -- David C. Rankin, J.D.,P.E.
On 10-02-2024 06:46PM, David C. Rankin wrote:
On 10/2/24 6:05 PM, -pj via openSUSE Users wrote:
I am having problem with kernel 6.11.0-1-default (no gui) with Nvidia G05. I used your packages for the 6.10 series kernel and they have worked until now, with the 6.11 series kernel. I had added the modified Nvidia packages manually not with 'drankinatty' repo.
Should I start a new topic for this?
Which repository are you using?
For G05, I would:
Try (packages updated 10/1):
https://download.nvidia.com/opensuse/tumbleweed/
or try (packages also updated 10/1):
https://download.opensuse.org/repositories/home:/liguros/openSUSE_Tumbleweed...
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. Reading your response above. I will setup your repository (using one of the two links above) after writing this and let you know how it goes. -Thanks for your help
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.
On 10-02-2024 08:55PM, David C. Rankin wrote:
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.
ok
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. I think you say that nothing has changed with 6.11 series kernel? I don't know what w.r.t means 🫥.
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 I have done so previously (if you are refering to packages gcc, kernel-devel and kernel-default-devel. I did not know of this before working with drankintty nvidia packages.
if you haven't already -- they should have been required as dependencies of the nvidia driver packages.
Progress Report: When I (just previously) enabled repository: > https://download.opensuse.org/repositories/home:/drankinatty:/branches:/home... I then zypper dup in Konsole. Dracut seemed to complete. I powercycled the machine and was left at CLI login prompt in TTY. I powercycled the machine again and selected the 6.10.5-1-default kernel and was still left with CLI login prompt in TTY. I then rolled the machine back. To attempt this again should I reenable the repo, zypper dup and then see what is in /usr/lib/modules/6.11.0-1-default/updates/ ? How best for me to go forward troubleshooting? I am using the G05 series driver here.
How best for me to go forward troubleshooting? I am using the G05 series driver here.
I tried again, was able to download the 7 .rpm files for G05 here: > https://download.nvidia.com/opensuse/tumbleweed/ Then switched into directory containing the files and passed 'zypper in -f *.rpm' . After powercycling the machine, machine is able to now reach graphical target using 6.11.0-1-default kernel. Is this possibly poor security sensibility by going and just downloading the files without a checksum or trusted key? /usr/lib/modules/6.11.0-1-default/updates> ls -lah total 121M drwxr-xr-x. 1 root root 138 Oct 2 23:47 . drwxr-xr-x. 1 root root 712 Oct 2 23:47 .. -rw-r--r--. 1 root root 4.1M Oct 2 23:47 nvidia-drm.ko -rw-r--r--. 1 root root 70M Oct 2 23:47 nvidia.ko -rw-r--r--. 1 root root 3.4M Oct 2 23:47 nvidia-modeset.ko -rw-r--r--. 1 root root 389K Oct 2 23:47 nvidia-peermem.ko -rw-r--r--. 1 root root 44M Oct 2 23:47 nvidia-uvm.ko Some information on machines current setup in susepaste if interested: > inxi -GSaz --vs --za https://paste.opensuse.org/pastes/1bcabeaea601 -Thank you once again and best wish to you.
On 10/3/24 12:21 AM, -pj via openSUSE Users wrote:
How best for me to go forward troubleshooting? I am using the G05 series driver here.
You are becoming quite proficient in knowing where to look for the driver rpms. You will be an expert before long. (practice makes perfect :)
I tried again, was able to download the 7 .rpm files for G05 here: > https://download.nvidia.com/opensuse/tumbleweed/
Then switched into directory containing the files and passed 'zypper in -f *.rpm' . After powercycling the machine, machine is able to now reach graphical target using 6.11.0-1-default kernel. Is this possibly poor security sensibility by going and just downloading the files without a checksum or trusted key?
No, you are fine, there was a time before trusted keys, etc.. The https://download.nvidia.com/opensuse/tumbleweed/ is the official repo, so if you can't trust what you download there -- there isn't much you can trust. (the packages are built by openSUSE and hosted by nvidia)
/usr/lib/modules/6.11.0-1-default/updates> ls -lah total 121M drwxr-xr-x. 1 root root 138 Oct 2 23:47 . drwxr-xr-x. 1 root root 712 Oct 2 23:47 .. -rw-r--r--. 1 root root 4.1M Oct 2 23:47 nvidia-drm.ko -rw-r--r--. 1 root root 70M Oct 2 23:47 nvidia.ko -rw-r--r--. 1 root root 3.4M Oct 2 23:47 nvidia-modeset.ko -rw-r--r--. 1 root root 389K Oct 2 23:47 nvidia-peermem.ko -rw-r--r--. 1 root root 44M Oct 2 23:47 nvidia-uvm.ko
Some information on machines current setup in susepaste if interested: > inxi -GSaz --vs --za
https://paste.opensuse.org/pastes/1bcabeaea601
-Thank you once again and best wish to you.
No, this looks good and I'm really glad you are up and running. The only time you need to change to another repo, like liguros/ or my branch of that repo is when the download.nvidia.com/opensuse/tumbleweed/ repo doesn't keep up with a kernel or other system change (like gcc-14, etc..). I don't know why it took 2 months for download.nvidia.com/opensuse/tumbleweed/ to be updated for the 6.10 kernel (and then rebuilt against gcc-14) -- that was just bizarre and hopefully was a one-off and not the usual to be expected. The good news is things should be pretty stable until the 6.12 kernel is released around the end of the year. There has been a long history of nvidia difficulties in Linux. Just google "Linus and nvidia" (yes, as in Torvalds). However, things are looking better for the future with the open-source effort. That's not to say things are great, it isn't all open-source, but there is much more collaboration than there has been in the past from a driver standpoint. -- David C. Rankin, J.D.,P.E.
Am 28/09/2024 um 02:45 schrieb David C. Rankin:
All,
The G03 (340), G04 (390) and G05 (470) Nvidia drivers build without further patching on the 6.11 kernel. Since starting the patch scramble last week, this looked to be the case, but had not tested since Arch has not yet put out the 6.11 kernel in its core repo.
(openSUSE TW Beats Arch on 6.11 kernel -- should be the byline)
The open-source driver for current cards and GPUs did need some patching and there was an open question whether changes to the fbdev header in the kernel would need a patch for the closed source drivers as well.
Nope, all good!
$ uname -r 6.11.0-1-default
$ lsmod | grep nvidia nvidia_drm 65536 1 nvidia_modeset 1339392 3 nvidia_drm nvidia 19791872 83 nvidia_modeset ipmi_msghandler 94208 2 ipmi_devintf,nvidia video 81920 1 nvidia
We haven't has a smooth minor version bump since 6.8 -> 6.9 (and none in memory before that for a long time). Small favors.
G04 with Tumbleweed 20241005-0 and 6.11.0-1-default all working fine for a nVidia 570. Thanks to all working on this! BR Pete
participants (3)
-
-pj
-
David C. Rankin
-
Peter Maffter