Giter VIP home page Giter VIP logo

Comments (10)

polymonster avatar polymonster commented on May 27, 2024

Hi,

I haven't worked on Vulkan for a little while because I didn't have a PC and was just running on Mac. I'm back up and running now so was going to look at Vulkan again although I don't have any concrete timelines but I did want to complete the Vulkan backend this year sometime.

Quite a lot of the samples already work, some have some validation errors but work OK and there are some missing features like MSAA resolving, mip map generation and so on but a lot of the core stuff is working, The CI is currently broken because of the Vulkan SDK installation on build agents, but everything should compile on windows if you have the Vulkan SDK.

If you want to use it or contribute to it feel free to create a fork and send PR's

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

Thank you for the quick reply :)

It seems the Vulkan backend is further along than I realized. I've build all of the samples but every one I tried to run crashed on startup. I'll take a closer look at them.

from pmtech.

polymonster avatar polymonster commented on May 27, 2024

Ok if they are crashing I will take a look at them this weekend as well just to make sure they are running on my PC and refresh my memory as to what the status is of everything.

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

The ones build with the default backend for win32 worked, so I assumed that the win32-vulkan ones were crashing because that backend might have been only a stub (which I learned is not the case).

I am using Vulkan 1.1.121.2 which is a bit old. Does pmtech have a minimum Vulkan version requirement?

For example basic_triangle is crashing at renderer_vulkan.cpp:1178

 vkGetPhysicalDeviceSurfaceFormatsKHR(_ctx.physical_device, _ctx.surface, &num_formats, nullptr);

with the output:

Exception thrown at 0x00007FF83A205C6D (vulkan-1.dll) in basic_triangle_d.exe: 0xC0000005: Access violation writing location 0x0000000000000000.

from pmtech.

polymonster avatar polymonster commented on May 27, 2024

Yeah I am not seeing that, I am using SDK 1.2.162 basic_triangle is working fine for me. It seems like it could be an SDK issue or a driver issue on your end.

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

I'll set up a testing environment with a newer Vulkan SDK, see if that's why they crash. Most likely next weekend.

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

A million years later I found time to setup Vulkan 1.2.182.0 and try to run the samples. They are still crashing even with this SDK version.

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

After installing the Vulkan Runtime from LunarG's site it seems that many of the examples including basic_triangle are running. Some do not work as expected and some crash due to thrown exceptions and failed assertions, but i think that was to be expected.

from pmtech.

polymonster avatar polymonster commented on May 27, 2024

Yeah I use the SDK installed from LunarG. It is expected that some samples don't work... I don't know if/when I will get round to fixing them up. If you want to fix any of them yourself I will happily take pull requests.

from pmtech.

ompadu avatar ompadu commented on May 27, 2024

I was using the LunarG Vulkan SDK since the beginning. What was different this time, is that I installed the LunarG Vulkan Runtime as well, which seemingly overwrote the vulkan-1.dll from System32. I don't know if the previous vulkan-1.dll in System32 was from a runtime i've installed in the past or from the AMD driver, but it was responsible for the crash.

I wouldn't mind helping out, but i have only basic knowledge about Vulkan.

from pmtech.

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.