DevinBayly / vulkan_containers

0 stars 0 forks source link

missing nvidia-utils, but cannot install #8

Open DevinBayly opened 3 years ago

DevinBayly commented 3 years ago

related issue posted on reddit https://www.reddit.com/r/ManjaroLinux/comments/k6op6j/vulkan_on_nvidia_nonfree_driver/ suggests that the nvidia-utils needs to be installed

errors with the follow

sudo apt install nvidia-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package nvidia-utils is a virtual package provided by:
  nvidia-utils-460-server 460.32.03-0ubuntu0.18.04.1
  nvidia-utils-460 460.39-0ubuntu0.18.04.1
  nvidia-utils-450-server 450.102.04-0ubuntu0.18.04.1
  nvidia-utils-450 450.102.04-0ubuntu0.18.04.1
  nvidia-utils-418-server 418.181.07-0ubuntu0.18.04.1
  nvidia-utils-390 390.141-0ubuntu0.18.04.1
You should explicitly select one to install.

E: Package 'nvidia-utils' has no installation candidate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-455 : Depends: libnvidia-compute-455 (= 455.23.05-0ubuntu1) but 460.39-0ubuntu0.18.04.1 is to be installed
                     Depends: libnvidia-decode-455 (= 455.23.05-0ubuntu1) but 460.39-0ubuntu0.18.04.1 is to be installed
                     Recommends: libnvidia-compute-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
                     Recommends: libnvidia-decode-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
                     Recommends: libnvidia-encode-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
                     Recommends: libnvidia-ifr1-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
                     Recommends: libnvidia-fbc1-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
                     Recommends: libnvidia-gl-455:i386 (= 455.23.05-0ubuntu1) but it is not installable
 nvidia-utils-455 : Conflicts: nvidia-smi
                    Conflicts: nvidia-utils
 nvidia-utils-460-server : Depends: libnvidia-compute-460-server but it is not going to be installed
                           Conflicts: nvidia-smi
                           Conflicts: nvidia-utils
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
DevinBayly commented 3 years ago

appears taht we maybe have the wrong nvidia-utils ?

dpkg -l | grep nvidia-utils
hi  nvidia-utils-455                        455.23.05-0ubuntu1                               amd64        NVIDIA driver support binaries
DevinBayly commented 3 years ago

Apparently has nothing to do with nvidia-utils being installed either

sudo apt install nvidia-utils-460-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnvidia-compute-460-server
Suggested packages:
  nvidia-driver-460-server
The following NEW packages will be installed:
  libnvidia-compute-460-server nvidia-utils-460-server
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.2 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 libnvidia-compute-460-server amd64 460.32.03-0ubuntu0.18.04.1 [21.8 MB]
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 nvidia-utils-460-server amd64 460.32.03-0ubuntu0.18.04.1 [362 kB]
Fetched 22.2 MB in 2s (11.2 MB/s)            
Selecting previously unselected package libnvidia-compute-460-server:amd64.
(Reading database ... 229398 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-460-server_460.32.03-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libnvidia-compute-460-server:amd64 (460.32.03-0ubuntu0.18.04.1) ...
Selecting previously unselected package nvidia-utils-460-server.
Preparing to unpack .../nvidia-utils-460-server_460.32.03-0ubuntu0.18.04.1_amd64.deb ...
Unpacking nvidia-utils-460-server (460.32.03-0ubuntu0.18.04.1) ...
Setting up libnvidia-compute-460-server:amd64 (460.32.03-0ubuntu0.18.04.1) ...
Setting up nvidia-utils-460-server (460.32.03-0ubuntu0.18.04.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
exouser@multiply-awaited-cricket:~$ nvidia-smi
Mon Mar  8 20:44:07 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GRID V100X-4Q       On   | 00000000:00:06.0  On |                  N/A |
| N/A   N/A    P0    N/A /  N/A |    454MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1643      G   /usr/lib/xorg/Xorg                 79MiB |
|    0   N/A  N/A      2031      G   /usr/bin/gnome-shell               71MiB |
+-----------------------------------------------------------------------------+
exouser@multiply-awaited-cricket:~$ vulkaninfo
ERROR at /build/vulkan-tools-1.2.162.1~rc1-1lunarg18.04/vulkaninfo/vulkaninfo.h:248:vkGetPhysicalDeviceSurfaceFormats2KHR failed with ERROR_INITIALIZATION_FAILED
exouser@multiply-awaited-cricket:~$ vkcube
vkcube: /build/vulkan-tools-1.2.162.1~rc1-1lunarg18.04/cube/cube.c:3623: demo_init_vk_swapchain: Assertion `!err' failed.
Aborted (core dumped)
exouser@multiply-awaited-cricket:~$