You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a crash in OBS Studio itself, rather the graphics-hook64.dll causing other applications to crash. OBS doesn't need to be running, just installed. Direct Display is a new Vulkan feature that allows an app to directly output to a monitor without interacting with the Windows desktop. I would not expect graphics-hook64.dll to cause other applications to crash, especially when OBS isn't even active.
Current Behavior
If OBS is installed on the machine, trying to use this feature crashes due to a bug in graphics-hook64.dll. Likely not handling this new extension properly.
Steps to Reproduce
You need Windows 11 Pro for Workstations or Windows 11 Enterprise to reproduce this. This is because the feature to 'remove a monitor from the desktop' is locked behind those versions.
Uninstall OBS, just so we can see the Direct Display working first.
Vulkan Direct Display uses extensions:
VK_KHR_display/VK_EXT_direct_mode_display
This workflow allows creating swapchains that arn't active on the
desktop, so they don't have HWNDs.
Avoid trying to create swap_data when a HWND can't be found.
Fixesobsproject#11581
mbechard
changed the title
Create in graphics-hook64.dll on call to vkCreateSwapchainKHR when using Vulkan Direct Display
Crash in graphics-hook64.dll on call to vkCreateSwapchainKHR when using Vulkan Direct Display
Dec 3, 2024
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
30.2.3
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/83BBFOiQVhsO906Y
OBS Studio Crash Log URL
No response
Expected Behavior
This isn't a crash in OBS Studio itself, rather the graphics-hook64.dll causing other applications to crash. OBS doesn't need to be running, just installed. Direct Display is a new Vulkan feature that allows an app to directly output to a monitor without interacting with the Windows desktop. I would not expect graphics-hook64.dll to cause other applications to crash, especially when OBS isn't even active.
Current Behavior
If OBS is installed on the machine, trying to use this feature crashes due to a bug in graphics-hook64.dll. Likely not handling this new extension properly.
Steps to Reproduce
configureDdisplay.exe status
to see the displays on the machineconfigureDdisplay.exe remove-from-desktop -i 1
, for example, to remove monitor index 1 from the desktop.Thanks for looking into this.
Anything else we should know?
No response
The text was updated successfully, but these errors were encountered: