-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
terminate called after throwing an instance of 'std::runtime_error' #50
Comments
Hi. Perhaps you haven't installed the driver. Could you provide the output of the "vulkaninfo"? |
我现在安装了所有依赖,但是终端上我不能输入vulkaninfo,您的意思是还要安装其他的? https://vulkan.lunarg.com/sdk/home 这里面的sdk?那告诉我安装哪一个版本呢? |
apt install vulkan-utils |
Have you installed the NVIDIA Driver which is stated by README.md? |
==========
|
是的,我安装了nvidia的cuda相关内容。 |
对了,错误还是一样的。 |
You haven't installed the NVIDIA driver properly since there is no "NVIDIA" in the output of "vulkaninfo". |
现在还是错误,但是错误信息是, what(): failed to allocate image memory! |
Perhaps you should upgrade your card. "NVIDIA Quadro P620" is not suitable for game. |
Can you give me any suggestion about graphic card? I can spend no more than 6000RMB to buy a new card. How to avoid mining cards? |
Perhaps you can disable the point light shadow maps which waste too much memory, |
I don't think it's the problem of the graphics card and the 2G dedicated memory should be enough for Pilot. |
My mechine has 128G ECC DDR4 memory |
I mean the dedicated video memory |
Could you provide the callstack for the last crash: " what(): failed to allocate image memory!" |
`(gdb) r Thread 1 "PilotEditor" received signal SIGABRT, Aborted. |
@wo315 我想正确的指令可能是这样的: (gdb) catch throw
(gdb) r
(gdb) bt # 或者 where, 应该也行 |
或许你可以尝试以下 #45 中讨论过的方法. |
Perhaps other applications consume video memory as well. Pilot is NOT the only application. |
(No debugging symbols found in PilotEditor)
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) r
Starting program: /home/cfd-wy/Desktop/2022/April/Pilot/bin/PilotEditor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffea3b4700 (LWP 18659)]
[New Thread 0x7fffe9bb3700 (LWP 18660)]
Thread 1 "PilotEditor" hit Catchpoint 1 (exception thrown), 0x00007ffff7aac672 in __cxa_throw ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff7aac672 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x000055555557cc0a in Pilot::PVulkanUtil::createImage(VkPhysicalDevice_T*, VkDevice_T*, unsigned int, unsigned int, VkFormat, VkImageTiling, unsigned int, unsigned int, VkImage_T*&, VkDeviceMemory_T*&, unsigned int, unsigned int, unsigned int) [clone .cold] ()
#2 0x000055555567707c in Pilot::PPointLightPass::setupAttachments() ()
#3 0x0000555555677293 in Pilot::PPointLightPass::initialize() ()
#4 0x000055555567856c in Pilot::PVulkanManager::initializeRenderPass() ()
#5 0x0000555555661ccc in Pilot::PVulkanManager::initialize(GLFWwindow*, Pilot::Scene&, Pilot::PilotRenderer*) ()
#6 0x00005555555b7cfc in Pilot::PVulkanManager::PVulkanManager(GLFWwindow*, Pilot::Scene&, Pilot::PilotRenderer*) ()
#7 0x00005555555b133a in Pilot::SurfaceRHI::initialize(Pilot::SurfaceIO*, Pilot::FrameBuffer const*) ()
#8 0x00005555555b0714 in Pilot::PilotRenderer::initialize() ()
#9 0x00005555555a4e6a in Pilot::PilotEngine::startEngine(Pilot::EngineInitParams const&) ()
#10 0x0000555555580960 in main () |
bin git:(main) ✗ ./PilotEditor
terminate called after throwing an instance of 'std::runtime_error'
what(): enumerate physical devices
[1] 268905 abort (core dumped) ./PilotEditor
OS: Ubuntu 20.04.4 LTS x86_64
Host: Super Server 0123456789
Kernel: 5.13.0-39-generic
Uptime: 5 days, 9 hours, 47 mins
Packages: 2784 (dpkg)
Shell: zsh 5.8
Resolution: 3840x2160, 3840x2160
DE: Plasma
WM: KWin
WM Theme: Breeze
Theme: Breeze [Plasma], Breeze [GTK2/3]
Icons: breeze [Plasma], breeze [GTK2/3]
Terminal: konsole
Terminal Font: DejaVu Sans Mono 24
CPU: AMD EPYC 7543 (32) @ 2.800GHz
GPU: NVIDIA Quadro P620
Memory: 11218MiB / 128711MiB
Total Dedicated Memory: 1997MB
Used Dedicated Memory: 1674MB
I think it's about the Memory of my graphic card.
Thank you very much!
The text was updated successfully, but these errors were encountered: