Comments (7)
What CXX compiler is being used by CMake? If you run the tests with gdb (build for debug mode) you should be able to get more info for me.
from acid.
I made a small change that fixed runtime crashes on Linux: 9305528
If this fixes your issue then close this commit.
from acid.
I've updated and successfully compiled with both g++ (Ubuntu 9.1.0-9ubuntu2) 9.1.0
and clang version 8.0.1-3 (tags/RELEASE_801/final)
, but TestGUI, in both cases, issues the following additional message:
File System error adding path or zip (Resources / Engine): not found
Render Stage built in 2.157ms
[UNASSIGNED-CoreValidation-Shader-OutputNotConsumed] Object: 0x1f (Type = 15) | Vertex attribute at location 2 not consumed by vertex shader
[UNASSIGNED-CoreValidation-Shader-OutputNotConsumed] Object: 0x25 (Type = 15) | Vertex attribute at location 2 not consumed by vertex shader
[UNASSIGNED-CoreValidation-Shader-InterfaceTypeMismatch] Object: 0x2b (Type = 15) | Attribute type of `VK_FORMAT_R32_UINT` at location 2 does not match vertex shader input
terminate called after throwing an instance of 'std :: runtime_error'
what (): Failed to find a valid memory type for buffer
Aborted
from acid.
All I can tell is that the exception is thrown from Buffer::FindMemoryType
, this is only used when creating Buffers and Images. Some memory property is missing from your device, if you could figure out the calls leading up to the exception using CLion/GDB I could be more helpful.
I don't think I have it written wrong, two memory type resources:
https://vulkan-tutorial.com/code/29_multisampling.cpp
I've tested master on my AMD R9 390 (Windows, macOS), and NVidia 840M (Linux), and they have no major issues.
from acid.
After some debug sessions of TestGUI
I found that Buffer::FindMemoryType()
is called several times with the following different combinations of the (typeFilter, requiredProperties)
parameters, that I report:
(160, 1)
(130, 1)
(1665, 6)
(1665, 1)
(1665, 4)
(1665, 3) -> throws exception
the last combination throws the exception.
I'm definitely not a vulkan expert, so I don't know how to make it work with my video card.
P.S. this is the stack trace:
Thread #1 [TestGUI] 2366 [core: 0] (Suspended : Signal : SIGABRT:Aborted)
__GI_raise() at raise.c:50 0x7ffff700bbfb
__GI_abort() at abort.c:79 0x7ffff6fec855
0x7ffff73be5fa
0x7ffff73ca9bc
std::terminate() at 0x7ffff73caa17
__cxa_throw() at 0x7ffff73cac79
acid::Buffer::FindMemoryType() at Buffer.cpp:98 0x7ffff7d3e1c4
acid::Buffer::Buffer() at Buffer.cpp:35 0x7ffff7d3dd2f
std::make_unique<acid::Buffer, unsigned long const&, int, int>() at unique_ptr.h:853 0x7ffff7ca403c
acid::Model::SetIndices() at Model.cpp:85 0x7ffff7ca3a70
acid::Model::Initialize<acid::VertexDefault>() at Model.inl:63 0x7ffff7bdb157
acid::ModelRectangle::Load() at ModelRectangle.cpp:75 0x7ffff7cd3fab
acid::ModelRectangle::Create() at ModelRectangle.cpp:20 0x7ffff7cd34ab
acid::ModelRectangle::Create() at ModelRectangle.cpp:29 0x7ffff7cd35e0
acid::Gui::Gui() at Gui.cpp:11 0x7ffff7be5ebd
acid::UiStartLogo::UiStartLogo() at UiStartLogo.cpp:19 0x7ffff7e16fdb
test::Scene1::Scene1() at Scene1.cpp:16 0x5555555be4cc
std::make_unique<test::Scene1>() at unique_ptr.h:853 0x5555555ab841
test::MainGame::MainGame() at MainGame.cpp:95 0x5555555a51ac
std::make_unique<test::MainGame>() at unique_ptr.h:853 0x5555555aadb0
main() at MainGame.cpp:19 0x5555555a4356
from acid.
from acid.
Just updated the source and TestGUI seems to work.
from acid.
Related Issues (20)
- How do I install this??? HOT 1
- 'equilibrium.games' link does not work
- This application has requested the Runtime to terminate it in an unusual way HOT 1
- Compile bug on linux HOT 4
- Can`t download the volk package HOT 4
- help me run the tests!
- Documentation
- No examples would work HOT 8
- [Security] Workflow ci_linux_clang.yml is using vulnerable action actions/checkout
- [Security] Workflow ci_doxygen.yml is using vulnerable action actions/checkout
- [Security] Workflow ci_linux_gcc.yml is using vulnerable action actions/checkout
- Enough of this HOT 2
- Build error on Ubuntu22.04 HOT 6
- Website Down ? Current status ?
- Wayland support HOT 1
- I want to make a game with my business but need to know about the GUI
- Cannot build on macOS HOT 1
- Editor crashes upon start HOT 3
- Read Access Violation when running certain projects in VS2022 build HOT 1
- No ICD Drivers found with MoltenVK [macos] 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 acid.