Page 1 of 1

nvidia 340.108 driver

Posted: Sun Feb 19, 2023 1:28 pm
by Procenko
Thanks a lot for make support this driver in MX! :worship:

1. How you do that support here at MX, because this driver officially drops at Bullseye?

2. And one more question. Is this bug fixable?
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1031489
incompatibility nvidia 340.108 driver and Qt versions 5.15.4 - 5.15.8 breaks the work of all Qt software

Re: nvidia 340.108 driver

Posted: Sun Feb 19, 2023 2:14 pm
by dolphin_oracle
Procenko wrote: Sun Feb 19, 2023 1:28 pm Thanks a lot for make support this driver in MX! :worship:

1. How you do that support hare at MX, because this driver officially drops at Bullseye?
we have our own repo and packaged it ourselves.
2. And one more question. Is this bug fixable?
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1031489
incompatibility nvidia 340.108 driver and Qt versions 5.15.4 - 5.15.8 breaks the work of all Qt software
I don't think we've encountered that one.

Re: nvidia 340.108 driver

Posted: Sun Feb 19, 2023 6:36 pm
by Stevo
MX 21 has Qt 5.15.2. 'Nuff said.

Re: nvidia 340.108 driver

Posted: Mon Feb 20, 2023 8:38 am
by Procenko
dolphin_oracle wrote: Sun Feb 19, 2023 2:14 pm I don't think we've encountered that one.
yet not encountered, because
Stevo wrote: Sun Feb 19, 2023 6:36 pm MX 21 has Qt 5.15.2.
and what will be when Qt updated to 5.15.4+ here?

Re: nvidia 340.108 driver

Posted: Mon Feb 20, 2023 11:18 am
by timkb4cq
MX is not a rolling distribution, so MX-21 will not get Qt updated.
We are based on debian stable, so the next version after bookworm becomes stable will most likely have Qt 5.15.8

However I also notice that debian has backported some Qt crash related fixes into their 5.15.8 from upstream, so the problem may be resolved before the bookworm release.

Re: nvidia 340.108 driver

Posted: Mon Feb 20, 2023 6:20 pm
by Procenko
timkb4cq wrote: Mon Feb 20, 2023 11:18 amHowever I also notice that debian has backported some Qt crash related fixes into their 5.15.8 from upstream, so the problem may be resolved before the bookworm release.
Thank you for giving a hope! :)

And where is i can tracking such fixes?

Re: nvidia 340.108 driver

Posted: Mon Feb 20, 2023 6:37 pm
by timkb4cq
https://bugs.debian.org/cgi-bin/pkgrepo ... source-src
For closed bugs select "archived" in misc options near the bottom of the page.
It's kinda dense reading and there are lots of old bugs from versions prior to 5.15.4 so look at the higher numbers first.

Since bookworm won't include nvida-legacy-340.x there won't be bugs referencing it - but that sort of crash will probably be triggered by other software that uses the same calls.
:crossfingers:

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 3:41 am
by Procenko
timkb4cq wrote: Mon Feb 20, 2023 6:37 pm Since bookworm won't include nvida-legacy-340.x there won't be bugs referencing it - but that sort of crash will probably be triggered by other software that uses the same calls.
:crossfingers:
Thanks!

They drop 340.108 at stable but still support it at sid officially, why they ignore such bugs?

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 8:03 am
by timkb4cq
Sid isn't really supported. It's other name is Unstable. It's where most packages start out in debian (some start in experimental before maybe making it to sid). When they work out enough bugs they move to Testing. Not every package makes it.

The debian versions (bullseye, buster, stretch, woody, etc) are named after characters in the Toy Story movies. Sid was the kid who liked to break toys. You use Sid at your own risk.

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 1:34 pm
by Procenko
Ok:) Thanks!
I mean that officially Sid yet have support 340.108 but bullseye not. And i am interesting what chance that Qt 5.15.4 - 5.15.8 and 340.108 driver will fix in future?

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 1:47 pm
by dolphin_oracle
Procenko wrote: Tue Feb 21, 2023 1:34 pm Ok:) Thanks!
I mean that officially Sid yet have support 340.108 but bullseye not. And i am interesting what chance that Qt 5.15.4 - 5.15.8 and 340.108 driver will fix in future?
if the fixes can be done in Qt libraries, you have a chance. If the fixes must be in the 340 nvidia drivers, there is zero chance. Also, its still possible that the 340 drivers won't be supported in the future either, as nvidia dropped support for them long ago.

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 2:15 pm
by Procenko
Thanks. And is there way to determinate that issue at Qt or at driver?

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 2:28 pm
by dolphin_oracle
Procenko wrote: Tue Feb 21, 2023 2:15 pm Thanks. And is there way to determinate that issue at Qt or at driver?
at the moment its moot because there is not 340 drivers available on anything that runs the later Qt versions. maybe when we get further along in mx23 development we will know, but right now everything we have has either 340 drivers OR the later Qt, but not both.

I suppose you could ask somewhere the Qt developers, but I doubt they will care much to try to fix something on abandoned graphics drivers. Ditto for nvidia, they've already abandoned the driver.

Re: nvidia 340.108 driver

Posted: Tue Feb 21, 2023 4:32 pm
by kris777
On LinuxMint I also had a problem with the 340.108 drivers ... but there you could install from ppa
https://launchpad.net/~kelebek333/+arch ... dia-legacy

Re: nvidia 340.108 driver

Posted: Wed Feb 22, 2023 3:30 am
by Procenko
kris777 wrote: Tue Feb 21, 2023 4:32 pm On LinuxMint I also had a problem with the 340.108 drivers ... but there you could install from ppa
https://launchpad.net/~kelebek333/+arch ... dia-legacy
Here problems on new kernels 5.18+
https://bugs.launchpad.net/ubuntu/+sour ... ug/1916640

Here solution but its not simple
https://bugs.launchpad.net/ubuntu/+sour ... omments/28

Re: nvidia 340.108 driver

Posted: Wed Feb 22, 2023 4:16 am
by Procenko
dolphin_oracle wrote: Tue Feb 21, 2023 2:28 pm
Procenko wrote: Tue Feb 21, 2023 2:15 pm Thanks. And is there way to determinate that issue at Qt or at driver?
at the moment its moot because there is not 340 drivers available on anything that runs the later Qt versions. maybe when we get further along in mx23 development we will know, but right now everything we have has either 340 drivers OR the later Qt, but not both.

I suppose you could ask somewhere the Qt developers, but I doubt they will care much to try to fix something on abandoned graphics drivers. Ditto for nvidia, they've already abandoned the driver.
So that is most likely the problem is in Qt and only Qt devs can fix it? And they is most likely don't care about that?

Re: nvidia 340.108 driver

Posted: Wed Feb 22, 2023 6:36 am
by dolphin_oracle
Like I said either Qt or nvidia. And I don’t think either will.

But I’ve been wrong before. It’s possible some patch will also fix the nvidia issue.

Re: nvidia 340.108 driver

Posted: Wed Feb 22, 2023 12:17 pm
by Procenko
dolphin_oracle wrote: Wed Feb 22, 2023 6:36 am It’s possible some patch will also fix the nvidia issue.
May be who make patches for new kernels can make patch for this Qt issue?
Do you know where is i can found teams or community devs that make such patches?
Where is MX devs take patches for 340.108 driver?

I know Arch AUR team make patches for this driver
https://github.com/archlinux-jerry/nvidia-340xx

and Debian Sid devs still make such patches
https://github.com/archlinux-jerry/nvid ... x/issues/2

Re: nvidia 340.108 driver

Posted: Thu Mar 02, 2023 3:07 pm
by Procenko
update bugreport
https://bugs.debian.org/cgi-bin/bugrepo ... 1031489#25
Fedora 37 + 340.108 + Qt 5.15.8 = ALL QT WORKING GOOD
https://i.imgur.com/8Sma9pM.png
So its Debian issue?

Re: nvidia 340.108 driver

Posted: Thu Mar 02, 2023 7:51 pm
by nandi
There is a patched nvidia 340 driver which works with kernel 6.0 from MX linux
You can download it from here:
https://github.com/MeowIce/nvidia-legacy
Its working on my nvidia ion card.

Re: nvidia 340.108 driver

Posted: Thu Mar 02, 2023 11:57 pm
by Procenko
nandi wrote: Thu Mar 02, 2023 7:51 pm There is a patched nvidia 340 driver which works with kernel 6.0 from MX linux
You can download it from here:
https://github.com/MeowIce/nvidia-legacy
Its working on my nvidia ion card.
thanks, but its same as?
https://www.if-not-true-then-false.com/ ... dia-guide/
by yours link its just patch for new kernel or also fixed Qt problem?