PC Freezing due to D3D11 issues

kaimuu

New Member
Hi, I've had this issue for quite a long time using D3D11 where it would cause my entire PC to freeze every few seconds to minutes (especially right when tabbing in or out of games, this will also occasionally crash the stream completely if it lasts too long so I can't ignore it either.

Now usually I could switch over to OpenGL to fix this but as of recently trying to stream to twitch with OpenGL results in the stream never going online and infinitely loading.

Here is my log file. I've searched online and found similar issues before but got no fix for it other than OpenGL which is now not a viable option anymore. I'm on version 30.1.2 and yes I am aware that HAGS is enabled but this being enabled or disabled doesn't change anything about the issue sadly.

My log files have errors like "device_texture_create (D3D11): Failed to create 2D texture (80070057)" and "gl_shtex_init_d3d11_tex: failed to create texture (0x80070057): The parameter is incorrect." which I'd assume is the culprit.
 

PaiSand

Active Member

Disable HAGS
Enable Windows Game Mode
2k resolution at 120 fps is not realistic. Don't go over 60 fps. Streaming services accept no more than 60fps.
Consider to downscale to 1080p at 60fps.

Your CPU is too weak for the GPU you have (bottleneck) and the resolution / fps you're using.
 

kaimuu

New Member
HAGS has nothing to do with the issue, Game Mode was enabled but I disabled it to test (doesn't solve the issue), I can run 1440p 120fps just fine and twitch accepts up to 120fps, I do downscale my output to 1080p120 for streaming and yes my CPU Bottlenecks my GPU but this doesn't cause the issue and it can deal with the resolution and fps just fine, the encoder overload, rendering lag and dropped frames you see only occur when my problem happens. One workaround I've found is setting osu! to Compatibility mode which fixes the issues entirely although this is still a workaround and it would be best if I could not use that.
 

Suslik V

Active Member
Game that running in exclusive fullscreen mode (not like borderless window) gets full control over the rendering and display process, thus it may stop/destroy render (of the final image) when its main window minimized or application focus switched (Alt-Tabbed to other process). So, it is normal that you may see hooking errors from OBS on each Alt-Tab.

Generally it is not recommended to Alt-Tab from games.

Other thoughts:
If game rendering not capped, it is better to set some sane render limit - either forced 60fps or enable vertical synchronization if your display is 60Hz device (your is not).

Game renderer may have changed over the time. By some strange reason (for me), in your setup, the hooking to the game process uses "memory capture" not the "shared texture capture".

If you have any crash logs from OBS (look at main menu Help > Crash Reports), please attach them to your post here.
 
Top