RePlays icon indicating copy to clipboard operation
RePlays copied to clipboard

War Thunder freezed recording with only audio working.

Open Eddyporcodio opened this issue 2 years ago • 6 comments

Hello, I have this problem with War Thunder only for now, just reporting the bug. Thanks a lot for the job you are doing.

Eddyporcodio avatar Oct 14 '23 13:10 Eddyporcodio

If you could please provide logs, it could help us better debug the issue.

lulzsun avatar Oct 14 '23 19:10 lulzsun

logs.txt
[16/10/2023 22:21:58][Messages.cs(145)]: RemoveProgram ::: {"list":"blacklist","exe":"d:\\games\\warthunder\\win64\\aces.exe"}
[16/10/2023 22:21:58][Messages.cs(330)]: d:\games\warthunder\win64\aces.exe | blacklist
[16/10/2023 22:21:58][SettingsService.cs(65)]: Saved userSettings.json
[16/10/2023 22:21:58][SettingsService.cs(39)]: Loaded userSettings.json
[16/10/2023 22:22:04][DetectionService.cs(273)]: Process [10080][gaijin_downloader.exe] isn't in the game detection list, checking if it might be a game
[16/10/2023 22:22:05][DetectionService.cs(277)]: PROCESS GPU USAGE [10080]: 0
[16/10/2023 22:22:05][DetectionService.cs(273)]: Process [7028][gjagent.exe] isn't in the game detection list, checking if it might be a game
[16/10/2023 22:22:05][DetectionService.cs(277)]: PROCESS GPU USAGE [7028]: 0
[16/10/2023 22:22:38][DetectionService.cs(228)]: Failed to get process: [14504] full path. Error: [Accesso negato.
[16/10/2023 22:22:55][DetectionService.cs(228)]: Failed to get process: [6800] full path. Error: [Accesso negato.
[16/10/2023 22:24:55][DetectionService.cs(228)]: Failed to get process: [14448] full path. Error: [Accesso negato.
[16/10/2023 22:26:31][DetectionService.cs(228)]: Failed to get process: [11596] full path. Error: [Accesso negato.
[16/10/2023 22:30:37][DetectionService.cs(228)]: Failed to get process: [10184] full path. Error: [Accesso negato.
[16/10/2023 22:36:06][DetectionService.cs(228)]: Failed to get process: [13220] full path. Error: [Accesso negato.
[16/10/2023 22:36:32][DetectionService.cs(228)]: Failed to get process: [6644] full path. Error: [Accesso negato.
[16/10/2023 22:36:36][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 0/40
[16/10/2023 22:36:37][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 1/40
[16/10/2023 22:36:38][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 2/40
[16/10/2023 22:36:39][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 3/40
[16/10/2023 22:36:40][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 4/40
[16/10/2023 22:36:41][DetectionService.cs(300)]: Process [2000][aces.exe]: Got no MainWindow. Retrying... 5/40
[16/10/2023 22:36:42][DetectionService.cs(305)]: Process [2000][aces.exe]: Got MainWindow [Loading...]
[16/10/2023 22:36:42][DetectionService.cs(314)]: This process [2000] is a recordable game [aces.exe], prepared to record
[16/10/2023 22:36:42][DetectionService.cs(318)]: Is allowed to record: True
[16/10/2023 22:36:42][RecordingService.cs(60)]: Is PreRecording False
[16/10/2023 22:36:42][RecordingService.cs(61)]: Is Recording False
[16/10/2023 22:36:42][LibObsRecorder.cs(189)]: Game capture window size: 1920x1080
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: warning: 1 views remain at shutdown
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: ---------------------------------
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1920x1080
	downscale filter:  Bilinear
	fps:               60/1
	format:            NV12
	YUV mode:          Rec. 709/Partial
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: NV12 texture support enabled
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: P010 texture support not available
[16/10/2023 22:36:42][LibObsRecorder.cs(193)]: Preparing to create libobs output [4897]...
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: encoder 'combined' (ffmpeg_aac) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: [win-wasapi: '(output) Default Device'] update settings:
	device id: default
	use device timing: 1
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: source '(output) Default Device' (wasapi_output_capture) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: encoder '(output) Default Device' (ffmpeg_aac) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: info: [win-wasapi: '(input) Default Device'] update settings:
	device id: default
	use device timing: 0
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: source '(input) Default Device' (wasapi_input_capture) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: encoder '(input) Default Device' (ffmpeg_aac) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: source 'gameplay' (game_capture) created
[16/10/2023 22:36:42][LibObsRecorder.cs(70)]: debug: encoder 'Replays Recorder' (jim_nvenc) created
[16/10/2023 22:36:42][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #0
[16/10/2023 22:36:43][LibObsRecorder.cs(70)]: info: WASAPI: Device 'Microphone (Sound Blaster Play! 3)' [48000 Hz] initialized
[16/10/2023 22:36:43][LibObsRecorder.cs(70)]: info: WASAPI: Device 'Speakers (Sound Blaster Play! 3)' [48000 Hz] initialized
[16/10/2023 22:36:43][LibObsRecorder.cs(70)]: info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: (input) Default Device)

[16/10/2023 22:36:44][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #1
[16/10/2023 22:36:46][DetectionService.cs(273)]: Process [10652][DiscordHookHelper64.exe] isn't in the game detection list, checking if it might be a game
[16/10/2023 22:36:46][DetectionService.cs(277)]: PROCESS GPU USAGE [10652]: 0
[16/10/2023 22:36:46][DetectionService.cs(273)]: Process [16032][DiscordHookHelper.exe] isn't in the game detection list, checking if it might be a game
[16/10/2023 22:36:46][DetectionService.cs(277)]: PROCESS GPU USAGE [16032]: 0
[16/10/2023 22:36:46][DetectionService.cs(199)]: Failed to open process: [8120]. Error: [Process with an Id of 8120 is not running.
[16/10/2023 22:36:46][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #2
[16/10/2023 22:36:48][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #3
[16/10/2023 22:36:49][DetectionService.cs(228)]: Failed to get process: [2340] full path. Error: [Accesso negato.
[16/10/2023 22:36:50][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #4
[16/10/2023 22:36:52][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] attempting to hook fullscreen process: aces.exe
[16/10/2023 22:36:52][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] using helper (compatibility hook)
[16/10/2023 22:36:52][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] hook not loaded yet, retrying..
[16/10/2023 22:36:52][DetectionService.cs(228)]: Failed to get process: [9072] full path. Error: [Accesso negato.
[16/10/2023 22:36:52][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #5
[16/10/2023 22:36:54][LibObsRecorder.cs(247)]: Waiting for successful graphics hook for [Loading...:DagorWClass:aces.exe]... retry attempt #6
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] attempting to hook fullscreen process: aces.exe
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: debug: [game-capture: 'gameplay'] existing hook found, signaling process: aces.exe
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: debug: [game-capture: 'gameplay'] map id: 
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] DXGI_SWAP_CHAIN_DESC:
    BufferDesc.Width: 1920
    BufferDesc.Height: 1080
    BufferDesc.RefreshRate.Numerator: 0
    BufferDesc.RefreshRate.Denominator: 1
    BufferDesc.Format: 87
    BufferDesc.ScanlineOrdering: 0
    BufferDesc.Scaling: 0
    SampleDesc.Count: 1
    SampleDesc.Quality: 0
    BufferUsage: 48
    BufferCount: 1
    Windowed: 0
    SwapEffect: 0
    Flags: 2
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] d3d11 shared texture capture successful
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: debug: [game-capture: 'gameplay'] capture initializing!
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: debug: [game-capture: 'gameplay'] map id: 
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: debug: [game-capture: 'gameplay'] Starting capture
[16/10/2023 22:36:55][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] shared texture capture successful
[16/10/2023 22:36:56][LibObsRecorder.cs(70)]: debug: output 'simple_ffmpeg_output' (ffmpeg_muxer) created
[16/10/2023 22:36:56][LibObsRecorder.cs(332)]: LibObs output is starting [5615]...
[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: [jim-nvenc: 'Replays Recorder'] settings:
	codec:        H264
	rate_control: VBR
	bitrate:      50000
	cqp:          20
	keyint:       250
	preset:       p5
	tuning:       hq
	multipass:    qres
	profile:      high
	width:        1920
	height:       1080
	b-frames:     2
	lookahead:    false
	psycho_aq:    true

[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: ---------------------------------
[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: [FFmpeg aac encoder: 'combined'] bitrate: 128, channels: 2, channel_layout: stereo

[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: ---------------------------------
[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: [FFmpeg aac encoder: '(output) Default Device'] bitrate: 128, channels: 2, channel_layout: stereo

[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: ---------------------------------
[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: [FFmpeg aac encoder: '(input) Default Device'] bitrate: 128, channels: 2, channel_layout: stereo

[16/10/2023 22:36:57][LibObsRecorder.cs(70)]: info: [ffmpeg muxer: 'simple_ffmpeg_output'] Writing file 'D:/RePlays/War Thunder/2023_10_16_22_36_42-ses.mp4'...
[16/10/2023 22:36:57][LibObsRecorder.cs(341)]: LibObs started recording [2000] [War Thunder] [Loading...:DagorWClass:aces.exe]
[16/10/2023 22:36:57][RecordingService.cs(67)]: Start Success: True
[16/10/2023 22:36:57][RecordingService.cs(68)]: Still allowed to record: True
[16/10/2023 22:36:57][RecordingService.cs(70)]: Current Session PID: 2000
[16/10/2023 22:36:57][RecordingService.cs(76)]: Start Recording: 2000, War Thunder
[16/10/2023 22:37:24][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] capture window no longer exists, terminating capture
[16/10/2023 22:37:24][LibObsRecorder.cs(70)]: info: [game-capture: 'gameplay'] capture stopped
[16/10/2023 22:37:24][LibObsRecorder.cs(446)]: Waiting for obs_output to stop... retry attempt #0
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: [ffmpeg muxer: 'simple_ffmpeg_output'] Output of file 'D:/RePlays/War Thunder/2023_10_16_22_36_42-ses.mp4' stopped
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: Output 'simple_ffmpeg_output': stopping
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: Output 'simple_ffmpeg_output': Total frames output: 1674
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: Output 'simple_ffmpeg_output': Total drawn frames: 1687 (1689 attempted)
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: Output 'simple_ffmpeg_output': Number of lagged frames due to rendering lag/stalls: 2 (0,1%)
[16/10/2023 22:37:25][LibObsRecorder.cs(70)]: info: Video stopped, number of skipped frames due to encoding lag: 2/1687 (0,1%)
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: output 'simple_ffmpeg_output' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: encoder 'Replays Recorder' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: encoder 'combined' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: encoder '(output) Default Device' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: encoder '(input) Default Device' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(460)]: Session recording saved to D:/RePlays/War Thunder/2023_10_16_22_36_42-ses.mp4
[16/10/2023 22:37:26][LibObsRecorder.cs(461)]: LibObs stopped recording 2000 War Thunder [5529]
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: source 'gameplay' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: info: WASAPI: Device 'Speakers (Sound Blaster Play! 3)' Terminated
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: source '(output) Default Device' destroyed
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: info: WASAPI: Device 'Microphone (Sound Blaster Play! 3)' Terminated
[16/10/2023 22:37:26][LibObsRecorder.cs(70)]: debug: source '(input) Default Device' destroyed
[16/10/2023 22:37:27][Helpers.cs(205)]: Found '17' video files in D:/RePlays
[16/10/2023 22:37:27][Helpers.cs(315)]: Created new thumbnail: D:\RePlays\War Thunder\.thumbs\2023_10_16_22_36_42-ses.png
[16/10/2023 22:37:27][Helpers.cs(239)]: Parsed '17' video files. Sessions: 14, Clips: 3.
[16/10/2023 22:37:27][BookmarkService.cs(38)]: Applying 0 bookmarks
[16/10/2023 22:37:27][RecordingService.cs(109)]: Stop Recording: 2000, War Thunder

Eddyporcodio avatar Oct 16 '23 20:10 Eddyporcodio

Could you try using the nightly release and see if there is a difference?

lulzsun avatar Oct 19 '23 06:10 lulzsun

Could you try using the nightly release and see if there is a difference?

Tried, still not working.

Eddyporcodio avatar Oct 19 '23 13:10 Eddyporcodio

Actually i have the same problem with Escape from Tarkov. And a War Thunder recording has worked, looks like it's random.

Eddyporcodio avatar Oct 23 '23 22:10 Eddyporcodio

I think it is an overlay problem, happens to me with MSI Afterburner/Rivatuner on any game the same way, only sound, freezed image, not 100% of the times, but most of them.

TheLastWardian avatar Feb 22 '24 13:02 TheLastWardian