Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist

Bug #1611635 reported by dino99 on 2016-08-10
50
This bug affects 25 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
High
Unassigned

Bug Description

This error has been logged since a while into journalctl (affect 361, 367, and possibly the others too)

 journalctl | grep nvidia-persistenced
 nvidia-persistenced[1067]: Started (1067)
 nvidia-persistenced[1067]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 117 has read and write permissions for those files.
 nvidia-persistenced[1067]: The daemon no longer has permission to remove its runtime data directory /var/run/nvidia-persistenced
 nvidia-persistenced[1067]: Shutdown (1067)
 nvidia-persistenced[1802]: Started (1802)
 nvidia-persistenced[1802]: Failed to unlink socket: No such file or directory
 nvidia-persistenced[1802]: Failed to unlink PID file: No such file or directory
 nvidia-persistenced[1802]: Shutdown (1802)
 nvidia-persistenced[2543]: Started (2543)

oem@u64:~$ grep 117 /etc/passwd; lsb_release -a; uname -a
avahi-autoipd:x:106:117:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
nvidia-persistenced:x:117:128:NVIDIA Persistence Daemon,,,:/:/sbin/nologin
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
Codename: yakkety
Linux u64 4.7.0-0-generic #3-Ubuntu SMP Tue Aug 2 17:34:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

oem@u64:~$ ls -ld /dev/nvidia*; file /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 Aug 10 04:48 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Aug 10 04:48 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 254 Aug 10 06:48 /dev/nvidia-modeset
crw-rw-rw- 1 root root 247, 0 Aug 10 04:48 /dev/nvidia-uvm
/dev/nvidia0: character special (195/0)
/dev/nvidiactl: character special (195/255)
/dev/nvidia-modeset: character special (195/254)
/dev/nvidia-uvm: character special (247/0)

Already discussed:
https://answers.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+question/271860

and affect other distro
https://devtalk.nvidia.com/default/topic/934350/linux/nvidia-persistenced-failed-to-query-nvidia-devices-/

error source: https://github.com/NVIDIA/nvidia-persistenced/commit/4f78613588ea1db928e7264317adc810dc0eb10a

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: nvidia-361 (not installed)
ProcVersionSignature: Ubuntu 4.7.0-0.3-generic 4.7.0
Uname: Linux 4.7.0-0-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.3-0ubuntu5
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Aug 10 08:54:58 2016
SourcePackage: nvidia-graphics-drivers-361
UpgradeStatus: No upgrade log present (probably fresh install)

dino99 (9d9) wrote :
dino99 (9d9) on 2016-08-10
affects: nvidia-graphics-drivers-361 (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
dino99 (9d9) on 2016-08-10
description: updated
dino99 (9d9) on 2016-08-10
description: updated
tags: added: xenial
Changed in nvidia-graphics-drivers (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers