Comments (11)
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.
from acid.
Thanks in advance for your time.
from acid.
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).
from acid.
Hi,
Yes Segfault is solve, I'm really happy in test Physics I have 110FPS but no physics was demonstrated.
Gui has some bugs too, first nothing was displayed in the center area and some overlapping text in left bottom corner.
And when I closed the app (close button of the window) I have Segfault.
I took some screenshots for you:
Ho second run of physics I have the scene with objects:
from acid.
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.
from acid.
It's worse...
TestGuis -> First run does not response and even if I force kill (kill -9) it doesn't stop...
---> Second run direct Segfault, no display and nothing else.
TestPhysics -> Does not work (Segfault - no display) too but produce logs:
./TestPhysics
INTEL-MESA: warning: Haswell Vulkan support is incomplete
Working Directory: PARENT_DIR/Acid/Build/bin
Failed to locate: 'Objects/Testing/Albedo.png'
File does not exist: ''
Failed to locate: 'Objects/Testing/Albedo.png'
Directory:
.
├── Brdf.png
├── Fonts
│ └── ProximaNova
│ ├── Bold.fnt
│ ├── Bold.otf
│ ├── Bold.png
│ ├── Light.fnt
│ ├── Light.otf
│ ├── Light.png
│ ├── Regular.fnt
│ ├── Regular.otf
│ ├── Regular.png
│ ├── Semibold.fnt
│ ├── Semibold.otf
│ ├── Semibold.png
│ ├── Thin.fnt
│ ├── Thin.otf
│ └── Thin.png
├── Guis
│ ├── Black.png
│ ├── Button.png
│ ├── Cursor.png
│ ├── Gradient.png
│ └── White.png
├── Logos
│ ├── Equilibrium-01.png
│ ├── Equilibrium-02.png
│ ├── Equilibrium-07.png
│ ├── Equilibrium-08.png
│ ├── Flask-02.png
│ ├── Flask.icns
│ ├── Flask.ico
│ ├── Flask.png
│ └── Flask.png.ico
├── Objects
│ ├── Animated
│ │ ├── Diffuse.png
│ │ ├── Model.blend
│ │ ├── Model.blend1
│ │ ├── Model.dae
│ │ └── Model_Test.dae
│ ├── Moon
│ │ └── Moon.xml
│ ├── Player
│ │ ├── Model.dae
│ │ └── Player.xml
│ ├── SkyboxChapel
│ │ ├── Back.png
│ │ ├── Bottom.png
│ │ ├── Front.png
│ │ ├── Left.png
│ │ ├── license.txt
│ │ ├── Right.png
│ │ ├── SkyboxChapel.json
│ │ └── Top.png
│ ├── SkyboxClouds
│ │ ├── Back.png
│ │ ├── Bottom.png
│ │ ├── Front.png
│ │ ├── Left.png
│ │ ├── Right.png
│ │ ├── SkyboxClouds.json
│ │ └── Top.png
│ ├── SkyboxSnowy
│ │ ├── Back.png
│ │ ├── Bottom.png
│ │ ├── Front.png
│ │ ├── Left.png
│ │ ├── license.txt
│ │ ├── Right.png
│ │ ├── SkyboxSnowy.json
│ │ └── Top.png
│ ├── Sun
│ │ └── Sun.xml
│ ├── Testing
│ │ ├── Diffuse.png
│ │ ├── Material.png
│ │ ├── Model_Dragon.obj
│ │ ├── Model_Meta.obj
│ │ ├── Model_Mitsuba.obj
│ │ ├── Model.obj
│ │ ├── Model_Tea.obj
│ │ ├── Normal.png
│ │ └── Testing.json
│ └── TreePine
│ ├── Diffuse.png
│ ├── Model.obj
│ ├── Sway.png
│ └── TreePine.json
├── Particles
│ └── Circular.png
├── Resources
│ ├── Fonts
│ │ └── ProximaNova
│ │ ├── Bold.fnt
│ │ ├── Bold.otf
│ │ ├── Bold.png
│ │ ├── Light.fnt
│ │ ├── Light.otf
│ │ ├── Light.png
│ │ ├── Regular.fnt
│ │ ├── Regular.otf
│ │ ├── Regular.png
│ │ ├── Semibold.fnt
│ │ ├── Semibold.otf
│ │ ├── Semibold.png
│ │ ├── Thin.fnt
│ │ ├── Thin.otf
│ │ └── Thin.png
│ ├── Guis
│ │ ├── Black.png
│ │ ├── Button.png
│ │ ├── Cursor.png
│ │ ├── Gradient.png
│ │ └── White.png
│ ├── Logos
│ │ ├── Equilibrium-01.png
│ │ ├── Equilibrium-02.png
│ │ ├── Equilibrium-07.png
│ │ ├── Equilibrium-08.png
│ │ ├── Flask-02.png
│ │ ├── Flask.icns
│ │ ├── Flask.ico
│ │ ├── Flask.png
│ │ └── Flask.png.ico
│ ├── Objects
│ │ ├── Animated
│ │ │ ├── Albedo.png
│ │ │ ├── Model.blend
│ │ │ ├── Model.blend1
│ │ │ ├── Model.dae
│ │ │ └── Model_Test.dae
│ │ ├── Moon
│ │ │ └── Moon.xml
│ │ ├── Player
│ │ │ ├── Model.dae
│ │ │ └── Player.xml
│ │ ├── SkyboxChapel
│ │ │ ├── Back.png
│ │ │ ├── Bottom.png
│ │ │ ├── Front.png
│ │ │ ├── Left.png
│ │ │ ├── license.txt
│ │ │ ├── Right.png
│ │ │ ├── SkyboxChapel.json
│ │ │ └── Top.png
│ │ ├── SkyboxClouds
│ │ │ ├── Back.png
│ │ │ ├── Bottom.png
│ │ │ ├── Front.png
│ │ │ ├── Left.png
│ │ │ ├── Right.png
│ │ │ ├── SkyboxClouds.json
│ │ │ └── Top.png
│ │ ├── SkyboxSnowy
│ │ │ ├── Back.png
│ │ │ ├── Bottom.png
│ │ │ ├── Front.png
│ │ │ ├── Left.png
│ │ │ ├── license.txt
│ │ │ ├── Right.png
│ │ │ ├── SkyboxSnowy.json
│ │ │ └── Top.png
│ │ ├── Sun
│ │ │ └── Sun.xml
│ │ ├── Testing
│ │ │ ├── Albedo.png
│ │ │ ├── Material.png
│ │ │ ├── Model_Dragon.obj
│ │ │ ├── Model_Meta.obj
│ │ │ ├── Model_Mitsuba.obj
│ │ │ ├── Model.obj
│ │ │ ├── Model_Tea.obj
│ │ │ ├── Normal.png
│ │ │ └── Testing.json
│ │ └── TreePine
│ │ ├── Albedo.png
│ │ ├── Model.obj
│ │ ├── Sway.png
│ │ └── TreePine.json
│ ├── Particles
│ │ └── Circular.png
│ ├── Shaders
│ │ ├── Brdf.comp
│ │ ├── Defaults
│ │ │ ├── Default.frag
│ │ │ └── Default.vert
│ │ ├── Deferred
│ │ │ ├── Deferred.frag
│ │ │ └── Deferred.vert
│ │ ├── Filters
│ │ │ ├── BlurHorizontal.frag
│ │ │ ├── BlurVertical.frag
│ │ │ ├── Crt.frag
│ │ │ ├── Darken.frag
│ │ │ ├── Default.frag
│ │ │ ├── Default.vert
│ │ │ ├── Emboss.frag
│ │ │ ├── Fxaa.frag
│ │ │ ├── Grain.frag
│ │ │ ├── Grey.frag
│ │ │ ├── Lensflare.frag
│ │ │ ├── Negative.frag
│ │ │ ├── Pixel.frag
│ │ │ ├── Sepia.frag
│ │ │ ├── Tiltshift.frag
│ │ │ ├── Tone.frag
│ │ │ └── Wobble.frag
│ │ ├── Fonts
│ │ │ ├── Font.frag
│ │ │ └── Font.vert
│ │ ├── Guis
│ │ │ ├── Gui.frag
│ │ │ └── Gui.vert
│ │ ├── Ibl.comp
│ │ ├── Lighting.glsl
│ │ ├── Noise.glsl
│ │ ├── Particles
│ │ │ ├── Particle.frag
│ │ │ └── Particle.vert
│ │ ├── Shadows
│ │ │ ├── Shadow.frag
│ │ │ └── Shadow.vert
│ │ └── Skyboxes
│ │ ├── Skybox.frag
│ │ └── Skybox.vert
│ ├── Sounds
│ │ ├── Button1.ogg
│ │ ├── Jump.ogg
│ │ ├── Music
│ │ │ ├── Hiitori-Bocchi.ogg
│ │ │ └── Outpost.ogg
│ │ └── Screenshot.ogg
│ ├── Undefined2.png
│ ├── Undefined.obj
│ └── Undefined.png
├── Shaders
│ ├── Brdf.comp
│ ├── Defaults
│ │ ├── Default.frag
│ │ └── Default.vert
│ ├── Deferred
│ │ ├── Deferred.frag
│ │ └── Deferred.vert
│ ├── Filters
│ │ ├── BlurHorizontal.frag
│ │ ├── BlurVertical.frag
│ │ ├── Crt.frag
│ │ ├── Darken.frag
│ │ ├── Default.frag
│ │ ├── Default.vert
│ │ ├── Emboss.frag
│ │ ├── Fxaa.frag
│ │ ├── Grain.frag
│ │ ├── Grey.frag
│ │ ├── Lensflare.frag
│ │ ├── Negative.frag
│ │ ├── Pixel.frag
│ │ ├── Sepia.frag
│ │ ├── Tiltshift.frag
│ │ ├── Tone.frag
│ │ └── Wobble.frag
│ ├── Fonts
│ │ ├── Font.frag
│ │ └── Font.vert
│ ├── Guis
│ │ ├── Gui.frag
│ │ └── Gui.vert
│ ├── Ibl.comp
│ ├── Lighting.glsl
│ ├── Noise.glsl
│ ├── Particles
│ │ ├── Particle.frag
│ │ └── Particle.vert
│ ├── Pipeline.glsl
│ ├── Shadows
│ │ ├── Shadow.frag
│ │ └── Shadow.vert
│ └── Skyboxes
│ ├── Skybox.frag
│ └── Skybox.vert
├── Sounds
│ ├── Button1.ogg
│ ├── Jump.ogg
│ ├── Music
│ │ ├── Hiitori-Bocchi.ogg
│ │ └── Outpost.ogg
│ └── Screenshot.ogg
├── TestGuis
├── TestMaths
├── TestPhysics
├── Undefined2.png
├── Undefined.obj
└── Undefined.png
Graphic cards:
Integrated Intel HD graphics
Amd Radeon HD8500M / M230
Currently use both.
from acid.
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.
from acid.
Your script is not update...
#!/usr/bin/env bash
cd ../
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
mkdir "${SCRIPTPATH}/Build/Debug/bin/Resources"
mkdir "${SCRIPTPATH}/Build/Release/bin/Resources"
ln -s "${SCRIPTPATH}/Resources" "${SCRIPTPATH}/Build/Debug/bin/Resources/Engine"
ln -s "${SCRIPTPATH}/Resources" "${SCRIPTPATH}/Build/Release/bin/Resources/Engine"
ln -s "${SCRIPTPATH}/Resources" "${SCRIPTPATH}/Build/RelWithDebInfo/bin/Resources/Engine"
I don't have Debug / Realease / RelWithDebInfo in Build dir, I just have bin and lib dirs.
So I just do:
mkdir Build/bin/Resources
cd Build/bin/Resources
ln -s ../../../Resources/ Engine
Test can be launch with no problem but I don't have the scene and nothing in the center white box in TestGuis
from acid.
I read CMakeLists.txt and find the way to active debug mode so I ran it on debug mode, there is logs:
https://pastebin.com/WSjBgPD0
from acid.
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.
from acid.
Yes works, some strange light but scene was rendered fine.
I also note that my FPS was decrease but I think it's normal because I have some objects to render ;)
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.