Comments (10)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Some issues on Windows HOT 4
- compute shader, number of groups? HOT 4
- the hot reload seems broken HOT 7
- Failed to build examples on Mac OS Catalina HOT 6
- Add some gpu culling feature HOT 2
- error C3861: “renderer_tcp_resolve_ratio” HOT 2
- pthread_cancel HOT 5
- Shadow maps sample does not work on macOS/OpenGL HOT 1
- docs HOT 2
- error when loading shared libraries libfmod.so.11 : no such file or dir HOT 7
- Windows Visual Studio 2019 Build problems HOT 3
- Building for Web Assembly got audio_player linker errors HOT 5
- Example file debug_primitives.cpp is empty HOT 1
- Copyright year is outdated HOT 1
- mouse_wheel %f instead of %i HOT 1
- be ashamed of yourself
- why did you sell yourself as a cheap slave?
- Issue with using pmbuild binary on Linux HOT 7
- How to build from source on MSYS2 MINGW64? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmtech.