在虚拟机中运行引擎,会提示找不到设备的错误
Describe the bug | Bug描述 在虚拟机中运行引擎,会提示找不到设备的错误,请问这个有计划解决吗?还是就是设计的不提供支持? 虚拟机是VMware,运行Ubuntu 20.04 LTS,CMake使用3.22
这个后续会解决,引擎应该可以在虚拟机内运行。 感谢上报!
这个问题解决了没?我用的是Virtual Box也无法运行。
报错内容: leo@leo-VirtualBox:~/games104/Piccolo/bin$ ./PiccoloEditor terminate called after throwing an instance of 'std::runtime_error' what(): failed to find suitable physical device 已放弃 (核心已转储)
我翻了一下,代码在这个文件535行,可惜不懂逻辑,不会改。。。 engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.cpp
if (m_physical_device == VK_NULL_HANDLE) { throw std::runtime_error("failed to find suitable physical device"); }
这个问题解决了没?我用的是Virtual Box也无法运行。
报错内容: leo@leo-VirtualBox:~/games104/Piccolo/bin$ ./PiccoloEditor terminate called after throwing an instance of 'std::runtime_error' what(): failed to find suitable physical device 已放弃 (核心已转储)
我翻了一下,代码在这个文件535行,可惜不懂逻辑,不会改。。。 engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.cpp
if (m_physical_device == VK_NULL_HANDLE) { throw std::runtime_error("failed to find suitable physical device"); }
没有解决,这个是没有找到vulkan device的问题,可能是在虚拟机遍历了所有gpu设备后没有满足渲染需求的,所以抛出这个异常。