-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have Seg Fault in TestGuis and TestPhysics #12
Comments
Thank you for this issue, I believe a std::vector is used for its size and data for creating a Vulkan object. Oddly on Linux (GCC from my experience) it is destroyed before Vulkan finishes the command resulting in a segfault. I will resolve this issue as soon as I can. |
Thanks in advance for your time. |
I believe that seg faults in Linux are fixed, some std::vectors were automatically deleted before Vulkan was finished using them. However, animations produce an assertion failure, and 50% of the time depth formats appear messed up (I will be fixing this soon). |
Hi, Yes Segfault is solve, I'm really happy in test Physics I have 110FPS but no physics was demonstrated. And when I closed the app (close button of the window) I have Segfault. I took some screenshots for you: |
Can you check if the latest commit fixes the display issue, also what kind of GPU does your computer have? Closing the display will still cause a seg fault, but rendering should be fixed. |
It's worse... TestGuis -> First run does not response and even if I force kill (kill -9) it doesn't stop... TestPhysics -> Does not work (Segfault - no display) too but produce logs:
Directory:
Graphic cards: Currently use both. |
In the readme contains a resources section that describes how to create symblinks for engine resources, resources are searched for in the binary location. If it is already linked the working directory found might be broken: https://github.com/Equilibrium-Games/Acid/blob/411d00ed36700933d9abd2b5783d0d809a7f2883/Sources/Helpers/FileSystem.cpp#L125. There are still depth buffer issues in Linux, and lighting is slightly broken in the engine. |
Your script is not update...
I don't have Debug / Realease / RelWithDebInfo in Build dir, I just have bin and lib dirs.
Test can be launch with no problem but I don't have the scene and nothing in the center white box in TestGuis |
I read CMakeLists.txt and find the way to active debug mode so I ran it on debug mode, there is logs: |
I think I may have this fixed now, it is strange that some object lifetimes in Vulkan last longer on Windows and shorter on Linux. |
Hello team,
First of all, I'm looking for c++ 3D Engine with Vulkan backend and I find your project really interesting.
I would like to compare performance and code abstraction between Banshee3D and your project to choose which engine I would use for my development.
So I already compile and try some samples with Banshee3D framework but I cannot launch your tests.
Platform: Linux Debian 9
Compilation command: mkdir build && cd build && cmake .. && make -j4
I also linked your resources in your Build/bin directory.
And when I run ./TestGuis or ./TestPhysics just get Seg Fault and nothing else.
I don't have any log so it's hard to find why.
So should I do other steps?
Regards.
The text was updated successfully, but these errors were encountered: