Comments (9)
I just merged PR #55 that should fix the ambiguous overload error. Can you try again with those changes?
from vulkancapsviewer.
Thanks @SaschaWillems, just updated and tried again. Still hitting what looks like the same error, but in a different location:
../../Qt/5.11.3/gcc_64/include/QtCore/qvariant.h:207:5: note: no known conversion for argument 1 from ‘uint64_t {aka long unsigned int}’ to ‘QVariant::Type’
In file included from vulkancapsviewer.h:14:0,
from main.cpp:1:
vulkanDeviceInfo.hpp:392:127: error: call of overloaded ‘QVariant(uint64_t)’ is ambiguous
pushProperty2(extension, "supportedStencilResolveModes", QVariant(uint64_t(extProps.supportedStencilResolveModes)));
Guessing the PR missing a spot or two?
from vulkancapsviewer.
Just looked at the PR you merged, and the fix for the errors seems super simple. eg a missing cast.
So, just copied-n-pasted the same approach for the further two error locations, which let the build succeed. Made a PR from it (#58), in case it's useful.
Out of curiosity, the build still throws out many warnings. They seem (at least mostly) to be missing initializer for member
(with various locations). eg:
GeneratedFiles/release/../../vulkanDeviceInfo.hpp:988:66: warning: missing initializer for member ‘VkPhysicalDeviceFeatures2::sType’ [-Wmissing-field-initializers]
VkPhysicalDeviceFeatures2KHR deviceFeatures2{};
Is that something worth looking into?
The (old, default system) gcc that comes with CentOS 7 1810 is:
$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ which gcc
/usr/bin/gcc
So, not exactly gcc 8. 😉
from vulkancapsviewer.
Guessing the PR missing a spot or two?
Those lines were added after the initial PR. I mainly develop on windows using the MSVC compiler and that just compiles fine, so I tend to miss these from time to time ;)
Is that something worth looking into?
Not really. It's intentional. I only initialize the structure type member of, the remaining members are not important, so that warning can be ignored.
P.S. : Thx for the PR and checking this out on Linux. I only built on Linux once in a while when doing new releases.
from vulkancapsviewer.
No worries. Should I try compiling on macOS too? We have an old Mac Mini that sits around doing nothing but the nightly builds for DB Browser for SQLite.
Can git clone this repo to that and see how it goes, if useful. 😄
from vulkancapsviewer.
... and just realised thats a dumb question, as macOS doesn't seem to have Vulkan support anyway. 😉
from vulkancapsviewer.
Actually that's in no way dumb ;)
Thanks to MoltenVK it's possible to run Vulkan applications on MacOS and iOS.
Though I',m not sure if the current code base is properly working on Mac devices.
from vulkancapsviewer.
Oh, interesting. Looking at that project, it eventually leads through to macOS downloads:
https://vulkan.lunarg.com/sdk/home#mac
I'll see if they install ok on our old build server, and if they do I'll try out compiling then running VulkanCapsViewer on it, just to see what happens. 😄
from vulkancapsviewer.
Doesn't seem like this is going to be feasible. Probably more to do with the setup here, than anything else.
Trying to run any of the demo apps that come with the macOS download doesn't do anything (eg nothing is displayed). Trying from the command line - hoping for useful info - gives this:
==========
VULKANINFO
==========
Vulkan Instance Version: 1.1.92
[***MoltenVK ERROR***] VK_ERROR_INCOMPATIBLE_DRIVER: Vulkan is not supported on this device. MoltenVK requires Metal, which is not available on this device.
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Cannot create Vulkan instance.
/tmp/macos-sdk-build/Vulkan-Tools/vulkaninfo/vulkaninfo.c:835: failed with VK_ERROR_INCOMPATIBLE_DRIVER
Originally thought it was because I'm connecting to the box over VNC (!). But it seems like the box is just too old, as the graphics card in it is a Geforce 320M. Apparently Metal only supports Keplar based Nvidia cards onwards, which came out a few years after the 320M. 😉
Oh well. 🤷♂️
from vulkancapsviewer.
Related Issues (20)
- 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
- Crash on Windows HOT 3
- Format flags 2 HOT 4
- Why is the same information being queried for different extension supports? HOT 6
- No surface information available HOT 8
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.