Bigfoot71 / rlights

Lighting management system for raylib
MIT License
32 stars 5 forks source link

AdrenoGLES-0: Assertion failed: idxCnstNode #1

Open paliszarok opened 1 month ago

paliszarok commented 1 month ago

Log: 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 8] Compile error: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 I AdrenoGLES-0: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 9] Failed to link shader program 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 9] Link error: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 W raylib : SHADER: Failed to load custom shader code, using default shader

Complete app log: 06-03 12:49:18.577 30637 30637 D ..tibilityChangeReporter: Compat change id reported: 171979766; UID 10215; state: ENABLED 06-03 12:49:18.669 30637 30637 V GraphicsEnvironment: ANGLE Developer option for 'com.raylib.raymob' set to: 'default' 06-03 12:49:18.669 30637 30637 V GraphicsEnvironment: Updatable production driver is not supported on the device. --------- beginning of system 06-03 12:49:18.685 30637 30637 I ForceDarkHelperStubImpl: initialize for com.raylib.raymob , ForceDarkOrigin 06-03 12:49:18.688 30637 30637 D OpenGLRenderer: JNI_OnLoad success 06-03 12:49:18.688 30637 30637 I MiuiForceDarkConfig: setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0 06-03 12:49:18.691 30637 30637 D NetworkSecurityConfig: No Network Security Config specified, using platform default 06-03 12:49:18.693 30637 30637 D NetworkSecurityConfig: No Network Security Config specified, using platform default 06-03 12:49:18.746 30637 30637 D ViewScrollStubImpl: the value of ScrollFrictionRes is: 0.015 06-03 12:49:18.772 30637 30637 D IS_CTS_MODE: false 06-03 12:49:18.773 30637 30637 D .._WINDOW_SWITCH_ENABLED: false 06-03 12:49:18.774 30637 30637 D IS_CTS_MODE: false 06-03 12:49:18.774 30637 30637 D .._WINDOW_SWITCH_ENABLED: false 06-03 12:49:18.785 30637 30637 D DecorView[]: getWindowModeFromSystem windowmode is 1 06-03 12:49:18.834 30637 30637 D IconCustomizer: Generate customized icon for sym_def_app_icon.png 06-03 12:49:18.913 30637 30637 V threaded_app: Creating: 0xb400007b4193f0c0 06-03 12:49:18.914 30637 30662 V threaded_app: Config: mcc=220 mnc=3 lang=en cnt=US orien=1 touch=3 dens=440 keys=1 nav=1 keysHid=3 navHid=0 sdk=31 size=2 long=2 modetype=1 modenight=2 06-03 12:49:18.914 30637 30662 I raylib : Initializing raylib 5.0 06-03 12:49:18.914 30637 30662 I raylib : Platform backend: ANDROID 06-03 12:49:18.914 30637 30662 I raylib : Supported raylib modules: 06-03 12:49:18.914 30637 30662 I raylib : > rcore:..... loaded (mandatory) 06-03 12:49:18.914 30637 30662 I raylib : > rlgl:...... loaded (mandatory) 06-03 12:49:18.914 30637 30662 I raylib : > rshapes:... loaded (optional) 06-03 12:49:18.914 30637 30662 I raylib : > rtextures:. loaded (optional) 06-03 12:49:18.914 30637 30662 I raylib : > rtext:..... loaded (optional) 06-03 12:49:18.914 30637 30662 I raylib : > rmodels:... loaded (optional) 06-03 12:49:18.914 30637 30662 I raylib : > raudio:.... loaded (optional) 06-03 12:49:18.914 30637 30662 I raylib : ANDROID: Window orientation set as portrait 06-03 12:49:18.914 30637 30662 W raylib : ANDROID: Window orientation changed to landscape 06-03 12:49:18.914 30637 30662 I raylib : PLATFORM: ANDROID: Initialized successfully 06-03 12:49:18.919 30637 30637 D VFUtils : scaleWght : 310 06-03 12:49:18.952 30637 30637 D VFUtils : scaleWght : 410 06-03 12:49:18.972 30637 30637 V threaded_app: Start: 0xb400007b4193f0c0 06-03 12:49:18.972 30637 30662 V threaded_app: activityState=10 06-03 12:49:18.979 30637 30637 D VFUtils : scaleWght : 310 06-03 12:49:18.994 30637 30637 D VFUtils : scaleWght : 310 06-03 12:49:18.994 30637 30637 D VFUtils : scaleWght : 310 06-03 12:49:18.995 30637 30637 D VFUtils : scaleWght : 410 06-03 12:49:19.010 30637 30637 D VFUtils : scaleWght : 410 06-03 12:49:19.016 30637 30637 V threaded_app: Resume: 0xb400007b4193f0c0 06-03 12:49:19.016 30637 30662 V threaded_app: activityState=11 06-03 12:49:19.037 30637 30637 D DecorView[]: getWindowModeFromSystem windowmode is 1 06-03 12:49:19.037 30637 30637 D DecorView[]: updateDecorCaptionStatus displayWindowDecor is false 06-03 12:49:19.051 30637 30637 V threaded_app: InputQueueCreated: 0xb400007b4193f0c0 -- 0xb400007b1eef4c00 06-03 12:49:19.051 30637 30662 V threaded_app: APP_CMD_INPUT_CHANGED 06-03 12:49:19.051 30637 30662 V threaded_app: Attaching input queue to looper 06-03 12:49:19.055 30637 30637 W Looper : PerfMonitor looperActivity : package=com.raylib.raymob/.NativeLoader time=1ms latency=543ms running=0ms procState=-1 historyMsgCount=4 (msgIndex=3 wall=134ms seq=3 late=75ms h=android.app.ActivityThread$H w=110) (msgIndex=4 wall=343ms seq=4 late=200ms h=android.app.ActivityThread$H w=159) 06-03 12:49:19.065 30637 30637 D LogSender: onCreate [com.itsaky.androidide.logsender.LogSenderService] 06-03 12:49:19.071 30637 30637 D ..tibilityChangeReporter: Compat change id reported: 160794467; UID 10215; state: ENABLED 06-03 12:49:19.081 30637 30637 D LogSender: onStartCommand Intent { act=ide.logsender.service.start cmp=com.raylib.raymob/com.itsaky.androidide.logsender.LogSenderService } 0 1 06-03 12:49:19.081 30637 30637 I LogSender: Starting log sender service... 06-03 12:49:19.093 30637 30637 I LogSender: Binding to log receiver 06-03 12:49:19.094 30637 30637 D LogSender: Bind to AndroidIDE: true 06-03 12:49:19.133 30637 30637 V threaded_app: NativeWindowCreated: 0xb400007b4193f0c0 -- 0xb400007ac6b52010 06-03 12:49:19.133 30637 30662 V threaded_app: APP_CMD_INIT_WINDOW 06-03 12:49:19.133 30637 30637 V threaded_app: NativeWindowResized: 0xb400007b4193f0c0 -- 0xb400007ac6b52010 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: QUALCOMM build : 16c8186230, I159ae7f0bb 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Build Date : 04/05/21 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.32.02.10 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Local Branch : 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Remote Branch : 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Remote Branch : 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Reconstruct Branch : 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Build Config : S P 10.0.7 AArch64 06-03 12:49:19.133 30637 30662 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 06-03 12:49:19.139 30637 30637 V threaded_app: ContentRectChanged: l=0,t=0,r=1080,b=2400 06-03 12:49:19.143 30637 30662 I AdrenoGLES-0: PFP: 0x016ee197, ME: 0x00000000 06-03 12:49:19.146 30637 30637 V threaded_app: NativeWindowRedrawNeeded: 0xb400007b4193f0c0 -- 0xb400007ac6b52010 06-03 12:49:19.159 30637 30662 I raylib : DISPLAY: Upscaling required: Screen size (800x600) smaller than display size (1080x2400) 06-03 12:49:19.159 30637 30662 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 06-03 12:49:19.160 30637 30662 I raylib : DISPLAY: Device initialized successfully 06-03 12:49:19.160 30637 30662 I raylib : > Display size: 1080 x 2400 06-03 12:49:19.160 30637 30662 I raylib : > Screen size: 800 x 600 06-03 12:49:19.160 30637 30662 I raylib : > Render size: 800 x 600 06-03 12:49:19.160 30637 30662 I raylib : > Viewport offsets: 0, 1178 06-03 12:49:19.160 30637 30662 I raylib : GL: Supported extensions count: 98 06-03 12:49:19.160 30637 30662 I raylib : GL: OpenGL device information: 06-03 12:49:19.160 30637 30662 I raylib : > Vendor: Qualcomm 06-03 12:49:19.160 30637 30662 I raylib : > Renderer: Adreno (TM) 619 06-03 12:49:19.160 30637 30662 I raylib : > Version: OpenGL ES 3.2 V@0502.0 (GIT@16c8186230, I159ae7f0bb, 1617607716) (Date:04/05/21) 06-03 12:49:19.160 30637 30662 I raylib : > GLSL: OpenGL ES GLSL ES 3.20 06-03 12:49:19.160 30637 30662 I raylib : GL: VAO extension detected, VAO functions loaded successfully 06-03 12:49:19.160 30637 30662 I raylib : GL: NPOT textures extension detected, full NPOT textures supported 06-03 12:49:19.160 30637 30662 I raylib : GL: ETC1 compressed textures supported 06-03 12:49:19.160 30637 30662 I raylib : GL: ASTC compressed textures supported 06-03 12:49:19.161 30637 30662 I raylib : TEXTURE: [ID 1] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps) 06-03 12:49:19.161 30637 30662 I raylib : TEXTURE: [ID 1] Default texture loaded successfully 06-03 12:49:19.163 30637 30662 I raylib : SHADER: [ID 1] Vertex shader compiled successfully 06-03 12:49:19.163 30637 30662 I raylib : SHADER: [ID 2] Fragment shader compiled successfully 06-03 12:49:19.165 30637 30662 I raylib : SHADER: [ID 3] Program shader loaded successfully 06-03 12:49:19.165 30637 30662 I raylib : SHADER: [ID 3] Default shader loaded successfully 06-03 12:49:19.166 30637 30662 I raylib : RLGL: Render batch vertex buffers loaded successfully in RAM (CPU) 06-03 12:49:19.169 30637 30637 I LogSender: Connecting to log receiver 06-03 12:49:19.171 30637 30662 I raylib : RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU) 06-03 12:49:19.171 30637 30662 I raylib : RLGL: Default OpenGL state initialized successfully 06-03 12:49:19.179 30637 30662 I raylib : TEXTURE: [ID 2] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps) 06-03 12:49:19.179 30637 30662 I raylib : FONT: Default font loaded successfully (224 glyphs) 06-03 12:49:19.179 30637 30662 I raylib : TEXTURE: [ID 3] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps) 06-03 12:49:19.179 30637 30662 I raylib : TEXTURE: [ID 3] Default texture loaded successfully 06-03 12:49:19.180 30637 30662 I raylib : SHADER: [ID 4] Vertex shader compiled successfully 06-03 12:49:19.180 30637 30662 I raylib : SHADER: [ID 5] Fragment shader compiled successfully 06-03 12:49:19.181 30637 30662 I raylib : SHADER: [ID 6] Program shader loaded successfully 06-03 12:49:19.181 30637 30662 I raylib : SHADER: [ID 6] Default shader loaded successfully 06-03 12:49:19.182 30637 30662 I raylib : RLGL: Render batch vertex buffers loaded successfully in RAM (CPU) 06-03 12:49:19.183 30637 30662 I raylib : RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU) 06-03 12:49:19.183 30637 30662 I raylib : RLGL: Default OpenGL state initialized successfully 06-03 12:49:19.183 30637 30662 I raylib : TEXTURE: [ID 4] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps) 06-03 12:49:19.184 30637 30662 I raylib : FONT: Default font loaded successfully (224 glyphs) 06-03 12:49:19.184 30637 30662 I raylib : SHADER: [ID 7] Vertex shader compiled successfully 06-03 12:49:19.202 30637 30637 V threaded_app: WindowFocusChanged: 0xb400007b4193f0c0 -- 1 06-03 12:49:19.202 30637 30637 D DecorView[]: onWindowFocusChanged hasWindowFocus true 06-03 12:49:19.207 30637 30662 I AdrenoGLES-0: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 8] Failed to compile fragment shader code 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 8] Compile error: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 I AdrenoGLES-0: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 9] Failed to link shader program 06-03 12:49:19.207 30637 30662 W raylib : SHADER: [ID 9] Link error: Assertion failed: idxCnstNode 06-03 12:49:19.207 30637 30662 W raylib : SHADER: Failed to load custom shader code, using default shader 06-03 12:49:19.207 30637 30662 I raylib : SHADER: [ID 7] Vertex shader compiled successfully 06-03 12:49:19.207 30637 30662 I raylib : SHADER: [ID 8] Fragment shader compiled successfully 06-03 12:49:19.208 30637 30662 I raylib : SHADER: [ID 9] Program shader loaded successfully 06-03 12:49:19.208 30637 30662 I raylib : SHADER: [ID 10] Fragment shader compiled successfully 06-03 12:49:19.210 30637 30662 I raylib : SHADER: [ID 11] Program shader loaded successfully 06-03 12:49:19.210 30637 30662 I raylib : VAO: [ID 3] Mesh uploaded successfully to VRAM (GPU) 06-03 12:49:19.210 30637 30662 I raylib : TIMER: Target time per frame: 16.667 milliseconds 06-03 12:49:19.884 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.884 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.900 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.917 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.917 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.934 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.934 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.950 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.951 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.967 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.967 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:19.967 30637 30662 V threaded_app: New input event: type=2 06-03 12:49:20.388 30637 30637 V threaded_app: Pause: 0xb400007b4193f0c0 06-03 12:49:20.401 30637 30662 V threaded_app: activityState=13 06-03 12:49:20.402 30637 30637 V threaded_app: WindowFocusChanged: 0xb400007b4193f0c0 -- 0 06-03 12:49:20.402 30637 30637 D DecorView[]: onWindowFocusChanged hasWindowFocus false 06-03 12:49:21.055 30637 30637 V threaded_app: NativeWindowDestroyed: 0xb400007b4193f0c0 -- 0xb400007ac6b52010 06-03 12:49:21.055 30637 30662 V threaded_app: APP_CMD_TERM_WINDOW 06-03 12:49:21.056 30637 30662 V threaded_app: APP_CMD_TERM_WINDOW 06-03 12:49:21.059 30637 30637 V threaded_app: Stop: 0xb400007b4193f0c0 06-03 12:49:21.060 30637 30662 V threaded_app: activityState=14 06-03 12:49:21.062 30637 30637 V threaded_app: SaveInstanceState: 0xb400007b4193f0c0 06-03 12:49:21.062 30637 30662 V threaded_app: APP_CMD_SAVE_STATE 06-03 12:49:29.124 30637 30653 I LogSender: Disconnecting from log receiver... 06-03 12:49:29.137 30637 30637 D LogSender: onDestroy [com.itsaky.androidide.logsender.LogSenderService] 06-03 12:49:29.143 30637 30637 D LogSender: Not bound to AndroidIDE. Ignored. 06-03 12:52:23.701 32087 32087 I m.raylib.raymo: Late-enabling -Xcheck:jni 06-03 12:52:23.926 32087 32087 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 06-03 12:52:24.158 32087 32128 D AppScoutStateMachine: 32087-ScoutStateMachinecreated 06-03 12:52:24.311 32087 32087 D ..tibilityChangeReporter: Compat change id reported: 171979766; UID 10215; state: ENABLED 06-03 12:52:24.391 32087 32087 V GraphicsEnvironment: ANGLE Developer option for 'com.raylib.raymob' set to: 'default' 06-03 12:52:24.391 32087 32087 V GraphicsEnvironment: Updatable production driver is not supported on the device. 06-03 12:52:24.399 32087 32087 I ForceDarkHelperStubImpl: initialize for com.raylib.raymob , ForceDarkOrigin 06-03 12:52:24.402 32087 32087 D OpenGLRenderer: JNI_OnLoad success 06-03 12:52:24.402 32087 32087 I MiuiForceDarkConfig: setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0 06-03 12:52:24.413 32087 32087 D NetworkSecurityConfig: No Network Security Config specified, using platform default 06-03 12:52:24.414 32087 32087 D NetworkSecurityConfig: No Network Security Config specified, using platform default 06-03 12:52:24.543 32087 32087 D ViewScrollStubImpl: the value of ScrollFrictionRes is: 0.015 06-03 12:52:24.564 32087 32087 D IS_CTS_MODE: false 06-03 12:52:24.564 32087 32087 D .._WINDOW_SWITCH_ENABLED: false 06-03 12:52:24.566 32087 32087 D IS_CTS_MODE: false 06-03 12:52:24.566 32087 32087 D .._WINDOW_SWITCH_ENABLED: false 06-03 12:52:24.592 32087 32087 D DecorView[]: getWindowModeFromSystem windowmode is 1 06-03 12:52:24.677 32087 32087 D IconCustomizer: Generate customized icon for sym_def_app_icon.png 06-03 12:52:24.782 32087 32087 V threaded_app: Creating: 0xb400007b4193ef80 06-03 12:52:24.782 32087 32157 V threaded_app: Config: mcc=220 mnc=3 lang=en cnt=US orien=1 touch=3 dens=440 keys=1 nav=1 keysHid=3 navHid=0 sdk=31 size=2 long=2 modetype=1 modenight=2 06-03 12:52:24.786 32087 32157 I raylib : Initializing raylib 5.0 06-03 12:52:24.787 32087 32157 I raylib : Platform backend: ANDROID 06-03 12:52:24.787 32087 32157 I raylib : Supported raylib modules: 06-03 12:52:24.787 32087 32157 I raylib : > rcore:..... loaded (mandatory) 06-03 12:52:24.787 32087 32157 I raylib : > rlgl:...... loaded (mandatory) 06-03 12:52:24.787 32087 32157 I raylib : > rshapes:... loaded (optional) 06-03 12:52:24.787 32087 32157 I raylib : > rtextures:. loaded (optional) 06-03 12:52:24.787 32087 32157 I raylib : > rtext:..... loaded (optional) 06-03 12:52:24.787 32087 32157 I raylib : > rmodels:... loaded (optional) 06-03 12:52:24.787 32087 32157 I raylib : > raudio:.... loaded (optional) 06-03 12:52:24.787 32087 32157 I raylib : ANDROID: Window orientation set as portrait 06-03 12:52:24.787 32087 32157 W raylib : ANDROID: Window orientation changed to landscape 06-03 12:52:24.787 32087 32157 I raylib : PLATFORM: ANDROID: Initialized successfully 06-03 12:52:24.788 32087 32087 D VFUtils : scaleWght : 310 06-03 12:52:24.826 32087 32087 D VFUtils : scaleWght : 410 06-03 12:52:24.850 32087 32087 V threaded_app: Start: 0xb400007b4193ef80 06-03 12:52:24.850 32087 32157 V threaded_app: activityState=10 06-03 12:52:24.857 32087 32087 D VFUtils : scaleWght : 310 06-03 12:52:24.873 32087 32087 D VFUtils : scaleWght : 310 06-03 12:52:24.873 32087 32087 D VFUtils : scaleWght : 310 06-03 12:52:24.875 32087 32087 D VFUtils : scaleWght : 410 06-03 12:52:24.891 32087 32087 D VFUtils : scaleWght : 410 06-03 12:52:24.897 32087 32087 V threaded_app: Resume: 0xb400007b4193ef80 06-03 12:52:24.898 32087 32157 V threaded_app: activityState=11 06-03 12:52:24.929 32087 32087 D DecorView[]: getWindowModeFromSystem windowmode is 1 06-03 12:52:24.929 32087 32087 D DecorView[]: updateDecorCaptionStatus displayWindowDecor is false 06-03 12:52:24.947 32087 32087 V threaded_app: InputQueueCreated: 0xb400007b4193ef80 -- 0xb400007b1eef7c00 06-03 12:52:24.947 32087 32157 V threaded_app: APP_CMD_INPUT_CHANGED 06-03 12:52:24.947 32087 32157 V threaded_app: Attaching input queue to looper 06-03 12:52:24.950 32087 32087 W Looper : PerfMonitor looperActivity : package=com.raylib.raymob/.NativeLoader time=460ms latency=387ms running=0ms procState=-1 historyMsgCount=3 (msgIndex=1 wall=162ms seq=1 late=122ms h=android.app.ActivityThread$H w=162) (msgIndex=3 wall=180ms seq=3 late=218ms h=android.app.ActivityThread$H w=110) 06-03 12:52:24.953 32087 32087 W Looper : PerfMonitor looperActivity : package=com.raylib.raymob/.NativeLoader time=0ms latency=849ms running=0ms procState=-1 historyMsgCount=4 (msgIndex=1 wall=162ms seq=1 late=122ms h=android.app.ActivityThread$H w=162) (msgIndex=3 wall=180ms seq=3 late=218ms h=android.app.ActivityThread$H w=110) (msgIndex=4 wall=460ms seq=4 late=387ms h=android.app.ActivityThread$H w=159) 06-03 12:52:24.976 32087 32087 D LogSender: onCreate [com.itsaky.androidide.logsender.LogSenderService] 06-03 12:52:24.982 32087 32087 D ..tibilityChangeReporter: Compat change id reported: 160794467; UID 10215; state: ENABLED 06-03 12:52:24.994 32087 32087 D LogSender: onStartCommand Intent { act=ide.logsender.service.start cmp=com.raylib.raymob/com.itsaky.androidide.logsender.LogSenderService } 0 1 06-03 12:52:24.996 32087 32087 I LogSender: Starting log sender service... 06-03 12:52:25.010 32087 32087 I LogSender: Binding to log receiver 06-03 12:52:25.010 32087 32087 D LogSender: Bind to AndroidIDE: true 06-03 12:52:25.076 32087 32087 V threaded_app: NativeWindowCreated: 0xb400007b4193ef80 -- 0xb400007ac3913010 06-03 12:52:25.076 32087 32157 V threaded_app: APP_CMD_INIT_WINDOW 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: QUALCOMM build : 16c8186230, I159ae7f0bb 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Build Date : 04/05/21 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.32.02.10 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Local Branch : 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Remote Branch : 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Remote Branch : 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Reconstruct Branch : 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Build Config : S P 10.0.7 AArch64 06-03 12:52:25.076 32087 32157 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 06-03 12:52:25.076 32087 32087 V threaded_app: NativeWindowResized: 0xb400007b4193ef80 -- 0xb400007ac3913010 06-03 12:52:25.086 32087 32087 V threaded_app: ContentRectChanged: l=0,t=0,r=1080,b=2400 06-03 12:52:25.093 32087 32157 I AdrenoGLES-0: PFP: 0x016ee197, ME: 0x00000000 06-03 12:52:25.106 32087 32087 V threaded_app: NativeWindowRedrawNeeded: 0xb400007b4193ef80 -- 0xb400007ac3913010 06-03 12:52:25.108 32087 32087 I LogSender: Connecting to log receiver 06-03 12:52:25.137 32087 32157 I raylib : DISPLAY: Upscaling required: Screen size (800x600) smaller than display size (1080x2400) 06-03 12:52:25.138 32087 32157 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 06-03 12:52:25.138 32087 32157 I raylib : DISPLAY: Device initialized successfully 06-03 12:52:25.138 32087 32157 I raylib : > Display size: 1080 x 2400 06-03 12:52:25.138 32087 32157 I raylib : > Screen size: 800 x 600 06-03 12:52:25.138 32087 32157 I raylib : > Render size: 800 x 600 06-03 12:52:25.138 32087 32157 I raylib : > Viewport offsets: 0, 1178 06-03 12:52:25.139 32087 32157 I raylib : GL: Supported extensions count: 98 06-03 12:52:25.139 32087 32157 I raylib : GL: OpenGL device information: 06-03 12:52:25.139 32087 32157 I raylib : > Vendor: Qualcomm 06-03 12:52:25.139 32087 32157 I raylib : > Renderer: Adreno (TM) 619 06-03 12:52:25.139 32087 32157 I raylib : > Version: OpenGL ES 3.2 V@0502.0 (GIT@16c8186230, I159ae7f0bb, 1617607716) (Date:04/05/21) 06-03 12:52:25.139 32087 32157 I raylib : > GLSL: OpenGL ES GLSL ES 3.20 06-03 12:52:25.139 32087 32157 I raylib : GL: VAO extension detected, VAO functions loaded successfully 06-03 12:52:25.139 32087 32157 I raylib : GL: NPOT textures extension detected, full NPOT textures supported 06-03 12:52:25.139 32087 32157 I raylib : GL: ETC1 compressed textures supported 06-03 12:52:25.139 32087 32157 I raylib : GL: ASTC compressed textures supported 06-03 12:52:25.141 32087 32157 I raylib : TEXTURE: [ID 1] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps) 06-03 12:52:25.141 32087 32157 I raylib : TEXTURE: [ID 1] Default texture loaded successfully 06-03 12:52:25.158 32087 32157 I raylib : SHADER: [ID 1] Vertex shader compiled successfully 06-03 12:52:25.181 32087 32157 I raylib : SHADER: [ID 2] Fragment shader compiled successfully 06-03 12:52:25.213 32087 32198 I LogSender: Starting to read logs... 06-03 12:52:25.220 32087 32157 I raylib : SHADER: [ID 3] Program shader loaded successfully 06-03 12:52:25.220 32087 32157 I raylib : SHADER: [ID 3] Default shader loaded successfully 06-03 12:52:25.222 32087 32157 I raylib : RLGL: Render batch vertex buffers loaded successfully in RAM (CPU) 06-03 12:52:25.223 32087 32157 I raylib : RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU) 06-03 12:52:25.223 32087 32157 I raylib : RLGL: Default OpenGL state initialized successfully 06-03 12:52:25.248 32087 32087 V threaded_app: WindowFocusChanged: 0xb400007b4193ef80 -- 1 06-03 12:52:25.249 32087 32087 D DecorView[]: onWindowFocusChanged hasWindowFocus true 06-03 12:52:25.251 32087 32157 I raylib : TEXTURE: [ID 2] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps) 06-03 12:52:25.255 32087 32157 I raylib : FONT: Default font loaded successfully (224 glyphs) 06-03 12:52:25.255 32087 32157 I raylib : TEXTURE: [ID 3] Texture loaded successfully (1x1 | R8G8B8A8 | 1 mipmaps) 06-03 12:52:25.256 32087 32157 I raylib : TEXTURE: [ID 3] Default texture loaded successfully 06-03 12:52:25.257 32087 32157 I raylib : SHADER: [ID 4] Vertex shader compiled successfully 06-03 12:52:25.257 32087 32157 I raylib : SHADER: [ID 5] Fragment shader compiled successfully 06-03 12:52:25.258 32087 32157 I raylib : SHADER: [ID 6] Program shader loaded successfully 06-03 12:52:25.258 32087 32157 I raylib : SHADER: [ID 6] Default shader loaded successfully 06-03 12:52:25.259 32087 32157 I raylib : RLGL: Render batch vertex buffers loaded successfully in RAM (CPU) 06-03 12:52:25.260 32087 32157 I raylib : RLGL: Render batch vertex buffers loaded successfully in VRAM (GPU) 06-03 12:52:25.260 32087 32157 I raylib : RLGL: Default OpenGL state initialized successfully 06-03 12:52:25.261 32087 32157 I raylib : TEXTURE: [ID 4] Texture loaded successfully (128x128 | GRAY_ALPHA | 1 mipmaps) 06-03 12:52:25.261 32087 32157 I raylib : FONT: Default font loaded successfully (224 glyphs) 06-03 12:52:25.275 32087 32157 I raylib : SHADER: [ID 7] Vertex shader compiled successfully 06-03 12:52:25.283 32087 32157 I AdrenoGLES-0: Assertion failed: idxCnstNode 06-03 12:52:25.283 32087 32157 W raylib : SHADER: [ID 8] Failed to compile fragment shader code 06-03 12:52:25.283 32087 32157 W raylib : SHADER: [ID 8] Compile error: Assertion failed: idxCnstNode 06-03 12:52:25.283 32087 32157 I AdrenoGLES-0: Assertion failed: idxCnstNode 06-03 12:52:25.283 32087 32157 W raylib : SHADER: [ID 9] Failed to link shader program 06-03 12:52:25.283 32087 32157 W raylib : SHADER: [ID 9] Link error: Assertion failed: idxCnstNode 06-03 12:52:25.283 32087 32157 W raylib : SHADER: Failed to load custom shader code, using default shader 06-03 12:52:25.300 32087 32157 I raylib : SHADER: [ID 7] Vertex shader compiled successfully 06-03 12:52:25.303 32087 32157 I raylib : SHADER: [ID 8] Fragment shader compiled successfully 06-03 12:52:25.319 32087 32157 I raylib : SHADER: [ID 9] Program shader loaded successfully 06-03 12:52:25.324 32087 32157 I raylib : SHADER: [ID 10] Fragment shader compiled successfully 06-03 12:52:25.362 32087 32157 I raylib : SHADER: [ID 11] Program shader loaded successfully 06-03 12:52:25.362 32087 32157 I raylib : VAO: [ID 3] Mesh uploaded successfully to VRAM (GPU) 06-03 12:52:25.362 32087 32157 I raylib : TIMER: Target time per frame: 16.667 milliseconds 06-03 12:52:26.166 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.232 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.232 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.266 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.282 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.282 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.299 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:26.299 32087 32157 V threaded_app: New input event: type=2 06-03 12:52:27.059 32087 32087 V threaded_app: Pause: 0xb400007b4193ef80 06-03 12:52:27.077 32087 32157 V threaded_app: activityState=13 06-03 12:52:27.079 32087 32087 V threaded_app: WindowFocusChanged: 0xb400007b4193ef80 -- 0 06-03 12:52:27.079 32087 32087 D DecorView[]: onWindowFocusChanged hasWindowFocus false 06-03 12:52:27.811 32087 32087 V threaded_app: NativeWindowDestroyed: 0xb400007b4193ef80 -- 0xb400007ac3913010 06-03 12:52:27.811 32087 32157 V threaded_app: APP_CMD_TERM_WINDOW 06-03 12:52:27.813 32087 32157 V threaded_app: APP_CMD_TERM_WINDOW 06-03 12:52:27.818 32087 32087 V threaded_app: Stop: 0xb400007b4193ef80 06-03 12:52:27.818 32087 32157 V threaded_app: activityState=14 06-03 12:52:27.828 32087 32087 V threaded_app: SaveInstanceState: 0xb400007b4193ef80 06-03 12:52:27.828 32087 32157 V threaded_app: APP_CMD_SAVE_STATE

