0% found this document useful (0 votes)
177 views5 pages

PojavLauncher Debug Log Analysis

The document contains log output from running a Minecraft launcher on Android. It shows the launcher initializing OpenGL ES 2.0 graphics, loading Java runtime libraries, and starting the Minecraft game. The game logs warnings that it could not detect system information and crashes with a NullPointerException.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views5 pages

PojavLauncher Debug Log Analysis

The document contains log output from running a Minecraft launcher on Android. It shows the launcher initializing OpenGL ES 2.0 graphics, loading Java runtime libraries, and starting the Minecraft game. The game logs warnings that it could not detect system information and crashes with a NullPointerException.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

--------- beginning with launcher debug

Info: Launcher version: edelweiss-20230928-9484d0c-v3_openjdk


Info: Architecture: arm
Info: Device model: samsung SM-J415FN
Info: API version: 28
Info: Selected Minecraft version: 1.20.4
Info: Custom Java arguments: ""
--------- beginning of main

Added custom env: TMPDIR=/data/user/0/[Link]/cache


Added custom env: AWTSTUB_WIDTH=1480
Added custom env: FORCE_VSYNC=false
Added custom env: POJAV_NATIVEDIR=/data/app/[Link]-
9Cs3doxCQoldnlovailThQ==/lib/arm
Added custom env: REGAL_GL_VERSION=4.5
Added custom env: REGAL_GL_VENDOR=Android
Added custom env: LIBGL_MIPMAP=3
Added custom env: allow_higher_compat_version=true
Added custom env: MESA_GLSL_CACHE_DIR=/data/user/0/[Link]/cache
Added custom env: HOME=/storage/emulated/0/games/PojavLauncher
Added custom env:
PATH=/data/user/0/[Link]/runtimes/Internal-17/bin:/sbin:/system/
sbin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin
Added custom env: LIBGL_NOINTOVLHACK=1
Added custom env: force_glsl_extensions_warn=true
Added custom env: LIBGL_NORMALIZE=1
Added custom env:
LD_LIBRARY_PATH=/data/user/0/[Link]/runtimes/Internal-17/lib/jli:/
data/user/0/[Link]/runtimes/Internal-17/lib:/system/lib:/vendor/lib:/
vendor/lib/hw:/data/app/[Link]-9Cs3doxCQoldnlovailThQ==/lib/arm
Added custom env: LIBGL_NOERROR=1
Added custom env: POJAV_RENDERER=opengles2
Added custom env: LIBGL_ES=2
Added custom env:
VTEST_SOCKET_NAME=/data/user/0/[Link]/cache/.virgl_test
Added custom env: MESA_LOADER_DRIVER_OVERRIDE=zink
Added custom env: MESA_GLSL_VERSION_OVERRIDE=460
Added custom env: JAVA_HOME=/data/user/0/[Link]/runtimes/Internal-17
Added custom env: MESA_GL_VERSION_OVERRIDE=4.6
Added custom env: allow_glsl_extension_directive_midshader=true
Added custom env: REGAL_GL_RENDERER=Regal
Added custom env: AWTSTUB_HEIGHT=720
Initialising gl4es
v1.1.5 built on Sep 27 2023 [Link]
Using GLES 2.0 backend
loaded: [Link]
loaded: [Link]
Using GLES 2.0 backend
Hardware Full NPOT detected and used
FBO are in core, and so used
PointSprite are in core, and so used
CubeMap are in core, and so used
BlendColor is in core, and so used
Blend Subtract is in core, and so used
Blend Function and Equation Separation is in core, and so used
Texture Mirrored Repeat is in core, and so used
Extension GL_OES_element_index_uint detected and used
Extension GL_OES_packed_depth_stencil detected and used
Extension GL_OES_depth24 detected and used
Extension GL_OES_rgb8_rgba8 detected and used
Extension GL_EXT_texture_format_BGRA8888 detected and used
Extension GL_OES_depth_texture detected and used
Extension GL_OES_texture_half_float detected and used
Extension GL_EXT_color_buffer_float detected and used
Extension GL_EXT_color_buffer_half_float detected and used
high precision float in fragment shader available and used
Max vertex attrib: 16
Extension GL_OES_standard_derivatives detected and used
Extension GL_OES_get_program_binary detected and used
Number of supported Program Binary Format: 1
Max texture size: 8192
Max Varying Vector: 16
Texture Units: 16/16 (hardware: 16), Max lights: 8, Max planes: 6
Extension GL_EXT_texture_filter_anisotropic detected and used
Max Anisotropic filtering: 16
Hardware vendor is Qualcomm
GLSL 300 es supported and used
Max Color Attachments: 4 / Draw buffers: 4
sRGB surface supported
EGLImage to Texture2D supported
EGLImage to RenderBuffer supported
ignore MipMap
glGetError() always return GL_NOERROR
Targeting OpenGL 2.1
No hack in shader converter to define overloaded function with int
Not trying to batch small subsequent glDrawXXXX
try to use VBO
Force texture for Attachment color0 on FBO
Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done
Force normals to be normalized on FPE shaders
glX Will try to recycle EGL Surface
Current folder is:/
I/jrelog (30146): dlopen libgl4es_114.so success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen [Link] failed: dlopen failed: library "[Link]" not
found

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/server/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/libawt_headless.so
success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/server/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/server/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/libawt_xawt.so success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/libmanagement_agent.so
success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/libmanagement_ext.so
success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/libawt_headless.so
success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/libdt_socket.so success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/libmlib_image.so success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success
I/jrelog (30146): dlopen
/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/user/0/[Link]/runtimes/Internal-17/lib/[Link] success

I/jrelog (30146): dlopen


/data/app/[Link]-9Cs3doxCQoldnlovailThQ==/lib/arm/[Link] success

I/jrelog (30146): Done processing args

I/jrelog (30146): Found JLI lib


I/jrelog (30146): Calling JLI_Launch

2023-12-13 [Link],817 main ERROR appender Console has no parameter that matches
element Policies
[Link] [main/WARN]: Did not find udev library in operating system. Some
features may not work.
[Link] [main/WARN]: File not found or not readable: /proc/stat
[Link] [main/WARN]: Failed to get system info for Microarchitecture
[Link]: Cannot invoke "[Link]()" because
"[Link]" is null
at
[Link]$[Link](CentralPr
[Link]) ~[[Link].4.5]
at [Link]$[Link]([Link]) ~[[Link].4.5]
at
[Link]$[Link](CentralProc
[Link]) ~[[Link].4.5]
at ab.a(SourceFile:66) ~[[Link]:?]
at ab.a(SourceFile:128) ~[[Link]:?]
at ab.c(SourceFile:75) ~[[Link]:?]
at ab.a(SourceFile:82) ~[[Link]:?]
at ab.a(SourceFile:75) ~[[Link]:?]
at ab.c(SourceFile:52) ~[[Link]:?]
at ab.a(SourceFile:82) ~[[Link]:?]
at ab.<init>(SourceFile:52) ~[[Link]:?]
at o.<init>(SourceFile:36) ~[[Link]:?]
at o.h(SourceFile:277) ~[[Link]:?]
at [Link](SourceFile:167) ~[[Link]:?]
I/jrelog (30417): dlopen [Link] success

Common questions

Powered by AI

PojavLauncher loads multiple shared libraries to provide essential runtime functionality and extend the capabilities of the application . Libraries such as 'libjvm.so', 'libverify.so', 'libjava.so', and others are critical for running Java applications and managing their execution environment . Additionally, libraries like 'libawt.so', 'libfontmanager.so', and 'libnio.so' provide functionalities for graphical rendering, font management, and network operations. This modular approach enhances performance and maintainability by allowing specific functionalities to be updated or replaced independently.

PojavLauncher appears to attempt multiple library loadings sequentially, as shown by the successful and failed dlopen calls . This suggests a retry mechanism for critical components, ensuring that if a default path fails, alternative paths or fallback methods can be utilized . Moreover, detailed logging of success and failure helps in debugging and identifying precisely where and why a library failed to load, allowing for targeted fixes or alternative strategies.

PojavLauncher supports various graphic rendering techniques by utilizing capabilities such as hardware Full NPOT (Non-Power-Of-Two textures), core FBO (Frame Buffer Objects), PointSprite, CubeMap, and BlendColor . It also uses GL_OES_standard_derivatives and max anisotropic filtering settings, which enhance the visual quality by improving texture filtering and processing of complex pixel calculations . Additionally, it allows for GLSL (OpenGL Shading Language) 300 es support and maximizes texture units and varying vectors to fully utilize rendering techniques .

The gl4es library is used by PojavLauncher to enable OpenGL ES functionalities on Android devices. It acts as a translator between OpenGL and OpenGL ES, providing a GLES 2.0 backend for the launcher . This library facilitates the use of advanced graphics operations and extensions on devices that primarily support GLES, thus enhancing rendering capabilities and overall graphic performance .

PojavLauncher ensures compatibility with different graphic features on Android platforms by leveraging various configurations and environmental settings . It supports multiple OpenGL extensions and sets specific variables like REGAL_GL_VERSION and MESA_GL_VERSION_OVERRIDE to handle different version requirements . By doing so, it allows the application to access advanced rendering features like high variance vectors, max texture sizes, and full NPOT support, making the launcher adaptable to a wide range of devices and graphic capabilities .

The null pointer exception in the PojavLauncher error logs indicates an issue with the 'cpuVendor' string being null while trying to invoke 'toUpperCase()' . This suggests a failure to correctly fetch or initialize the CPU vendor information. This could lead to inaccurate hardware detection and potentially limit the application's ability to optimize performance based on hardware parameters, resulting in degraded performance or instability . Addressing this might require ensuring the CPU vendor information is available and properly handled during initialization.

PojavLauncher sets several environmental variables to optimize performance on mobile devices. These include settings for the rendering backend (POJAV_RENDERER set to opengles2), path configurations (PATH and LD_LIBRARY_PATH), graphical enhancements (REGAL_GL_VERSION set to 4.5 and MESA_GLSL_VERSION_OVERRIDE set to 460), and temporary directories (TMPDIR and MESA_GLSL_CACHE_DIR). These configurations aim to leverage the hardware capabilities and manage resources efficiently.

The absence of the udev library, indicated by the warning in the logs, means that certain hardware-related functionalities that rely on device enumeration might not work as expected . udev is often used for managing device nodes in Unix-like operating systems, which can aid in dynamically detecting hardware changes. Without it, PojavLauncher might not handle USB devices or realtime system changes effectively, potentially leading to degraded performance or limited user interactivity under such scenarios .

The custom environmental variable 'MESA_LOADER_DRIVER_OVERRIDE', when set to 'zink', directs the Mesa driver to use the Zink backend, a Vulkan-based OpenGL implementation . This configuration can increase performance by leveraging the Vulkan API's capabilities, such as improved cross-platform compatibility and efficient resource management. Using Zink allows PojavLauncher to handle complex graphical tasks more efficiently on supported hardware, when Vulkan support is preferable over traditional OpenGL pipelines .

PojavLauncher supports various OpenGL extensions to enhance graphics rendering, which include GL_OES_element_index_uint, GL_OES_packed_depth_stencil, GL_OES_depth24, GL_OES_rgb8_rgba8, GL_EXT_texture_format_BGRA8888, and more . These extensions allow for advanced features such as high precision floats in fragment shaders, large texture sizes (up to 8192), and multiple texture units, contributing to improved visual detail and performance .

You might also like