RePlays icon indicating copy to clipboard operation
RePlays copied to clipboard

Bug: application does not handle screen size changes well

Open ssc9309 opened this issue 2 years ago • 3 comments

Problem:

  • I ran into this issue by playing Brotato https://store.steampowered.com/app/1942280/Brotato/
  • The game application starts in a small window
  • It then immediately jumps to a full screen (I assume with increased resolution)
  • RePlays software only records the small portion of the screen starting from top left corner. See attached. image

Expected outcome:

  • RePlays should follow the changing screen resolution and record the whole screen of the game.

Notes:

  • In case this is a difficult bug, I'll gift the game to whoever wants to try to fix it! Just let me know here and ping me on discord.

ssc9309 avatar Nov 15 '22 22:11 ssc9309

Please post a log from C:\Users<Your username>\AppData\Local\RePlays\cfg

sonicv6 avatar Nov 15 '22 22:11 sonicv6

[11/15/2022 5:29:06 PM][DetectionService.cs(294)]: Process [42720][Brotato.exe]: Got MainWindow []
[11/15/2022 5:29:06 PM][DetectionService.cs(303)]: This process [42720] is a recordable game [Brotato.exe], prepared to record
[11/15/2022 5:29:06 PM][DetectionService.cs(307)]: Is allowed to record: True
[11/15/2022 5:29:06 PM][RecordingService.cs(58)]: Is PreRecording False
[11/15/2022 5:29:06 PM][RecordingService.cs(59)]: Is Recording False
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(176)]: Game capture window size: 960x540
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: ---------------------------------
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: video settings reset:
	base resolution:   960x540
	output resolution: 1920x1080
	downscale filter:  Bilinear
	fps:               60/1
	format:            NV12
	YUV mode:          709/Partial
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: NV12 texture support enabled
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(180)]: Preparing to create libobs output [3929]...
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: [win-wasapi: 'desktop'] update settings:
	device id: default
	use device timing: 1
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: debug: source 'desktop' (wasapi_output_capture) created
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: [win-wasapi: 'microphone'] update settings:
	device id: {0.0.1.00000000}.{6c0554f4-7d48-47a1-b9ab-e94941ff3a14}
	use device timing: 0
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: debug: source 'microphone' (wasapi_input_capture) created
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: debug: source 'gameplay' (game_capture) created
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: debug: encoder 'aac0' (ffmpeg_aac) created
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: debug: encoder 'Replays Recorder' (jim_nvenc) created
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(216)]: Waiting for successful graphics hook for [:Engine:Brotato.exe]... retry attempt #0
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] attempting to hook process: Brotato.exe
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] using helper (compatibility hook)
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] hook not loaded yet, retrying..
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: WASAPI: Device 'Microphone (Scarlett Solo USB)' [44100 Hz] initialized
[11/15/2022 5:29:06 PM][LibObsRecorder.cs(61)]: info: WASAPI: Device 'Speakers (High Definition Audio Device)' [48000 Hz] initialized
[11/15/2022 5:29:07 PM][DetectionService.cs(228)]: Failed to get process: [10360] full path. Error: [Access is denied.
[11/15/2022 5:29:07 PM][DetectionService.cs(228)]: Failed to get process: [26704] full path. Error: [Access is denied.
[11/15/2022 5:29:07 PM][DetectionService.cs(262)]: Process [34976][GameOverlayUI.exe] isn't in the game detection list, checking if it might be a game
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(216)]: Waiting for successful graphics hook for [:Engine:Brotato.exe]... retry attempt #1
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] attempting to hook process: Brotato.exe
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: debug: [game-capture: 'gameplay'] existing hook found, signaling process: Brotato.exe
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: debug: [game-capture: 'gameplay'] map id: 
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] gl shared texture capture successful
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: debug: [game-capture: 'gameplay'] capture initializing!
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: debug: [game-capture: 'gameplay'] map id: 
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: debug: [game-capture: 'gameplay'] Starting capture
[11/15/2022 5:29:08 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] shared texture capture successful
[11/15/2022 5:29:10 PM][LibObsRecorder.cs(61)]: debug: output 'simple_ffmpeg_output' (ffmpeg_muxer) created
[11/15/2022 5:29:10 PM][LibObsRecorder.cs(291)]: LibObs output is starting [4601]...
[11/15/2022 5:29:10 PM][LibObsRecorder.cs(61)]: info: [jim-nvenc: 'Replays Recorder'] settings:
	rate_control: VBR
	bitrate:      10000
	cqp:          20
	keyint:       250
	preset:       Quality
	profile:      high
	width:        1920
	height:       1080
	2-pass:       false
	b-frames:     2
	lookahead:    false
	psycho_aq:    true

[11/15/2022 5:29:10 PM][LibObsRecorder.cs(61)]: info: ---------------------------------
[11/15/2022 5:29:10 PM][LibObsRecorder.cs(61)]: info: [FFmpeg aac encoder: 'aac0'] bitrate: 128, channels: 2, channel_layout: 3

[11/15/2022 5:29:10 PM][LibObsRecorder.cs(61)]: info: [ffmpeg muxer: 'simple_ffmpeg_output'] Writing file 'F:/ReplaysTemp/Brotato/2022_11_15_17_29_06-ses.mp4'...
[11/15/2022 5:29:10 PM][LibObsRecorder.cs(300)]: LibObs started recording [42720] [Brotato] [:Engine:Brotato.exe]
[11/15/2022 5:29:10 PM][RecordingService.cs(65)]: Start Success: True
[11/15/2022 5:29:10 PM][RecordingService.cs(66)]: Still allowed to record: True
[11/15/2022 5:29:10 PM][RecordingService.cs(68)]: Current Session PID: 42720
[11/15/2022 5:29:10 PM][RecordingService.cs(73)]: Start Recording: 42720, Brotato
[11/15/2022 5:29:12 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] Hooked IDXGISwapChain::Present
[11/15/2022 5:29:12 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] Hooked IDXGISwapChain::ResizeBuffers
[11/15/2022 5:29:12 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] Hooked IDXGISwapChain1::Present1
[11/15/2022 5:29:12 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] Hooked IDXGISwapChain::Release
[11/15/2022 5:29:12 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] Hooked DXGI
[11/15/2022 5:29:12 PM][DetectionService.cs(266)]: PROCESS GPU USAGE [34976]: 0
[11/15/2022 5:29:15 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] capture window no longer exists, terminating capture
[11/15/2022 5:29:15 PM][LibObsRecorder.cs(61)]: info: [game-capture: 'gameplay'] capture stopped
[11/15/2022 5:29:15 PM][LibObsRecorder.cs(414)]: Waiting for obs_output to stop... retry attempt #0
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: [ffmpeg muxer: 'simple_ffmpeg_output'] Output of file 'F:/ReplaysTemp/Brotato/2022_11_15_17_29_06-ses.mp4' stopped
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: Output 'simple_ffmpeg_output': stopping
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: Output 'simple_ffmpeg_output': Total frames output: 343
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: Output 'simple_ffmpeg_output': Total drawn frames: 356 (357 attempted)
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: Output 'simple_ffmpeg_output': Number of lagged frames due to rendering lag/stalls: 1 (0.3%)
[11/15/2022 5:29:16 PM][LibObsRecorder.cs(61)]: info: Video stopped, number of skipped frames due to encoding lag: 1/355 (0.3%)
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: output 'simple_ffmpeg_output' destroyed
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: encoder 'Replays Recorder' destroyed
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: encoder 'aac0' destroyed
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(427)]: Session recording saved to F:/ReplaysTemp/Brotato/2022_11_15_17_29_06-ses.mp4
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(428)]: LibObs stopped recording 42720 Brotato [4522]
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: info: WASAPI: Device 'Speakers (High Definition Audio Device)' Terminated
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: source 'desktop' destroyed
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: info: WASAPI: Device 'Microphone (Scarlett Solo USB)' Terminated
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: source 'microphone' destroyed
[11/15/2022 5:29:18 PM][LibObsRecorder.cs(61)]: debug: source 'gameplay' destroyed
[11/15/2022 5:29:18 PM][Helpers.cs(182)]: Found '350' video files in F:/ReplaysTemp
[11/15/2022 5:29:18 PM][Helpers.cs(292)]: Created new thumbnail: F:\ReplaysTemp\Brotato\.thumbs\2022_11_15_17_29_06-ses.png
[11/15/2022 5:29:18 PM][Helpers.cs(216)]: Parsed '344' video files. Sessions: 342, Clips: 2.
[11/15/2022 5:29:18 PM][BookmarkService.cs(36)]: Applying bookmarks
[11/15/2022 5:29:18 PM][BookmarkService.cs(39)]: Bookmark status [Successfully]
[11/15/2022 5:29:18 PM][RecordingService.cs(104)]: Stop Recording: 42720, Brotato

ssc9309 avatar Nov 15 '22 22:11 ssc9309

~~I suck at formatting...~~

Alt Text

ssc9309 avatar Nov 15 '22 22:11 ssc9309

Does the game load with a splashscreen of any sort? If so, it might be related to #39

lulzsun avatar Mar 06 '23 15:03 lulzsun

#39 does sound very much like the problem I'm experiencing.

ssc9309 avatar Mar 06 '23 17:03 ssc9309

Closing this issue to de-clutter the number of open issues. Will be tracking this issue in #39.

lulzsun avatar Apr 10 '23 05:04 lulzsun