Warning only on AMD gpus

HI, I am writing a vulkan compute lib to accelerate some code.
The code seems to work on several gpus, Intel embedded and arch 770 and NVidia starting for 1060.
I recently acquired an amd 7800 with the hope of getting better performance and also to be able to load much large model into gpu memory.
The result has been far, less than I expected, in some case the result fall behind and NVidia 1660 super, so I start checking the code for errors.
so far, the only thing I see in the log is this warning.

vulkan accelerator: AMD Radeon RX 7800 XT

Debug Report: Validation: Validation
Warning: [ WARNING-vkGetDeviceProcAddr-device ] | MessageID = 0x22b1fbac | vkGetDeviceProcAddr():
pName is trying to grab vkGetPhysicalDeviceCalibrateableTimeDomainsKHR which is an instance level function

the warning comes after executing this call bellow is executed

void ndBrainGpuContext::CreateLogicalDevice()
{
	m_queue = VK_NULL_HANDLE;
	m_device = VK_NULL_HANDLE;

	const float queue_priority[] = { 1.0f };
	VkDeviceQueueCreateInfo queue_info[1] = {};
	queue_info[0].sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO;
	queue_info[0].queueFamilyIndex = m_queueFamilyIndex;
	queue_info[0].queueCount = 1;
	queue_info[0].pQueuePriorities = queue_priority;

	VkPhysicalDeviceFeatures deviceFeatures = {};
	VkDeviceCreateInfo create_info = {};
	create_info.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
	create_info.queueCreateInfoCount = sizeof(queue_info) / sizeof(queue_info[0]);
	create_info.pQueueCreateInfos = queue_info;
	create_info.pEnabledFeatures = &deviceFeatures;

	create_info.enabledLayerCount = 1;
	create_info.ppEnabledLayerNames = &m_apiLayers[0];
	//create_info.enabledExtensionCount = 1;
	//create_info.ppEnabledExtensionNames = &m_apiExtensionLayers[0];

	CheckResultVulkan(vkCreateDevice(m_physicalDevice, &create_info, m_allocator, &m_device));
	vkGetDeviceQueue(m_device, m_queueFamilyIndex, 0, &m_queue);
}

not sure if this is part of the problem, but is a difference, nonetheless.
so, the question is what do I do to fix that?
most the vulkan initialization boilerplate code, it taken almost verbatim from tutorials endorced from Kronos books.

1 Like

Hey there do you find any solution for your issue please ? I got a 7900 and the exact same messages.

I’m getting the same warning. After I updated Vulkan to version 1.3.290.0. I’m on windows and using RX 6500 XT with newest drivers.

I have an AMD Radeon RX 6600 XT and am seeing the same warning message.
On my laptop I have an NVIDIA RTX 4050 Mobile and confirmed that I do not get this warning message.

No, i have not found any solution.
After searching on the AMD forum, there are a hamfull of people with the same problem, and there are another ham full of other people who claim to have a solution.

There solution seems to be, to get the latest sdk, but the try to load an older driver.
I have not idea what that is, but I did not put too much though on it, since people say that after doing that, the problem still persist.

I figure that since this is such a glaring problem, that the driver team AMD will fix it.
In the mean time I continue using the Nvidia 1660.

On another note.
By looking at the AMD forum, I get the impression that AMD is not interested in getting good performance out of vulkan, all the talk is about their
ROC.

But they do not even have window support for that.
Not sure what is going on with AMD, they seem to be content to be third to NVidia and Apple without even given it a shot. Instead they try to copy what apple and Nvidia, but the result is that people are just interested in translating ROC code to CUDA.
The state of HPC is very depressing.

Thanks Julio for the update.
I assume the issue is in the driver or an overly restrictive validation layer. As it’s only a warning, I ignore it for now. I don’t think its a huge problem.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.