Comments (15)
My patch for swiftshader got approved. If you built again from the current source, you should be able to use it with the caps viewer.
gfx-portability crashes with the same error at vkGetPhysicalDeviceWin32PresentationSupportKHR
. I'll also submit a patch for that.
from vulkancapsviewer.
Not necessary. I already have it up-and-running with gfx-portability and will submit a patch asap ;)
from vulkancapsviewer.
For good measure, here is my vulkaninfo output with both ICDs registered
from vulkancapsviewer.
How do I register swiftshader as a valid ICD? The loader has a list of known device, and refuses to load the swiftshader ICD for me.
from vulkancapsviewer.
On Windows you go through the registry:
I added a DWORD key in HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers
named
C:\Users\Gobrosse\git\swiftshader\out\build\x64-Release\Windows\vk_swiftshader_icd.json
.
The key has to have value zero, otherwise it's ignored. This is following the official vulkan loader documentation.
from vulkancapsviewer.
Been there done that ;) But at least a current loader will disable that driver because it's not a known icd, see https://github.com/KhronosGroup/Vulkan-Loader/blob/80e9b24ff8e536427b7e99bc0f07792bc9647d10/loader/loader.c#L818. Are you using an older loader?
from vulkancapsviewer.
I have SDK 1.1.101 installed, that sounds like a very restrictive change on the part of the loader indeed 🤔 Not sure how things would work out for projects such as swiftshader, they don't have a "device" to put these keys in...
from vulkancapsviewer.
Seems like it was recently introduced. I have opened an Issue on this over at the loader repo.
The change also queries DXGI to see if a device for a vendor is present, so it's not even possible to just rename the swiftshader ICD to something else.
Once this is resolved I'll check how to make the caps viewer work with swiftshader.
from vulkancapsviewer.
The docs for the loader mention you can use an environment variable (VK_ICD_FILENAMES
) to override the ICD search path
set VK_ICD_FILENAMES=\windows\system32\nv-vk64.json
from vulkancapsviewer.
That one works. Thanks.
And it looks like it's crashing because swiftshader isn't exporting vkGetPhysicalDeviceWin32PresentationSupportKHR
.
I'll take a look at how to work around this.
from vulkancapsviewer.
Both Swiftshader and gfx-portability are in early stages anyway and aren't too usable yet, but it would be really nice exposure and a cool way to track their progress to have them listed on the vulkan.gpuinfo.org DB. If VulkanCapsViewer can't support them right now it's not a big deal, this issue will just track that progress.
from vulkancapsviewer.
Swiftshader is already able to run most of my samples, and it looks like it's really only about that single function not being exported. Not sure how to handle that yet though.
from vulkancapsviewer.
Will look into fixing portability too one of those days, it's still quite incomplete in it's DX12 backend ( no descriptor set support if i'm correct, which is obviously quite limiting )
from vulkancapsviewer.
Could you handle "VK_PHYSICAL_DEVICE_TYPE_CPU" ? The report shows up as "unknown device" on the site
from vulkancapsviewer.
My patch for gfx-portability was also merged: gfx-rs/portability@a9edbc0
Will also add device_type_cpu in the next update.
from vulkancapsviewer.
Related Issues (20)
- Validation warning when closing
- Can't get surface information HOT 4
- deviceLUID read as uint8_t[VK_MAX_UUID] HOT 2
- Suggest show Device'Name(GPU Name) rather than Phone Name for Android Device on vulkan.gpuinfo.org. HOT 1
- VK_EXT_extended_dynamic_state3 not dumped into profiles HOT 2
- maxComputeWorkGroupSize is not being dumped in the JSON HOT 1
- Update copyright to 2023
- App crash on Apple Silicon m2 HOT 7
- Viewer 3.28 for Linux/Wayland cannot initialize Vulkan HOT 2
- VK_QUEUE_OPTICAL_FLOW_BIT_NV is not shown corectly HOT 3
- Build error: "error: ‘wl_display_connect’ was not declared in this scope" HOT 3
- [Android] Profiles reporting in app interface vs uploaded report doesn't match HOT 3
- Does not show support for AMD APUs. HOT 1
- Supported formats and features differ between web interface and application HOT 1
- Android does not report wide color gamut surface formats
- Support winget package HOT 2
- Desktop Baseline 2023 is missing HOT 3
- Add support for VkSharedPresentSurfaceCapabilitiesKHR
- Support for VkCooperativeMatrixPropertiesKHR
- Segfault on MacOS when no surface is available HOT 2
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 vulkancapsviewer.