Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
526 Discussions

Vulkan driver access violation in vkCreatePipelineLayout

maxime-modulopi
Beginner
1,389 Views

OS: Windows 10 64-bit

GPU: Arc A770

Driver: 32.0.101.6460

 

Problem:

The driver may crashes with an access violation when calling vkCreatePipelineLayout.

This happens when a descriptor set layout referenced by this pipeline layout was created with PUSH_DESCRIPTOR + a pNext chain in its VkDescriptorSetLayoutCreateInfo.

This seems to indicate that the driver does not properly copy the pNext chain when vkCreateDescriptorSetLayout is called.

 

I have attached a sample file that reproduces the crash.

I used vk::DescriptorSetLayoutBindingFlagsCreateInfo in the sample but it also crashes with other structs such as vk::MutableDescriptorTypeCreateInfoEXT.

Note that the crash does not happen if validation layers are enabled, presumably due to more forgiving CreateInfo structs lifetime in these layers.

0 Kudos
11 Replies
DhannielM_Intel
Moderator
1,332 Views

Hello maxime-modulopi,

Thank you for sharing this information and for posting in the community. I have a few questions to better understand the situation:


  1. Can you tell me what GPU you are using?
  2. What was the current graphics driver version when you tried this?
  3. Does this issue also occur when using different driver versions?


Also, to better understand your entire system information, please use the System Support Utility (SSU). This will generate a text file that compiles all your system information. You can follow this link for instructions and send the text file here: Help Guide for the Intel® System Support Utility


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
maxime-modulopi
Beginner
1,324 Views

Hello Dhanniel,

 

1) and 2) are already specified in my initial message.

3) Yes, I've had obscure driver crashes in vkCreatePipelineLayout when using push descriptors on the Intel driver for a few years at least.

 

I do not have access to the Intel card today but I can send you the SSU report tomorrow if needed.

 

I also forgot to mention that the crash happens when the structs passed in the pNext chain are freed after the vkCreateDescriptorSetLayout call, but before the vkCreatePipelineLayout call, which is valid according to the Vulkan specs as the driver is not allowed to accesses the input structs after the vkCreate* calls.

0 Kudos
DhannielM_Intel
Moderator
1,291 Views

Hello maxime-modulopi,


Apologies for that I overlooked that in the post. Sure I will be waiting for the SSU tomorrow.


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
maxime-modulopi
Beginner
1,272 Views

Hello Dhanniel,

 

I have attached the report.

 

I just realized that I specified the wrong OS in my initial post.

It's Windows 11, not Windows 10.

0 Kudos
DhannielM_Intel
Moderator
1,222 Views

Hello maxime-modulopi,


Thank you for this information. I will conduct an internal review and further investigate the issue. I appreciate you providing the steps to reproduce the problem. I will update you as soon as possible.


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
DhannielM_Intel
Moderator
1,057 Views

Hello maxime-modulopi,


Thank you for your patience as we continue to investigate this issue. Could you please clarify whether you are a game developer, programmer, or involved in any aspect of game development? Understanding your background will help us better address your concerns and find a resolution.


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
maxime-modulopi
Beginner
1,041 Views

Hello Dhanniel,

 

I am a graphics programmer at Modulo Pi, a media server company.

We are not related to game development at all.

0 Kudos
DhannielM_Intel
Moderator
1,015 Views

Hi maxime-modulopi,


Thank you for the clarification on this matter, let me further investigate this concern.


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
DhannielM_Intel
Moderator
872 Views

Hello maxime-modulopi,


Thank you for your patience. After investigating, we've determined that it's best to move this thread to the dedicated forum for this issue. Please note that this type of bug report should be directed to the Intel Developer Forum, which you can access here. One of our developers will assist you further.

I will be transferring this discussion to our Intel Developer Forum, where our knowledgeable community and experts can provide you with timely and accurate solutions.


Best regards,


Dhanniel M.

Intel Customer Support Technician


0 Kudos
karen_intel
Moderator
582 Views

Hi @maxime-modulopi thank you for your report!

I'll do some tests with the project you attach Thanks a lot for it and report back to you.

 

Stay tuned!

Karen

0 Kudos
maxime-modulopi
Beginner
518 Views

Hello Karen,

 

Thank you for investigating this issue.

 

I added in this reply an important information that I forgot to add in the initial post.

I just want to make sure you didn't miss this information as without it, you might have trouble reproducing the issue.

0 Kudos
Reply