Hey Guys,
Although, followed most of the recommendations as well as directions available over the net to install either graphics drivers or Vulkan-related tools and libraries (already have similar and successful experience with Intel open-source graphics drivers with the Vulkan support enabled and my built-in Intel graphics card), still got no luck with engaging Vulkan support for the most recent (at the moment) proprietary NVIDIA Linux Drivers 375.26 (got from the ppa:graphics-drivers/ppa repository) within my Ubuntu 16.04 LTS (x86_64). Installed the drivers and made them operate correctly with my twin displays, but still can’t make the Vulkan support available for the drivers newly installed. Thus, would appreciate it very much if someone can provide me with the right further direction for taking it next.
Please, find my environment setup specifics below:
skipet@skipet-PC:~$ uname -a
Linux skipet-PC 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
skipet@skipet-PC:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
skipet@skipet-PC:~$ sudo lshw -numeric -C display
*-display
description: VGA compatible controller
product: GF108 [GeForce GT 730] [10DE:F02]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:130 memory:f1000000-f1ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:4000(size=128) memory:f2080000-f20fffff
*-display
description: VGA compatible controller
product: Sky Lake Integrated Graphics [8086:1912]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: driver=i915_bpo latency=0
resources: irq:127 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:5000(size=64)
skipet@skipet-PC:~$ lspci -vnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1912] (rev 06) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 730] [10de:0f02] (rev a1) (prog-if 00 [VGA controller])
skipet@skipet-PC:~$ sudo apt list --installed | grep nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
nvidia-375/xenial,now 375.26-0ubuntu0~gpu16.04.1 amd64 [installed]
nvidia-opencl-icd-375/xenial,now 375.26-0ubuntu0~gpu16.04.1 amd64 [installed,automatic]
nvidia-settings/xenial,now 375.26-0ubuntu0~gpu16.04.1 amd64 [installed,automatic]
skipet@skipet-PC:~$ sudo apt list --installed | grep vulkan
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libvulkan-dev/xenial,now 1.0.37.0+dfsg1-1~gpu16.04.1 amd64 [installed]
libvulkan1/xenial,now 1.0.37.0+dfsg1-1~gpu16.04.1 amd64 [installed]
vulkan-utils/xenial,now 1.0.37.0+dfsg1-1~gpu16.04.1 amd64 [installed]
skipet@skipet-PC:~$ nvidia-detector
none
Please, be either aware of that I used the nvidia-xconfig tool to create a new /etc/X11/xorg.conf configuration file (which allowed me to run the nvidia-settings tool correctly). So, its content is as follows:
skipet@skipet-PC:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 375.26 (buildmeister@swio-display-x86-rhel47-01) Thu Dec 8 19:07:46 PST 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Output of the vulkaninfo tool:
skipet@skipet-PC:~$ vulkaninfo
===========
VULKAN INFO
===========
Vulkan API Version: 1.0.37
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_api_dump.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_monitor.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_vktrace_layer.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_image.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_core_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_parameter_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /home/skipet/VulkanSDK/1.0.37.0/x86_64/etc/explicit_layer.d/VkLayer_screenshot.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/icd.d/nvidia_icd.json, version "1.0.0"
Instance Extensions:
====================
Instance Extensions count = 5
VK_KHR_surface : extension revision 25
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_EXT_debug_report : extension revision 4
VK_NV_external_memory_capabilities : extension revision 1
/var/lib/jenkins/workspace/Create-Linux-VulkanSDK/Vulkan-LoaderAndValidationLayers/demos/vulkaninfo.c:1481: failed with VK_ERROR_INITIALIZATION_FAILED
BTW, OpenGL rendering capability test using the glxgears tool is OK (gears are run and correctly shown).
Thank you so much for your support in advance.
BRs,
incomoto.