On 8/27/24 9:34 PM, Masaru Nomiya wrote:
The solution is not to use TW snapshot with kernel 6.10.
Tha is, kernel 6.10 has a serious problem with nvidia video cards.
That's not really the case, I'm using the G04 drivers right now with TW and the 6.10 kernel: $ uname -r 6.10.5-1-default $ lsmod | grep nvidia nvidia_drm 65536 1 nvidia_modeset 1339392 5 nvidia_drm nvidia 19791872 204 nvidia_modeset ipmi_msghandler 94208 2 ipmi_devintf,nvidia video 73728 1 nvidia with $ rpm -qa | grep nvidia kernel-firmware-nvidia-20240809-1.1.noarch nvidia-computeG04-32bit-390.157-90.1.x86_64 nvidia-computeG04-390.157-90.1.x86_64 nvidia-gfxG04-kmp-default-390.157_k6.10.5_1-106.1.x86_64 nvidia-glG04-32bit-390.157-90.1.x86_64 nvidia-glG04-390.157-90.1.x86_64 x11-video-nvidiaG04-32bit-390.157-90.1.x86_64 x11-video-nvidiaG04-390.157-90.1.x86_64 from the: https://download.opensuse.org/repositories/home:/wkazubski:/G03/ repo (that has G03 and G04 drivers patched for 6.10) I branched and updated the source for G05 in this repo: https://download.opensuse.org/repositories/home:/drankinatty:/branches:/home... The only change to the driver is in the driver kernel/conftest.sh file where tests for unsafe_follow_pfn() were removed and replaced with test for follow_pfn() which simply required changing a corresponding #if defined() in the driver kernel/nvidia/os-mlock.c source. That's all I'm aware of. Those are more "run-of-the-mill" driver patch changes for the G03-G05 (340, 390 and 470) drivers on every kernel minor version update. Actually these changes are sort of mild compared with earlier kernel 6.x changes needed. It's more remarkable that the official NVidia repo for Tumbleweed hasn't been patched for 6.10 given the kernel was release the 2nd week of July. It will get there, it's just taking a while to do it. The kernel 6.10 patch for G03 - G04 can be grabbed from: https://build.opensuse.org/package/show/home%3Awkazubski%3AG03/nvidia-gfxG04 The G05 6.10 patch can be grabbed from: https://build.opensuse.org/package/show/home:drankinatty:branches:home:ligur... It easier just to install the kernel source (kernel-devel) and install the packages from the repos and let dracut trigger the module build. Or you can grab the 6.10 patch for the current rpm (I believe from the github.com/opensuse/ repo) directly. I haven't ever tried the --apply-patch route yet, but I suppose it does the same thing on the fly. -- David C. Rankin, J.D.,P.E.