plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
292 stars 40 forks source link

ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command #352

Open Nick-Kou opened 3 years ago

Nick-Kou commented 3 years ago

The error: ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command appears when I try the following 2 examples:

Example 1

conda activate lab 
orca graph '{ "data": [{"y": [1,2,1]}] }' -o fig.png

Example 2 From python, run with Conda activated. The following Python script was called:

from subprocess import call
import json
import plotly

fig = {"data": [{"y": [1,2,1]}]}
call(['orca', 'graph', json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)])

The lab environment includes:

plotly 4.5.4 plotly-orca 1.3.0

OS: Ubuntu 20.04 LTS

chrisarmstrong151 commented 3 years ago

I had the same issue in RStudio. The solution there was to use the command orca(p, f, more_args = c('--disable-gpu')). However, now orca spits out an incorrect image (a gridded canvas but with no shapes). I knew orca was always buggy but this is a new low.

ghost commented 3 years ago

I have the similar issue:

MacOS 11.1 plotly 4.5.4 plotly-orca 1.3.0 (the same issue with 1.3.1)

[36054:1206/164349.490152:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164349.490159:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.490168:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164349.490181:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164349.490191:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.490201:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164349.493542:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.493589:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.493622:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.493632:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.493643:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164349.493653:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.498847:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.498889:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.498903:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.498913:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.498923:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.498935:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.498973:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.498983:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.498991:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.499002:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.499009:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.499016:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.499059:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.499078:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.499088:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.499098:ERROR:gles2_cmd_decoder.cc(18538)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoCreateAndTexStorage2DSharedImageINTERNAL: invalid mailbox name [36054:1206/164350.499107:ERROR:gles2_cmd_decoder.cc(18559)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoBeginSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.499118:ERROR:gles2_cmd_decoder.cc(13540)] [.DisplayCompositor]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format [36054:1206/164350.502436:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.502465:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.502477:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.502490:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.502501:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image [36054:1206/164350.502513:ERROR:gles2_cmd_decoder.cc(18582)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : DoEndSharedImageAccessCHROMIUM: bound texture is not a shared image

the issue disappears after downgrading plotly-orca to 1..2.1

astro313 commented 3 years ago

The issue persists for me even after downgrading plotly-orca to 1.2.1

Miladiouss commented 2 years ago

pip install -U kaleido resolved my issue.