The officially official Devuan Forum!

You are not logged in.

#26 2022-05-04 02:39:03

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

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

have you installed "nvidia-legacy-340xx-driver" package?

Then use dkms to build the module


pic from 1993, new guitar day.

Offline

#27 2022-05-18 03:55:43

Len E.
Member
Registered: 2022-05-12
Posts: 7  

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

Hi deepforest:

From the latest entries on this post, it's not
clear whether you've found a satisfactory solution or not.

I have an idea on how to do the installation, but I won't
burden you with the details unless you're still looking for a fix.

Please advise.
Len E.

Offline

#28 2022-05-18 11:17:01

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

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

Hello:

@deepforest:

Len E. wrote:

... it's not clear whether you've found a satisfactory solution or not.

Yes, same here.

Thanks to HevyDevy* I managed to set up the legacy 340xx drivers on beowulf and posted the terminal printout of the process.
It works with beowulf but I don't know if it will work with chimaera.

See: https://dev1galaxy.org/viewtopic.php?pid=24694#p24694
Did it work for you?
Did you have to do anything differently?

* it seems that there is a HevyDevy and a hevidevi ...
One and the same maybe?

@Len E.

Len E. wrote:

... have an idea on how to do the installation ...
... won't burden you with the details ...

Please do share your solution with the forum.
Not a burden, many of us are in the same leaky Nvidia boat so all data is useful

I for one am not expecting much from nouveau and won't touch wayland.
Nvidia has recently released some source code but they did not include the source files to the 340XX blob.

Those cards are not manufactured any more so I can't see the reason for not releasing the source.
But Nvidia is Nvidia ... 8^|

I refuse to ditch a pair of perfectly working and quite suitable FX-580 Quadro cards for the lack of decent Linux drivers.
I already went through that a few years ago with a pair of Matrox G450s so if needed I'll just stay on beowulf.

A step-by-step terminal printout of the installation process like the one I posted would be of great help.

Thanks in advance.

Best,

A.

Last edited by Altoid (2022-05-18 11:18:10)

Offline

#29 2022-05-18 16:58:36

Len E.
Member
Registered: 2022-05-12
Posts: 7  

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

Hi deepforest, Altoid:

The link below is to a post by a Ubuntu specialist, enigma9o7 on how to compile an
nvidia-legacy-304xx driver straight from Nvidia for Ubuntu 18.04.
Before you examine it in detail, please review the following preamble:

-The nvidia-legacy-304xx driver has two major restrictions:
   i)  It will not work on Linux kernels newer than 4.13 without patches.
  (enigma9o7 has provided a patch for kernels 4.14 and 4.15).
  ii)  A lesser know fact is that it will not work for xorg-xserver newer than
   1.19.n
-I have successfully installed the driver on Debian 11, Debian 10, antiX-19 and
MX-19 by downgrading xorg-xserver to 1.19.2 and downgrading the kernel,
except for antiX-19, to 4.9.0-n, and then following enigma9o7's procedure
to the letter.
***********************************************************************
Turning then to the nvidia-legacy-340xx driver:

The Nvidia website description for version 340.107 states that the driver does
work for xorg-xserver-1.20.    Chimaera and Beowulf are both the same in this
regard, so no change should be required.

It is widely documented that the driver does not work on kernels newer than 5.4.
Therefore, a kernel downgrade is required.

I recommend the antiX-21 kernel, 4.19.0-222-antix.1.
It is a relatively fast procedure to download and install the antiX-21 base .iso,
and then run sudo apt-get download linux-headers-4.19.0-222.antix.1
               and sudo ap-get download linux-image-4.19.0-222.antix.1
to obtain the 2 packages necessary for the downgrade.

Once the downgraded kernel is installed,   lock the two packages from synaptic,
and sudo apt-mark hold them from the command line.
***********************************************************************
BEFORE STARTING enigma9o7' s procedure:

-install lshw and inxi, so that the installation results can be checked,
sudo lshw -C video, and sudo inxi  -Gxx
-check which display manager is being used, as the procedure contains a
stop service command for the display manager.

WITHIN THE PROCEDURE
NB -   before invoking the Nvidia installer,  for the XFCE desktop,
           disable the compositor.   (If this isn't done, a blank screen on
           final reboot will result).

-regardless of what error or warning messages might say,  say yes/OK/proceed
to all prompts.
-at the very end, from synaptic, reinstall libvdpau1,  to replace a file that
has likely been deleted during the procedure.

