Question / Help XComposite Recording Minecraft Flashes White

cobbaroo1

New Member
I am having a problem while trying to record Minecraft on Ubuntu 16.04 LTS. I am using the XComposite window capture scene option. Video: https://youtu.be/RAkqaKrApvA

Meanwhile, the game runs perfectly smoothly with no flashing at all.

Log:

Code:
06:11:09 PM.560: Processor: 4 logical cores
06:11:09 PM.560: Processor: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
06:11:09 PM.560: Physical Memory: 7864MB Total
06:11:09 PM.560: Kernel Version: Linux 4.4.0-47-generic
06:11:09 PM.560: Distribution: "Ubuntu" "16.04"
06:11:09 PM.758: OBS 0.16.2 (linux)
06:11:09 PM.758: ---------------------------------
06:11:09 PM.758: ---------------------------------
06:11:09 PM.758: audio settings reset:
06:11:09 PM.758:     samples per sec: 44100
06:11:09 PM.758:     speakers:        2
06:11:09 PM.840: OpenGL version: 3.3 (Core Profile) Mesa 11.2.0
06:11:09 PM.840:
06:11:09 PM.918: ---------------------------------
06:11:09 PM.918: video settings reset:
06:11:09 PM.918:     base resolution:   1366x768
06:11:09 PM.918:     output resolution: 1364x768
06:11:09 PM.918:     downscale filter:  Lanczos
06:11:09 PM.918:     fps:               30/1
06:11:09 PM.918:     format:            NV12
06:11:09 PM.919: ---------------------------------
06:11:09 PM.970: No blackmagic support
06:11:10 PM.122: ---------------------------------
06:11:10 PM.122:   Loaded Modules:
06:11:10 PM.122:     qtwebkit-browser.so
06:11:10 PM.122:     text-freetype2.so
06:11:10 PM.122:     rtmp-services.so
06:11:10 PM.122:     obs-x264.so
06:11:10 PM.122:     obs-transitions.so
06:11:10 PM.122:     obs-outputs.so
06:11:10 PM.122:     obs-libfdk.so
06:11:10 PM.122:     obs-filters.so
06:11:10 PM.122:     obs-ffmpeg.so
06:11:10 PM.122:     linux-v4l2.so
06:11:10 PM.122:     linux-pulseaudio.so
06:11:10 PM.122:     linux-jack.so
06:11:10 PM.122:     linux-decklink.so
06:11:10 PM.122:     linux-capture.so
06:11:10 PM.122:     image-source.so
06:11:10 PM.122: ==== Startup complete ===============================================
06:11:10 PM.123: All scene data cleared
06:11:10 PM.123: ------------------------------------------------
06:11:10 PM.133: pulse-input: Server name: 'pulseaudio 8.0'
06:11:10 PM.133: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
06:11:10 PM.133: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
06:11:10 PM.151: pulse-input: Server name: 'pulseaudio 8.0'
06:11:10 PM.152: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
06:11:10 PM.152: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
06:11:10 PM.153: pulse-input: Server name: 'pulseaudio 8.0'
06:11:10 PM.153: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
06:11:10 PM.153: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
06:11:10 PM.169: xshm-input: Geometry 1366x768 @ 0,0
06:11:10 PM.174: Switched to scene 'Screen No Sound'
06:11:10 PM.174: ------------------------------------------------
06:11:10 PM.174: Loaded scenes:
06:11:10 PM.174: - scene 'Screen + Sound':
06:11:10 PM.174:     - source: 'Microphone' (pulse_input_capture)
06:11:10 PM.174:     - source: 'Audio' (pulse_output_capture)
06:11:10 PM.174:     - source: 'Screen Capture (XSHM)' (xshm_input)
06:11:10 PM.174: - scene 'Screen No Sound':
06:11:10 PM.177:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)
06:11:10 PM.177: - scene 'Chrome':
06:11:10 PM.177:     - source: 'Google Chrome' (xcomposite_input)
06:11:10 PM.177: - scene 'Minecraft':
06:11:10 PM.177:     - source: 'Minecraft Window' (xcomposite_input)
06:11:10 PM.177: ------------------------------------------------
06:11:10 PM.464: Update check: last known remote version is 0.4.0
06:11:10 PM.696: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
06:11:49 PM.370: ---------------------------------
06:11:49 PM.370: [x264 encoder: 'simple_h264_stream'] preset: veryfast
06:11:49 PM.370: [x264 encoder: 'simple_h264_stream'] profile: main
06:11:49 PM.370: [x264 encoder: 'simple_h264_stream'] settings:
06:11:49 PM.370:     rate_control: CBR
06:11:49 PM.370:     bitrate:      3000
06:11:49 PM.370:     buffer size:  3000
06:11:49 PM.370:     crf:          0
06:11:49 PM.370:     fps_num:      30
06:11:49 PM.370:     fps_den:      1
06:11:49 PM.370:     width:        1364
06:11:49 PM.370:     height:       768
06:11:49 PM.370:     keyint:       120
06:11:49 PM.370:     vfr:          off
06:11:49 PM.370:
06:11:49 PM.410: libfdk_aac encoder created
06:11:49 PM.411: libfdk_aac bitrate: 128, channels: 2
06:11:49 PM.418: ==== Recording Start ===============================================
06:11:49 PM.419: [ffmpeg muxer: 'simple_file_output'] Writing file '/home/jason/Videos/OBS/2016-11-21 18-11-49.flv'...
06:11:52 PM.610: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
06:11:52 PM.633: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
06:12:05 PM.793: ==== Shutting down ==================================================
06:12:05 PM.794: Switched to scene '(null)'
06:12:05 PM.795: pulse-input: Stopped recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
06:12:05 PM.795: pulse-input: Got 5713 packets with 2453344 frames
06:12:05 PM.795: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
06:12:05 PM.795: pulse-input: Got 10013 packets with 2452996 frames
06:12:05 PM.806: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
06:12:05 PM.806: pulse-input: Got 10472 packets with 2453987 frames
06:12:05 PM.807: All scene data cleared
06:12:05 PM.807: ------------------------------------------------
06:12:05 PM.826: [ffmpeg muxer: 'simple_file_output'] Output of file '/home/jason/Videos/OBS/2016-11-21 18-11-49.flv' stopped
06:12:05 PM.826: Output 'simple_file_output': stopping
06:12:05 PM.826: Output 'simple_file_output': Total encoded frames: 492
06:12:05 PM.826: Output 'simple_file_output': Total drawn frames: 493
06:12:05 PM.826: Output 'simple_file_output': Number of skipped frames due to encoding lag: 88 (17.9%)
06:12:05 PM.884: libfdk_aac encoder destroyed
06:12:05 PM.928: Freeing OBS context data
06:12:05 PM.945: == Profiler Results =============================
06:12:05 PM.945: run_program_init: 1226.85 ms
06:12:05 PM.945:  ┣OBSApp::AppInit: 2.71 ms
06:12:05 PM.945:  ┃ ┗OBSApp::InitLocale: 0.691 ms
06:12:05 PM.945:  ┗OBSApp::OBSInit: 684.781 ms
06:12:05 PM.945:    ┣obs_startup: 1.007 ms
06:12:05 PM.945:    ┗OBSBasic::OBSInit: 435.151 ms
06:12:05 PM.946:      ┣OBSBasic::InitBasicConfig: 0.39 ms
06:12:05 PM.946:      ┣OBSBasic::ResetAudio: 0.136 ms
06:12:05 PM.946:      ┣OBSBasic::ResetVideo: 160.394 ms
06:12:05 PM.946:      ┣OBSBasic::InitOBSCallbacks: 0.01 ms
06:12:05 PM.946:      ┣OBSBasic::InitHotkeys: 0.054 ms
06:12:05 PM.946:      ┣obs_load_all_modules: 202.765 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(image-source.so): 0.005 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(linux-capture.so): 0.66 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(linux-decklink.so): 0.146 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(linux-jack.so): 0.004 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(linux-v4l2.so): 0.005 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.071 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-filters.so): 0.008 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-libfdk.so): 0.003 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-outputs.so): 0.005 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-transitions.so): 0.007 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(rtmp-services.so): 0.126 ms
06:12:05 PM.946:      ┃ ┣obs_init_module(text-freetype2.so): 0.04 ms
06:12:05 PM.946:      ┃ ┗obs_init_module(qtwebkit-browser.so): 0.01 ms
06:12:05 PM.946:      ┣OBSBasic::ResetOutputs: 0.254 ms
06:12:05 PM.946:      ┣OBSBasic::CreateHotkeys: 0.189 ms
06:12:05 PM.946:      ┣OBSBasic::InitService: 0.053 ms
06:12:05 PM.946:      ┣OBSBasic::InitPrimitives: 0.104 ms
06:12:05 PM.946:      ┗OBSBasic::Load: 54.478 ms
06:12:05 PM.946: obs_hotkey_thread(25 ms): min=0.106 ms, median=0.284 ms, max=271.328 ms, 99th percentile=7.799 ms, 99.9072% below 25 ms
06:12:05 PM.946: audio_thread(Audio): min=0 ms, median=0.054 ms, max=15.528 ms, 99th percentile=2.519 ms
06:12:05 PM.946:  ┗receive_audio: min=0.002 ms, median=0.677 ms, max=13.176 ms, 99th percentile=3.797 ms, 0.297774 calls per parent call
06:12:05 PM.946:    ┣buffer_audio: min=0.001 ms, median=0.001 ms, max=0.014 ms, 99th percentile=0.004 ms
06:12:05 PM.946:    ┗do_encode: min=0.109 ms, median=0.672 ms, max=13.172 ms, 99th percentile=3.786 ms
06:12:05 PM.946:      ┗encode(simple_aac): min=0.106 ms, median=0.657 ms, max=13.163 ms, 99th percentile=3.64 ms
06:12:05 PM.946: obs_video_thread(33.3333 ms): min=1.072 ms, median=1.736 ms, max=315.699 ms, 99th percentile=15.503 ms, 99.8804% below 33.333 ms
06:12:05 PM.946:  ┣tick_sources: min=0 ms, median=0.379 ms, max=303.009 ms, 99th percentile=8.138 ms
06:12:05 PM.946:  ┣render_displays: min=0.004 ms, median=0.594 ms, max=17.041 ms, 99th percentile=6.871 ms
06:12:05 PM.946:  ┗output_frame: min=0.299 ms, median=0.674 ms, max=17.209 ms, 99th percentile=5.156 ms
06:12:05 PM.946:    ┣gs_context(video->graphics): min=0.196 ms, median=0.306 ms, max=16.879 ms, 99th percentile=3.027 ms
06:12:05 PM.946:    ┃ ┣render_video: min=0.161 ms, median=0.255 ms, max=15.716 ms, 99th percentile=1.064 ms
06:12:05 PM.946:    ┃ ┃ ┣render_main_texture: min=0.043 ms, median=0.089 ms, max=15.531 ms, 99th percentile=0.332 ms
06:12:05 PM.946:    ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.041 ms, max=4.715 ms, 99th percentile=0.098 ms
06:12:05 PM.946:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.041 ms, max=6.99 ms, 99th percentile=0.103 ms
06:12:05 PM.946:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.079 ms, max=6.831 ms, 99th percentile=0.188 ms
06:12:05 PM.946:    ┃ ┣download_frame: min=0 ms, median=0.005 ms, max=15.041 ms, 99th percentile=0.026 ms
06:12:05 PM.946:    ┃ ┗gs_flush: min=0.024 ms, median=0.04 ms, max=16.478 ms, 99th percentile=0.182 ms
06:12:05 PM.946:    ┗output_video_data: min=0 ms, median=0.364 ms, max=8.403 ms, 99th percentile=2.041 ms
06:12:05 PM.946: video_thread(video): min=0 ms, median=0.001 ms, max=483.803 ms, 99th percentile=123.336 ms
06:12:05 PM.946:  ┗receive_video: min=0 ms, median=1.74 ms, max=259.684 ms, 99th percentile=129.98 ms, 0.312223 calls per parent call
06:12:05 PM.946:    ┗do_encode: min=0.899 ms, median=1.748 ms, max=259.683 ms, 99th percentile=129.979 ms
06:12:05 PM.946:      ┗encode(simple_h264_stream): min=0.891 ms, median=1.711 ms, max=259.674 ms, 99th percentile=129.965 ms
06:12:05 PM.946: =================================================
06:12:05 PM.947: == Profiler Time Between Calls ==================
06:12:05 PM.947: obs_hotkey_thread(25 ms): min=25.172 ms, median=25.368 ms, max=296.393 ms, 67.935% within ±2% of 25 ms (0% lower, 32.065% higher)
06:12:05 PM.947: obs_video_thread(33.3333 ms): min=9.051 ms, median=33.333 ms, max=315.708 ms, 88.5697% within ±2% of 33.333 ms (5.86475% lower, 5.56553% higher)
06:12:05 PM.947: =================================================
06:12:05 PM.978: Number of memory leaks: 0
 

Gilbert

New Member
Yes, I'm having the same problem somebody PLEASE help!! :(
I'm pretty sure it's FPS related, not sure how to fix it tho...
 
Top