Skip to content

Validation errors with Mesa/Intel on SKL #277

@eero-t

Description

@eero-t

These are the validation errors with today's VulkanTools & Mesa, some seem bugs in the demos, some are about missing features.

Errors about not destroying some objects before destroying the device, in:

  • computecullandlod
  • computenbody
  • triangle

For example:
ObjectTracker(ERROR): object: 0x53 type: 5 location: 363 msgCode: 49: OBJ ERROR : For device 0x2574b20, Semaphore object 0x53 has not been destroyed. For more information refer to Vulkan Spec Section '4.2.4. Device Destruction' which states 'All child objects created on device must have been destroyed prior to destroying device' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#vkDestroyDevice)

For "debugmarker":
ParameterValidation(ERROR): object: 0x0 type: 0 location: 4860 msgCode: 10: vkDebugMarkerSetObjectNameEXT() called even though the VK_EXT_debug_marker extension was not enabled for this VkDevice.

For "deferredmultisampling":

SC(ERROR): object: 0x0 type: 3 location: 1776 msgCode: 3: Vertex shader consumes input at location 0 but not provided
SC(ERROR): object: 0x0 type: 3 location: 1776 msgCode: 3: Vertex shader consumes input at location 1 but not provided

For "deferredshadows":

../../../../src/intel/vulkan/anv_image.c:207: FINISHME: Implement multi-arrayLayer HiZ clears and resolves
DS(ERROR): object: 0x263b080 type: 6 location: 4334 msgCode: 6: Cannot submit cmd buffer using image (0x64) [sub-resource: aspectMask 0x4 array layer 0, mip level 0], with layout VK_IMAGE_LAYOUT_UNDEFINED when first use is VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL.

In following tests:

  • mesh
  • multisampling
  • offscreen
  • pushconstants
  • scenerendering

SC(ERROR): object: 0x0 type: 0 location: 2407 msgCode: 15: Shader requires VkPhysicalDeviceFeatures::shaderClipDistance but is not enabled on the device

In "raytracing":
SC(ERROR): object: 0x0 type: 0 location: 10469 msgCode: 5: SPIR-V module not valid: OpStore Pointer <id> '227's type does not match Object <id> '212's type.

In "terraintessellation":

DL(ERROR): object: 0x0 type: 2 location: 4163 msgCode: 5: While calling vkCreateDevice(), requesting feature #24 in VkPhysicalDeviceFeatures struct, which is not available on this device.
DL(ERROR): object: 0x0 type: 2 location: 4174 msgCode: 5: You requested features that are unavailable on this device. You should first query feature availability by calling vkGetPhysicalDeviceFeatures().
Fatal : VkResult is "ERROR_INCOMPATIBLE_DRIVER" in terraintessellation/terraintessellation.cpp at line 193
terraintessellation: /home/testrunner/work/VulkanSachaWillems/terraintessellation/terraintessellation.cpp:193: void VulkanExample::setupQueryResultBuffer(): Assertion `res == VK_SUCCESS' failed.
Aborted (core dumped)

(Works if one applies this: https://patchwork.freedesktop.org/series/15841/ )

For "textoverlay":
SC(ERROR): object: 0x0 type: 0 location: 1579 msgCode: 3: fragment shader consumes input location 4.0 which is not written by vertex shader

For "texturesparseresidency":

DL(ERROR): object: 0x0 type: 2 location: 4163 msgCode: 5: While calling vkCreateDevice(), requesting feature #42 in VkPhysicalDeviceFeatures struct, which is not available on this device.
DL(ERROR): object: 0x0 type: 2 location: 4163 msgCode: 5: While calling vkCreateDevice(), requesting feature #43 in VkPhysicalDeviceFeatures struct, which is not available on this device.
DL(ERROR): object: 0x0 type: 2 location: 4174 msgCode: 5: You requested features that are unavailable on this device. You should first query feature availability by calling vkGetPhysicalDeviceFeatures().
Device does not support sparse residency for 2D images!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions