VRChat Streaming Camera Alpha Transparency Bug
- ronoverdrive
-
Topic Author
Less
More
2 years 1 month ago - 2 years 1 month ago #1
by ronoverdrive
VRChat Streaming Camera Alpha Transparency Bug was created by ronoverdrive
Wasn't sure where to post this as there doesn't seem to be any obvious bug tracker that I can find for the project. Using the latest git source as of this post (
269942f
) to experiment with the new OpenVR support I noticed when I'm recording or streaming with OBS the Alpha Transparency feature of the Stream-mode camera in VRChat results in a black box surrounding my avatar instead of being transparent. This feature is useful as a streamer as it allows you to both see me from a 3rd person perspective as well as my POV using the OBS OpenVR plugin to capture video from my HMD. Here is my dxgi.log.
18:01:00:615 [11736] | INFO | Initializing crosire's ReShade version '4.9.1.2' (64-bit) built on '2021-04-23 17:24:56' loaded from "E:\Steam\steamapps\common\VRChat\dxgi.dll" into "E:\Steam\steamapps\common\VRChat\VRChat.exe" ...
18:01:00:640 [11736] | INFO | Registering hooks for "user32.dll" ...
18:01:00:647 [11736] | INFO | > Libraries loaded.
18:01:00:647 [11736] | INFO | > Found 14 match(es). Installing ...
18:01:00:663 [11736] | INFO | Registering hooks for "ws2_32.dll" ...
18:01:00:663 [11736] | INFO | > Libraries loaded.
18:01:00:664 [11736] | INFO | > Found 8 match(es). Installing ...
18:01:00:679 [11736] | INFO | Registering hooks for "C:\Windows\system32\d2d1.dll" ...
18:01:00:681 [11736] | INFO | > Delayed.
18:01:00:681 [11736] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
18:01:00:681 [11736] | INFO | > Delayed.
18:01:00:682 [11736] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
18:01:00:682 [11736] | INFO | > Delayed.
18:01:00:682 [11736] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
18:01:00:683 [11736] | INFO | > Delayed.
18:01:00:683 [11736] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
18:01:00:683 [11736] | INFO | > Libraries loaded.
18:01:00:683 [11736] | INFO | > Found 2 match(es). Installing ...
18:01:00:698 [11736] | INFO | Registering hooks for "C:\Windows\system32\d3d12.dll" ...
18:01:00:705 [11736] | INFO | > Delayed.
18:01:00:706 [11736] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
18:01:00:706 [11736] | INFO | > Delayed until first call to an exported function.
18:01:00:706 [11736] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
18:01:00:706 [11736] | INFO | > Libraries loaded.
18:01:00:707 [11736] | INFO | > Found 360 match(es). Installing ...
18:01:00:729 [11736] | INFO | Registering hooks for "openvr_api.dll" ...
18:01:00:730 [11736] | INFO | > Delayed.
18:01:00:731 [11736] | INFO | Registering hooks for "openvr_api64.dll" ...
18:01:00:731 [11736] | INFO | > Delayed.
18:01:00:731 [11736] | INFO | Initialized.
18:01:00:732 [11736] | INFO | Redirecting CreateDXGIFactory1(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 00007FF830215F20) ...
18:01:00:734 [11736] | INFO | Installing export hooks for "C:\Windows\system32\dxgi.dll" ...
18:01:00:734 [11736] | INFO | > Found 5 match(es). Installing ...
18:01:00:737 [11736] | INFO | Redirecting D3D11CreateDevice(pAdapter = 000001DA60DC4880, DriverType = 0, Software = 0000000000000000, Flags = 0x1, pFeatureLevels = 000001DA43D1ACE0, FeatureLevels = 4, SDKVersion = 7, ppDevice = 00007FF830215EE8, pFeatureLevel = 00007FF8301D2600, ppImmediateContext = 00007FF830215F08) ...
18:01:00:737 [11736] | INFO | > Passing on to D3D11CreateDeviceAndSwapChain:
18:01:00:737 [11736] | INFO | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 000001DA60DC4880, DriverType = 0, Software = 0000000000000000, Flags = 0x1, pFeatureLevels = 000001DA43D1ACE0, FeatureLevels = 4, SDKVersion = 7, pSwapChainDesc = 0000000000000000, ppSwapChain = 0000000000000000, ppDevice = 00007FF830215EE8, pFeatureLevel = 00007FF8301D2600, ppImmediateContext = 00007FF830215F08) ...
18:01:00:766 [11624] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock.
18:01:00:774 [11736] | INFO | > Using feature level 0xb100.
18:01:00:774 [11736] | INFO | Searching for add-ons (*.addon) in "E:\Steam\steamapps\common\VRChat" ...
18:01:00:803 [11736] | INFO | Redirecting CreateDXGIFactory(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 000000C369BBF058) ...
18:01:00:803 [11736] | INFO | > Passing on to CreateDXGIFactory1:
18:01:00:804 [11736] | INFO | Redirecting CreateDXGIFactory1(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 000000C369BBF058) ...
18:01:01:184 [11736] | INFO | Redirecting CreateDXGIFactory(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 000000C369BBF218) ...
18:01:01:184 [11736] | INFO | > Passing on to CreateDXGIFactory1:
18:01:01:185 [11736] | INFO | Redirecting CreateDXGIFactory1(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 000000C369BBF218) ...
18:01:01:189 [11736] | INFO | Redirecting IDXGIFactory2::CreateSwapChainForHwnd(this = 000001DA60DBB3E0, pDevice = 000001DA60795F90, hWnd = 0000000000020774, pDesc = 000000C369BBF250, pFullscreenDesc = 000000C369BBF2A8, pRestrictToOutput = 0000000000000000, ppSwapChain = 000001DA44367E68) ...
18:01:01:189 [11736] | INFO | > Dumping swap chain description:
18:01:01:189 [11736] | INFO | +-----------------------------------------+-----------------------------------------+
18:01:01:189 [11736] | INFO | | Parameter | Value |
18:01:01:190 [11736] | INFO | +-----------------------------------------+-----------------------------------------+
18:01:01:190 [11736] | INFO | | Width | 1024 |
18:01:01:190 [11736] | INFO | | Height | 768 |
18:01:01:190 [11736] | INFO | | RefreshRate | 0 1 |
18:01:01:191 [11736] | INFO | | Format | DXGI_FORMAT_R8G8B8A8_UNORM_SRGB |
18:01:01:191 [11736] | INFO | | Stereo | FALSE |
18:01:01:191 [11736] | INFO | | ScanlineOrdering | 0 |
18:01:01:191 [11736] | INFO | | Scaling | 0 |
18:01:01:191 [11736] | INFO | | SampleCount | 1 |
18:01:01:192 [11736] | INFO | | SampleQuality | 0 |
18:01:01:192 [11736] | INFO | | BufferUsage | 0x30 |
18:01:01:192 [11736] | INFO | | BufferCount | 1 |
18:01:01:192 [11736] | INFO | | Windowed | TRUE |
18:01:01:192 [11736] | INFO | | SwapEffect | 0 |
18:01:01:192 [11736] | INFO | | AlphaMode | 0 |
18:01:01:193 [11736] | INFO | | Flags | 0x2 |
18:01:01:193 [11736] | INFO | +-----------------------------------------+-----------------------------------------+
18:01:01:275 [11736] | INFO | Running on AMD Radeon RX 5600 XT
18:01:01:280 [11736] | INFO | Recreated runtime environment on runtime 000001DA6B843600.
18:01:01:285 [11736] | INFO | Redirecting IDXGISwapChain::SetFullscreenState(this = 000001DA6B6A6DE0, Fullscreen = FALSE, pTarget = 0000000000000000) ...
18:01:01:287 [11736] | INFO | Redirecting IDXGISwapChain::ResizeBuffers(this = 000001DA6B6A6DE0, BufferCount = 1, Width = 1024, Height = 768, NewFormat = 29, SwapChainFlags = 0x2) ...
18:01:01:287 [11736] | INFO | Destroyed runtime environment on runtime 000001DA6B843600.
18:01:01:291 [11736] | INFO | Recreated runtime environment on runtime 000001DA6B843600.
18:01:05:333 [12380] | INFO | Redirecting RegisterClassW(lpWndClass = 000000C36E07FB40 { graphics_hook_gl_dummy_window }) ...
18:01:25:882 [11736] | INFO | Redirecting RegisterClassExW(lpWndClassEx = 000000C369BBE730 { SteamWinsockInitFakeClass_1 }) ...
18:01:25:884 [11736] | INFO | > Adding 'CS_OWNDC' window class style flag to 'SteamWinsockInitFakeClass_1'.
18:01:32:604 [11736] | INFO | Installing delayed hooks for "openvr_api.dll" (Just loaded via LoadLibrary("api-ms-win-core-synch-l1-2-0")) ...
18:01:32:619 [11736] | INFO | > Found 3 match(es). Installing ...
18:01:32:704 [11736] | INFO | Redirecting VR_InitInternal2(peError = 000000C369BBEFD0, eApplicationType = 1, pStartupInfo = 0) ...
18:01:33:231 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRSystem_019, peError = 000000C369BBEFD0) ...
18:01:33:308 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRChaperone_003, peError = 000000C369BBF120) ...
18:01:33:322 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRChaperoneSetup_005, peError = 000000C369BBF120) ...
18:01:33:322 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRCompositor_022, peError = 000000C369BBEFD0) ...
18:01:33:323 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVROverlay_018, peError = 000000C369BBF120) ...
18:01:37:447 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRCompositor_022, peError = 000000C369BBF0D8) ...
18:01:37:455 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVROverlay_018, peError = 000000C369BBF0D8) ...
18:01:37:456 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVRSystem_019, peError = 000000C369BBEF58) ...
18:01:37:458 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVRCompositor_022, peError = 000000C369BBEF58) ...
18:01:37:458 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVROverlay_018, peError = 000000C369BBEF58) ...
18:01:37:703 [11692] | INFO | Running on AMD Radeon RX 5600 XT
18:01:37:708 [11692] | ERROR | Failed to create region texture! HRESULT is E_INVALIDARG.
18:01:37:708 [11692] | DEBUG | > Details: Width = 0, Height = 0, Format = 27
18:01:37:709 [11692] | ERROR | Failed to create region texture! HRESULT is E_INVALIDARG.
18:01:37:709 [11692] | DEBUG | > Details: Width = 0, Height = 0, Format = 27
18:01:37:743 [12800] | INFO | Successfully loaded "E:\Steam\steamapps\common\VRChat\reshade-shaders\Shaders\VR_CAS_Color.fx".
18:01:38:841 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVRScreenshots_001, peError = 000000C369BBE0B8) ...
18:01:38:892 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVRSettings_002, peError = 000000C369BBE088) ...
18:01:38:905 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = FnTable:IVRRenderModels_005, peError = 000000C369BBE0F8) ...
18:01:39:217 [11692] | INFO | Recreated runtime environment on runtime 000001DA1D449020.
18:01:39:273 [13200] | INFO | Successfully loaded "E:\Steam\steamapps\common\VRChat\reshade-shaders\Shaders\VR_CAS_Color.fx".
18:01:51:988 [11692] | INFO | Loading image files for textures ...
18:01:52:117 [11692] | INFO | Destroyed runtime environment on runtime 000001DA1D449020.
18:01:52:119 [11692] | INFO | Recreated runtime environment on runtime 000001DA1D449020.
18:01:52:121 [03492] | INFO | Successfully loaded "E:\Steam\steamapps\common\VRChat\reshade-shaders\Shaders\VR_CAS_Color.fx".
18:01:52:398 [11692] | INFO | Loading image files for textures ...
18:02:36:980 [11692] | INFO | Destroyed runtime environment on runtime 000001DA1D449020.
18:02:36:985 [11692] | INFO | Recreated runtime environment on runtime 000001DA1D449020.
18:02:36:986 [11808] | INFO | Successfully loaded "E:\Steam\steamapps\common\VRChat\reshade-shaders\Shaders\VR_CAS_Color.fx".
18:02:37:004 [11692] | INFO | Loading image files for textures ...
18:02:52:257 [11692] | INFO | Destroyed runtime environment on runtime 000001DA1D449020.
18:02:52:263 [11692] | INFO | Recreated runtime environment on runtime 000001DA1D449020.
18:02:52:281 [10292] | INFO | Successfully loaded "E:\Steam\steamapps\common\VRChat\reshade-shaders\Shaders\VR_CAS_Color.fx".
18:02:52:303 [11692] | INFO | Loading image files for textures ...
18:02:59:013 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVRCompositor_022, peError = 000000C369BBF058) ...
18:02:59:014 [11736] | INFO | Redirecting VR_GetGenericInterface(pchInterfaceVersion = IVROverlay_018, peError = 000000C369BBF058) ...
18:03:00:550 [11692] | INFO | Redirecting VR_ShutdownInternal() ...
18:03:00:551 [11692] | INFO | Destroyed runtime environment on runtime 000001DA1D449020.
18:03:01:098 [11736] | INFO | Redirecting IDXGISwapChain::SetFullscreenState(this = 000001DA6B6A6DE0, Fullscreen = FALSE, pTarget = 0000000000000000) ...
18:03:01:099 [11736] | INFO | Destroyed runtime environment on runtime 000001DA6B843600.
18:03:01:123 [11736] | WARN | Reference count for ID3D11Device2 object 000001DA60795F90 (000001DA60DD7388) is inconsistent (63).
18:03:01:123 [11736] | WARN | Reference count for IDXGIDevice3 object 000001DA60DD5AC0 (000001DA60DD6B98) is inconsistent (61).
Last edit: 2 years 1 month ago by ronoverdrive.
Please Log in or Create an account to join the conversation.