Hi All
I have a jetson Tx2 and its L4T version is 28.2.1.
nvidia@tegra-ubuntu:~/Music/Vulkan_loader_demos1.0.66/demos$ cat /etc/nv_tegra_release
# R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: Thu May 17 07:29:06 UTC 2018
And I download the Vulkan_loader_demos.1.0.66.tar.gz from official site. When I flash L4T to Tx2 I also installed VisionWorks Pack, CUDA Toolkit, cuDNN Package, TensorRT, OpenCV, Multimedia API package.
But when I run vulkaninfo, it crash every time.
nvidia@tegra-ubuntu:~/Music/Vulkan_loader_demos1.0.66/demos$ ./vulkaninfo
===========
VULKAN INFO
===========
Vulkan API Version: 1.0.66
Instance Extensions:
====================
Instance Extensions count = 7
VK_EXT_debug_report : extension revision 9
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 26
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
Layers: count = 0
=======
Presentable Surfaces:
=====================
GPU id : 0 (NVIDIA Tegra X2 (nvgpu))
Surface type : VK_KHR_xcb_surface
Formats: count = 2
B8G8R8A8_UNORM
B8G8R8A8_SRGB
Present Modes: count = 3
FIFO_KHR
FIFO_RELAXED_KHR
IMMEDIATE_KHR
VkSurfaceCapabilitiesKHR:
=========================
minImageCount = 2
maxImageCount = 8
currentExtent:
width = 256
height = 256
minImageExtent:
width = 256
height = 256
maxImageExtent:
width = 256
height = 256
maxImageArrayLayers = 1
supportedTransform:
VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
currentTransform:
VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
supportedCompositeAlpha:
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
supportedUsageFlags:
VK_IMAGE_USAGE_TRANSFER_SRC_BIT
VK_IMAGE_USAGE_TRANSFER_DST_BIT
VK_IMAGE_USAGE_SAMPLED_BIT
VK_IMAGE_USAGE_STORAGE_BIT
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT
Segmentation fault (core dumped)
How can I fix this? or How can I debug this? use gdb? Thanks.