Coder Social home page Coder Social logo

Vulkan Flickering in Intel GPU about ogre HOT 8 OPEN

Joilnen avatar Joilnen commented on June 18, 2024
Vulkan Flickering in Intel GPU

from ogre.

Comments (8)

paroj avatar paroj commented on June 18, 2024

try setting this to 1

#define USE_VALIDATION_LAYERS 0

there should be some output of what is going wrong

from ogre.

Joilnen avatar Joilnen commented on June 18, 2024

I got this with that set on 1, running the same sample in the video

Texture 'sdk_button_over.png': Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
Texture 'sdk_button_down.png': Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
Texture 'rockwall.tga': Loading 1 faces(PF_B8G8R8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_X8B8G8R8,256x256x1.
Mesh: Loading Sinbad.mesh.
Skeleton: Loading Sinbad.skeleton
Texture 'sinbad_body.tga': Loading 1 faces(PF_B8G8R8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_X8B8G8R8,512x512x1.
Texture 'sinbad_clothes.tga': Loading 1 faces(PF_B8G8R8,512x512x1) with 9 generated mipmaps from Image. Internal format is PF_X8B8G8R8,512x512x1.
Texture 'sinbad_sword.tga': Loading 1 faces(PF_B8G8R8,256x256x1) with 8 generated mipmaps from Image. Internal format is PF_X8B8G8R8,256x256x1.
Warning: the mesh 'Sinbad.mesh' includes vertices with more than 4 bone assignments. The lowest weighted assignments beyond this limit have been removed, so your animation may look slightly different. To eliminate this, reduce the number of bone assignments per vertex on your mesh to 4.
Creating swords
Mesh: Loading Sword.mesh.
Creating the chains
Texture 'ribbonband.png': Loading 1 faces(PF_B8G8R8,128x1x1) with 7 generated mipmaps from Image. Internal format is PF_X8B8G8R8,128x1x1.
ERROR: [Validation] Code 0 : Validation Error: [ VUID-VkSubpassDependency-dstAccessMask-00869 ] | MessageID = 0x8ab30c42 | vkCreateRenderPass(): pDependencies[0].dstAccessMask bit VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT is not supported by stage mask (VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT). The Vulkan spec states: Any access flag included in dstAccessMask must be supported by one of the pipeline stages in dstStageMask, as specified in the table of supported access types (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkSubpassDependency-dstAccessMask-00869)
ERROR: [Validation] Code 0 : Validation Error: [ VUID-VkSubpassDependency-srcAccessMask-00868 ] | MessageID = 0x2ef6351e | vkCreateRenderPass(): pDependencies[1].srcAccessMask bit VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT is not supported by stage mask (VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT). The Vulkan spec states: Any access flag included in srcAccessMask must be supported by one of the pipeline stages in srcStageMask, as specified in the table of supported access types (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkSubpassDependency-srcAccessMask-00868)
PERFORMANCE WARNING: [Validation] Code 0 : Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x19a1f80000001478, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vkCreateGraphicsPipelines(): pCreateInfos[0] Vertex attribute at location 8 not consumed by vertex shader
PERFORMANCE WARNING: [Validation] Code 0 : Validation Performance Warning: [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object 0: handle = 0x19a1f80000001478, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0x609a13b | vkCreateGraphicsPipelines(): pCreateInfos[0] Vertex attribute at location 8 not consumed by vertex shader

from ogre.

paroj avatar paroj commented on June 18, 2024

the error seem to be unrelated to the visual artifact. My guess would be that this is something with how we do HBL_DISCARD on Vulkan.

However all works for me with Mesa/ amdgpu. What Mesa version are you using?

from ogre.

paroj avatar paroj commented on June 18, 2024

to further help debug this, you could try getting a https://renderdoc.org/ capture of a broken frame.

from ogre.

Joilnen avatar Joilnen commented on June 18, 2024

mesa 1:23.1
will try renderdoc and report here

from ogre.

Joilnen avatar Joilnen commented on June 18, 2024

Screen captures made in renderdoc
caps.zip

from ogre.

paroj avatar paroj commented on June 18, 2024

will have to reproduce this locally at some point, I guess..

from ogre.

paroj avatar paroj commented on June 18, 2024

I have just updated the ogre snap https://snapcraft.io/ogre such that it works with mesa vulkan drivers. could you check whether it produces the same errors for you?

from ogre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.