Nvidia 340.108 for kernels 5.5 and 5.6?

Asked by ppp

Hi developers,

thanks for your great work on porting legacy drivers to Ubuntu.

Anyway I have to complain in not seeing Nvidia 340.108 driver for
kernels 5.5 and 5.6 yet, leaving users stuck on kernel 5.4 because Nvidia 340.108 fails to install with kernels 5.5 and 5.6.

Archlinux already has a driver for Kernel 5.6 via AUR
(https://aur.archlinux.org/packages/nvidia-340xx/) and Debian SID has
one for kernel 5.5.

So, the question is: when will we see a new version in repositories?

Bye and have a nice day.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nvidia-graphics-drivers-340 Edit question
Assignee:
No assignee Edit question
Solved by:
ppp
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. If it's in Debian it'll flow downstream to Ubuntu in time.

Revision history for this message
ppp (pigeonskiller) said :
#2
Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Ubuntu currently does not have a 5.5 version of the kernels in any of its releases.
So why would it currently need a 5.5-capable version of nvidia drivers?
I assume that Ubuntu's 20.10 release will get it as soon as 5.5 (or higher) kernel versions will be provided.

Revision history for this message
ppp (pigeonskiller) said :
#4

@Manfred Hampl (m-hampl)

Hi, what you're saying is not totally correct.

You said "Ubuntu currently does not have a 5.5 version of the kernels in any of its releases."

We know that recent kernels 5.5 or 5.6 are not default kernels in recent or near-future Ubuntu distros, but they exist and are considered stable even if not adopted yet. Look at here: https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

I have used them since the end of January and I have to say they are very stable in four systems of mine.

Then you said "So why would it currently need a 5.5-capable version of nvidia drivers?"
I answer you with another question: why then would Nvidia waste time and resources to develop drivers for new kernels? Look at here: https://www.nvidia.com/Download/driverResults.aspx/159360/en-us

Ubuntu (and its derivatives) is easier and more widespread than other distros but locked to the last LTS kernel. But out there are rolling-releases such as Archlinux or Opensuse Tumbleweed that use more recent kernels and that's why graphic-card producers update their drivers: that's called progress!

Bye.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

I was talking about OFFICIAL Ubuntu releases and repositories.
If you volunteer to install a kernel that is not yet adapted to Ubuntu, then you have to expect that you may have to also use foreign packages from repositories outside Ubuntu, or may have to adapt them yourself (e.g. by applying patches from archlinux yourself).

Revision history for this message
ppp (pigeonskiller) said :
#6

Sorry Manfred, you're saying something I already know and practically telling me to arrange by myself. That's not a solution for a user asking a sort of help so I suppose you're not an Ubuntu developer.
Anyway kernels at https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D are OFFICIAL kernels developed by Ubuntu Kernel Team and my question is still there: why developers are not updating legacy drivers for new kernels?

Revision history for this message
Bashing-om (bashing-om) said :
#7

 ppp; Well -

Nvidia has dropped support for this series:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142/~/support-timeframes-for-unix-legacy-gpu-releases

However , the Ubuntu “Graphics Drivers” team continues to work with the 340 series driver.
See: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
See if the 340.108-0ubuntu1 (Newer version available) >> nvidia-graphics-drivers-340 (340.108-0ubuntu2) focal; urgency=medium works for you.

-Maybe Yes-

Revision history for this message
ppp (pigeonskiller) said :
#8

@Bashing-om (bashing-om)

Hi, I know Nvidia dropped support for old legacy card.

Already tried: drivers at https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa are Nvidia stock drivers till kernel 5.4. Archlinux and Opensuse are doing better patching their drivers to work with newer kernel. This mean that patches are ALREADY done and may be found here https://aur.archlinux.org/packages/nvidia-340xx/ IF Ubuntu developers WANT it.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

Just be patient.
As already written above, 5.5 and 5.6 kernels will be part of an Ubuntu release only later this year (probably next month). I am sure that the developers will work on that as soon as needed.

Revision history for this message
ppp (pigeonskiller) said :
#10

For those searching updated drivers, read this post:

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1872950/comments/1

Many many thanks to Butterfly (kelebek333).

Finally a capable and willing developer who has made drivers missing for some time.

I am testing them with the fast xanmod kernel 5.6.4 and at the moment they seem to be working flawlessly,so I suppose they work with official kernels too.

I think a not so small of Ubuntu community that still has a legacy card should be grateful for your work.

Thanks again and have a nice day.