The officially official Devuan Forum!

You are not logged in.

#1 2018-07-24 16:22:49

dj_papeles
Member
Registered: 2016-12-06
Posts: 7  

Nvidia warning at boot

Hi!, so much time since i posting, i havent had any problem in jessie, but since i installed ascii, everytime on boot this message appears:

[    0.770303] udevd[121]: Error running install command for nvidia

I have an Nvidia Geforce 450 GS and installed the propietary driver via synaptics, using nvidia-driver, apparently the system works fine and the nvidia panel shows that the driver is beign in use, if i type

inxi -G

it shows

Graphics:  Card: NVIDIA GF106 [GeForce GTS 450]
Display Server: X.org 1.19.2 driver: nvidia tty size: 190x49 Advanced Data: N/A for root

So apparently is correct, but dont know how to rid of this warning, and if i type

dmesg |grep nvidia

shows

[    0.770303] udevd[121]: Error running install command for nvidia
[    6.884605] nvidia: loading out-of-tree module taints kernel.
[    6.884618] nvidia: module license 'NVIDIA' taints kernel.
[    6.900557] nvidia-nvlink: Nvlink Core is being initialized, major device number 247
[   10.729067] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  384.130  Wed Mar 21 02:59:49 PDT 2018
[   10.814096] [drm] [nvidia-drm] [GPU ID 0x00000200] Loading driver
[   29.918873] nvidia-modeset: Allocated GPU:0 (GPU-54dcba25-4d99-a850-f0e9-ba75ed5d3ddf) @ PCI:0000:02:00.0

Thanks in advance.

Offline

#2 2018-07-24 17:36:21

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: Nvidia warning at boot

it seems at every reboot it restores restricted kernel modules (to nvidia ) so the best method for working is  seems to be commenting out "install nvidia /sbin/lrm-video nvidia $CMDLINE_OPTS" line in "/etc/modprobe.d/lrm-video".


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#3 2018-07-24 18:04:58

dj_papeles
Member
Registered: 2016-12-06
Posts: 7  

Re: Nvidia warning at boot

I dont have that file "/etc/modprobe.d/lrm-video", so i created a new one and added inside the line "install nvidia /sbin/lrm-video nvidia $CMDLINE_OPTS", but no difference, i dont know if i am doing something wrong, thanks.

Offline

#4 2018-07-24 21:46:44

UnclePa
Member
Registered: 2018-07-06
Posts: 30  

Re: Nvidia warning at boot

I think you did the opposite of what Ogis suggested, which was to comment out the command.  You've added it.  Delete the file you created and look for a file that has that command.

grep "install nvidia" /etc/modprobe.d/*

should work to find the file that has that command if it exists.  IMO, if it works, you can just ignore the warning.  It is simply reminding you that you are running some non-free software.

Offline

#5 2018-07-25 07:22:46

dj_papeles
Member
Registered: 2016-12-06
Posts: 7  

Re: Nvidia warning at boot

Ok, sorry i have a mistake by add it in, well i removed the file "lrm-video" that i previously created and run the command:

grep "install nvidia" /etc/modprobe.d/*

And the result:

/etc/modprobe.d/nvidia.conf:install nvidia modprobe -i nvidia-current $CMDLINE_OPTS
/etc/modprobe.d/nvidia.conf:install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS
/etc/modprobe.d/nvidia.conf:install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS
/etc/modprobe.d/nvidia.conf:install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS

So what line should i comment out? im lost, the file "/etc/modrprobe.d/nvidia.conf" where appears all the lines referenced has this inside:

install nvidia modprobe -i nvidia-current $CMDLINE_OPTS

install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS

install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm 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

Thanks in advance for all your kind help.

Sorry for my English, im Spanish smile

Last edited by dj_papeles (2018-07-25 07:23:42)

Offline

#6 2018-08-12 15:59:34

chris2be8
Member
Registered: 2018-08-11
Posts: 264  

Re: Nvidia warning at boot

Could anyone running the nvidia driver without problems (either on ascii or an earlier release) please run the following commands (they don't need to be run as root) and post the output:
dpkg-query --search nvidia-current-drm
dpkg-query --search nvidia-current-uvm
dpkg-query --search nvidia-current-modeset

That should tell us what package provides them.

Chris

Offline

#7 2018-08-14 23:52:13

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

Re: Nvidia warning at boot

Hello:

chris2be8 wrote:

Could anyone running the nvidia driver without problems ...

I have an up-to-date Devuan ASCII with Nvidia non-free drivers:

groucho@devuan:~$ uname -ap
Linux devuan 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
groucho@devuan:~$ 
[root@devuan groucho]# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]# 

I've just come out of a problem I had, reinstalled the drivers and apparently things work OK. (?)
This is what dmesg says:

[root@devuan groucho]# dmesg | grep -i nvidia
[    0.905299] udevd[105]: Error running install command for nvidia
[    0.928912] udevd[102]: Error running install command for nvidia
[   23.479849] nvidia: loading out-of-tree module taints kernel.
[   23.479851] nvidia: loading out-of-tree module taints kernel.
[   23.479860] nvidia: module license 'NVIDIA' taints kernel.
[   23.534823] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[   23.536168] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on minor 0
[   23.536279] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:02:00.0 on minor 1
[   23.536288] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.106  Tue Jan  9 15:10:23 PST 2018
[   34.115268] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[root@devuan groucho]# 

Q.: Shouldn't there be a dkms entry in dmesg?

The cards are using the driver:

[root@devuan groucho]# inxi -G
Graphics:  Card-1: NVIDIA G84GL [Quadro FX 370]
Card-2: NVIDIA G96GL [Quadro FX 580]
Display Server: X.org 1.19.2 driver: nvidia tty size: 147x54 Advanced Data: N/A for root
[root@devuan groucho]# 

These are the non-free drivers I have installed:

groucho@devuan:~$ dpkg --list | grep -i nvidia
ii  glx-alternative-nvidia                               0.8.3~deb9u1
ii  libegl1-nvidia-legacy-340xx:amd64
ii  libgl1-nvidia-legacy-340xx-glx:amd64
ii  libgles1-nvidia-legacy-340xx:amd64
ii  libgles2-nvidia-legacy-340xx:amd64
ii  libnvidia-legacy-340xx-cfg1:amd64
ii  libnvidia-legacy-340xx-eglcore:amd64
ii  libnvidia-legacy-340xx-glcore:amd64
ii  libnvidia-legacy-340xx-ml1:amd64
ii  nvidia-installer-cleanup                           20151021+4
ii  nvidia-kernel-common                            20151021+4
ii  nvidia-legacy-340xx-alternative
ii  nvidia-legacy-340xx-driver
ii  nvidia-legacy-340xx-driver-bin
ii  nvidia-legacy-340xx-driver-libs:amd64
ii  nvidia-legacy-340xx-kernel-dkms
ii  nvidia-legacy-340xx-kernel-support
ii  nvidia-legacy-340xx-vdpau-driver:amd64
ii  nvidia-modprobe                                   384.111-2~deb9u1
ii  nvidia-persistenced                               384.111-1~deb9u1
ii  nvidia-settings-legacy-340xx                  340.101-1
ii  nvidia-support                                       20151021+4
ii  xserver-xorg-video-nvidia-legacy-340xx
groucho@devuan:~$ 

Cleaned it up a bit.
Unless noted, all are 340.106-2~deb9u1.

WRT what you requested:

groucho@devuan:~$ dpkg-query --search nvidia-current-drm
dpkg-query: no path found matching pattern *nvidia-current-drm*
groucho@devuan:~$ dpkg-query --search nvidia-current-uvm
dpkg-query: no path found matching pattern *nvidia-current-uvm*
groucho@devuan:~$ dpkg-query --search nvidia-current-modeset
dpkg-query: no path found matching pattern *nvidia-current-modeset*
groucho@devuan:~$ 

Cheers,

A.

Last edited by Altoid (2018-08-14 23:56:56)

Offline

#8 2018-08-15 07:45:00

chris2be8
Member
Registered: 2018-08-11
Posts: 264  

Re: Nvidia warning at boot

Thank you. The clue was you are running 4.9.0-7-amd64 while I was running 4.9.0-6-amd64. After apt-get update and apt-get dist-upgrade I get

$ nvidia-smi 
Wed Aug 15 08:34:48 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130                Driver Version: 384.130                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 460     Off  | 00000000:01:00.0 N/A |                  N/A |
| 40%   39C    P3    N/A /  N/A |     89MiB /   963MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+

Which is what I should get.

Chris

Offline

Board footer