I am using OBS and none of the options are working for recording programs. The following shown in the system logs.
23:42:42.909: [game-capture: 'minecraft'] attempting to hook process: javaw.exe
23:42:42.929: gs_texture_open_shared (D3D11): Failed to open shared 2D texture (80070057)
23:42:42.929: [game-capture: 'minecraft'] init_shtex_capture: failed to open shared handle
23:42:42.931: [game-capture: 'minecraft'] capture stopped
23:42:46.924: [game-capture: 'minecraft'] attempting to hook process: javaw.exe
23:42:46.944: gs_texture_open_shared (D3D11): Failed to open shared 2D texture (80070057)
23:42:46.944: [game-capture: 'minecraft'] init_shtex_capture: failed to open shared handle
23:42:46.947: [game-capture: 'minecraft'] capture stopped
23:42:50.972: [game-capture: 'minecraft'] attempting to hook process: javaw.exe
23:42:51.004: gs_texture_open_shared (D3D11): Failed to open shared 2D texture (80070057)
23:42:51.004: [game-capture: 'minecraft'] init_shtex_capture: failed to open shared handle
23:42:51.006: [game-capture: 'minecraft'] capture stopped
23:42:54.965: [game-capture: 'minecraft'] attempting to hook process: javaw.exe
23:42:54.985: gs_texture_open_shared (D3D11): Failed to open shared 2D texture (80070057)
23:42:54.986: [game-capture: 'minecraft'] init_shtex_capture: failed to open shared handle
23:42:54.987: [game-capture: 'minecraft'] capture stopped
23:42:58.974: [game-capture: 'minecraft'] attempting to hook process: javaw.exe
23:42:58.996: gs_texture_open_shared (D3D11): Failed to open shared 2D texture (80070057)
23:42:58.996: [game-capture: 'minecraft'] init_shtex_capture: failed to open shared handle
23:42:58.998: [game-capture: 'minecraft'] capture stopped