Wednesday, 19 August 2020

NVIDIA configuration for KNOPPIX 8.6


root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix# nvidia-detect
Detected NVIDIA GPUs:
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)

Checking card:  NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Your card is supported by all driver versions.
It is recommended to install the
    nvidia-driver
package.
root@Microknoppix:/home/knoppix#
root@Microknoppix:/home/knoppix# nvidia-detect
Detected NVIDIA GPUs:
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)

Checking card:  NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Your card is supported by all driver versions.
It is recommended to install the
    nvidia-driver
package.
root@Microknoppix:/home/knoppix# cd Downloads
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# ls -alh
total 66M
drwxrwxrwx  2 knoppix knoppix  60 Aug 18 10:45 .
drwxr-xr-x 40 knoppix knoppix 420 Aug 18 11:32 ..
-rwxr-xr-x  1 knoppix knoppix 66M Aug 18 10:45 NVIDIA-Linux-x86_64-337.12.run
root@Microknoppix:/home/knoppix/Downloads# ls -alh
total 66M
drwxrwxrwx  2 knoppix knoppix  60 Aug 18 10:45 .
drwxr-xr-x 40 knoppix knoppix 420 Aug 18 11:32 ..
-rwxr-xr-x  1 knoppix knoppix 66M Aug 18 10:45 NVIDIA-Linux-x86_64-337.12.run
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# apt -y install linux-headers-$(uname -r) build-essential
Reading package lists... Done
Building dependency tree     
Reading state information... Done
build-essential is already the newest version (12.6).
linux-headers-5.2.5-64 is already the newest version (5.2.5-64-10.00.Custom).
0 upgraded, 0 newly installed, 0 to remove and 576 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-persistenced (418.56-1) ...
insserv: warning: script 'K01smail' missing LSB tags
insserv: warning: script 'adriane-battery' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-battery'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `adriane-battery'
insserv: warning: script 'adriane-screenreader' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-screenreader'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `adriane-screenreader'
insserv: warning: script 'firewall' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `firewall'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `firewall'
insserv: warning: script 'knoppix-autoconfig' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-autoconfig'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-autoconfig'
insserv: warning: script 'knoppix-halt' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-halt'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-halt'
insserv: warning: script 'knoppix-startx' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-startx'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-startx'
insserv: warning: script 'knoppix-terminalserver' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-terminalserver'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-terminalserver'
insserv: warning: script 'sbl' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `sbl'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `sbl'
insserv: warning: script 'smail' missing LSB tags
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
 installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Setting up nvidia-legacy-390xx-kernel-dkms (390.138-1~deb10u1) ...
Removing old nvidia-legacy-390xx-390.138 DKMS files...

------------------------------
Deleting module version: 390.138
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-legacy-390xx-390.138 DKMS files...
Building for 5.2.5-64
Building initial module for 5.2.5-64
+ '[' clean = modules ']'
Error! Bad return status for module build on kernel: 5.2.5-64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-390xx/390.138/build/make.log for more information.
dpkg: error processing package nvidia-legacy-390xx-kernel-dkms (--configure):
 installed nvidia-legacy-390xx-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-legacy-390xx-driver:
 nvidia-legacy-390xx-driver depends on nvidia-legacy-390xx-kernel-dkms (= 390.138-1~deb10u1) | nvidia-legacy-390xx-kernel-390.138; however:
  Package nvidia-legacy-390xx-kernel-dkms is not configured yet.
  Package nvidia-legacy-390xx-kernel-390.138 is not installed.
  Package nvidia-legacy-390xx-kernel-dkms which provides nvidia-legacy-390xx-kernel-390.138 is not configured yet.

dpkg: error processing package nvidia-legacy-390xx-driver (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-legacy-390xx-driver; however:
  Package nvidia-legacy-390xx-driver is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-persistenced
 nvidia-legacy-390xx-kernel-dkms
 nvidia-legacy-390xx-driver
 nvidia-driver
Running prelink, please wait...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Microknoppix:/home/knoppix/Downloads# ls -alh
total 66M
drwxrwxrwx  2 knoppix knoppix  60 Aug 18 10:45 .
drwxr-xr-x 40 knoppix knoppix 420 Aug 18 11:32 ..
-rwxr-xr-x  1 knoppix knoppix 66M Aug 18 10:45 NVIDIA-Linux-x86_64-337.12.run
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@Microknoppix:/home/knoppix/Downloads# apt update
Get:1 http://security.debian.org stable/updates InRelease [65.4 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main Sources [134 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main i386 Packages [219 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main Translation-en [119 kB]
Get:6 http://deb.debian.org/debian buster InRelease [122 kB]                                 
Get:7 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]         
Get:8 http://deb.debian.org/debian buster/main Sources [7,840 kB]             
Hit:9 http://ftp.de.debian.org/debian stable InRelease                         
Get:10 http://ftp.de.debian.org/debian testing InRelease [116 kB]             
Get:11 http://deb.debian.org/debian buster/main i386 Packages [7,864 kB]
Get:12 http://ftp.de.debian.org/debian unstable InRelease [146 kB]                           
Get:13 http://ftp.de.debian.org/debian experimental InRelease [72.2 kB]                     
Ign:14 http://ftp.de.debian.org/debian oldstable InRelease             
Get:15 http://deb.debian.org/debian buster/main Translation-en [5,968 kB]
Get:16 http://ftp.de.debian.org/debian stable-updates InRelease [51.9 kB]             
Get:17 http://ftp.de.debian.org/debian testing/main i386 Packages.diff/Index [27.9 kB]           
Get:18 http://ftp.de.debian.org/debian testing/main Translation-en.diff/Index [27.9 kB]           
Get:19 http://ftp.de.debian.org/debian unstable/main i386 Packages.diff/Index [27.9 kB]                 
Get:20 http://ftp.de.debian.org/debian unstable/main Translation-en.diff/Index [27.9 kB]         
Get:21 http://ftp.de.debian.org/debian unstable/contrib i386 Packages.diff/Index [27.8 kB]             
Get:22 http://ftp.de.debian.org/debian experimental/main i386 Packages.diff/Index [27.8 kB]       
Get:23 http://ftp.de.debian.org/debian experimental/main Translation-en.diff/Index [27.8 kB]         
Hit:24 http://ftp.de.debian.org/debian oldstable Release                                                   
Get:26 http://ftp.de.debian.org/debian testing/main i386 Packages 2020-08-18-1404.47.pdiff [990 B]
Get:27 http://ftp.de.debian.org/debian testing/main Translation-en 2020-08-18-1404.47.pdiff [97 B] 
Get:28 http://ftp.de.debian.org/debian unstable/main i386 Packages 2020-08-18-1404.47.pdiff [10.3 kB]
Get:29 http://ftp.de.debian.org/debian unstable/main i386 Packages 2020-08-18-2005.06.pdiff [17.4 kB]
Get:26 http://ftp.de.debian.org/debian testing/main i386 Packages 2020-08-18-1404.47.pdiff [990 B]
Get:30 http://ftp.de.debian.org/debian unstable/main i386 Packages 2020-08-19-0203.41.pdiff [28.3 kB]
Get:27 http://ftp.de.debian.org/debian testing/main Translation-en 2020-08-18-1404.47.pdiff [97 B]                 
Get:30 http://ftp.de.debian.org/debian unstable/main i386 Packages 2020-08-19-0203.41.pdiff [28.3 kB]                               
Get:31 http://ftp.de.debian.org/debian unstable/main Translation-en 2020-08-18-1404.47.pdiff [299 B]                               
Get:32 http://ftp.de.debian.org/debian unstable/main Translation-en 2020-08-18-2005.06.pdiff [1,570 B]                             
Get:33 http://ftp.de.debian.org/debian unstable/contrib i386 Packages 2020-08-18-2005.06.pdiff [2,897 B]                           
Get:34 http://ftp.de.debian.org/debian experimental/main i386 Packages 2020-08-18-1404.47.pdiff [3,357 B]                           
Get:35 http://ftp.de.debian.org/debian experimental/main i386 Packages 2020-08-18-2005.06.pdiff [1,117 B]                           
Get:33 http://ftp.de.debian.org/debian unstable/contrib i386 Packages 2020-08-18-2005.06.pdiff [2,897 B]                           
Get:32 http://ftp.de.debian.org/debian unstable/main Translation-en 2020-08-18-2005.06.pdiff [1,570 B]                             
Get:36 http://ftp.de.debian.org/debian experimental/main i386 Packages 2020-08-19-0203.41.pdiff [33 B]                             
Get:37 http://ftp.de.debian.org/debian experimental/main Translation-en 2020-08-18-1404.47.pdiff [604 B]                           
Get:38 http://ftp.de.debian.org/debian experimental/main Translation-en 2020-08-18-2005.06.pdiff [44 B]                             
Get:39 http://ftp.de.debian.org/debian experimental/main Translation-en 2020-08-19-0203.41.pdiff [33 B]                             
Get:36 http://ftp.de.debian.org/debian experimental/main i386 Packages 2020-08-19-0203.41.pdiff [33 B]                             
Get:39 http://ftp.de.debian.org/debian experimental/main Translation-en 2020-08-19-0203.41.pdiff [33 B]                             
Get:40 http://deb.debian.org/debian buster/contrib i386 Packages [46.4 kB]                                                         
Get:41 http://deb.debian.org/debian buster/contrib Translation-en [44.5 kB]                                                         
Get:42 http://deb.debian.org/debian buster/non-free i386 Packages [76.2 kB]                                                         
Get:43 http://deb.debian.org/debian buster/non-free Translation-en [88.8 kB]                                                       
Get:44 http://deb.debian.org/debian buster-updates/main Sources [3,716 B]                                                           
Get:45 http://deb.debian.org/debian buster-updates/main i386 Packages [7,864 B]                                                     
Get:46 http://deb.debian.org/debian buster-updates/main Translation-en [5,672 B]                                                   
Fetched 23.4 MB in 7s (3,162 kB/s)                                                                                                 
Reading package lists... Done
Building dependency tree     
Reading state information... Done
575 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# nvidia-detect
Detected NVIDIA GPUs:
01:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)

