Ditching 3D Vision completely and moving to saner output techniques might be a good idea to steer clear of a nervous breakdown!
![Woot! :woot](./images/smilies/woot.gif)
Try 3DFM! Enabling from Nvidia Panel will always crash for me! (As a matter of fact it crashes in any game and application if I use NvPanel ^_^).LukeRoss00 wrote: ↑Wed Jul 22, 2020 7:07 am I enabled 3D Vision from the NVIDIA control panel. I'll try from 3DFM now, but I don't think it's going to make a difference.
Ditching 3D Vision completely and moving to saner output techniques might be a good idea to steer clear of a nervous breakdown!![]()
You are getting this crash even without 3DVision enabled no?LukeRoss00 wrote: ↑Wed Jul 22, 2020 7:22 am As I suspected, no difference if I enable 3D Vision from 3DFM![]()
And if you disable 3D Vision completely... and run it, what do you get?LukeRoss00 wrote: ↑Wed Jul 22, 2020 7:30 am With 3D Vision always enabled (i.e., not doing the disable/enable routine) I get the black screen hang instead of the crash.
Which means that it switches to Exclusive Fullscreen. I just pass 0 to the shaders as I don't have Stereo Information to send.LukeRoss00 wrote: ↑Wed Jul 22, 2020 7:42 am I think the main difference between your system and mine is the video card generation. Bo3b is getting the crashes too, and he has a GTX 1080 Ti like myself, but on DCH drivers. So I'll tend to exclude that it's a driver problem (both Bo3b and me can run the control panel test application in 3D and other games without issues).
If I disable 3D Vision completely, the game works reliably with your onscreen GUI and everything, but of course no stereo goodness![]()
Yes, it is. I don't do anything until I get back the return value that Exclusive Fullscreen has been activated. But, let's try something quickLukeRoss00 wrote: ↑Wed Jul 22, 2020 7:55 am In 3D Vision Discover mode it works without problems, both for me and Bo3b. I'm not sure it's a driver problem: I suspect that it might be a reentrancy issue.
I run my desktop in 120 Hz mode. Despite that, when I start the game with 3D Vision on (not Discover) and your wrapper running, I see a display mode change just before the crash. That means that your SetFullscreenState() call is triggering a desktop resolution change, and as you know that will generate a flurry of Windows messages to both the game and the wrapper. Is your code well protected against trying to do anything dangerous (like grabbing the backbuffer, copying resources, etc.) during that interval?
"won't work" it's not descriptive enough... what exactly is happening? and what GPU do you have?
Already tested, all refresh-rates and it doesn't matter. What matters is the game makes the swapchain the same size as your Window Resolution. If your Windows Resolution is 4k and your game is set to run at 1080p it will crash...LukeRoss00 wrote: ↑Wed Jul 22, 2020 8:01 am Perhaps you might be able to reproduce the crash if you set your desktop to anything other than 1920x1080@120, so that when you switch to fullscreen you will get a mode change like we seem to have...
So it works for you?!kaimastah wrote: ↑Wed Jul 22, 2020 8:10 am The Epic Store demo works out of the box on my old system even with older drivers: Win10 1809, 441.87 standard drivers, 2500k + gtx 970 + normal 3DVision monitor set @ 120hz.
I tried the first version of the fix and followed the instructions. I also have 2 other HDTVs connected in other ports but didn't have any issues.
It might be worth checking if the APP_COMPAT_SHIM profile flag solves this, although it should've crashed for me as well if this was the case:
APP_COMPAT_SHIM - 0x00000002 DX11_FORCE_DDI_CRITICAL_SECTION_FOR_STEREO (Force a critical section on all non-reentrant DX11 DDI if stereo shim is enabled)
or
APP_COMPAT_SHIM - 0x00000001 DX11_FORCE_DDI_CRITICAL_SECTION (Force a critical section on all non-reentrant DX11 DDI)
This is the log from a hanging black screen run (no 3D vision disable/enable dance):
Code: Select all
16:19:40:724 [19872] | INFO | Initializing Vk3DVision version '0.0.1.2212' (64-bit) built on '2020-07-22 13:00:40' loaded from "C:\ProgramData\Vk3DVision\Vk3DVision64.dll" into "C:\Program Files\Epic Games\DetroitBecomeHuman\DetroitBecomeHuman.exe" ...
16:19:40:845 [19872] | INFO | Registering hooks for "user32.dll" ...
16:19:40:845 [19872] | INFO | > Libraries loaded.
16:19:40:845 [19872] | INFO | > Found 15 match(es). Installing ...
16:19:40:880 [19872] | INFO | Registering hooks for "ws2_32.dll" ...
16:19:40:880 [19872] | INFO | > Libraries loaded.
16:19:40:880 [19872] | INFO | > Found 8 match(es). Installing ...
16:19:40:909 [19872] | INFO | Initialized.
16:19:40:910 [19872] | INFO | Redirecting vkCreateInstance(pCreateInfo = 000000AC690EBD30, pAllocator = 0000000086EC7048, pInstance = 000000AC690EBE90) ...
16:19:40:910 [19872] | INFO | > Requesting new Vulkan instance for API version 1.1 ...
16:19:40:930 [19872] | INFO | Redirecting vkCreateDevice(physicalDevice = 0000000086A1FBE0, pCreateInfo = 000000AC690FE990, pAllocator = 0000000000000000, pDevice = 000000AC690FE930) ...
16:19:41:249 [19872] | INFO | Redirecting vkCreateWin32SurfaceKHR(instance = 0000000086EA6960, pCreateInfo = 000000AC690FEDB8, pAllocator = 0000000000000000, pSurface = 0000000085A440E8) ...
16:19:41:250 [19872] | INFO | Redirecting vkCreateSwapchainKHR(device = 0000000086EBAE60, pCreateInfo = 000000AC690FEDE0, pAllocator = 0000000000000000, pSwapchain = 0000000085A440F0) ...
16:19:41:250 [19872] | INFO | > Dumping swap chain description:
16:19:41:250 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:41:250 [19872] | INFO | | Parameter | Value |
16:19:41:250 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:41:250 [19872] | INFO | | flags | 0x4 |
16:19:41:250 [19872] | INFO | | surface | 00000000859A2230 |
16:19:41:250 [19872] | INFO | | minImageCount | 3 |
16:19:41:250 [19872] | INFO | | imageFormat | 44 |
16:19:41:250 [19872] | INFO | | imageColorSpace | 0 |
16:19:41:250 [19872] | INFO | | imageExtent | 1024 576 |
16:19:41:250 [19872] | INFO | | imageArrayLayers | 1 |
16:19:41:251 [19872] | INFO | | imageUsage | 0x17 |
16:19:41:251 [19872] | INFO | | imageSharingMode | 0 |
16:19:41:251 [19872] | INFO | | queueFamilyIndexCount | 0 |
16:19:41:251 [19872] | INFO | | preTransform | 0x1 |
16:19:41:251 [19872] | INFO | | compositeAlpha | 0x1 |
16:19:41:251 [19872] | INFO | | presentMode | 2 |
16:19:41:251 [19872] | INFO | | clipped | true |
16:19:41:251 [19872] | INFO | | oldSwapchain | 0000000000000000 |
16:19:41:251 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:41:284 [19872] | INFO | Running on GeForce GTX 1080 Ti Driver 451.48
16:19:41:299 [19872] | INFO | Recreated runtime environment on runtime 00000228504E9220.
16:19:41:299 [19872] | INFO | Nvidia Profile exe name:detroitbecomehuman.exe
16:19:41:645 [19872] | INFO | Found NVIDIA existing Profile: Detroit: Become Human
16:19:41:645 [19872] | INFO | Found NVIDIA Profile: Detroit: Become Human
16:19:41:645 [19872] | INFO | 3D Vision Profile value found and is already set!
16:19:41:645 [19872] | ERROR | ERROR:Cannot save profile. Error code: -137
16:19:41:645 [19872] | ERROR | ERROR: Cannot update the existing profile with the 3D Vision flag !!!
16:19:43:247 [19872] | INFO | Redirecting vkDestroySwapchainKHR(0000000086EBAE60, 0000000086E7F9D0, 0000000000000000) ...
16:19:43:247 [19872] | INFO | Destroyed runtime environment on runtime 00000228504E9220.
16:19:43:250 [19872] | INFO | Redirecting vkDestroySurfaceKHR(instance = 0000000086EA6960, surface = 00000000859A2230, pAllocator = 0000000000000000) ...
16:19:43:250 [19872] | INFO | Redirecting vkCreateWin32SurfaceKHR(instance = 0000000086EA6960, pCreateInfo = 000000AC690FF608, pAllocator = 0000000000000000, pSurface = 0000000085A440E8) ...
16:19:43:252 [19872] | INFO | Redirecting vkCreateSwapchainKHR(device = 0000000086EBAE60, pCreateInfo = 000000AC690FF630, pAllocator = 0000000000000000, pSwapchain = 0000000085A440F0) ...
16:19:43:252 [19872] | INFO | > Dumping swap chain description:
16:19:43:252 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:43:252 [19872] | INFO | | Parameter | Value |
16:19:43:252 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:43:252 [19872] | INFO | | flags | 0x4 |
16:19:43:252 [19872] | INFO | | surface | 00000000859A2230 |
16:19:43:252 [19872] | INFO | | minImageCount | 3 |
16:19:43:252 [19872] | INFO | | imageFormat | 44 |
16:19:43:252 [19872] | INFO | | imageColorSpace | 0 |
16:19:43:252 [19872] | INFO | | imageExtent | 1920 1080 |
16:19:43:252 [19872] | INFO | | imageArrayLayers | 1 |
16:19:43:252 [19872] | INFO | | imageUsage | 0x17 |
16:19:43:252 [19872] | INFO | | imageSharingMode | 0 |
16:19:43:252 [19872] | INFO | | queueFamilyIndexCount | 0 |
16:19:43:252 [19872] | INFO | | preTransform | 0x1 |
16:19:43:252 [19872] | INFO | | compositeAlpha | 0x1 |
16:19:43:252 [19872] | INFO | | presentMode | 2 |
16:19:43:252 [19872] | INFO | | clipped | true |
16:19:43:252 [19872] | INFO | | oldSwapchain | 0000000000000000 |
16:19:43:252 [19872] | INFO | +-----------------------------------------+-----------------------------------------+
16:19:43:254 [19872] | INFO | Running on GeForce GTX 1080 Ti Driver 451.48
16:19:43:256 [19872] | INFO | Recreated runtime environment on runtime 00000228117C6580.
16:19:43:256 [19872] | INFO | Nvidia Profile exe name:detroitbecomehuman.exe
16:19:43:602 [19872] | INFO | Found NVIDIA existing Profile: Detroit: Become Human
16:19:43:602 [19872] | INFO | Found NVIDIA Profile: Detroit: Become Human
16:19:43:602 [19872] | INFO | 3D Vision Profile value found and is already set!
16:19:43:602 [19872] | ERROR | ERROR:Cannot save profile. Error code: -137
16:19:43:602 [19872] | ERROR | ERROR: Cannot update the existing profile with the 3D Vision flag !!!
Code: Select all
> ntdll.dll!00007ffc9aa9f9a4() Unknown
ntdll.dll!00007ffc9aa07619() Unknown
ntdll.dll!00007ffc9aa074d2() Unknown
ntdll.dll!00007ffc9aa072fd() Unknown
ntdll.dll!00007ffc9aa1b576() Unknown
ntdll.dll!00007ffc9aa1b3c0() Unknown
nvapi64.dll!00007ffc899faef8() Unknown
nvSCPAPI64.dll!00007ffc7b8f66df() Unknown
nvSCPAPI64.dll!00007ffc7b8f65d5() Unknown
nvSCPAPI64.dll!00007ffc7b8f6a13() Unknown
nvSCPAPI64.dll!00007ffc7b8f872a() Unknown
nvSCPAPI64.dll!00007ffc7b8d745b() Unknown
nvSCPAPI64.dll!00007ffc7b8d8a12() Unknown
nvSCPAPI64.dll!00007ffc7b8d8e04() Unknown
nvSCPAPI64.dll!00007ffc7b8da8d6() Unknown
nvwgf2umx.dll!00007ffc5d33fec7() Unknown
nvwgf2umx.dll!00007ffc5d356f75() Unknown
d3d11.dll!CResource<ID3D11Texture2D1>::CLS::FinalConstruct() Unknown
d3d11.dll!TCLSWrappers<class CTexture2D>::CLSFinalConstructFn(struct CTexture2D::CLS *,class CContext *,struct CTexture2D::TConstructorArgs const *) Unknown
d3d11.dll!CLayeredObjectWithCLS<class CTexture2D>::FinalConstruct(struct CTexture2D::TConstructorArgs const &,struct _GUID const &,void * *,struct CLayeredObjectWithCLS<class CTexture2D>::SInfo const *) Unknown
d3d11.dll!CDevice::CreateLayeredChild() Unknown
d3d11.dll!NDXGI::CDeviceChild<IDXGISurface,IUnknown>::FinalConstruct() Unknown
d3d11.dll!NDXGI::CResource::FinalConstruct() Unknown
d3d11.dll!NDXGI::CDevice::CreateLayeredChild() Unknown
d3d11.dll!NOutermost::CDevice::CreateLayeredChild() Unknown
d3d11.dll!NDXGI::CDevice::CreateSurfaceInternal() Unknown
dxgi.dll!00007ffc965a64a9() Unknown
dxgi.dll!00007ffc965f26a6() Unknown
dxgi.dll!00007ffc965f2e23() Unknown
dxgi.dll!00007ffc965c991e() Unknown
dxgi.dll!00007ffc965b1f83() Unknown
dxgi.dll!00007ffc965b1b64() Unknown
Vk3DVision64.dll!00007ffc4251ba89() Unknown
user32.dll!00007ffc9a4cf746() Unknown
user32.dll!00007ffc9a4d1f83() Unknown
ntdll.dll!00007ffc9aa9fde4() Unknown
win32u.dll!00007ffc983f10c4() Unknown
user32.dll!00007ffc9a4c94f2() Unknown
user32.dll!00007ffc9a4c9ae9() Unknown
Vk3DVision64.dll!00007ffc424fc1d5() Unknown
mfc140.dll!00007ffc4cb9ab0f() Unknown
mfc140.dll!00007ffc4cbcd160() Unknown
DetroitBecomeHuman.exe!00007ff7d607f54f() Unknown
kernel32.dll!00007ffc9a357bd4() Unknown
ntdll.dll!00007ffc9aa6ce51() Unknown
As I mentioned, my desktop resolution is 1920x1080@120 and my monitor doesn't go higher than 120.
Code: Select all
16:28:33:264 [27848] | INFO | Initializing Vk3DVision version '0.0.1.2212' (64-bit) built on '2020-07-22 13:00:40' loaded from "C:\ProgramData\Vk3DVision\Vk3DVision64.dll" into "C:\Program Files\Epic Games\DetroitBecomeHuman\DetroitBecomeHuman.exe" ...
16:28:33:403 [27848] | INFO | Registering hooks for "user32.dll" ...
16:28:33:404 [27848] | INFO | > Libraries loaded.
16:28:33:404 [27848] | INFO | > Found 15 match(es). Installing ...
16:28:33:443 [27848] | INFO | Registering hooks for "ws2_32.dll" ...
16:28:33:443 [27848] | INFO | > Libraries loaded.
16:28:33:443 [27848] | INFO | > Found 8 match(es). Installing ...
16:28:33:472 [27848] | INFO | Initialized.
16:28:33:473 [27848] | INFO | Redirecting vkCreateInstance(pCreateInfo = 00000023679EBA20, pAllocator = 0000000086EC7048, pInstance = 00000023679EBB80) ...
16:28:33:473 [27848] | INFO | > Requesting new Vulkan instance for API version 1.1 ...
16:28:33:491 [27848] | INFO | Redirecting vkCreateDevice(physicalDevice = 0000000086A1FBE0, pCreateInfo = 00000023679FE680, pAllocator = 0000000000000000, pDevice = 00000023679FE620) ...
16:28:33:792 [27848] | INFO | Redirecting vkCreateWin32SurfaceKHR(instance = 0000000086EA6960, pCreateInfo = 00000023679FEAA8, pAllocator = 0000000000000000, pSurface = 0000000085A440E8) ...
16:28:33:795 [27848] | INFO | Redirecting vkCreateSwapchainKHR(device = 0000000086EBAE60, pCreateInfo = 00000023679FEAD0, pAllocator = 0000000000000000, pSwapchain = 0000000085A440F0) ...
16:28:33:795 [27848] | INFO | > Dumping swap chain description:
16:28:33:795 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:33:795 [27848] | INFO | | Parameter | Value |
16:28:33:795 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:33:795 [27848] | INFO | | flags | 0x4 |
16:28:33:795 [27848] | INFO | | surface | 00000000859A2230 |
16:28:33:795 [27848] | INFO | | minImageCount | 3 |
16:28:33:795 [27848] | INFO | | imageFormat | 44 |
16:28:33:795 [27848] | INFO | | imageColorSpace | 0 |
16:28:33:795 [27848] | INFO | | imageExtent | 1024 576 |
16:28:33:795 [27848] | INFO | | imageArrayLayers | 1 |
16:28:33:795 [27848] | INFO | | imageUsage | 0x17 |
16:28:33:795 [27848] | INFO | | imageSharingMode | 0 |
16:28:33:795 [27848] | INFO | | queueFamilyIndexCount | 0 |
16:28:33:795 [27848] | INFO | | preTransform | 0x1 |
16:28:33:795 [27848] | INFO | | compositeAlpha | 0x1 |
16:28:33:795 [27848] | INFO | | presentMode | 2 |
16:28:33:795 [27848] | INFO | | clipped | true |
16:28:33:795 [27848] | INFO | | oldSwapchain | 0000000000000000 |
16:28:33:795 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:33:829 [27848] | INFO | Running on GeForce GTX 1080 Ti Driver 451.48
16:28:33:844 [27848] | INFO | Recreated runtime environment on runtime 000001A26B0980F0.
16:28:33:844 [27848] | INFO | Nvidia Profile exe name:detroitbecomehuman.exe
16:28:34:255 [27848] | INFO | Found NVIDIA existing Profile: Detroit: Become Human
16:28:34:255 [27848] | INFO | Found NVIDIA Profile: Detroit: Become Human
16:28:34:255 [27848] | INFO | 3D Vision Profile value found and is already set!
16:28:34:255 [27848] | ERROR | ERROR:Cannot save profile. Error code: -137
16:28:34:255 [27848] | ERROR | ERROR: Cannot update the existing profile with the 3D Vision flag !!!
16:28:36:799 [27848] | INFO | Redirecting vkDestroySwapchainKHR(0000000086EBAE60, 0000000086E7F9D0, 0000000000000000) ...
16:28:36:799 [27848] | INFO | Destroyed runtime environment on runtime 000001A26B0980F0.
16:28:36:802 [27848] | INFO | Redirecting vkDestroySurfaceKHR(instance = 0000000086EA6960, surface = 00000000859A2230, pAllocator = 0000000000000000) ...
16:28:36:802 [27848] | INFO | Redirecting vkCreateWin32SurfaceKHR(instance = 0000000086EA6960, pCreateInfo = 00000023679FF2F8, pAllocator = 0000000000000000, pSurface = 0000000085A440E8) ...
16:28:36:803 [27848] | INFO | Redirecting vkCreateSwapchainKHR(device = 0000000086EBAE60, pCreateInfo = 00000023679FF320, pAllocator = 0000000000000000, pSwapchain = 0000000085A440F0) ...
16:28:36:803 [27848] | INFO | > Dumping swap chain description:
16:28:36:803 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:36:803 [27848] | INFO | | Parameter | Value |
16:28:36:803 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:36:803 [27848] | INFO | | flags | 0x4 |
16:28:36:803 [27848] | INFO | | surface | 00000000859A2230 |
16:28:36:803 [27848] | INFO | | minImageCount | 3 |
16:28:36:803 [27848] | INFO | | imageFormat | 44 |
16:28:36:803 [27848] | INFO | | imageColorSpace | 0 |
16:28:36:803 [27848] | INFO | | imageExtent | 1920 1080 |
16:28:36:803 [27848] | INFO | | imageArrayLayers | 1 |
16:28:36:803 [27848] | INFO | | imageUsage | 0x17 |
16:28:36:803 [27848] | INFO | | imageSharingMode | 0 |
16:28:36:803 [27848] | INFO | | queueFamilyIndexCount | 0 |
16:28:36:803 [27848] | INFO | | preTransform | 0x1 |
16:28:36:803 [27848] | INFO | | compositeAlpha | 0x1 |
16:28:36:803 [27848] | INFO | | presentMode | 2 |
16:28:36:803 [27848] | INFO | | clipped | true |
16:28:36:803 [27848] | INFO | | oldSwapchain | 0000000000000000 |
16:28:36:803 [27848] | INFO | +-----------------------------------------+-----------------------------------------+
16:28:36:805 [27848] | INFO | Running on GeForce GTX 1080 Ti Driver 451.48
16:28:36:807 [27848] | INFO | Recreated runtime environment on runtime 000001A22A2BEDA0.
16:28:36:807 [27848] | INFO | Nvidia Profile exe name:detroitbecomehuman.exe
16:28:37:135 [27848] | INFO | Found NVIDIA existing Profile: Detroit: Become Human
16:28:37:135 [27848] | INFO | Found NVIDIA Profile: Detroit: Become Human
16:28:37:135 [27848] | INFO | 3D Vision Profile value found and is already set!
16:28:37:135 [27848] | ERROR | ERROR:Cannot save profile. Error code: -137
16:28:37:135 [27848] | ERROR | ERROR: Cannot update the existing profile with the 3D Vision flag !!!
Sorry, identical crash as the earlier versionshelifax wrote: ↑Wed Jul 22, 2020 8:43 am Can you please try this: Direct Link : http://www.3dsurroundgaming.com/Vk3DVis ... Vision.exe
I am curious if it some sort of race condition...
Thanks. I need some way to reproduce this, as I have no idea what is causing it.LukeRoss00 wrote: ↑Wed Jul 22, 2020 8:49 amSorry, identical crash as the earlier versionshelifax wrote: ↑Wed Jul 22, 2020 8:43 am Can you please try this: Direct Link : http://www.3dsurroundgaming.com/Vk3DVis ... Vision.exe
I am curious if it some sort of race condition...
Can you download the exe from the above link and give it a quick go? I think that should solve the issue!Necropants wrote: ↑Wed Jul 22, 2020 9:39 am Have limited time to look into this deeply right now. (it's 3::30am) but wanted to give this a quick shot. I am getting a silent crash as the Nvidia green text comes up
Pretty sure I have meticulously followed the instructions. windows 10 pro 1809, but 451.67 driver (not DCH), 2080ti, Asus PG278QR steam version of the Demo.
So sometimes it works for you and sometimes it doesn't?Ixomack wrote: ↑Wed Jul 22, 2020 10:05 am Sorry to bring bad news but it still does not work for me.
When it works, I have the following:
- black screen -> blue cursor for the mouse -> Nvidia geforce experience message that appears on the top right for 2 sec -> white screen with the menu of the game
When it does not work (like now), I have the following:
- black screen -> blue cursor for the mouse -> Nvidia geforce experience message that appears on the top right for 2 sec -> nothing else
I have to kill the task to get out of the black screen.
You use the same resolution both in-game and in windows right?
Did you hear the sound in the background this time? There shouldn't be anything visible in this version.
Right!
You should be able to ALT+TAB open Task manager and ALT+E to kill the task. This is exclusive fullscreen for you!