Issue metadata
Sign in to add a comment
|
WebGL not rendering when using Apple Software Renderer
Reported by
asher...@gmail.com,
Jun 13 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Steps to reproduce the problem: 1. Visit https://get.webgl.org/ What is the expected behavior? 1. See "Your browser supports WebGL" 2. See spinning wireframe cube. What went wrong? 1. Get "Your browser supports WebGL", 2. but spinning cube not rendered. chrome://gpu indicates that everything is fine. Did this work before? Yes 52.0.2743.82 Does this work in other browsers? Yes Chrome version: 61.0.3129.0 Channel: canary OS Version: 10.12.4 Flash Version: Broken somewhere between 52.0.2743.82 and 53.0.2785.113 I think. Running macOS as a VMWare ESXi VM on a Mac Mini. While not ideal rather than fixing it, correctly detecting that it doesn't work and reporting that WebGL is unavailable would be a fine resolution, thus allowing consumers to fallback to non-WebGL alternatives. GPU0 VENDOR = 0x15ad, DEVICE = 0x0405 *ACTIVE* GL_RENDERER Apple Software Renderer GL_VERSION 4.1 APPLE-14.0.16
,
Jun 14 2017
Please provide the complete contents of about:gpu in plaintext form -- as the bug template requested. Thanks. CC'ing SwiftShader folks since this could be a good use case.
,
Jun 14 2017
Unable to reproduce the issue on Mac 10.12.5, Windows 7 & Ubuntu 14.04 using chrome reported version-61.0.3129.0 as per the steps mentioned in comment#0. Observed "Your browser supports WebGL" text & Seen spinning wireframe cube on the website https://get.webgl.org/ which is working as intended. Asherkin@,Please find the attached screencast & GPU info for reference & let us know your observations on the same. Thanks..!!
,
Jun 14 2017
> Please provide the complete contents of about:gpu in plaintext form -- as the bug template requested. Thanks. See attachment. The bug template did not request this, perhaps that does not work via the wizard? If you need a plainer-text form, please provide instructions. > Unable to reproduce the issue on Mac 10.12.5, Windows 7 & Ubuntu 14.04 using chrome reported version-61.0.3129.0 as per the steps mentioned in comment#0. Your GPU info suggests that you tested on bare metal hardware with a GPU, and thus were not using Apple Software Renderer. I do not know if there is a safe and sane way to disable the GPU on hardware, the easiest way to reproduce would be with a Virtual Machine. I found these instructions on forcing software rendering on macOS, but they do not appear to work with Chrome (presumably whatever OpenGL Profiler does to force the pixel format does not carry through to the GPU process -- although --single-process didn't work either, maybe someone more familiar with Chrome internals will have more luck). https://lists.apple.com/archives/quartzcomposer-dev/2010/Jun/msg00090.html
,
Jun 14 2017
Thank you for providing more feedback. Adding requester "kbr@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 15 2017
FWIW when running Canary with --gpu-testing-device-id=0x0405 --gpu-testing-vendor-id=0x15ad --gpu-testing-gl-vendor=APPLE --gpu-testing-gl-renderer=Apple on a 2013 MacBook Pro (non-virtualized), about:gpu tells me: WebGL: Hardware accelerated WebGL2: Hardware accelerated VENDOR = 0x15ad, DEVICE= 0x0405 *ACTIVE* Apple Software Renderer used under VMWare experiences synchronization issues with GPU Raster: 607829 Disabled Features: gpu_rasterization get.webgl.org shows the spinning cube, and WebGL Aquarium runs at 60 FPS (for reference SwiftShader runs it at 15 FPS in a Windows VM on the same Macbook). So it's using the GPU.
,
Jun 16 2017
Thanks for the reply. As per comment#4, we(chrome hyd team) do not have the mentioned configuration from our end, could any one from MTV team please look into this issue. Adding 'TE-NeedsTriageFromMTV' label for further investigation.
,
Jun 17 2017
Submitter, apologies, I thought the bug template for new graphics bugs requested the contents of about:gpu. I attempted to reproduce this on physical hardware with: /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --user-data-dir=/tmp/t1 --use-gl=apple --gpu-testing-device-id=0x0405 --gpu-testing-vendor-id=0x15ad --gpu-testing-gl-vendor=APPLE --gpu-testing-gl-renderer=Apple Chrome doesn't render correctly in this configuration -- invalidations seem to be missing. Apologies, but making this work is not a high priority. Getting SwiftShader to work on macOS is a much higher priority and would solve this problem as a side-effect.
,
Jun 17 2017
Submitter: perhaps Headless Chrome might be a good fit for your use case?
,
Jun 21 2017
Unfortunately headless chrome doesn't work for me - I have an application built on Electron that renders content with WebGL (if available). The VM in question is my macOS build/test agent (and occasional platform-specific development). Does it make sense to blacklist Apple Software Renderer for WebGL so that pages can fall back to non-WebGL content? I'll probably look into doing this in my application code for now anyway (so I don't have to wait for any change to propagate down to stable and then an Electron release) as that is probably better than continuing to use Chrome 52.
,
Aug 1 2017
Updating labels and removing from bisect bucket since TE cannot repro.
,
Aug 24 2017
kbr@, do you think that just blacklisting WebGL on Apple Software renderer might make sense? Do you know of situations where people are successfully using WebGL on this GPU, or might it just be broken?
,
Aug 25 2017
ericrk@: I don't seem to be able to reproduce the problem. We can blindly add a blacklist entry for vendor ID 0x15ad and device ID 0x0405 on macOS, but wouldn't be able to test it. I'll prepare a CL.
,
Sep 7 2017
vmiura@ has a CL in progress disabling all GPU features when the Apple Software Renderer is in use: https://chromium-review.googlesource.com/636089 There seem to be some test failures with that CL. Let me know if I can help debug them. In the meantime, to clarify that I'm not proceeding with a specific WebGL blacklist, duplicating this bug into the other one. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Jun 14 2017