The officially official Devuan Forum!

You are not logged in.

#1 2022-03-17 20:00:32

deepforest
Member
Registered: 2020-03-24
Posts: 307  

[SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Hello. I have gf9800gtx(G92) and now use nouveau driver. I know its old junk)
But want to know can i install nvidia-legacy-340xx driver on Devuan chimaera?

Debian 11 is dropped this proprietary nvidia-legacy-340xx but its still available at Debian sid repo.
https://packages.debian.org/ru/source/s … gacy-340xx

Is there any chances to install nvidia-legacy-340xx friver on Devuan chimaera?

Offline

#2 2022-03-17 20:47:56

rolfie
Member
Registered: 2017-11-25
Posts: 1,044  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Search the forum, I think there is one or the other thread about this topic.

Offline

#3 2022-03-17 22:32:19

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Hello:

rolfie wrote:

Search the forum ...

Indeed ...
Most of the time it is the best way to get help.  ;^D

That said, check here and the links listed:

https://dev1galaxy.org/viewtopic.php?pid=33932#p33932

Best,

A.

Offline

#4 2022-03-18 12:32:05

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

rolfie Altoid
thanks for help! But i am talking is it worth trying to install nvidia-legacy-340xx if Debian 11 officially drop it?

Offline

#5 2022-03-18 13:56:19

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Hello:

deepforest wrote:

thanks for help!

You're welcome.

deepforest wrote:

... is it worth trying to install nvidia-legacy-340xx ...

The 340XX drivers were not dropped by Debian / Devuan.
It was Nvidia that dropped support for graphic cards working only with the 340XX driver.

The 340XX drivers are propiertary/closed source and Debian cannot supply a 340XX package because Nvidia will not update them for newer kernels.

True to their A1-asshole mentality, they will not release the code for the hardware to be used in newer kernels.
That said, it seems that it may be possible to run them on Debian Bullseye/Devuan Chimaera:

https://forums.debian.net/viewtopic.php … 73#p742573

I have not attempted to do it, no idea if it works without problems.

See here: https://forums.debian.net/viewtopic.php … 77#p745277
It is a patched proprietary driver "nvidia-legacy-340xx-driver_340.108-11" from "Debian Sid" repository.

If you try and succeed, please let us know how you did it and what results you got.

And yes, Nouevau does not seem to be up to scratch.

A few years ago (when XP was mothballed) and decided my definitive move to Linux, I was met with the fact that there were no drivers for my excellent Matrox G550 PCI cards as there were no available drivers for Linux, another proprietary fuck-up.

Between a rock and a hard place, I decided to invest in a whole new setup which is the one I have been using since, with a few HW upgrades.
A Sun Ultra 24 WS running 2xNVidia FX580 for three 19" monitors using the NVidia 340XX proprietary drivers, works perfect and do not need anything more.

If I can upgrade to Devuan Chimaera using these cards, fine.
And if Chimarea is the last kernel I can use with them, I'll probably stay there using a backported kernel for as long as I can.

Of course, YMMV.

Best,

A.

Last edited by Altoid (2022-03-18 14:01:41)

Offline

#6 2022-03-18 17:47:09

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Altoid
Thanks for great explanations man! You awesome!

If you try and succeed, please let us know how you did it and what results you got.

Ok. I am try and report here about result.

The 340XX drivers are propiertary/closed source and Debian cannot supply a 340XX package because Nvidia will not update them for newer kernels.

Arch AUR community patched this drivers for new kernels and its still works.

Offline

#7 2022-03-18 17:56:12

Altoid
Member
Registered: 2017-05-07
Posts: 1,415  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Hello:

deepforest wrote:

Thanks ...

You're welcome.

deepforest wrote:

... try and report here ...

Please do.
A step by step description and a printout of the terminal as the job progresses would be ideal.

eg: like I did here: https://dev1galaxy.org/viewtopic.php?pid=24694#p24694

deepforest wrote:

Arch AUR community patched this drivers for new kernels ...

Please post the link.
Maybe the Devuan team may be able to do something with that. (?)

Best,

A.

Offline

#8 2022-03-18 19:15:13

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

A step by step description and a printout of the terminal as the job progresses would be ideal.

