Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #246075

Re: linux kernel and nvidia - never ending story

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: linux kernel and nvidia - never ending story
Date 2022-03-08 19:50 +0100
Message-ID <DYN4d-pBV-5@gated-at.bofh.it> (permalink)
References <DYqAF-b5v-1@gated-at.bofh.it> <DYuEh-dUi-13@gated-at.bofh.it> <DYEDD-kw8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08.03.2022 14:40, Hans wrote:
> Am Dienstag, 8. März 2022, 00:07:05 CET schrieb Alexander V. Makartsev:
> Yes, I am sure, no other version is working. It is GeForce G210 and GeForce
> G86m, both NEED 340xx.
In that case, I've never actually tried to do it, but since Debian 
support for 340xx version is officially EoL, I think it's ok to install 
officially supported driver¹ from Nvidia.

Or, if you feel adventurous, you can build a backported packages of 
nvidia legacy 340xx driver from buster-backports.
I've always used parts of this guide² and had successfully build 
packages from source³ package and DKMS module was also build 
successfully during package installation.
You can get source package using "dget":
     $ dget 
http://deb.debian.org/debian/pool/non-free/n/nvidia-graphics-drivers-legacy-340xx/nvidia-graphics-drivers-legacy-340xx_340.108-10~bpo10+1.dsc

No code patches were made by me, except changing "changelog" file via 
'dch' and bumping up version numbers.

     $ uname -a
Linux hostname 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) 
x86_64 GNU/Linux

=============8<=============8<=============8<=============8<=============
...
Setting up nvidia-legacy-340xx-kernel-dkms (340.108-10~bpo11+1) ...
Loading new nvidia-legacy-340xx-340.108 DKMS files...
Building for 5.10.0-11-amd64
Building initial module for 5.10.0-11-amd64
Done.

nvidia-legacy-340xx.ko:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/5.10.0-11-amd64/updates/dkms/

nvidia-legacy-340xx-uvm.ko:
Running module version sanity check.
  - Original module
    - No original module exists within this kernel
  - Installation
    - Installing to /lib/modules/5.10.0-11-amd64/updates/dkms/

depmod....

DKMS: install completed.
...
=============8<=============8<=============8<=============8<=============

Here is listing of all build packages for amd64 arch:
=============8<=============8<=============8<=============8<=============
$ ls -1
libegl1-nvidia-legacy-340xx_340.108-10~bpo11+1_amd64.deb
libgl1-nvidia-legacy-340xx-glx_340.108-10~bpo11+1_amd64.deb
libgles1-nvidia-legacy-340xx_340.108-10~bpo11+1_amd64.deb
libgles2-nvidia-legacy-340xx_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-cfg1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-compiler_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-cuda1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-eglcore_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-encode1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-fbc1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-glcore_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-ifr1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-ml1_340.108-10~bpo11+1_amd64.deb
libnvidia-legacy-340xx-nvcuvid1_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-alternative_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-driver_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-driver-bin_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-driver-libs_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-kernel-dkms_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-kernel-source_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-kernel-support_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-opencl-icd_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-smi_340.108-10~bpo11+1_amd64.deb
nvidia-legacy-340xx-vdpau-driver_340.108-10~bpo11+1_amd64.deb
xserver-xorg-video-nvidia-legacy-340xx_340.108-10~bpo11+1_amd64.deb
=============8<=============8<=============8<=============8<=============

Same listing is for i386 arch too.
To build 32-bit packages the process essentially the same, but you 
(AFAIK still) have to do it under 32-bit environment (chroot, lxc/lxd 
container, VM, etc).

I didn't tested this build on actual hardware yet, but it looks 
promising to me.
Good luck.


¹ https://www.nvidia.co.uk/Download/driverResults.aspx/156193/en-uk
² https://wiki.debian.org/SimpleBackportCreation
³ 
https://packages.debian.org/buster-backports/nvidia-legacy-340xx-kernel-dkms

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

linux kernel and nvidia - never ending story Hans <hans.ullrich@loop.de> - 2022-03-07 19:50 +0100
  Re: linux kernel and nvidia - never ending story Christian Britz <cbritz@t-online.de> - 2022-03-07 20:50 +0100
    Re: linux kernel and nvidia - never ending story Hans <hans.ullrich@loop.de> - 2022-03-07 23:20 +0100
      Re: linux kernel and nvidia - never ending story Stefan Monnier <monnier@iro.umontreal.ca> - 2022-03-08 00:30 +0100
        Re: linux kernel and nvidia - never ending story Felix Miata <mrmazda@earthlink.net> - 2022-03-08 03:50 +0100
        Re: linux kernel and nvidia - never ending story Hans <hans.ullrich@loop.de> - 2022-03-08 10:50 +0100
          Re: linux kernel and nvidia - never ending story <tomas@tuxteam.de> - 2022-03-08 11:10 +0100
            Re: linux kernel and nvidia - never ending story Dan Ritter <dsr@randomstring.org> - 2022-03-08 12:50 +0100
              Re: linux kernel and nvidia - never ending story tomas@tuxteam.de - 2022-03-08 13:10 +0100
            Re: linux kernel and nvidia - never ending story duh <fill_in_the_blanks@email.com> - 2022-03-08 20:10 +0100
        Re: linux kernel and nvidia - never ending story Vincent Lefevre <vincent@vinc17.net> - 2022-03-09 11:50 +0100
  Re: linux kernel and nvidia - never ending story "Alexander V. Makartsev" <avbetev@gmail.com> - 2022-03-08 00:10 +0100
    Re: linux kernel and nvidia - never ending story Hans <hans.ullrich@loop.de> - 2022-03-08 10:50 +0100
      Re: linux kernel and nvidia - never ending story "Alexander V. Makartsev" <avbetev@gmail.com> - 2022-03-08 19:50 +0100
  Re: linux kernel and nvidia - never ending story Richmond <richmond@criptext.com> - 2022-03-08 13:40 +0100
    Re: linux kernel and nvidia - never ending story didier gaumet <didier.gaumet@gmail.com> - 2022-03-08 19:00 +0100
      Re: linux kernel and nvidia - never ending story Richmond <richmond@criptext.com> - 2022-03-09 00:10 +0100
        Re: linux kernel and nvidia - never ending story Eric S Fraga <e.fraga@ucl.ac.uk> - 2022-03-09 10:40 +0100

csiph-web