[SOLVED] VkQuake crashes on run when using Vulkan globally

  • Saftle
  • Topic Author
More
4 years 10 months ago - 4 years 10 months ago #1 by Saftle VkQuake crashes on run when using Vulkan globally was created by Saftle
When Vulkan is enabled in ReShade, VkQuake crashes automatically on load. Is there anything I can provide to help debug further?

This appears to affect all versions of the application. This can be reproduced by any of the versions here: github.com/Novum/vkQuake/releases
Last edit: 4 years 10 months ago by Saftle.

Please Log in or Create an account to join the conversation.

  • crosire
More
4 years 9 months ago #2 by crosire Replied by crosire on topic VkQuake crashes on run when using Vulkan globally
I can't reproduce that. Used vkQuake 1.05.1 with the shareware version of Quake, enabled ReShade 4.8.2 and launched vkQuake + started a new game. Does not crash for me and I get depth access too.
If you are able to build ReShade yourself and test with a debug build, then that would help, since those create crash dumps that you could send me for analysis. If not I can build one for you.

Please Log in or Create an account to join the conversation.

  • Sungzen
More
3 years 2 months ago - 3 years 2 months ago #3 by Sungzen Replied by Sungzen on topic VkQuake crashes on run when using Vulkan globally
I'm still experiencing the same issue as the OP using the most recent versions of vkQuake (1.20.3) and Reshade (5.3.0). But I've experienced the same issue across different versions of vkQuake and ReShade, as well on another system that ran Windows 7.

Current System:
Windows 10 64-bit
Nvidia GTX 1080 Ti, running latest drivers (516.94)

The problem has persisted across multiple driver versions as well. I haven't had any trouble using ReShade with other Vulkan games (at least not yet with 5.3.0).

I'd like to build ReShade myself to test with a debug build, but I'm afraid that's a bit over my head. Sorry.

Here's all the info I can provide. First, here's what printed in the ReShade.log:
[code]15:13:34:892 [13224] | INFO  | Initializing crosire's ReShade version '5.3.0.1556' (64-bit) loaded from "C:\ProgramData\ReShade\ReShade64.dll" into "C:\Quake\vkQuake\vkQuake.exe" ...
15:13:34:892 [13224] | INFO  | Registering hooks for "user32.dll" ...
15:13:34:893 [13224] | INFO  | > Libraries loaded.
15:13:34:893 [13224] | INFO  | > Found 14 match(es). Installing ...
15:13:34:908 [13224] | INFO  | Registering hooks for "ws2_32.dll" ...
15:13:34:909 [13224] | INFO  | > Libraries loaded.
15:13:34:909 [13224] | INFO  | > Found 8 match(es). Installing ...
15:13:34:923 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d2d1.dll" ...
15:13:34:924 [13224] | INFO  | > Delayed.
15:13:34:924 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
15:13:34:924 [13224] | INFO  | > Delayed.
15:13:34:924 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
15:13:34:925 [13224] | INFO  | > Delayed.
15:13:34:925 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
15:13:34:925 [13224] | INFO  | > Delayed.
15:13:34:926 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
15:13:34:926 [13224] | INFO  | > Libraries loaded.
15:13:34:926 [13224] | INFO  | > Found 3 match(es). Installing ...
15:13:34:941 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
15:13:34:941 [13224] | INFO  | > Delayed.
15:13:34:941 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
15:13:34:941 [13224] | INFO  | > Libraries loaded.
15:13:34:941 [13224] | INFO  | > Found 5 match(es). Installing ...
15:13:34:956 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
15:13:34:956 [13224] | INFO  | > Delayed.
15:13:34:956 [13224] | INFO  | Registering hooks for "vrclient_x64.dll" ...
15:13:34:957 [13224] | INFO  | > Delayed.
15:13:34:957 [13224] | INFO  | Registering hooks for "C:\WINDOWS\system32\dinput.dll" ...
15:13:34:957 [13224] | INFO  | > Delayed.
15:13:34:958 [13224] | INFO  | Initialized.
15:13:34:959 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFEDC0) ...
15:13:34:960 [13224] | INFO  | Redirecting vkCreateInstance(pCreateInfo = 000000D933CFED20, pAllocator = 0000000000000000, pInstance = 000000D933CFF130) ...
15:13:34:960 [13224] | INFO  | > Dumping enabled instance extensions:
15:13:34:960 [13224] | INFO  |   VK_KHR_surface
15:13:34:960 [13224] | INFO  |   VK_KHR_win32_surface
15:13:34:960 [13224] | INFO  |   VK_KHR_get_surface_capabilities2
15:13:34:961 [13224] | INFO  |   VK_KHR_get_physical_device_properties2
15:13:34:962 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000D933CFCFF8) ...
15:13:34:965 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000D933CFCFF8) ...
15:13:34:967 [13224] | INFO  | > Requesting new Vulkan instance for API version 1.1.
15:13:34:968 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000D933CFCEB8) ...
15:13:34:971 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000D933CFC178) ...
15:13:34:998 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000D933CFC350) ...
15:13:34:999 [13224] | INFO  | Redirecting D3D11CreateDevice(pAdapter = 00000251D4816600, DriverType = 0, Software = 0000000000000000, Flags = 0, pFeatureLevels = 0000000000000000, FeatureLevels = 0, SDKVersion = 7, ppDevice = 000000D933CFC360, pFeatureLevel = 0000000000000000, ppImmediateContext = 000000D933CFC358) ...
15:13:34:999 [13224] | INFO  | > Passing on to D3D11CreateDeviceAndSwapChain:
15:13:34:999 [13224] | INFO  | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 00000251D4816600, DriverType = 0, Software = 0000000000000000, Flags = 0, pFeatureLevels = 0000000000000000, FeatureLevels = 0, SDKVersion = 7, pSwapChainDesc = 0000000000000000, ppSwapChain = 0000000000000000, ppDevice = 000000D933CFC360, pFeatureLevel = 0000000000000000, ppImmediateContext = 000000D933CFC358) ...
15:13:35:080 [13224] | INFO  | Using feature level 0xb000.
15:13:35:082 [13224] | INFO  | Redirecting vkCreateWin32SurfaceKHR(instance = 00000251D4EBCEB0, pCreateInfo = 000000D933CFF0F0, pAllocator = 0000000000000000, pSurface = 00007FF77ABAC468) ...
15:13:35:082 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE88) ...
15:13:35:082 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE88) ...
15:13:35:083 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE78) ...
15:13:35:083 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE78) ...
15:13:35:083 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE88) ...
15:13:35:084 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE88) ...
15:13:35:084 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE78) ...
15:13:35:085 [13224] | INFO  | Redirecting CreateDXGIFactory1(riid = {C1B6694F-FF09-44A9-B03C-77900A0A1D17}, ppFactory = 000000D933CFDE78) ...
15:13:35:087 [13224] | INFO  | Redirecting vkCreateDevice(physicalDevice = 00000251D493A9E0, pCreateInfo = 000000D933CFE470, pAllocator = 0000000000000000, pDevice = 000000D933CFE410) ...
15:13:35:087 [13224] | INFO  | > Dumping enabled device extensions:
15:13:35:087 [13224] | INFO  |   VK_KHR_swapchain
15:13:35:087 [13224] | INFO  |   VK_KHR_get_memory_requirements2
15:13:35:088 [13224] | INFO  |   VK_KHR_dedicated_allocation
15:13:35:088 [13224] | INFO  |   VK_EXT_subgroup_size_control
15:13:35:088 [13224] | INFO  |   VK_EXT_full_screen_exclusive
15:13:35:088 [13224] | WARN  | Vulkan queue used for rendering has a low priority (0).
15:13:35:181 [13224] | INFO  | Redirecting RegisterClassW(lpWndClass = 000000D933CFF190 { "SDLHelperWindowInputCatcher", style = 0 }) ...
15:13:35:184 [13224] | INFO  | Redirecting RegisterClassExA(lpWndClassEx = 00007FFA836DC0A8 { "SDL_HIDAPI_DEVICE_DETECTION", style = 0 }) ...
15:13:35:273 [13224] | INFO  | Redirecting RegisterClassExW(lpWndClassEx = 00007FFA836DC398 { "Message", style = 0 }) ...
15:13:35:301 [13224] | INFO  | Redirecting vkCreateSwapchainKHR(device = 00000251D85E9620, pCreateInfo = 000000D933CFDCD0, pAllocator = 0000000000000000, pSwapchain = 00007FF77ABADCA0) ...
15:13:35:301 [13224] | INFO  | > Dumping swap chain description:
15:13:35:302 [13224] | INFO  |   +-----------------------------------------+-----------------------------------------+
15:13:35:302 [13224] | INFO  |   | Parameter                               | Value                                   |
15:13:35:302 [13224] | INFO  |   +-----------------------------------------+-----------------------------------------+
15:13:35:302 [13224] | INFO  |   | flags                                   | 0x4                                     |
15:13:35:302 [13224] | INFO  |   | surface                                 | 00000251D4856AA0                        |
15:13:35:303 [13224] | INFO  |   | minImageCount                           | 2                                       |
15:13:35:303 [13224] | INFO  |   | imageFormat                             | VK_FORMAT_B8G8R8A8_UNORM                |
15:13:35:303 [13224] | INFO  |   | imageColorSpace                         | 0                                       |
15:13:35:303 [13224] | INFO  |   | imageExtent                             | 1920                1200                |
15:13:35:303 [13224] | INFO  |   | imageArrayLayers                        | 1                                       |
15:13:35:303 [13224] | INFO  |   | imageUsage                              | 0x11                                    |
15:13:35:304 [13224] | INFO  |   | imageSharingMode                        | 0                                       |
15:13:35:304 [13224] | INFO  |   | queueFamilyIndexCount                   | 0                                       |
15:13:35:304 [13224] | INFO  |   | preTransform                            | 0x1                                     |
15:13:35:304 [13224] | INFO  |   | compositeAlpha                          | 0x1                                     |
15:13:35:304 [13224] | INFO  |   | presentMode                             | 2                                       |
15:13:35:305 [13224] | INFO  |   | clipped                                 | true                                    |
15:13:35:305 [13224] | INFO  |   | oldSwapchain                            | 0000000000000000                        |
15:13:35:305 [13224] | INFO  |   +-----------------------------------------+-----------------------------------------+
15:13:35:307 [13224] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\opengl32.dll" (Just loaded via LoadLibrary("C:\WINDOWS\SYSTEM32\GLU32.dll")) ...
15:13:35:307 [13224] | INFO  | > Found 360 match(es). Installing ...
15:13:35:341 [13224] | INFO  | Redirecting wglSetPixelFormat(hdc = 0000000051011B90, iPixelFormat = 1, ppfd = 000000D933CFBCF0) ...
15:13:36:390 [13224] | INFO  | Running on NVIDIA GeForce GTX 1080 Ti Driver 516.94.

It's interesting to me that I don't see any obvious error message in there.

Next, after I installed Visual Studio thinking I might give creating a debug build a shot (yeah, not gonna happen lol), when the game crashes I get a "debug" option along with Close. When I click on the debug button, I get this error message in Visual Studio:
[code]Unhandled exception at 0x00007FFA6E3D2E04 (nvoglv64.dll) in vkQuake.exe: 0xC0000005: Access violation reading location 0x0000000000000070.
[/code]

Then there's a button that says, "Show Call Stack" or something similar. When I clicked on that I got this list, with an arrow pointing to the first entry:
[code][code]nvoglv64.dll!00007ffa6e3d2e04()
ReShade64.dll!00007ffa73108e41()
ReShade64.dll!00007ffa731098eb()
vkQuake.exe!00007ff77a9c6e68()
vkQuake.exe!00007ff77a9c7155()
vkQuake.exe!00007ff77a9b6fe6()
vkQuake.exe!00007ff77a99b291()
vkQuake.exe!00007ff77aa4c25d()
vkQuake.exe!00007ff77a9d0367()
vkQuake.exe!00007ff77a9e72f4()
vkQuake.exe!00007ff77a981191()
vkQuake.exe!00007ff77aa68ff2()
 kernel32.dll!00007ffab3057034()
ntdll.dll!00007ffab39e2651()
[/code]
[/code]
[code]Please let me know if there's anything else I can try or any other information I can provide that might help.

Thanks!
[/code][/code]
Last edit: 3 years 2 months ago by Sungzen. Reason: fixing code tags... maybe...

Please Log in or Create an account to join the conversation.

  • Sungzen
More
3 years 2 months ago #4 by Sungzen Replied by Sungzen on topic VkQuake crashes on run when using Vulkan globally
Just adding another bit of info I got from the Windows Event Viewer this morning:

Since I made a mess in that last post trying to use the code tags, I'm just copying and pasting in this post.

This was the Event Viewer Error message:
___________________________________

Faulting application name: vkQuake.exe, version: 0.0.0.0, time stamp: 0x62c7ce6d
Faulting module name: nvoglv64.dll, version: 31.0.15.1694, time stamp: 0x62d9e464
Exception code: 0xc0000005
Fault offset: 0x0000000001202e04
Faulting process id: 0x3a8
Faulting application start time: 0x01d8b0c1f3af5a82
Faulting application path: C:\Quake\vkQuake\vkQuake.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispig.inf_amd64_47917a79b8c7fd22\nvoglv64.dll
Report Id: ca231ce4-1ed6-4345-bde9-70c98f7f6579
Faulting package full name:
Faulting package-relative application ID:
___________________________________

This was the "Information" entry after the error in Event Viewer:

___________________________________
Fault bucket 1508187195345648690, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: vkQuake.exe
P2: 0.0.0.0
P3: 62c7ce6d
P4: nvoglv64.dll
P5: 31.0.15.1694
P6: 62d9e464
P7: c0000005
P8: 0000000001202e04
P9:
P10:
___________________________________

Please Log in or Create an account to join the conversation.

  • crosire
More
3 years 2 months ago #5 by crosire Replied by crosire on topic VkQuake crashes on run when using Vulkan globally

Please Log in or Create an account to join the conversation.

  • Sungzen
More
3 years 1 month ago #6 by Sungzen Replied by Sungzen on topic VkQuake crashes on run when using Vulkan globally
Thank you! You're awesome!

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.