-at the beginning of the procedure, there are two links for downloading the
Nvidia packages.  The digital values within the links shown are 123708
for the 64-bit version of nivida-legacy-304xx, and 123709 for the 32-bit
version.
-FOR nvidia-legacy-340xx, the values are 135161 for 64-bit and 135160
for 32-bit.

Finally, the link:

https://ubuntuforums.org/showthread.php?t=2396263

Good luck !!
Len E.

Offline

#30 2022-05-18 20:51:32

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

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

Hello:

Len E. wrote:

... a post by a Ubuntu specialist, enigma9o7 on how to compile an
nvidia-legacy-304xx driver straight from Nvidia for Ubuntu 18.04.

Thank you.  8^)

Len E. wrote:

... description for version 340.107 states that the driver does
work for xorg-xserver-1.20.

At the moment my box runs beowulf on a backported kernel ...

~$ uname -a
Linux devuan 5.10.0-0.bpo.12-amd64 #1 SMP Debian 5.10.103-1~bpo10+1 (2022-03-08) x86_64 GNU/Linux
~$ 

... and xorg-xserver-1.20:

~$ cat /var/log/Xorg.0.log
[    33.934] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    33.935] Build Operating System: Linux 5.10.0-10-amd64 x86_64 Debian
[    33.935] Current Operating System: Linux devuan 5.10.0-0.bpo.12-amd64 #1 SMP Debian 5.10.103-1~bpo10+1 (2022-03-08) x86_64
--- snip ---

Maybe the issue is just with 5.4 kernels.
ie: 5.4 included.

Len E. wrote:

... driver does not work on kernels newer than 5.4.

I don't think I'm up to using anything other than the official Devuan kernels.

Len E. wrote:

... before invoking the Nvidia installer, for the XFCE desktop, disable the compositor.

Yes.

The XFCE compositor is a PITA, screws up many things.
Has been a problem for quite a while but the devs/maintainers have taken no steps to fix it.
The old let's wait for the new release song and dance while putting the blame on something else.

So I'm slowly but steadily heading towards Openbox as the XFCE 4.16 and it's path to 5.x does not look too bright.

See:
https://forum.xfce.org/viewtopic.php?pid=56141#p56141
https://forum.xfce.org/viewtopic.php?pid=56143#p56143
https://forum.xfce.org/viewtopic.php?pid=56144#p56144

Thank you very much for taking the time to write this up.
I'll just stay with the backported beowulf kernel for the time being.

*************
Edit:

Given that the proposed solution involves downgrading the kernel (ie: to a pre 5.4 kernel) it would seem that it is not a suitable one.
At least, not a suitable answer to the OP's question: install nvidia-legacy-340xx drivers on Devuan chimaera.

This thread has had 2K views, so it's evidently of some interest to many.
ie: not a unique/one off setting.

From where I am seeing it, it should not be marked as solved.
But it's the admins say that counts.

*************

Maybe the Ubuntu people will get the chaps at Debian to do something about this Nvidia problem.
Maybe not, we'll see.

But I'm not giving up my video cards again.

Best,

A.

Last edited by Altoid (2022-05-19 11:21:49)

Offline

#31 2022-09-11 08:32:14

kapqa
Member
Registered: 2019-01-02
Posts: 334  

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

Hello, any news to this thread?

Tried this yesterday/today on Laptop with FX 770m graphics,

but it seems Ceres not offering the desired solution (yet).

My Question: it has been alluded that it could be solved by using a backported kernel from Beowulf, but how to achieve this?

Installing kernel 4.19 + headers for it and just booting from it?
(EDIT: it seems there are no kernel headers for 4.19 on Beowulf Backports available).

Thank you.

Last edited by kapqa (2022-09-11 08:35:00)

Offline

#32 2022-09-12 23:22:04

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

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

They are available... Usually I find them by searching the Version number (using synaptic package manager)

Header files for Linux 5.19.0-1-amd64
Common header files for Linux 5.19.0-1

They may not be backports, I have them installed.


pic from 1993, new guitar day.

Offline

#33 2022-10-15 19:04:53

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

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

all works here on ceres
https://www.if-not-true-then-false.com/ … a-patcher/
5.18 kernel version patched driver is compatible with 5.19 kernel version patched driver

Last edited by deepforest (2022-10-15 19:05:06)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer