The officially official Devuan Forum!

You are not logged in.

#26 2020-09-17 12:50:34

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Might be because you didnt install the linux-headers first, i dont know but there is definetly something buggy going on due to that nvidia-persistenced i believe.

A few of the steps i did were probably not needed like sudo depmod, update-initramfs and update-grub as i think they get automatically done after module building, must be the irish in me, to be sure to be sure!

Offline

#27 2020-09-17 13:43:48

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Hello:

HevyDevy wrote:

... install the linux-headers first, i dont know ...

I would think that anything that was needed by the installer would have been listed as a dependency.
Or a warning that linux-headers were not installed issued and the installation aborted.

HevyDevy wrote:

... definetly something buggy going on due to that nvidia-persistenced ...

Indeed ...
There was that post last year to which I made reference in this thread.
But it seems no one at Debian took notice.

HevyDevy wrote:

... few of the steps i did were probably not needed ...
... depmod, update-initramfs and update-grub ...

Well ...
And it got me through. ;- )

I worry things such as these ie: a severely broken installation, don't get looked at by maintainers.
I expect to be using the same box with the same perfectly working video cards when I switch to Ceres.

Cheers,

A.

Offline

#28 2020-09-17 14:43:38

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

It does say in the debian wiki guide that this needs to be done as a separate set of commands/instruction, so it might be a case of some incompatibilities having dependencies run for such an operation.  It also non-free so it has to be done via the user at run time i guess.

https://wiki.debian.org/NvidiaGraphicsD … stallation

Offline

#29 2020-09-17 16:11:56

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Hello:

HevyDevy wrote:

... the debian wiki guide that this needs to be done as a separate set of commands/instruction ...

I see ...

But I have not had to do this in any of the other instances where I installed these same legacy-340xx drivers in other Linux distributons.

It did not happen when I moved from Linux Mint to a fresh Devuan Jesse installation either.
So why does it happen now in Beowulf?

The legacy-340xx driver is in the Beowulf distribution just as it was in the Jesse distribution.

Thanks for the heads-up, I'll keep the link in the Devuan bookmarks folder.

Once again, thanks for your help.
I certainly would not have my three screens in Beowulf without it.

Cheers,

A.

Last edited by Altoid (2020-09-17 16:13:19)

Offline

#30 2020-09-17 21:40:35

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Thank you for documenting your steps to install a graphics module.

I remember why I prefer to use the .run from nVidia, because it was simpler to revert back to the manual way I learned to install with Mandriva /Mandrake.

All of those packages... wow!

Thank you


pic from 1993, new guitar day.

Offline

#31 2020-09-17 23:40:01

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Hello:

GlennW wrote:

Thank you for documenting ...

You're welcome ...

But the merit is all HeavyDevy's.
I would not have known where to start.

Cheers,

A.

Offline

#32 2020-09-23 23:58:35

Job
Member
Registered: 2019-03-13
Posts: 62  

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

golinux wrote:

Maybe let sgfxi handle it?

I was just going to suggest that. That is the only tool I use when installing Nvidia. The thing handles everything at once.

Offline

#33 2020-09-24 08:20:56

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Note that the nvidia-xconfig package is now obsolete because the X server in beowulf should automatically detect the proprietary driver. A configuration file should only be needed to specify particular options.

nvidia-xconfig package description wrote:

Creating an xorg.conf is no longer needed for normal setups.

But I would never purchase hardware from those NVIDIA bastards so I'm not speaking from personal experience and anyway the proprietary drivers are not part of the official release so users are pretty much on their own.


Brianna Ghey — Rest In Power

Offline

#34 2020-09-24 15:01:32

blackhole
Member
Registered: 2020-03-16
Posts: 113  

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Head_on_a_Stick wrote:

But I would never purchase hardware from those NVIDIA bastards so I'm not speaking from personal experience and anyway the proprietary drivers are not part of the official release so users are pretty much on their own.

Those particular bastards recently announced that they will acquire ARM: https://www.theguardian.com/business/20 … -40bn-deal

Makes them harder to avoid.

Last edited by blackhole (2020-09-24 15:22:28)

Offline

#35 2020-10-01 12:40:17

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

@HevyDevy i have tried this guide today on Devuan Ascii,

and it was very useful as it finally seemed to install the Nvidia Driver properly on the Fujitsu Worksation Laptop with Nvidia Quadro FX770m Graphics.

I did also "nvidia-xconfig" and the install went fine, however the program then still complained of

14:27:58.934 [I]: CPU: Intel Core2 Duo T9900 [base frequency 2133 MHz, 2 threads]
14:27:58.935 [W]: Video: OpenCL subsystem isn't available, try to reinstall video drivers

therefore i tried to add "OPENCL" with

sudo apt install nvidia-legacy-340xx-opencl-icd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnvidia-cfg1 libnvidia-legacy-340xx-compiler libnvidia-legacy-340xx-cuda1
  nvidia-alternative nvidia-legacy-340xx-smi nvidia-legacy-check
  nvidia-opencl-common nvidia-persistenced ocl-icd-libopencl1
Suggested packages:
  nvidia-cuda-mps nvidia-opencl-icd | nvidia-legacy-390xx-opencl-icd
Recommended packages:
  libnvidia-legacy-340xx-cuda1-i386
The following NEW packages will be installed:
  libnvidia-cfg1 libnvidia-legacy-340xx-compiler libnvidia-legacy-340xx-cuda1
  nvidia-alternative nvidia-legacy-340xx-opencl-icd nvidia-legacy-340xx-smi
  nvidia-legacy-check nvidia-opencl-common nvidia-persistenced
  ocl-icd-libopencl1
0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 55.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 nvidia-legacy-check amd64 390.138-1 [200 kB]
Get:2 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 nvidia-alternative amd64 390.138-1 [196 kB]
Get:3 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 libnvidia-cfg1 amd64 390.138-1 [257 kB]
Get:4 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 libnvidia-legacy-340xx-compiler amd64 340.108-3~deb9u1 [6,294 kB]
Get:5 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 libnvidia-legacy-340xx-cuda1 amd64 340.108-3~deb9u1 [4,421 kB]
Get:6 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 nvidia-opencl-common amd64 390.138-1 [194 kB]
Get:7 [url]http://deb.devuan.org//merged[/url] ascii/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1 [36.8 kB]
Get:8 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 nvidia-legacy-340xx-opencl-icd amd64 340.108-3~deb9u1 [4,460 kB]
Get:9 [url]http://deb.devuan.org//merged[/url] ascii/non-free amd64 nvidia-legacy-340xx-smi amd64 340.108-3~deb9u1 [165 kB]
Get:10 [url]http://deb.devuan.org//merged[/url] ascii/contrib amd64 nvidia-persistenced amd64 390.87-1~deb9u1 [24.5 kB]
Fetched 16.2 MB in 2s (6,663 kB/s)              
Preconfiguring packages ...
Selecting previously unselected package nvidia-legacy-check.
(Reading database ... 135519 files and directories currently installed.)
Preparing to unpack .../nvidia-legacy-check_390.138-1_amd64.deb ...
*** The following unsupported devices are present in the machine:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96GLM [Quadro FX 770M] [10de:065c] (rev a1)
Aborting nvidia driver installation.
dpkg: error processing archive /var/cache/apt/archives/nvidia-legacy-check_390.138-1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-legacy-check_390.138-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

however, now the system would say that the graphics chip is not supported?
it is calling legacy-check for nvidia-390 although there is nvidia-legacy-340xx installed?

Offline

#36 2020-10-01 13:41:08

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Hello:

kapqa wrote:

... very useful as it finally seemed to install the Nvidia Driver properly on the Fujitsu Worksation Laptop with Nvidia Quadro FX770m Graphics.

Indeed ...
As expected.  8^D!

kapqa wrote:
14:27:58.934 [I]: CPU: Intel Core2 Duo T9900 [base frequency 2133 MHz, 2 threads]
14:27:58.935 [W]: Video: OpenCL subsystem isn't available, try to reinstall video drivers

OpenCL subsystem isn't available   <- it would seem that there is no such thing in your laptop.

Does your video card actually support OpenCL?
I think it probably does not.

See this table: https://www.notebookcheck.net/Quadro-FX … 598.0.html

NVIDIA Quadro FX 380M
Features

DirectX Compute Support (Windows 7)
CUDA
OpenCL     <---------------- supports OpenCL
OpenGL 2.1    <---------------- supports OpenGL
certified drivers
Date of Announcement 07.01.2010 = 3921 days old -> 10.74247 years

but ...

NVIDIA Quadro FX 770M
Features
.                    . <---------------- says nothing about OpenCL
OpenGL 2.1    <---------------- supports OpenGL
PowerMizer 8.0
12-Bit subpixel precision
128 Bit graphics pipeline precision

Date of Announcement 14.08.2008 = 4432 days old   -> 12.14247 years

The NVIDIA Quadro FX 380M is a newer card and supports OpenCL but the NVIDIA Quadro FX 770M (~ a year + five months older) apparently does not.

My advise is to remove the OpenCL driver which obviously does not work in your laptop.

Best,

A.

Last edited by Altoid (2020-10-01 21:06:44)

Offline

#37 2022-09-17 09:45:42

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

Re: [Solved] Beowulf - Nvidia legacy 340XX driver will not install.

Hello,

i tried this solution for my laptop, but i dont seem to get "suspend" working; when i close laptop lid, the system wont resume.
https://dev1galaxy.org/viewtopic.php?pid=24694#p24694

before had used "Nvidia-Linux-x86_64-340-xx.run" (on Devuan Jessie an Ascii) and had no major problems, and resume worked fine.
But now , with Beowulf, if i would install Nvidia.run on a fresh install, and then let nvidia-xconfig create config file, after reboot there would be just a black screen. On Chimaera, it would not even install properly (probably due to 5.10 kernel).

do you guys have no problems with suspend and 340-legacy drivers?
on a different partition have installed ubuntu 22.04 and the 333/ppa for nvidia-legacy, and it works, also resume functions, but it is really slow, and would prefer devuan to use, but cant get to work it properly with newer fresh install of devuan beowulf (upgrading from devuan jessie to beowulf seems to work, though)
sorry but i am not very experienced with nvidia  cards and linux in general.

https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy

EDIT: it seems the problems with suspend / lock / resume from suspend occur mainly  on XFCE4

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991788

switching to Cinnamon does not yield these problems, so problem seems "solved" on this laptop with Beowulf;
however, the .run file from Nvidia 340
https://www.nvidia.com/en-us/drivers/unix/

does build correctly on latest 4.19, but would not produce a viable login on my laptop; i am still open to suggestion on how to solve this;
first the installer asks if he should blacklist nouveau (yes), then after reboot install the driver via .run which builds correctly, then asks if nvidia xconfig should produce config file (yes) and after another reboot instead of login screen greeted with blank screen and not even str+alt+1 does function from there.

Last edited by kapqa (2022-09-18 08:28:30)

Offline

Board footer