paliszarok commented 1 month ago

The code:


#include "raylib.h"

#define RLIGHTS_IMPLEMENTATION
#define GLSL_VERSION 100        ///< or 120/130/etc.. 100 is default if 'PLATFORM_DESKTOP' is not defined
#include "rlights.h"

int main(void)
{
    InitWindow(800, 600, "basic example");

    Camera camera = {
        .position = (Vector3) { 2.0f, 2.0f, 2.0f },
        .target = (Vector3) { 0.0f, 0.0f, 0.0f },
        .up = (Vector3) { 0.0f, 1.0f, 0.0f },
        .fovy = 45.0f
    };

    RLG_Init(1);

    RLG_EnableLight(0);
    RLG_SetLightPosition(0, 2, 2, 2);
    RLG_SetLightType(0, RLG_OMNILIGHT);

    Model cube = LoadModelFromMesh(GenMeshCube(1, 1, 1));

    SetTargetFPS(60);

    while (!WindowShouldClose())
    {
        UpdateCamera(&camera, CAMERA_ORBITAL);
        RLG_SetViewPositionV(camera.position);

        BeginDrawing();

            ClearBackground(BLACK);

            BeginMode3D(camera);
                RLG_DrawModel(cube, Vector3Zero(), 1, WHITE);
            EndMode3D();

        EndDrawing();
    }

    UnloadModel(cube);

    RLG_Close();
    CloseWindow();

    return 0;
}```
paliszarok commented 1 month ago

The output: Screenshot_2024-06-03-13-09-57-250_com raylib raymob

Bigfoot71 commented 1 month ago

@paliszarok I've conducted research on this matter, and no documentation is available regarding the error you're experiencing with your hardware.

I am also unable to reproduce the error on my end, and the shader in version 100 appears to be fully compliant with the standard.

I can only suggest two options: first, try building your project in a more conventional manner without using Android IDE.

If the problem persists, use the "external.c" example and simplify the fragment shader piece by piece to identify which part prevents it from compiling.

Bigfoot71 commented 1 week ago

@paliszarok Have you tried again since the last time? A lot of changes have been made to the shaders