Comments (11)
Hi, there is the "infinite" timeout for a purpose, it would be invalid to go further while the GPU is not finished with that frame which we are waiting on. Could you make sure that you have updated graphics drivers?
from wickedengine.
I did a full update and verified I have the latest driver, and I was able to get to freeze again immediately (loading scripts under "Content").
local/nvidia 550.78-7
NVIDIA drivers for linux
https://archlinux.org/packages/extra/x86_64/nvidia/
from wickedengine.
@ricejasonf Wicked recently updated the dxcompiler to the May version, and that seems to be broken on Linux (#856) and caused all kinds of weird issues on various graphics drivers. It has been reverted to the previous version, can you update to master and give it another try?
from wickedengine.
Sorry, but the problem still persists. It does not happen every time, but it still definitely freezes when loading a script.
from wickedengine.
Did you delete the shaders/spirv directory just to make sure no compiled shaders from the dxcompiler remain?
from wickedengine.
I deleted the entire build
directory. If that is where they are located, then yes. (I am on the Discord if that is easier for back and forth stuff.)
from wickedengine.
I can confirm that it is in fact getting stuck in that vkWaitForFences
call. Consider the following small alteration to the point of interest:
7247 while (true) {
7248 res = vkWaitForFences(device, 1, &frame_fence[bufferindex][queue],
7249 VK_TRUE, uint64_t{10000000000});
7250 if (res == VK_SUCCESS) break;
7251 assert(res == VK_SUCCESS);
7252 }
Attempting to reproduce the error results in hitting the assert after 10 seconds of blank screen.
WickedEngineEditor: /home/jason/Projects/WickedEngine/WickedEngine/wiGraphicsDevice_Vulkan.cpp:7251: virtual void wi::graphics::GraphicsDevice_Vulkan::SubmitCommandLists(): Assertion `res == VK_SUCCESS' failed.
Aborted (core dumped)
It would be nice to find the bug, but I think there is also an opportunity for graceful error handling here.
from wickedengine.
I realized that this is a duplicate of #804.
from wickedengine.
Can you confirm that the hang always happens when queue is 3 (QUEUE_VIDEO_DECODE)? And never with any other value?
from wickedengine.
I tried it several times and the value for queue
was consistently 3
. So, yes, that looks like the enum value for QUEUE_VIDEO_DECODE
as you stated.
from wickedengine.
When resizing the widget window for the entity component system, I can reproduce this very quickly just wagging it back and forth. Still always queue == 3
from wickedengine.
Related Issues (20)
- Feature request: scene and general asset packing
- Feature request: scene and general asset packing HOT 7
- [Feature request] Add icon flipping HOT 5
- TextInputField Input Loss When Hovering Over Entities Tree HOT 1
- RTX Support? HOT 1
- when compiling cmake project to c++ 20 it causes weird problems HOT 3
- [Feature request] Add spline editing tool HOT 1
- Compilation failed archlinux HOT 4
- SDL2 not defined by default on linux HOT 2
- [Feature request] Localized volumetric fog HOT 9
- [BUG] Exception thrown: read access violation. shader_internal was nullptr. HOT 6
- [Bug] SSAO artefacts at the edge of the screen HOT 1
- [Bug] Fps drop down HOT 1
- Make wicked check github for new versión
- [Feature request] Make wicked check github for new versión
- [EDITOR] When clicking on items it slowly rotates HOT 6
- "terminate called after throwing an instance of `std::bad_alloc`" HOT 4
- "Corrupted doubly-linked list" HOT 2
- Switching output windows HOT 6
- Editor dosen't start (Linux integrated AMD Graphic) HOT 3
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 wickedengine.