-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Vulkan] Crash when connected to Vulkan 1.3 program #68
Comments
Hey Juan, Happy to hear that you had an easy time building it. I'll see to reproducing your crash! |
Hmm, I am unable to reproduce on an AMD GPU. What are you on? It seems to fail on the Swapchain the driver creates internally, I have some checks for that based on the return address in the stack, might just need some exclusion. I am curious though, how is it crashing? Null access? |
Apologies for forgetting to include basic system info. I'm using a 7900 XTX on Windows 10 with the latest drivers (24.9.1). The exception that's being generated is
I'm not sure how to do it privately on GitHub, but I could send a 1 GB dump file if you want to browse it yourself. Edit: I forgot to mention that I have similar problems with the latest release of GPU Reshape (v0.9.0): a debug message about the layer using API version 1.2, followed by a crash when I call |
No worries! I tried reproducing the setup, but for some reason it's not triggering. If you could send me a dump to [email protected] (I use it for some accounts) that'd be perfect! |
I sent an email invite to view the dump on Google Drive. Let me know if you have trouble accessing it. |
Hey Juan, I got it! 🙂 To resolve your PDBs, could you also send me your GRS.Backends.DX12.Layer.pdb? (Specifically the one you were crashing with) If you want, you can also use the latest release (Beta2) since that one has the symbols distributed alongside. Happy with either! |
Sorry about that, it worked on my machine! 😅 I sent a new link to a folder which contains the PDB you mentioned, and serves as a place for me to add further attachments in case you need something else. Thanks again for looking into this. |
Hi Juan, Everything resolved great now! I have a general idea of what is going wrong, it seems that I'm not wrapping the device that's passed in to CreateSwapchainForHwnd. Could you describe what you're passing into pDevice, and how that particular object is created? Edit: Apologies, I forgot this is a driver created thing! Not your thing! |
I put some additional driver return address checks in this branch: Would it be possible to sync and try it out? (Small note, if you used discovery, it's a good idea to logout/in or restart, since the bootstrapper DLL has changed.) |
Hi, I have a couple problems when I try that branch:
Having the global hook with global discovery enabled didn't seem to work either. I also tried the v0.9.0-beta2 prebuilt binary and it suffered from none of these problems. Additionally, I'm able to connect to my app with it! However, I have a few remaining issues:
P.S. I noticed in this talk you guys gave that a particular Windows 11 SDK version is required to build GPU Reshape, but I'm on Windows 10 and don't have this SDK. Maybe this is causing some of the issues with the version I built from source? |
Issue
I've built 849c8c5 (I appreciate how easy it is to build) and ran it with the VS debugger attached. Inside GPU Reshape, I began process discovery so it automatically connects to my app.
When I launch my Vulkan 1.3 app, I get the following message from the debug message callback:
When the program continues, it crashes in
vkCreateSwapchainKHR
:If needed, I can provide more info since I can reliably produce a full stack trace with debug symbols for both applications, or email a link to a .dmp file I generated.
The text was updated successfully, but these errors were encountered: