Hello, In the Message; Subject : Re: nVidia: build error with kernel 6.6.1 Message-ID : <bd0b1359-b400-436c-b809-44b2b9727f75@yahoo.de> Date & Time: Tue, 21 Nov 2023 00:17:54 +0100 [PM] == Peter Maffter via openSUSE Users <users@lists.opensuse.org> has written: PM> If there would be a step by step guidance how to compile the PM> kernel module(s?) of nVidia for 390.xx for Tumbleweed, that would PM> be enough for me. PM> I have the sources on my machine PM> ( /usr/src/kernel-modules/nvidia-390.157-default ), I understand, PM> what the patch does ( https://paste.opensuse.org/pastes/d0b21ec8d3d4 in PM> /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.c PM> ), it is just that my last kernel compilation was somewhere PM> around 1999 afair and I do guess, that this process changed a lot PM> since then for Tumbleweed. PM> With a little guidance I can help myself (at least I think so ;-) ). How about this? 1. cd ~ 2. $ wget https://download.nvidia.com/XFree86/Linux-x86_64/390.157/NVIDIA-Linux-x86_64... 3. $ wget https://paste.opensuse.org/pastes/d0b21ec8d3d4 4. edit the file d0b21ec8d3d4 as follows; --- a/nvidia-drm/nvidia-drm-drv.c +++ b/nvidia-drm/nvidia-drm-drv.c | V --- kernel/nvidia-drm/nvidia-drm-drv.c +++ kernel/nvidia-drm/nvidia-drm-drv.c 5. $ sh ./NVIDIA-Linux-x86_64-390.157.run --apply-patch d0b21ec8d3d4 then you will get the patched driver; NVIDIA-Linux-x86_64-390.157-custom.run That's all. Best Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No....., with money."