-
Notifications
You must be signed in to change notification settings - Fork 41
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
VK_ERROR_OUT_OF_HOST_MEMORY on windows profiling vulkan #15
Comments
Hi, Thanks for the feedback. Could you provide a very simple test app that duplicates the issue you're seeing? Also, try updating your driver to the latest 18.8.2 and get the latest RGP 1.3. There have been a number of changes that may fix this issue. Thanks, |
Hey, I re-tested on 18.8.2 with RGP 1.3 and I get the same issue. As soon as I enable profiling in RDP, my app will crash on Using the new DebugUtils extension, I get this in my logs: I think this may be related to a similar issue I had in baldurk/renderdoc#1078, when replaying a capture would also crash with the same exact error. As for reproducing, maybe you could try opening the capture I uploaded in that issue? I just checked and can still reproduce that error. Interestingly, when I reboot my machine and replay that capture without doing anything else, it works on first try. When I close and re-open the same capture, it starts failing with that error. As for reproducing this on my app, I could send you the source code, but it does not use a common visual studio build and so it might be a hassle for you. If you have a secure sandbox, I could send you the binary, maybe that would be easier? I don't know if something is wrong with my VulkanSDK/radeon driver installation. I tried reinstalling both, starting RDP with an explicit |
Hi Farnoy, After re-reading your initial post and talking to others, we're actively working on a fix for RGP capture on multiple compute queues, which will be fixed in new driver release shortly. If you would still like to share your application, I've added a dropbox share here: https://www.dropbox.com/home/RGP-farnoy. We can test with the internal driver we have and let you know if it fixes the issue you're seeing. Thanks, |
Hey @ahosier, I have started using compute queues recently, so this would fit what you're saying. I uploaded Linux and Windows x64 binaries and an asset that it uses. The working app should render a static imgui window and a bunch of helmets, you can press G to disable camera movement. My app is hardcoded to request all compute queues available, and always submits to 3 of them in the Windows version, 4 in the Linux one. This is how many I have on RX Vega 64 and I didn't bother making this dynamic yet. Let me know if that's a problem for you. Please keep me updated when a fix arrives! Thank you, |
I seem to have a similar error on my RX 560 on windows:
This only occurs while I'm running the Radeon Developer Panel. If I close the radeon developer panel, I can create use vkCreateDevice. Other tools like RenderDoc also crash when "settings > core > Enable Radeon GPU Profiler Integration" is enabled. My application only uses one graphics/present queue, and no compute queues. I seem to be able to start Sascha's examples with the profiler attached, but I'm unable to capture any profiles... |
Hi, please make sure you are using the latest AMD driver (19.3.1), and that you do NOT have another GPU in your system. If you are running Intel Integrated graphics, please disable it in the device manager. Currently, RGP only reliably supports the presence of a single GPU (2 AMD GPU's can cause issues too BTW - its not a vendor thing). |
@gselley Disabling my integrated graphics seems to prevent GLFW from initializing a window for some unknown reason. Might be a limitation of my e-GPU/laptop development environment. Why is RPG only reliable in the presence of a single GPU? That makes developing on a laptop very difficult. Seems like something other frame capture tools have been able to account for, although perhaps more detailed profiling makes this a more difficult feat. |
Hello, is there update on this? I'm also running to this problem on both Vulkan and D3D12 since I got RTX2070 in addition to RX480. |
There are still Known Issues related to profiling applications on systems with more than one GPU. |
Hi, I have this problem that's unique to Windows 10 x64, where after enabling profiling in Developer Panel, my app cannot start up and fails with VK_ERROR_OUT_OF_HOST_MEMORY. Without profiling, everything runs fine. The error occurs in
vkCreateDevice
. I think the problem might be with queues I want created. If I request only one graphics queue,vkCreateDevice
succeeds, but if I request 1 graphics, 3 compute, 1 transfer, then I get the error.I am only enabling
VK_KHR_swapchain
, it doesn't matter if I don't select anything inVkPhysicalDeviceFeatures
. I have tested with and without validation layers, my application is requesting vulkan 1.1, although, IIRC I also had this problem with 1.0. I have stopped overlays like RTSS, Steam, renderdoc, but nothing helps.On Linux, everything runs fine (I just need to point
VK_ICD_FILENAMES
at AMDVLK, because I use RADV by default), but I have not checked if the driver advertises different set of queue families and capacities, my code is sort of flexible in this regard.Configuration:
RDP log:
The text was updated successfully, but these errors were encountered: