Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minecraft bedrock Launcher: part of capture is cut off and black #160

Open
GameParrot opened this issue Aug 11, 2023 · 6 comments
Open

Minecraft bedrock Launcher: part of capture is cut off and black #160

GameParrot opened this issue Aug 11, 2023 · 6 comments
Labels

Comments

@GameParrot
Copy link

GameParrot commented Aug 11, 2023

When using mcpelauncher to run minecraft bedrock 1.20 part of the capture is black. this did not happen on 1.18.12 but happens now.
Screenshot 2023-08-11 18-23-17
Screenshot 2023-08-11 18-23-28

vkcapturebug.mp4
@nowrep
Copy link
Owner

nowrep commented Aug 13, 2023

Can you please post logs from OBS and game?

Also I assume the first picture is old (1.18) and second is (1.20)? The first picture doesn't really look correct either?

@GameParrot
Copy link
Author

Can you please post logs from OBS and game?

Also I assume the first picture is old (1.18) and second is (1.20)? The first picture doesn't really look correct either?

They are both 1.20

@GameParrot
Copy link
Author

obs log:

debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD Ryzen 9 5900X 12-Core Processor
info: CPU Speed: 2200.000MHz
info: Physical Cores: 12, Logical Cores: 24
info: Physical Memory: 32012MB Total, 9545MB Free
info: Kernel Version: Linux 5.15.0-78-generic
info: Distribution: "Linux Mint" "21.2"
info: Desktop Environment: X-Cinnamon (cinnamon)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled)
info: Portable mode: false
info: OBS 29.1.3 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
	max buffering:   960 milliseconds
	buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter AMD AMD Radeon RX 6700 XT (navi22, LLVM 15.0.7, DRM 3.48, 5.15.0-78-generic)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1, shading language 4.60
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1920x1080
	downscale filter:  Bicubic
	fps:               60/1
	format:            NV12
	YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
	name: Default
	id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [input-overlay] Loading v5.0.4-HEAD (5f18f42) build time 2023.05.08 07:24
info: [input-overlay] Initializing SDL2 for gamepad input (compile-time: 2.0.20, run-time:  2.0.20)
info: [pipewire] No captures available
info: [linux-vkcapture] plugin loaded successfully (version 1.4.1)
info: [obs-browser]: Version 2.21.1
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
info: VAAPI: API version 1.14
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI HEVC encoding supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.2.3 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.2.4 | Qt version (run-time): 6.2.4
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101801
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
info: [obs-gstreamer] build: 7dd3e69, gst-runtime: 1.20.3
info: ---------------------------------
info:   Loaded Modules:
info:     obs-gstreamer.so
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-vkcapture.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     input-overlay.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
qt.core.qobject.connect: QObject::connect: No such slot io_settings_dialog::RefreshUi()
qt.core.qobject.connect: QObject::connect:  (receiver name: 'io_config_dialog')
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.76) 15.0.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.76) 15.0.0'
info: pulse-input: Audio format: s24le, 48000 Hz, 1 channels
info: pulse-input: Sample format s24le not supported by OBS,using float32le instead for recording
info: pulse-input: Started recording from 'alsa_input.usb-3142_Fifine_Microphone-00.mono-fallback' (default)
info: [Loaded global audio device]: 'Mic/Aux'
info: [window-capture: 'Window Capture (Xcomposite)'] update settings:
	title: unknown
	class: unknown

info: xshm-input: Geometry 2560x1440 @ 0,0
info: xshm-input: Geometry 2560x1440 @ 0,0
info: [window-capture: 'Window Capture (Xcomposite) 2'] update settings:
	title: unknown
	class: unknown

error: xcb_composite_name_window_pixmap failed
info: [window-capture: 'Window Capture (Xcomposite) 3'] update settings:
	title: unknown
	class: unknown

info: xshm-input: Geometry 2560x1440 @ 0,0
info: [window-capture: 'Window Capture (Xcomposite) 4'] update settings:
	title: unknown
	class: unknown

info: Switched to scene 'mcpe 1080 glcapture'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (XSHM)' (xshm_input)
info:     - source: 'Input Overlay' (input-overlay)
info: - scene 'shorts':
info:     - source: 'Window Capture (Xcomposite) 2' (xcomposite_input)
info: - scene 'window capture':
info:     - source: 'Window Capture (Xcomposite)' (xcomposite_input)
info: - scene '1080p':
info:     - source: 'Screen Capture (XSHM) 3' (xshm_input)
info:     - source: 'Window Capture (Xcomposite) 3' (xcomposite_input)
info: - scene 'Scene vc':
info:     - source: 'Screen Capture (XSHM)' (xshm_input)
info:     - source: 'Input Overlay' (input-overlay)
info: - scene 'mcpe':
info:     - source: 'Window Capture (Xcomposite) 3' (xcomposite_input)
info:     - source: 'Input Overlay' (input-overlay)
info:     - source: 'Input Overlay 2' (input-overlay)
info: - scene 'mcpe 1080':
info:     - source: 'Window Capture (Xcomposite) 3' (xcomposite_input)
info:     - source: 'Input Overlay' (input-overlay)
info: - scene 'test':
info:     - source: 'Game Capture 2' (vkcapture-source)
info: - scene 'minidlna':
info:     - source: 'Screen Capture (XSHM) 2' (xshm_input)
info: - scene 'mcpe 1080 zeqa':
info:     - source: 'Window Capture (Xcomposite) 4' (xcomposite_input)
info:     - source: 'Input Overlay' (input-overlay)
info: - scene 'mcpe 1080 glcapture':
info:     - source: 'Game Capture 2' (vkcapture-source)
info:     - source: 'Input Overlay' (input-overlay)
info: - scene 'audio':
info: ------------------------------------------------
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)

info: [linux-vkcapture] Client 1 connected (pid=1479381)
info: [linux-vkcapture] Creating texture from dmabuf 1280x720 modifier:72057594037927935
info: [linux-vkcapture]  [0] fd:51 stride:5120 offset:0
info: [linux-vkcapture] Client 1 disconnected
^Cinfo: ==== Shutting down ==================================================
info: pulse-input: Stopped recording from 'alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor'
info: pulse-input: Got 767 packets with 920400 frames
info: pulse-input: Stopped recording from 'alsa_input.usb-3142_Fifine_Microphone-00.mono-fallback'
info: pulse-input: Got 768 packets with 921600 frames
info: [linux-vkcapture] destroy
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [linux-vkcapture] plugin unloaded
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 750.663 ms
info:  ┣OBSApp::AppInit: 2.579 ms
info:  ┃ ┗OBSApp::InitLocale: 0.45 ms
info:  ┗OBSApp::OBSInit: 682.117 ms
info:    ┣obs_startup: 17.789 ms
info:    ┗OBSBasic::OBSInit: 640.762 ms
info:      ┣OBSBasic::InitBasicConfig: 0.069 ms
info:      ┣OBSBasic::ResetAudio: 0.14 ms
info:      ┣OBSBasic::ResetVideo: 64.043 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.005 ms
info:      ┣OBSBasic::InitHotkeys: 0.017 ms
info:      ┣obs_load_all_modules2: 417.633 ms
info:      ┃ ┣obs_init_module(aja-output-ui.so): 0.052 ms
info:      ┃ ┣obs_init_module(aja.so): 0.042 ms
info:      ┃ ┣obs_init_module(decklink-captions.so): 0 ms
info:      ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
info:      ┃ ┣obs_init_module(decklink.so): 0.074 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 19.989 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.007 ms
info:      ┃ ┣obs_init_module(input-overlay.so): 0.128 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0.264 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-pipewire.so): 0.939 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 1.995 ms
info:      ┃ ┣obs_init_module(linux-vkcapture.so): 0.067 ms
info:      ┃ ┣obs_init_module(obs-browser.so): 0.038 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 35.037 ms
info:      ┃ ┃ ┗nvenc_check: 0.949 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.023 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.006 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.007 ms
info:      ┃ ┣obs_init_module(obs-vst.so): 0.003 ms
info:      ┃ ┣obs_init_module(obs-websocket.so): 4.366 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.418 ms
info:      ┃ ┣obs_init_module(text-freetype2.so): 0.008 ms
info:      ┃ ┣obs_init_module(vlc-video.so): 0.594 ms
info:      ┃ ┗obs_init_module(obs-gstreamer.so): 7.228 ms
info:      ┣OBSBasic::InitService: 0.631 ms
info:      ┣OBSBasic::ResetOutputs: 0.117 ms
info:      ┣OBSBasic::CreateHotkeys: 0.072 ms
info:      ┣OBSBasic::InitPrimitives: 0.042 ms
info:      ┗OBSBasic::Load: 98.151 ms
info: obs_hotkey_thread(25 ms): min=0.034 ms, median=0.051 ms, max=13.129 ms, 99th percentile=0.151 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.004 ms, median=0.016 ms, max=0.337 ms, 99th percentile=0.07 ms
info: obs_graphics_thread(16.6667 ms): min=0.027 ms, median=0.239 ms, max=31.51 ms, 99th percentile=1.04 ms, 99.9157% below 16.667 ms
info:  ┣tick_sources: min=0 ms, median=0.007 ms, max=31.412 ms, 99th percentile=0.033 ms
info:  ┣output_frame: min=0.022 ms, median=0.085 ms, max=3.822 ms, 99th percentile=0.28 ms
info:  ┃ ┗gs_context(video->graphics): min=0.022 ms, median=0.085 ms, max=3.822 ms, 99th percentile=0.28 ms
info:  ┃   ┣render_video: min=0.002 ms, median=0.047 ms, max=3.75 ms, 99th percentile=0.188 ms
info:  ┃   ┃ ┗render_main_texture: min=0.002 ms, median=0.046 ms, max=3.748 ms, 99th percentile=0.186 ms
info:  ┃   ┗gs_flush: min=0.001 ms, median=0.033 ms, max=3.471 ms, 99th percentile=0.077 ms
info:  ┗render_displays: min=0.001 ms, median=0.149 ms, max=6.714 ms, 99th percentile=0.462 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.057 ms, median=25.107 ms, max=38.188 ms, 99.493% within ±2% of 25 ms (0% lower, 0.506971% higher)
info: obs_graphics_thread(16.6667 ms): min=1.801 ms, median=16.667 ms, max=31.513 ms, 99.4093% within ±2% of 16.667 ms (0.253165% lower, 0.337553% higher)
info: =================================================
info: Number of memory leaks: 0

game log:

19:53:39 Info  [Launcher] Version: client b26752e / manifest e0d8ad8
19:53:39 Info  [Launcher] CPU: AuthenticAMD AMD Ryzen 9 5900X 12-Core Processor            
19:53:39 Info  [Launcher] CPU supports SSSE3: YES
19:53:39 Trace [Launcher] Loading hybris libraries
19:53:39 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /home/gameparrot/.local/share/mcpelauncher/
19:53:39 Trace [REDIRECT] /data/data/usr/local/proc/1479381/cmdline to /home/gameparrot/.local/share/mcpelauncher/
19:53:39 Trace [REDIRECT] /data/data/mcpelauncher-client to /home/gameparrot/.local/share/mcpelauncher/
19:53:39 Trace [REDIRECT] /data/data to /home/gameparrot/.local/share/mcpelauncher/
19:53:39 Trace [REDIRECT] . to /home/gameparrot/.local/share/mcpelauncher/versions/1.20.12.01/assets/
19:53:39 Trace [LinkerUtils] Loaded OS library libm.so.6
19:53:39 Trace [LinkerUtils] Loaded OS library libz.so.1
19:53:39 Warn  [FMOD] Failed to load host libfmod: 'Failed to find data file: lib/native/x86_64/libfmod.so.12.0', use experimental pulseaudio backend if available
19:53:39 Info  [Launcher] Loading gamepad mappings
19:53:39 Trace [Launcher] Loading gamepad mappings: /usr/local/share/mcpelauncher/gamecontrollerdb.txt
19:53:39 Trace [Launcher] Loading gamepad mappings: /usr/local/share/mcpelauncher/gamecontrollerdb.txt
19:53:39 Trace [Launcher] Loading gamepad mappings: /home/gameparrot/Documents/Development/mcpelauncher/sysbuild/mcpelauncher-manifest/glfwbuild/gamecontrollerdb/gamecontrollerdb.txt
19:53:39 Info  [Launcher] Creating window
[obs-vkcapture] Init EGL 1.4.1
19:53:39 Trace [Launcher] Loading Minecraft library
Found hook: _ZN11AppPlatform16showMousePointerEv @ 0x688860
Found hook: _ZN11AppPlatform16hideMousePointerEv @ 0x688840
Found hook: _ZN11AppPlatform17setFullscreenModeE14FullscreenMode @ 0x688880
Found hook: _ZN4FMOD6System4initEijPv @ 0x6a54e0
19:53:39 Info  [Launcher] Loaded Minecraft library
19:53:39 Debug [Launcher] Minecraft is at offset 0x7F0F0A000000
19:53:39 Info  [Launcher] Game version: 0.0.0.0
19:53:39 Info  [Launcher] Applying patches
19:53:39 Debug [CorePatches] Failed to patch, vtable _ZTV21AppPlatform_android23 not found
19:53:39 Info  [Launcher] Initializing JNI
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRegisterThis
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeWithApplicationContext
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeUnregisterThis
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeinitializeLibHttpClient
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeSetIntegrityToken
19:53:39 Error [JniSupport] Missing native symbol: Java_com_microsoft_xal_browser_WebView_urlOperationSucceeded
19:53:39 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_PlayIntegrity_nativePlayIntegrityComplete
19:53:39 Info  [Launcher] Executing main thread
19:53:39 Trace [Minecraft] Entering JNI_OnLoad 0x7f0f19d9b640
19:53:39 Trace [Minecraft] JNI_OnLoad completed
19:53:39 Trace [JniSupport] Invoking nativeRegisterThis
19:53:39 Trace [JniSupport] Invoking ANativeActivity_onCreate
19:53:39 Warn  [Main] Android stub AConfiguration_new called
19:53:39 Warn  [Main] Android stub AConfiguration_fromAssetManager called
19:53:39 Warn  [Main] Android stub AConfiguration_getLanguage called
19:53:39 Warn  [Main] Android stub AConfiguration_getCountry called
19:53:39 Info  [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
19:53:39 Trace [JniSupport] Invoking start activity callbacks
19:53:39 Error [MCPE] *** setCachedDeviceId(0474f379-6878-4e31-8eae-53314434793c)
19:53:39 Info  [Bedrock] configureBreakpad with directory: /crash, sessionid is: bd7bab6c-5f95-4eb7-9b15-0478bc0835f7
19:53:39 Info  [Bedrock] configureBreakpad called, directory is: /crash, sessionid is: bd7bab6c-5f95-4eb7-9b15-0478bc0835f7
19:53:39 Info  [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir (NEW) - CurrentFileStoragePath is now '/home/gameparrot/.local/share/mcpelauncher/'
19:53:39 Warn  [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
19:53:39 Warn  [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
19:53:39 Warn  [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
19:53:39 Warn  [FakeEGL] eglQueryString 308d
19:53:39 Warn  [Main] Android stub ANativeWindow_setBuffersGeometry called
19:53:39 Warn  [Main] Android stub ANativeWindow_setBuffersGeometry called
[obs-vkcapture] Texture GL_RGBA 1280x720
[obs-vkcapture] ------------------ opengl capture started ------------------
19:53:42 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
19:53:42 Debug [XboxLiveAppConfig] Successfully registerered XboxLiveAppConfig methods
19:53:42 Debug [XSAPI.Android] Successfully registerered HttpCall tcuiMethods
19:53:43 Info  [Minecraft] NO LOG FILE! - Time played notifier not required for 'en'
19:53:48 Info  [Minecraft] NO LOG FILE! - Opening level '/home/gameparrot/.local/share/mcpelauncher/games/com.mojang/minecraftWorlds/Jy3RZAxQAAA=/db'
19:53:48 Info  [Minecraft] NO LOG FILE! - Player connected: Steve2136, xuid: 
19:53:48 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
19:53:48 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
19:53:48 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
19:53:49 Info  [Minecraft] NO LOG FILE! - Player Spawned: Steve2136 xuid: 

@nowrep nowrep added the gl label Sep 5, 2023
@nowrep
Copy link
Owner

nowrep commented Sep 5, 2023

Any chance I can try to reproduce myself without having to buy the game (on Google Play?).

Anything special it does with GL that it could explain the issue? Is this OpenGL inside Qt window (QOpenGLWidget or something else)?

@GameParrot
Copy link
Author

Any chance I can try to reproduce myself without having to buy the game (on Google Play?).

you would have to buy the game ($6.99 i believe)

Anything special it does with GL that it could explain the issue? Is this OpenGL inside Qt window (QOpenGLWidget or something else)?

no, just glfw (the game uses bgfx you could try a native bgfx program)

@nowrep
Copy link
Owner

nowrep commented Feb 5, 2024

Can you please try again with latest release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants