Giter Site home page Giter Site logo

AMD graphics card not supported? about acid HOT 10 CLOSED

eqmg avatar eqmg commented on May 21, 2024
AMD graphics card not supported?

from acid.

Comments (10)

mattparks avatar mattparks commented on May 21, 2024

I did not know at the time of implementing push descriptors that some modern AMD cards did not support it. For now, I have disabled the usage of push descriptors. I can only test on an NVidia 960 and an NVidia 840M so any other AMD card issues pop up to let me know.

from acid.

Sauler avatar Sauler commented on May 21, 2024

Now I got Unknown vulkan error -1000069000. From debbuger I can see that error is in this line:
image
DescriptiorSet.cpp:24

from acid.

mattparks avatar mattparks commented on May 21, 2024

What test are you running, and when your not running with the debugger what is the console full output? Also what does the call history look like before it hits the error.

from acid.

Sauler avatar Sauler commented on May 21, 2024

I'm running TestGUI, but this error is in all of them.
Full console output: https://pastebin.com/9XrRDrq0
Full call history:
image

In Renderer::CheckVk method result is set to VK_ERROR_OUT_OF_POOL_MEMORY.

from acid.

mattparks avatar mattparks commented on May 21, 2024

There was an error that I fixed in 75b70b1 that would not allocate enough pool space in pipeline descriptor pools for the types used in the shader. I was not having any pool memory issues before or after making those changes so I cannot be sure if it worked; https://github.com/Equilibrium-Games/Acid/blob/master/Sources/Renderer/Pipelines/PipelineGraphics.cpp#L182 might be an issue if pool creation is too large.

from acid.

Sauler avatar Sauler commented on May 21, 2024

It still does not work. Same error in same line.

from acid.

mattparks avatar mattparks commented on May 21, 2024

Can you tell me what driver you are using, also update to the latest driver. Have you tried to use any other Vulkan engines/demos? You might want to change the value in PipelineGraphics.cpp on line 182 (linked in my last comment) to a value under 128, 64 will still run for me, I am thinking the pool is not working correctly on AMD.

You might also want to debug what this line of code is providing to the descriptor pool: https://github.com/Equilibrium-Games/Acid/blob/master/Sources/Renderer/Pipelines/PipelineGraphics.cpp#L177
I am getting a list of pools that looks like this (from Font/Gui):
image

from acid.

Sauler avatar Sauler commented on May 21, 2024

I have newest driver. Vulkan examples that are shipped with SDK works fine.
Changing maxSets value does nothing.
I am getting same list as you.

from acid.

mattparks avatar mattparks commented on May 21, 2024

I was able to upgrade from my NVidia 960 to an AMD R9 390. For some reason on NVidia pipeline pool sizes did not matter when allocating, so I set each descriptor pool size to the max for each type in the pipeline. This was a quick hack to get it running, oddly has no memory/speed impact with having such a large count. I am also seeing some texture artifacts in Physics/PBR, something I am trying to fix now.

from acid.

Sauler avatar Sauler commented on May 21, 2024

Ok it working now, thank you 👍

from acid.

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.