New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629614 link

Starred by 11 users

Issue metadata

Status: Duplicate
Owner:
not on Chrome anymore
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

WebGL doesn't work in Chrome but in other Chromium-based browsers work

Reported by mirruzi...@gmail.com, Jul 19 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. open some page that require webgl
2. 
3. 

What is the expected behavior?

What went wrong?
WebGL content doesn't work, browser under chrome://gpu says: GpuProcessHostUIShim: The GPU process crashed!
But in other browser that is based on Chromium WebGL work. I tried to reinstall but it didn't help.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 51.0.2704.106  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0
 
gpu.html
42.3 KB View Download
Components: -Blink Blink>WebGL

Comment 2 by kbr@chromium.org, Jul 20 2016

Components: -Blink>WebGL Internals>GPU>Internals
Labels: GPU-AMD
Owner: jbau...@chromium.org
Sorry, something's going deeply wrong in Chrome's graphics stack. It's not WebGL-specific. John, do you think you could help investigate if there's some incompatibility between Chrome and AMD's latest drivers?

Do you have "Use hardware acceleration when available" checked in chrome://settings?
Yes I have Use hardware acceleration enabled.
Do you see any crashes listed in chrome://crashes?
yes, many, latest one:
Crash ID: crash/be37658200000000
Crash ID: crash/7ab3e00e00000000
Crash ID: crash/c262e00e00000000
If you set the --disable-accelerated-video-decode command-line flag, chrome should work. Maybe we need to blacklist it completely on these drivers.

It looks like the driver is crashing when we try to get an ID3D11VideoDevice.
It works! Thank you.

Comment 9 by da...@t7even.com, Jul 31 2016

Same here. No crashes though under chrome://crashes. Use hardware acceleration when available is enabled.

My useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

WebGL worked just fine in Chrome until a few days ago. 

See also my post: https://plus.google.com/u/0/+DavidSchmidt/posts/6Cffs3BdaYq

Comment 10 by da...@t7even.com, Jul 31 2016

I may add what I found under chrome://gpu

*Graphics Feature Status*
Canvas: Software only, hardware acceleration unavailable
Flash: Software only, hardware acceleration unavailable
Flash Stage3D: Software only, hardware acceleration unavailable
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable
Compositing: Software only, hardware acceleration unavailable
Multiple Raster Threads: Unavailable
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Software only, hardware acceleration unavailable
WebGL: Unavailable

*Driver Bug Workarounds*
clear_uniforms_before_first_program_use
disable_d3d11
disable_discard_framebuffer
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage

*Problems Detected*
GPU process was unable to boot: Features are disabled upon full but not preliminary GPU info.
Disabled Features: all
Accelerated video decode does not work with the discrete GPU on AMD switchables: 298968
Disabled Features: accelerated_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Disable Direct3D11 on systems with AMD switchable graphics: 451420
Applied Workarounds: disable_d3d11
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Crashes in D3D11 on specific AMD drivers: 517040
Applied Workarounds: disable_d3d11
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
 Issue 636580  has been merged into this issue.
Coming from  issue 636580  here.

Tried to disable accelerated video decoding, but it still didn't work. Besides, chrome:gpu says it's already blacklisted.
I've also configured Chrome to use default flags for everything having to do with graphics, but to no avail.

I don't think WebGL ever worked on this graphics card.

You can find my chrome:gpu attached. The GPU process doesn't seem to crash, WebGL looks okay, but WebGL still doesn't work.

chrome:crashes reports no crashes.
gpu.html
46.7 KB View Download
Everything works correctly on Microsoft Edge, if it can help you.

Comment 14 by da...@t7even.com, Aug 25 2016

I want my WebGL back. Please!

Comment 15 by da...@t7even.com, Sep 12 2016

Any news on this?

Comment 16 by da...@t7even.com, Oct 3 2016

Enabling the flag that's mentioned here, activated WebGL for me again:
https://bugs.chromium.org/p/chromium/issues/detail?id=644091#c2
Cc: kbr@chromium.org
Status: Assigned (was: Unconfirmed)
Re #7, is there a way that we can generically work around this issue (a blacklist, or becoming robust to device creation failure)?
Components: Blink>Media

Comment 19 by kbr@chromium.org, Mar 24 2017

The blacklist is already a sufficient mechanism for disabling the use of problematic features on buggy drivers.

Comment 20 by da...@t7even.com, Apr 1 2017

Any idea why the flag's no more working? Have Override software rendering list enabled but WebGL doesn't work again since a few days.

Comment 21 by da...@t7even.com, Apr 28 2017

Found it out myself, apparently google.de/maps provides different code than google.com/maps. The localized DE version ignores the flag and delivers static 2D tiles, where as the .com version has the 3D buildings based on WebGL.
Mergedinto: 633524
Status: Duplicate (was: Assigned)
I think the issue in comment #10 is a duplicate of bug  bug 687004  (now fixed). The originally-reported issue is a dupe of 633524.

Sign in to add a comment