Checking card:  NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Your card is supported by all driver versions.
It is recommended to install the
    nvidia-driver
package.
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# apt-get install nvidia-driver
Reading package lists... Done
Building dependency tree     
Reading state information... Done
nvidia-driver is already the newest version (418.152.00-1).
0 upgraded, 0 newly installed, 0 to remove and 577 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up nvidia-persistenced (418.56-1) ...
insserv: warning: script 'K01smail' missing LSB tags
insserv: warning: script 'adriane-battery' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-battery'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `adriane-battery'
insserv: warning: script 'adriane-screenreader' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-screenreader'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `adriane-screenreader'
insserv: warning: script 'firewall' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `firewall'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `firewall'
insserv: warning: script 'knoppix-autoconfig' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-autoconfig'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-autoconfig'
insserv: warning: script 'knoppix-halt' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-halt'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-halt'
insserv: warning: script 'knoppix-startx' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-startx'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-startx'
insserv: warning: script 'knoppix-terminalserver' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-terminalserver'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `knoppix-terminalserver'
insserv: warning: script 'sbl' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `sbl'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `sbl'
insserv: warning: script 'smail' missing LSB tags
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
 installed nvidia-persistenced package post-installation script subprocess returned error exit status 1
Setting up nvidia-legacy-390xx-kernel-dkms (390.138-1~deb10u1) ...
Removing old nvidia-legacy-390xx-390.138 DKMS files...

------------------------------
Deleting module version: 390.138
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-legacy-390xx-390.138 DKMS files...
Building for 5.2.5-64
Building initial module for 5.2.5-64
+ '[' clean = modules ']'
Error! Bad return status for module build on kernel: 5.2.5-64 (x86_64)
Consult /var/lib/dkms/nvidia-legacy-390xx/390.138/build/make.log for more information.
dpkg: error processing package nvidia-legacy-390xx-kernel-dkms (--configure):
 installed nvidia-legacy-390xx-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-legacy-390xx-driver:
 nvidia-legacy-390xx-driver depends on nvidia-legacy-390xx-kernel-dkms (= 390.138-1~deb10u1) | nvidia-legacy-390xx-kernel-390.138; however:
  Package nvidia-legacy-390xx-kernel-dkms is not configured yet.
  Package nvidia-legacy-390xx-kernel-390.138 is not installed.
  Package nvidia-legacy-390xx-kernel-dkms which provides nvidia-legacy-390xx-kernel-390.138 is not configured yet.

dpkg: error processing package nvidia-legacy-390xx-driver (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-legacy-390xx-driver; however:
  Package nvidia-legacy-390xx-driver is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-persistenced
 nvidia-legacy-390xx-kernel-dkms
 nvidia-legacy-390xx-driver
 nvidia-driver
Running prelink, please wait...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Microknoppix:/home/knoppix/Downloads# nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Error querying enabled displays on GPU 0 (Missing Extension).


ERROR: Error querying connected displays on GPU 0 (Missing Extension).


(nvidia-settings:30409): Gtk-WARNING **: 03:51:07.564: Theme parsing error: gtk-widgets.css:1214:18: Not using units is deprecated. Assuming 'px'.
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads# nvidia-xconfig
bash: nvidia-xconfig: command not found
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#
root@Microknoppix:/home/knoppix/Downloads#

No comments:

Post a Comment