Crash OBS after sleep mode

jason32

New Member
radeon RX 570, amd driver 24.3.1, OBS 30.0.2
After sleep mode, when starting OBS, the program does not start - it gives an error.
Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
In this case, launching the program knocks out the AMD driver - a black screen and standard symptoms plus a message in the driver itself.
This is in the logs
Loading up D3D11 on adapter Radeon RX 570 Series (0)
08:39:23.942: D3D11 loaded successfully, feature level used: b000
08:39:23.942: DXGI increase maximum frame latency success
08:39:23.942: D3D11 GPU priority setup success
08:39:27.335: Bad NV12 texture handling detected! Disabling NV12 texture support.
08:39:28.695: device_vertexbuffer_create (D3D11): Failed to create buffer (887A0005)
08:39:28.695: Device Removed Reason: 887A0006
08:39:29.433: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
08:39:32.978: Freeing OBS context data
08:39:32.990: == Profiler Results =============================
08:39:32.990: run_program_init: 9356.49 ms
08:39:32.990: ┣OBSApp::AppInit: 14.582 ms
08:39:32.990: ┃ ┗OBSApp::InitLocale: 2.613 ms
08:39:32.990: ┗OBSApp::OBSInit: 5724.64 ms
08:39:32.990: ┣obs_startup: 2.663 ms
08:39:32.990: ┗OBSBasic::OBSInit: 5524.59 ms
08:39:32.990: ┣OBSBasic::InitBasicConfig: 0.391 ms
08:39:32.990: ┣OBSBasic::ResetAudio: 0.168 ms
08:39:32.990: ┗OBSBasic::ResetVideo: 5524 ms
08:39:32.990: ┗obs_init_graphics: 5523.99 ms

The problem is solved by two disgusting options - either closing OBS before sleep mode through the task manager, or removing the video card in Device Manager after sleep mode.

Maybe there is a normal solution so that such an error does not occur.
PS Post written using google translate, English is not my native language
 

Fenrir

Forum Admin
As a note, we don't support leaving OBS open through a sleep, as that's considered a destructive action. We recommend that you close OBS before putting the PC to sleep, and in fact prevent sleep specifically because of this by default.
 
Top