#Vulkan SDK on arm? (Snapdragon X Elite)

27 messages · Page 1 of 1 (latest)

river kayak
#

I am trying to setup a development environment for vulkan on my snapdragon x elite arm laptop and would like some advice as to how I should deal with the fact that the vulkan sdk is x64 and I want to compile an arm 64 c application that uses vulkan.

#

also it would be very helpful if someone could explain what kind of "emulation" is going on to cause this output in GPU enumeration, are all the GPUs virutal or just the last two in the list?

cerulean summit
#

Funny you should ask, the latest release of the SDK apparently included a beta ARM version. #news message

river kayak
finite nexus
#

My guess is GPU0 is talking to the GPU directly.

GPU1 is using a vulkan->DX12 compatibility layer to talk to the GPU.

GPU2 is using a vulkan->DX12 compatibility layer to talk to the MS CPU implementation of DX12.

river kayak
#

beta arm64 sdk seems legit, some of the binaries it ships with are still x64 but good enough for me

maiden cape
river kayak
maiden cape
#

dumpbin /headers should list arm64 (arm64X) if they are built with emulation in mind FYI (need to open up a developer command prompt to get dumpbin in the path)

river kayak
#

is this what you mean?

#

nvm i got it

#

its visual studio developer command prompt

maiden cape
#

yeah that

river kayak
#

okay Ill run it and send output

#

looks like they are all arm64, so maybe i just have the old vulkan configurator from my previous sdk that I overwrote with the new arm one?

#

actually I think i ran the wrong command

river kayak
maiden cape
#

seems like ONE thing is x64, rest is arm but not everything is arm64x...

river kayak
#

the x64 is the configurator

maiden cape
#

idk, I run the command one binary at a time

river kayak
#

glslang.exe - AA64 machine (ARM64)
glslangValidator.exe - AA64 machine (ARM64)
glslc.exe - AA64 machine (ARM64)
spirv-as.exe - AA64 machine (ARM64)
spirv-cfg.exe - AA64 machine (ARM64)
spirv-cross.exe - AA64 machine (ARM64) (ARM64X)
spirv-dis.exe - AA64 machine (ARM64)
spirv-link.exe - AA64 machine (ARM64)
spirv-lint.exe - AA64 machine (ARM64)
spirv-opt.exe - AA64 machine (ARM64)
spirv-reduce.exe - AA64 machine (ARM64)
spirv-reflect-pp.exe - AA64 machine (ARM64) (ARM64X)
spirv-reflect.exe - AA64 machine (ARM64) (ARM64X)
spirv-remap.exe - AA64 machine (ARM64)
spirv-val.exe - AA64 machine (ARM64)
vkconfig.exe - AA64 machine (ARM64)
vkcube.exe - AA64 machine (ARM64) (ARM64X)
vkcubepp.exe - AA64 machine (ARM64) (ARM64X)
vkvia.exe - AA64 machine (ARM64) (ARM64X)
vulkanCapsViewer.exe - 8664 machine (x64)
vulkaninfoSDK.exe - AA64 machine (ARM64) (ARM64X)
shaderc_shared.dll - AA64 machine (ARM64)
spirv-cross-c-shared.dll - AA64 machine (ARM64) (ARM64X)
SPIRV-Tools-shared.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_api_dump.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_khronos_profiles.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_khronos_shader_object.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_khronos_synchronization2.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_khronos_validation.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_monitor.dll - AA64 machine (ARM64) (ARM64X)
VkLayer_screenshot.dll - AA64 machine (ARM64) (ARM64X)