Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
[Empty comment from Monorail migration]
es...@chromium.org <es...@chromium.org> #3
[Empty comment from Monorail migration]
hb...@google.com <hb...@google.com> #4
Moving to Feature-GPU so we can find it.
ap...@google.com <ap...@google.com> #5
I think I know what this is. On it now.
bu...@gmail.com <bu...@gmail.com> #7
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=61565
------------------------------------------------------------------------
r61565 | apatrick@chromium.org | Tue Oct 05 14:47:55 PDT 2010
Changed paths:
Mhttp://src.chromium.org/viewvc/chrome/trunk/src/app/gfx/gl/gl_context_linux.cc?r1=61565&r2=61564&pathrev=61565
GPU process does one-off EGL initialization on linux.
This should get WebGL working on EGL/GLES2 ARM boxes again.
TEST=try
BUG=53823
Review URL:http://codereview.chromium.org/3466011
------------------------------------------------------------------------
------------------------------------------------------------------------
r61565 | apatrick@chromium.org | Tue Oct 05 14:47:55 PDT 2010
Changed paths:
M
GPU process does one-off EGL initialization on linux.
This should get WebGL working on EGL/GLES2 ARM boxes again.
TEST=try
BUG=53823
Review URL:
------------------------------------------------------------------------
ve...@gmail.com <ve...@gmail.com> #8
WebGL is not working yet, here is the error log,
Chromium version: r61632
>$ ./chrome --enable-webgl --use-gl=eglhttps://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/demos/google/san-angeles/index.html
[3870:3870:61796260952:ERROR:app/gfx/gl/gl_context_egl.cc(127)] eglCreateContext failed.
[3870:3870:61796271112:ERROR:gpu/command_buffer/service/gpu_processor_linux.cc(41)] GPUProcessor::Initialize failed
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
[3857:3857:61796354467:ERROR:chrome/renderer/gpu_video_service_host.cc(47)] GpuChannelMsg_GetVideoService failed
Chromium version: r61632
>$ ./chrome --enable-webgl --use-gl=egl
[3870:3870:61796260952:ERROR:app/gfx/gl/gl_context_egl.cc(127)] eglCreateContext failed.
[3870:3870:61796271112:ERROR:gpu/command_buffer/service/gpu_processor_linux.cc(41)] GPUProcessor::Initialize failed
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
[3857:3857:61796354467:ERROR:chrome/renderer/gpu_video_service_host.cc(47)] GpuChannelMsg_GetVideoService failed
[Deleted User] <[Deleted User]> #9
ap...@google.com <ap...@google.com> #10
I'll enhance the EGL logging code so it outputs the error code so we can track down the problem. I should get it committed some time today.
bu...@gmail.com <bu...@gmail.com> #11
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=63101
------------------------------------------------------------------------
r63101 | apatrick@chromium.org | Tue Oct 19 13:58:53 PDT 2010
Changed paths:
Mhttp://src.chromium.org/viewvc/chrome/trunk/src/app/gfx/gl/gl_context_egl.cc?r1=63101&r2=63100&pathrev=63101
Report EGL error strings whenever an EGL function fails.
TEST=try, check ANGLE works locally, simulate failure of EGL function and check log output
BUG=53823
Review URL:http://codereview.chromium.org/3877001
------------------------------------------------------------------------
------------------------------------------------------------------------
r63101 | apatrick@chromium.org | Tue Oct 19 13:58:53 PDT 2010
Changed paths:
M
Report EGL error strings whenever an EGL function fails.
TEST=try, check ANGLE works locally, simulate failure of EGL function and check log output
BUG=53823
Review URL:
------------------------------------------------------------------------
[Deleted User] <[Deleted User]> #12
[Comment Deleted]
[Deleted User] <[Deleted User]> #13
The more detailed logging code is now in the latest canary build (8.0.559.0).
[Deleted User] <[Deleted User]> #14
ve...@gmail.com <ve...@gmail.com> #15
Here is the latest error log for webgl test:
[4108:4108:18955990640:ERROR:app/gfx/gl/gl_context_egl.cc(172)] eglCreateContext failed with error EGL_BAD_CONFIG
[4108:4108:18956000839:ERROR:gpu/command_buffer/service/gpu_processor_linux.cc(42)] GPUProcessor::Initialize failed
[4108:4108:18955990640:ERROR:app/gfx/gl/gl_context_egl.cc(172)] eglCreateContext failed with error EGL_BAD_CONFIG
[4108:4108:18956000839:ERROR:gpu/command_buffer/service/gpu_processor_linux.cc(42)] GPUProcessor::Initialize failed
[Deleted User] <[Deleted User]> #16
[Deleted User] <[Deleted User]> #17
[Deleted User] <[Deleted User]> #18
Thanks for tracking that down. It is specifying EGL_RENDERABLE_TYPE = EGL_OPENGL_ES2_BIT in the config attributes for eglChooseConfig on gl_context_egl.cc:90 though.
What it could be is you have two versions of libEGL, one corresponding to v1 and one corresponding to v2 and it is dlopen is loading the v1 version for whatever reason and using it to make the first context. Can you verify?
What's the linux versioning convention for libEGL. Should it be dlopeninglibEGL.2.so ?
What it could be is you have two versions of libEGL, one corresponding to v1 and one corresponding to v2 and it is dlopen is loading the v1 version for whatever reason and using it to make the first context. Can you verify?
What's the linux versioning convention for libEGL. Should it be dlopening
[Deleted User] <[Deleted User]> #19
[Deleted User] <[Deleted User]> #20
[Deleted User] <[Deleted User]> #21
Thanks for that. Glad it's working now. I'm working on a patch now.
bu...@gmail.com <bu...@gmail.com> #22
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=64119
------------------------------------------------------------------------
r64119 | apatrick@chromium.org | Wed Oct 27 12:34:00 PDT 2010
Changed paths:
Mhttp://src.chromium.org/viewvc/chrome/trunk/src/app/gfx/gl/gl_context_egl.cc?r1=64119&r2=64118&pathrev=64119
Specify client version 2 when creating EGL contexts.
It was doing this already for SecondaryEGLContext but not for NativeViewEGLContext, which made it default to EGL version 1 on non-ANGLE EGL implementations.
I also fixed ANGLE upstream in r468 so it fails to create a context unless version 2 is explicitly requested.
TEST=try
BUG=53823
Review URL:http://codereview.chromium.org/4089006
------------------------------------------------------------------------
------------------------------------------------------------------------
r64119 | apatrick@chromium.org | Wed Oct 27 12:34:00 PDT 2010
Changed paths:
M
Specify client version 2 when creating EGL contexts.
It was doing this already for SecondaryEGLContext but not for NativeViewEGLContext, which made it default to EGL version 1 on non-ANGLE EGL implementations.
I also fixed ANGLE upstream in r468 so it fails to create a context unless version 2 is explicitly requested.
TEST=try
BUG=53823
Review URL:
------------------------------------------------------------------------
bu...@chromium.org <bu...@chromium.org> #24
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
bu...@chromium.org <bu...@chromium.org> #25
[Empty comment from Monorail migration]
bu...@chromium.org <bu...@chromium.org> #26
[Empty comment from Monorail migration]
bu...@chromium.org <bu...@chromium.org> #27
[Empty comment from Monorail migration]
bu...@chromium.org <bu...@chromium.org> #28
[Empty comment from Monorail migration]
la...@chromium.org <la...@chromium.org> #29
Deprecate Internals>Graphics
[Monorail components: -Internals>Graphics Internals>GPU]
[Monorail components: -Internals>Graphics Internals>GPU]
is...@google.com <is...@google.com> #30
This issue was migrated from crbug.com/chromium/53823?no_tracker_redirect=1
[Multiple monorail components: Blink>WebGL, Internals, Internals>GPU]
[Monorail components added to Component Tags custom field.]
[Multiple monorail components: Blink>WebGL, Internals, Internals>GPU]
[Monorail components added to Component Tags custom field.]
Description
Chrome Version (from the about:version page):
Is this the most recent version: yes
OS + version: arm
CPU architecture (32-bit / 64-bit):32-bit
Window manager:
URLs (if relevant):
Behavior in Linux Firefox:
Behavior in Windows Chrome (if you have access to it):
What steps will reproduce the problem?
2.
3.
What is the expected result?http://www.khronos.org/webgl/wiki/Demo_Repository should run properly
WebGl examples
What happens instead?
An error
[3142:3142:7982823576:ERROR:app/gfx/gl/gl_context_egl.cc(225)] Error creating Pbuffer: 12296
and a pop-up dialog saying is webGl context enabled?
Additional information:
WebGL used to work in chrome-r52380. looks like patch applied on chrome-r52388(http://code.google.com/p/chromium/issues/detail?id=45898 ) broke the chrome-webgl build.