Comments (8)
That should not happen, what system (GPU, OS, driver) are you running this on ?
from yave.
That should not happen, what system (GPU, OS, driver) are you running this on ?
GPU: AMD Radeon RX 6800
Driver version: 31.0.14051.1000
OS: Windows 10
from yave.
I have never tested on AMD GPU. This is likely caused by different device limits that don't play well with the allocator.
Can you post the full output, with the stack trace?
from yave.
I have never tested on AMD GPU. This is likely caused by different device limits that don't play well with the allocator.
Can you post the full output, with the stack trace?
[debug] Registering action "Debug assert"
[debug] Registering action "Quit"
[debug] Registering action "Show ImGui demo"
[debug] Registering action "Restore default layout"
[debug] Registering action "Lag"
[debug] Registering action " Save"
[debug] Registering action " Load"
[debug] Registering action "New"
[debug] Registering action "PerformanceMetrics"
[debug] Registering widget "PerformanceMetrics"
[debug] Registering action "UndoStackWidget"
[debug] Registering widget "UndoStackWidget"
[debug] Registering action "ResourceBrowser"
[debug] Registering widget "ResourceBrowser"
[debug] Registering action "AssetStringifier"
[debug] Registering widget "AssetStringifier"
[debug] Registering action "CVarConsole"
[debug] Registering widget "CVarConsole"
[debug] Registering action "ComponentPanel"
[debug] Registering widget "ComponentPanel"
[debug] Registering action "CameraDebug"
[debug] Registering widget "CameraDebug"
[debug] Registering action "CullingDebug"
[debug] Registering widget "CullingDebug"
[debug] Registering action "MemoryDebug"
[debug] Registering widget "MemoryDebug"
[debug] Registering action "EcsDebug"
[debug] Registering widget "EcsDebug"
[debug] Registering action "MeshAllocatorDebug"
[debug] Registering widget "MeshAllocatorDebug"
[debug] Registering action "SelectionDebug"
[debug] Registering widget "SelectionDebug"
[debug] Registering action "UiDebug"
[debug] Registering widget "UiDebug"
[debug] Registering action "EngineView"
[debug] Registering widget "EngineView"
[debug] Registering action "EntityView"
[debug] Registering widget "EntityView"
[debug] Registering action "Add debug lights"
[debug] Registering action "Add debug entities"
[debug] Registering action "Add prefab"
[debug] Registering action "Add scene"
[debug] Registering action "GpuProfiler"
[debug] Registering widget "GpuProfiler"
[debug] Registering action "MaterialEditor"
[debug] Registering widget "MaterialEditor"
[debug] Registering action "Import objects"
[debug] Registering action "Import image"
[debug] Registering action "ScriptPanel"
[debug] Registering widget "ScriptPanel"
[info] Debug asserts enabled.
[info] Vulkan debugging enabled
[info] Running Vulkan (1.3.246) 64 bits on AMD Radeon RX 6800 (discrete)
[info] VK_KHR_swapchain enabled
[info] max_memory_allocations = 4096
[info] max_inline_uniform_size = 65536
[info] max_uniform_buffer_size = 4294967295
[error] VK_ERROR_OUT_OF_POOL_MEMORY in file "D:\Yave-master\Yave\yave/graphics/vk/vk.h" at line 315 on thread "Main thread"
ucrtbased.dll!issue_debug_notification(const wchar_t * const message) Line 28 C++
ucrtbased.dll!__acrt_report_runtime_error(const wchar_t * message) Line 154 C++
ucrtbased.dll!abort() Line 61 C++
editor.exe!y::fatal(const char * msg, const char * file, int line) Line 85 C++
editor.exe!yave::vk_check(VkResult result) Line 315 C++
editor.exe!yave::DescriptorSetPool::DescriptorSetPool(const yave::DescriptorSetLayout & layout) Line 185 C++
editor.exe!std::make_unique<yave::DescriptorSetPool,yave::DescriptorSetLayout &,0>(yave::DescriptorSetLayout & <_Args_0>) Line 3465 C++
editor.exe!yave::DescriptorSetAllocator::create_descritptor_set(y::core::MutableSpan<yave::Descriptor const> descriptors) Line 355 C++
editor.exe!yave::DescriptorSet::DescriptorSet(y::core::MutableSpan<yave::Descriptor const> bindings) Line 33 C++
editor.exe!yave::create_descriptor_set(const yave::SimpleMaterialData & data) Line 48 C++
editor.exe!yave::Material::Material(const yave::MaterialTemplate * tmp, yave::SimpleMaterialData && data) Line 67 C++
editor.exe!yave::make_asset<yave::Material,yave::MaterialTemplate *>(yave::MaterialTemplate * && <args_0>) Line 37 C++
editor.exe!yave::DeviceResources::DeviceResources() Line 259 C++
editor.exe!y::Uninitializedyave::DeviceResources::init<>() Line 111 C++
editor.exe!yave::init_device(yave::Instance & instance, yave::PhysicalDevice device) Line 207 C++
editor.exe!yave::init_device(yave::Instance & instance) Line 185 C++
editor.exe!main(int argc, char * * argv) Line 90 C++
editor.exe!invoke_main() Line 79 C++
editor.exe!__scrt_common_main_seh() Line 288 C++
editor.exe!__scrt_common_main() Line 331 C++
editor.exe!mainCRTStartup(void * __formal) Line 17 C++
kernel32.dll!BaseThreadInitThunk�() Unknown
ntdll.dll!RtlUserThreadStart�() Unknown
from yave.
max_inline_uniform_size = 65536
this might be the problem.
Can you try, in PhysicalDevice.cpp, replacing this line properties.max_inline_uniform_size = _properties_1_3.maxInlineUniformBlockSize;
by properties.max_inline_uniform_size = std::min(256, _properties_1_3.maxInlineUniformBlockSize);
and see if that fixes it?
(Since I don't have access to an AMD card, it's the easiest way I have to validate that this is the problem)
from yave.
max_inline_uniform_size = 65536
this might be the problem.Can you try, in PhysicalDevice.cpp, replacing this line
properties.max_inline_uniform_size = _properties_1_3.maxInlineUniformBlockSize;
byproperties.max_inline_uniform_size = std::min(256, _properties_1_3.maxInlineUniformBlockSize);
and see if that fixes it?(Since I don't have access to an AMD card, it's the easiest way I have to validate that this is the problem)
I tried that but I still get same error
from yave.
I have no idea what's happening.
I pushed something that might fix it. Tell me if it works.
from yave.
I have no idea what's happening.
I pushed something that might fix it. Tell me if it works.
It doesn't work. I still get same error
from yave.
Related Issues (14)
- Did you implement any order-independent transparency in the engine? HOT 1
- mismatch error? HOT 1
- Failed to build on MSYS2 MINGW64 HOT 3
- . HOT 2
- launcher error HOT 10
- cannot import prefab HOT 1
- Compiling errors when using the command HOT 2
- where is the file "world.yw3"? HOT 1
- Build Error HOT 4
- Lua Error? HOT 4
- Cmake Build Error? HOT 2
- Execution error HOT 5
- gcc build problem HOT 1
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 yave.