I follow this instructions and broke my Devuan((
https://forums.debian.net/viewtopic.php … 77#p745277

Please post the link.

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

Last edited by deepforest (2022-03-18 19:17:18)

Offline

#9 2022-03-19 07:06:39

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 582  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

deepforest wrote:

A step by step description and a printout of the terminal as the job progresses would be ideal.

I follow this instructions and broke my Devuan((
https://forums.debian.net/viewtopic.php … 77#p745277

Please post the link.

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

Hi, What was the out-come of the "broken" nvidia-340xx install?

I have some experience... Maybe I can help. :-)


pic from 1993, new guitar day.

Offline

#10 2022-03-19 14:57:49

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

GlennW wrote:

Hi, What was the out-come of the "broken" nvidia-340xx install?

I have some experience... Maybe I can help. :-)

Hi) Thanks!

340 nvidia driver have no in Devuan repo

root@devuan:/home/freeartist# apt install nvidia-legacy-340xx-kernel-dkms --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nvidia-legacy-340xx-kernel-dkms
root@devuan:/home/freeartist# apt install nvidia-legacy-340xx-driver --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nvidia-legacy-340xx-driver
root@devuan:/home/freeartist# 

340 nvidia driver available only in sid repo of Debian 11. If i link Debian 11 sid repo to Devuan what happened?

Also was tried this trick. But i have stuck at installing nvidia-modprobe it need libc6 that broke locales and etc.
https://forums.debian.net/viewtopic.php … 77#p745277

Offline

#11 2022-03-19 15:19:53

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

No need to add Debian repo.  Devuan already has it!

Debian sid = Devuan ceres

Offline

#12 2022-03-19 19:58:06

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

golinux wrote:

No need to add Debian repo.  Devuan already has it!

Debian sid = Devuan ceres

Thanks. But if i add Ceres repo to my Chimaera, update and install nvidia 340 driver, my OS is turn into Ceres?

Offline

#13 2022-03-19 20:10:14

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

You can download and install just what you need.
pkginfo.devuan.org is a very useful tool.

Offline

#14 2022-03-19 21:39:23

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

golinux wrote:

You can download and install just what you need.
pkginfo.devuan.org is a very useful tool.

And how its can help?

Results for package pattern: nvidia-legacy-340xx*
nvidia-legacy-340xx-alternative
340.108-13
http://deb.devuan.org/merged
ceres/non-free
amd64

driver from sid and i use stable

I already tried this trick, but stuck at nvidia-modprobe it broke libc6 and locale
https://forums.debian.net/viewtopic.php … 21#p746211
https://forums.debian.net/viewtopic.php … 35#p752135

Last edited by deepforest (2022-03-19 21:40:47)

Offline

#15 2022-03-19 21:50:34

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

deepforest wrote:

And how its can help?

You can find stuff.

. . . driver from sid and i use stable

You might be able to backport it to stable.  Don't ask me how.  That's beyond my skill-set.

Offline

#16 2022-03-20 13:58:10

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

i did successfully upgrade distro to ceres sid. And install legacy nvidia driver 340-108-13 It work correctly. BUT i have some warnings due boot and install process.

At end of install i have this message

Errors were encountered while processing:
 nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)

And at boot log i have this

[    1.584181] udevd[117]: Error running install command 'modprobe -i nvidia-legacy-340xx ' for module nvidia: retcode 1

What mean this messages?

Offline

#17 2022-03-20 15:39:27

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 185  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Errors were encountered while processing:
nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)

I will assume that you did not install the nvidia drivers with the "--no-install-recommends" part.  If not, then it will install the nvidia-persistenced package.  I seem to recall seeing this error before and the easy fix is to uninstall the package "nvidia-persistenced".

As for the other error message, I don't know about that.

Offline

#18 2022-03-20 17:58:43

Marjorie
Member
From: Teignmouth, UK
Registered: 2019-06-09
Posts: 219  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

You only need nvidia-persistenced if you are running CUDA.

Offline

#19 2022-03-21 16:22:24

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

nixer wrote:

Errors were encountered while processing:
nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)

I will assume that you did not install the nvidia drivers with the "--no-install-recommends" part.  If not, then it will install the nvidia-persistenced package.
As for the other error message, I don't know about that.

Yes with "--no-install-recommends" i have no error due installation, thanks!

And what this mean? After install nvidia driver i have this files

/etc/nvidia/legacy-340xx/nvidia-modprobe.conf                                                                                                                       665/665               100%

install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-uvm nvidia

alias char-major-195* nvidia

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias   pci:v000010DEd00000E00sv*sd*bc04sc80i00*        nvidia
alias   pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*        nvidia
alias   pci:v000010DEd*sv*sd*bc03sc02i00*               nvidia
alias   pci:v000010DEd*sv*sd*bc03sc00i00*               nvidia

and this error during booting

[    1.584181] udevd[117]: Error running install command 'modprobe -i nvidia-legacy-340xx ' for module nvidia: retcode 1

Last edited by deepforest (2022-03-21 16:26:51)

Offline

#20 2022-03-23 21:03:15

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

after removed nvidia.conf and "update-initramfs -u"  from

etc/modules-load.d
etc/modprobe.d-remove

error

[    1.584181] udevd[117]: Error running install command 'modprobe -i nvidia-legacy-340xx ' for module nvidia: retcode 1

gone

Last edited by deepforest (2022-03-23 23:13:28)

Offline

#21 2022-03-23 23:12:24

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Marjorie wrote:

You only need nvidia-persistenced if you are running CUDA.

nixer wrote:

I seem to recall seeing this error before and the easy fix is to uninstall the package "nvidia-persistenced".

And why i have error during full install driver

Errors were encountered while processing:
 nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)

And have no error if i install nvidia-persistenced standalone?

freeartist@devuan:~$ dpkg -s nvidia-persistenced 
Package: nvidia-persistenced
Status: install ok installed
Priority: optional
Section: contrib/utils
Installed-Size: 91
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Architecture: amd64
Multi-Arch: foreign
Version: 470.103.01-2
Depends: libnvidia-cfg1 | libnvidia-tesla-510-cfg1 | libnvidia-tesla-470-cfg1 | libnvidia-tesla-450-cfg1 | libnvidia-tesla-418-cfg1 | libnvidia-legacy-390xx-cfg1 | libnvidia-legacy-340xx-cfg1 | libnvidia-cfg.so.1 | libnvidia-cfg1-any, adduser, libc6 (>= 2.33), libtirpc3 (>= 1.0.2)
Pre-Depends: init-system-helpers (>= 1.54~)
Conffiles:
 /etc/init.d/nvidia-persistenced f24407fda40433544aaf2a2b930fcdbf
Description: daemon to maintain persistent software state in the NVIDIA driver
 When persistence mode is enabled, the daemon prevents the driver from
 releasing device state when the device is not in use.
 This can improve the startup time of new clients in this scenario.
Homepage: https://github.com/NVIDIA/nvidia-persistenced
freeartist@devuan:~$

Last edited by deepforest (2022-03-23 23:12:46)

Offline

#22 2022-03-24 14:59:54

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

So. My solution.

1. Install or upgrade to Devuan sid
2. go to recovery mode and install just

apt install linux-headers-$(uname -r) build-essential
apt install nvidia-legacy-340xx-kernel-dkms

3. after removed nvidia.conf and "update-initramfs -u"  from

etc/modules-load.d
etc/modprobe.d

All works like a charm! Enjoy of Freedom! Glory and Long live to Devuan team!

Last edited by deepforest (2022-04-01 19:42:12)

Offline

#23 2022-04-15 17:53:34

recklessswing
Member
From: Türkiye
Registered: 2020-12-18
Posts: 85  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

Altoid wrote:

Hello:

deepforest wrote:

thanks for help!

You're welcome.

deepforest wrote:

... is it worth trying to install nvidia-legacy-340xx ...

The 340XX drivers are propiertary/closed source and Debian cannot supply a 340XX package because Nvidia will not update them for newer kernels.

True to their A1-asshole mentality, they will not release the code for the hardware to be used in newer kernels.

What about old amd cards? How do they work then? Like for example, hd 6850. I still use it with 5.10 kernel. I don't think amd still release something for them. Just curious. I also got some x1950, a prehistoric card.

Offline

#24 2022-05-03 15:34:58

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

deepforest wrote:

So. My solution.

1. Install or upgrade to Devuan sid
2. go to recovery mode and install just

apt install linux-headers-$(uname -r) build-essential
apt install nvidia-legacy-340xx-kernel-dkms

3. after removed nvidia.conf and "update-initramfs -u"  from

etc/modules-load.d
etc/modprobe.d

All works like a charm! Enjoy of Freedom! Glory and Long live to Devuan team!

SO its no solved yet

Now i have this errors

Fri Mar 18 21:55:14 2022: modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.10.0-12-amd64
Sun Mar 20 02:16:29 2022: modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.16.0-5-amd64
Mon May  2 20:15:20 2022: modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.17.0-1-amd64

What this files do?

/etc/modprobe.d/nvidia.conf                                                                                                                                         716/716               100%
install nvidia modprobe -i nvidia-legacy-340xx $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-legacy-340xx-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-uvm nvidia

alias char-major-195* nvidia

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias   pci:v000010DEd00000E00sv*sd*bc04sc80i00*        nvidia
alias   pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*        nvidia
alias   pci:v000010DEd*sv*sd*bc03sc02i00*               nvidia
alias   pci:v000010DEd*sv*sd*bc03sc00i00*               nvidia

Offline

#25 2022-05-03 16:43:00

deepforest
Member
Registered: 2020-03-24
Posts: 307  

Re: [SOLVED] any chances to install nvidia-legacy-340xx on Devuan chimaera?

SO PROBLEM NOT SOLVED, i have same issue
https://dev1galaxy.org/viewtopic.php?id=2259

Offline

Board footer