Comments (8)
Unit tests fail too:
[==========] Running 2 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from RingBuffer
[ RUN ] RingBuffer.pushPopResize
[ OK ] RingBuffer.pushPopResize (0 ms)
[----------] 1 test from RingBuffer (0 ms total)
[----------] 1 test from Vector2
[ RUN ] Vector2.operators
/build/Acid/Tests/Units/Test_Vector2.cpp:13: Failure
Expected equality of these values:
a - b
Which is: 4.74, -22.6
acid::Vector2f(4.74, -22.6)
Which is: 4.74, -22.6
[ FAILED ] Vector2.operators (0 ms)
[----------] 1 test from Vector2 (0 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 2 test suites ran. (0 ms total)
[ PASSED ] 1 test.
[ FAILED ] 1 test, listed below:
[ FAILED ] Vector2.operators
1 FAILED TEST
from acid.
You could try replacing "VK_LAYER_KHRONOS_validation" with "VK_LAYER_LUNARG_standard_validation" and see if that validation layer is found. What version of the vulkan sdk are you running?
from acid.
Where/how do I figure that out and how do I change the validation layer?
Do I need to modify the example executables or engines code?
from acid.
You will need to modify the engine code.
Validation layers are defined here: https://github.com/EQMG/Acid/blob/master/Sources/Devices/Instance.cpp#L14
Device extensions are defined here: https://github.com/EQMG/Acid/blob/master/Sources/Devices/LogicalDevice.cpp#L9
from acid.
Nope. That changed absolutely nothing. :-(
from acid.
Unit tests fail too:
[==========] Running 2 tests from 2 test suites. [----------] Global test environment set-up. [----------] 1 test from RingBuffer [ RUN ] RingBuffer.pushPopResize [ OK ] RingBuffer.pushPopResize (0 ms) [----------] 1 test from RingBuffer (0 ms total) [----------] 1 test from Vector2 [ RUN ] Vector2.operators /build/Acid/Tests/Units/Test_Vector2.cpp:13: Failure Expected equality of these values: a - b Which is: 4.74, -22.6 acid::Vector2f(4.74, -22.6) Which is: 4.74, -22.6 [ FAILED ] Vector2.operators (0 ms) [----------] 1 test from Vector2 (0 ms total) [----------] Global test environment tear-down [==========] 2 tests from 2 test suites ran. (0 ms total) [ PASSED ] 1 test. [ FAILED ] 1 test, listed below: [ FAILED ] Vector2.operators 1 FAILED TEST
I get the same output. The TestPhysics example is working, but no Font, no overlayDebug and no particles are displayed.
The TestGUI only shows the logo for example and I think it should also show the overlayDebug and some Text.
I'll try to modify the engine code as mattparks mentioned but I don't think I have a validation layer problem.
System:
AMD Ryzen 9 3900X
GeForce RTX 2070
Windows 11 Pro
Microsoft Visual Studio Community 2022
VulkanSDK 1.2.198.1
from acid.
Similar results as above. TestPhysics seems to work great. Tutorial 1 through 6 returns segmentation fault, but Tutorial 7 runs and displays the house model.
Regarding the failing unit tests, it's an expected behavior when working with equality comparison involving floats. Replacing ASSERT_EQ with ASSERT_FLOAT_EQ and performing the comparison component wise is a simple solution to at least make it pass.
ASSERT_FLOAT_EQ((a - b).x, acid::Vector2f(4.74, -22.6).x);
ASSERT_FLOAT_EQ((a - b).y, acid::Vector2f(4.74, -22.6).y);
Would gladly help to investigate some of the issues mentioned here, but not entirely sure where to start. (I hoped the validation layers would point to some issues, but they seem to be happy(?))
from acid.
Moved on to OpenMandriva, but thanks for your help. It seems to work here now.
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
- [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.