lss0510 opened a new issue, #16283:
URL: https://github.com/apache/tvm/issues/16283

   Thanks for participating in the TVM community! We use https://discuss.tvm.ai 
for any general usage questions and discussions. The issue tracker is used for 
actionable items such as feature proposals discussion, roadmaps, and bug 
tracking.  You are always welcomed to post on the forum first :smile_cat:
   
   Issues that are inactive for a period of time may get closed. We adopt this 
policy so that we won't lose track of actionable issues that may fall at the 
bottom of the pile. Feel free to reopen a new one if you feel there is an 
additional problem that needs attention when an old one gets closed.
   
   ### Expected behavior
   'DISPLAY' environment variable not set... skipping surface info
   ==========
   VULKANINFO
   ==========
   
   Vulkan Instance Version: 1.3.239
   
   
   Instance Extensions: count = 21
   ===============================
        VK_EXT_acquire_drm_display             : extension revision 1
        VK_EXT_acquire_xlib_display            : extension revision 1
        VK_EXT_debug_report                    : extension revision 10
        VK_EXT_debug_utils                     : extension revision 2
        VK_EXT_direct_mode_display             : extension revision 1
        VK_EXT_display_surface_counter         : extension revision 1
        VK_EXT_swapchain_colorspace            : extension revision 4
        VK_KHR_device_group_creation           : extension revision 1
        VK_KHR_display                         : extension revision 23
        VK_KHR_external_fence_capabilities     : extension revision 1
        VK_KHR_external_memory_capabilities    : extension revision 1
        VK_KHR_external_semaphore_capabilities : extension revision 1
        VK_KHR_get_display_properties2         : extension revision 1
        VK_KHR_get_physical_device_properties2 : extension revision 2
        VK_KHR_get_surface_capabilities2       : extension revision 1
        VK_KHR_portability_enumeration         : extension revision 1
        VK_KHR_surface                         : extension revision 25
        VK_KHR_surface_protected_capabilities  : extension revision 1
        VK_KHR_wayland_surface                 : extension revision 6
        VK_KHR_xcb_surface                     : extension revision 6
        VK_KHR_xlib_surface                    : extension revision 6
   
   Layers: count = 4
   =================
   VK_LAYER_INTEL_nullhw (INTEL NULL HW) Vulkan version 1.1.73, layer version 1:
        Layer Extensions: count = 0
        Devices: count = 3
                GPU id = 0 (NVIDIA GeForce RTX 2060)
                Layer-Device Extensions: count = 0
   
                GPU id = 1 (Intel(R) UHD Graphics 630 (CFL GT2))
                Layer-Device Extensions: count = 0
   
                GPU id = 2 (llvmpipe (LLVM 15.0.7, 256 bits))
                Layer-Device Extensions: count = 0
                            ..........................
   
   ### Actual behavior
   
   After I installed vulkanin docker, I tried to check if vulkan was installed 
using vulkaninfo, but I got the following response:
   ERROR: [Loader Message] Code 0 : setupLoaderTermPhysDevs:  Failed to detect 
any valid GPUs in the current config
   ERROR: [Loader Message] Code 0 : setupLoaderTrampPhysDevs:  Failed during 
dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get 
count.
   ERROR at 
/vulkan-sdk/1.3.216.0/source/Vulkan-Tools/vulkaninfo/vulkaninfo.h:231:vkEnumeratePhysicalDevices
 failed with ERROR_INITIALIZATION_FAILED
   
   ### Environment
   ubuntu18.04
   vulkan 1.3.216.0
   nvidia drives:535.146.02
   
   ### Steps to reproduce
   
   1.sudo dnf install @development-tools glm-devel cmake libpng-devel 
wayland-devel \
   libpciaccess-devel libX11-devel libXpresent libxcb xcb-util libxcb-devel 
libXrandr-devel \
   xcb-util-keysyms-devel xcb-util-wm-devel python3 git lz4-devel libzstd-devel 
python3-distutils-extra qt
   gcc-g++ wayland-protocols-devel ninja-build
   2. Download the vulkan installer and activate the environment.
   3. run ‘vulkaninfo’
   
   ### Triage
   
   Please refer to the list of label tags 
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the 
relevant tags and add them below in a bullet format (example below).
   
   * needs-triage
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to