You are not logged in.

#1 2022-09-06 21:54:57

freeartist
Member
Registered: 2022-09-06
Posts: 69

patch for 5.19 kernel for nvidia 340.108 driver?

Hello!

Will there be a patch for 5.19 kernel for nvidia 340.108 driver?
Will there be at all development patches for new kernels for this driver?

https://aur.archlinux.org/packages/nvidia-340xx

Offline

#2 2022-09-06 22:16:42

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: patch for 5.19 kernel for nvidia 340.108 driver?

https://aur.archlinux.org/packages/nvid … ent-878200
I also just successfully built the package locally.  What issue do you have with the package that requires patching?

Offline

#3 2022-09-07 14:46:46

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: patch for 5.19 kernel for nvidia 340.108 driver?

thanks for reply

i am afraid update arch because i do not see patch for 5.19 kernel in aur for this driver

Offline

#4 2022-09-07 16:11:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: patch for 5.19 kernel for nvidia 340.108 driver?

If it failed to build you would see that in the pacman output and could roll back the kernel/kernel-headers from the pacman cache. Or just look at the comments on the page, people will likely complain if things don't work, which they appear to do. There's not much point in making a patch if none of the interfaces that already got patched didn't see any adjustment for the new kernel.

Last edited by V1del (2022-09-07 16:12:07)

Offline

#5 2022-09-07 21:20:39

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: patch for 5.19 kernel for nvidia 340.108 driver?

Thanks. So, Arch updated? What with driver?
https://pastebin.com/raw/kj01FMPV

Offline

#6 2022-09-07 21:39:33

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: patch for 5.19 kernel for nvidia 340.108 driver?

==> dkms install --no-depmod nvidia/340.108 -k 5.19.7-arch1-1
Error! Bad return status for module build on kernel: 5.19.7-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/340.108 -k 5.19.7-arch1-1' exited 10
==> dkms install --no-depmod nvidia/340.108 -k 5.15.65-1-lts
Error! Bad return status for module build on kernel: 5.15.65-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/340.108 -k 5.15.65-1-lts' exited 10

So DKMS is failing to build nvidia-340xx-dkms for both 5.15 and 5.19.  What is in the referenced make.log for one of the failures?  What version of nvidia-340xx-dkms is installed on the system?
Edit:
Also what version of pahole?

Last edited by loqs (2022-09-07 21:43:44)

Offline

#7 2022-09-07 22:17:39

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: patch for 5.19 kernel for nvidia 340.108 driver?

loqs wrote:

So DKMS is failing to build nvidia-340xx-dkms for both 5.15 and 5.19.  What is in the referenced make.log for one of the failures?  What version of nvidia-340xx-dkms is installed on the system?
Edit:
Also what version of pahole?

/nvidia-340xx-dkms-340.108-30 
/pahole-1:1.23-1

All ok, 340.108 patch 5.18 works on 5.19 kernel. After update Arch i always do manually uninstall and then install nvidia driver

yay -R nvidia-340xx-dkmsyay -R nvidia-340xx-dkms
yay -S nvidia-340xx-dkms
[deepforest@home ~]$ grep "X Driver" /var/log/Xorg.0.log
[    30.444] (II) NVIDIA dlloader X Driver  340.108  Wed Dec 11 14:06:00 PST 2019
[deepforest@home ~]$ uname -r
5.19.7-arch1-1
[deepforest@home ~]$ 

last make.log nvidia
https://file.io/cOrNLP5sXCjj

and why driver always do not install automatically through DKMS?

Last edited by freeartist (2022-09-07 22:21:37)

Offline

#8 2022-09-07 22:44:14

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: patch for 5.19 kernel for nvidia 340.108 driver?

Offline

#9 2022-09-08 16:04:47

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: patch for 5.19 kernel for nvidia 340.108 driver?

Manually reinstalled driver make.log
https://drive.google.com/file/d/19v4pak … sp=sharing

But why automatically DKMS not working for this driver on Arch and Artix?

Offline

#10 2022-09-08 19:20:05

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: patch for 5.19 kernel for nvidia 340.108 driver?

The make.log is for a successful build?  Can you capture the make.log from a failed build after the kernel is updated to 5.19.8-arch1-1?

Offline

#11 2022-09-08 21:04:39

freeartist
Member
Registered: 2022-09-06
Posts: 69

Re: patch for 5.19 kernel for nvidia 340.108 driver?

Not, its too complex

Last edited by freeartist (2022-09-08 21:06:23)

Offline

Board footer

Powered by FluxBB