Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Error : "LineShaderRenderer: program params: glError 1282" #2

Open
RegisAG opened this issue Dec 13, 2017 · 6 comments
Open

Error : "LineShaderRenderer: program params: glError 1282" #2

RegisAG opened this issue Dec 13, 2017 · 6 comments

Comments

@RegisAG
Copy link

RegisAG commented Dec 13, 2017

I have got the following error when running this project:

12-13 16:35:06.444 1843-1843/? E/Zygote: v2
12-13 16:35:06.445 1843-1843/? E/Zygote: accessInfo : 0
12-13 16:35:06.551 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 851980
12-13 16:35:06.551 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
12-13 16:35:06.551 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
12-13 16:35:06.552 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 851980
12-13 16:35:06.552 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 1310721
12-13 16:35:06.552 1843-1843/? E/ACameraMetadata: getConstEntry: cannot find metadata tag 1638401
12-13 16:35:06.552 1843-1843/? E/tango_camera_native: 2 is not a valid camera index.
12-13 16:35:06.552 1843-1843/? E/tango_camera_native: 3 is not a valid camera index.
12-13 16:35:06.638 1843-1885/? E/LineShaderRenderer: Error compiling shader: 0:24: L0002: Undeclared variable 'f'
                                                     0:27: L0002: Undeclared variable 'f'
                                                     0:30: L0002: Undeclared variable 'f'
12-13 16:35:06.638 1843-1885/? E/LineShaderRenderer: program: glError 1281
12-13 16:35:06.639 1843-1885/? E/LineShaderRenderer: program  params: glError 1282
12-13 16:35:06.819 1843-1890/? E/Camera2-Metadata: Update metadata entry: Unknown tag -1073741824
12-13 16:35:07.025 1843-1876/? E/ACameraDevice: onDeviceIdle sending state cb
12-13 16:35:07.122 1843-1932/? E/ndk_camera: onCaptureSessionClosed called, signalling on CV.
12-13 16:35:07.427 1843-1885/? E/tango_camera_native: Couldn't get image exposure/skew for timestamp offset!
12-13 16:35:07.427 1843-1885/? E/ndk_camera: metadata has: 202550.210061
12-13 16:35:07.427 1843-1885/? E/ndk_camera: metadata has: 202550.598346
12-13 16:35:16.761 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.802 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.830 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.863 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.895 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.930 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:16.962 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282
12-13 16:35:17.002 1843-1885/com.googlecreativelab.drawar E/LineShaderRenderer: Draw: glError 1282

I have no crash but nothing appears on the surfaceView (I just have the status bar at the bottom).

Thanks a lot for your help.

@KamdarRushabh
Copy link

Yes, facing the same issue.

@danzeeeman
Copy link

what device?

@vanaf
Copy link
Contributor

vanaf commented Mar 22, 2018

Compiled version failing with same error on Samsung Galaxy S7 Edge.

However Google Play version works well

@danzeeeman
Copy link

@vanaf follow the error returned from the LineShaderRenderer and remove the f in the line 24 ,27, and 30. The shader compiler in the international version of the S7/8/+/Notes doesn't follow spec and fails to compile floats with float declarations.

@vanaf
Copy link
Contributor

vanaf commented Mar 23, 2018

As far as I'am understand it is in GLES20 which seems to be native code part of android.

@brijeshshah13
Copy link
Contributor

brijeshshah13 commented Mar 26, 2018

Closed by #7.

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

No branches or pull requests

5 participants