View Issue Details

IDProjectCategoryView StatusLast Update
0000770channel: elrepo/el7nvidia-x11-drvpublic2017-09-10 07:33
Reporterrg Assigned Topperry  
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000770: Vulkan icd file name not set in /etc/vulkan/icd.d/nvidia_icd.json
DescriptionThere is a __NV_VK_ICD__ placeholder in /etc/vulkan/icd.d/nvidia_icd.json. It is supposed to be replaced with libGLX_nvidia.so.0 for GLVND enabled (libGL.so.1 otherwise).

Something like this:

# Set vulkan icd file name
%{__perl} -pi -e 's|__NV_VK_ICD__|libGLX_nvidia.so.0|' \
    $RPM_BUILD_ROOT%{_sysconfdir}/vulkan/icd.d/nvidia_icd.json
TagsNo tags attached.
Reported upstream

Activities

toracat

2017-08-18 17:47

administrator   ~0005405

An updated set of nvidia-x11-drv packages have been built, released to the elrepo-testing repo, and are now syncing to mirrors. Could you test?

nvidia-x11-drv-384.59-2.el7.elrepo.x86_64.rpm
nvidia-x11-drv-32bit-384.59-2.el7.elrepo.x86_64.rpm

rg

2017-08-19 10:05

developer   ~0005406

I can't test this package at the moment, but if you have epel enabled you can yum install vulkan and type vulkaninfo, which should produce some affirmative output.

toracat

2017-08-19 11:42

administrator   ~0005407

I have the following results:

* When run as root,

$ sudo vulkaninfo
===========
VULKAN INFO
===========

Vulkan API Version: 1.0.51

* But as non-root,

$ vulkaninfo
===========
VULKAN INFO
===========

Vulkan API Version: 1.0.51

Segmentation fault (core dumped)

* With an earlier version of nvidia-x11-drv, there was no core dump, jut errors,

INFO: [loader] Code 0 : Found ICD manifest file /etc/vulkan/icd.d/nvidia_icd.json, version "1.0.0"
ERROR: [loader] Code 0 : __NV_VK_ICD__: cannot open shared object file: No such file or directory

rg

2017-08-19 14:21

developer   ~0005408

===========
VULKAN INFO
===========

Vulkan API Version: 1.0.46

INFO: [loader] Code 0 : Found ICD manifest file /etc/vulkan/icd.d/nvidia_icd.json, version "1.0.0"

Instance Extensions:
====================
Instance Extensions count = 11
        VK_EXT_acquire_xlib_display : extension revision 1
        VK_EXT_debug_report : extension revision 6
        VK_EXT_direct_mode_display : extension revision 1
        VK_EXT_display_surface_counter : extension revision 1
        VK_KHR_display : extension revision 21
        VK_KHR_get_physical_device_properties2: extension revision 1
        VK_KHR_surface : extension revision 25
        VK_KHR_xlib_surface : extension revision 6
        VK_KHX_device_group_creation : extension revision 1
        VK_KHX_external_memory_capabilities : extension revision 1
        VK_KHX_external_semaphore_capabilities: extension revision 1


Layers: count = 0
=======
Presentable Surfaces:
=====================
GPU id : 0 (Tesla K20m)
Surface type : VK_KHR_xlib_surface
vulkaninfo: vulkaninfo.c:947: AppDumpSurfaceFormats: Assertion `!err' failed.
Abort

*********************

This is on a remote EL6 machine with Teslas. I don't know if they are supposed to do Vulkan, but I don't have anything better available right now.

Anyway, __NV_VK_ICD__ has to be replaced and what I summarized above is how Nvidia's installer does it. If it still doesn't work it's no longer a packaging bug but somebody else's.

pperry

2017-09-03 12:29

administrator   ~0005460

Acknowledged.

Sorry, I've been away on summer holidays. I was aware of this, but unfortunately too late for the last release. I'll fix it in the next release. For now, you should just be able to edit /etc/vulkan/icd.d/nvidia_icd.json as you describe.

Thanks for reporting.

pperry

2017-09-10 07:32

administrator   ~0005471

Fixed in 384.59-2 as previously mentioned. Closing as fixed.

Please reopen if that is not the case.

Issue History

Date Modified Username Field Change
2017-08-18 08:48 rg New Issue
2017-08-18 08:48 rg Status new => assigned
2017-08-18 08:48 rg Assigned To => pperry
2017-08-18 17:47 toracat Note Added: 0005405
2017-08-19 10:05 rg Note Added: 0005406
2017-08-19 11:42 toracat Note Added: 0005407
2017-08-19 14:21 rg Note Added: 0005408
2017-09-03 12:29 pperry Note Added: 0005460
2017-09-10 07:32 pperry Note Added: 0005471
2017-09-10 07:33 pperry Status assigned => resolved
2017-09-10 07:33 pperry Resolution open => fixed