Chrome Beta (70.0.3538.22) lost GPU acceleration on Mac |
||||||||||||
Issue descriptionAt launch, it directly tries to load swiftshader, which we haven't enabled on Mac yet (my understanding). So there is something seriously wrong with GPU process mode managing on Mac. Not sure if it's limited to a certain GPU or it's more generic. Graphics Feature Status Canvas: Software only. Hardware acceleration disabled Flash: Software only. Hardware acceleration disabled Flash Stage3D: Software only. Hardware acceleration disabled Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled Compositing: Software only. Hardware acceleration disabled Multiple Raster Threads: Disabled Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Out-of-process Rasterization: Disabled Hardware Protected Video Decode: Disabled Rasterization: Software only. Hardware acceleration disabled Skia Deferred Display List: Disabled Skia Renderer: Disabled Surface Synchronization: Enabled Video Decode: Software only. Hardware acceleration disabled Viz Service Display Compositor: Disabled WebGL: Disabled WebGL2: Disabled Problems Detected GPU process was unable to boot: GPU process crashed too many times with SwiftShader. Disabled Features: all Viz service display compositor is not enabled by default. Disabled Features: viz_display_compositor Skia renderer is not used by default. Disabled Features: skia_renderer Skia deferred display list is not used by default. Disabled Features: skia_deferred_display_list Version Information Data exported 2018-09-21T18:54:26.515Z Chrome version Chrome/70.0.3538.22 Operating system Mac OS X 10.13.6 Software rendering list URL https://chromium.googlesource.com/chromium/src/+/ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/gpu/config/software_rendering_list.json Driver bug list URL https://chromium.googlesource.com/chromium/src/+/ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364/gpu/config/gpu_driver_bug_list.json ANGLE commit id 05c729f336ef 2D graphics backend Skia/70 4a304ac44c1de0e45f92eb6fcc460a988400268c- Command Line /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --flag-switches-end --isolate-origins=https://chromium.org/,https://corp.googleapis.com/,https://storage.googleapis.com,https://ajax.googleapis.com,https://fonts.googleapis.com,https://googleplex.com/,https://googlesource.com/,https://youtube.com/,https://google.com/,https://googleacquisitionmigration.com/,https://googleusercontent.com/,https://googleprod.com/,https://nest.com/,https://myworkday.com/,https://chromiumapp.org/,https://lucidchart.com/,https://service-now.com/,https://concursolutions.com/,https://salesforce.com/,https://gcorppartners.com/,https://morganstanley.com/,https://schwab.com/,https://qualtrics.com/,https://ultipro.com/,https://google.secure2-enroll.com/,https://googlegroups.com/,https://google.secure.force.com/,https://ebenefitsnow.com/,https://firebase.com/,https://elo.plusrelocation.com/,https://anthem.com/,https://g.viapeople.net/,https://gdjap.com/,https://asana.com/,https://perquisite.net/,https://postini.com/,https://perkhub.com/,https://gstave.us/,https://geolearning.com/,https://lecorpio.com/,https://inverify.net/,https://preceda.com.au/,https://secureacceptance.cybersource.com/,https://solium.com/,https://fgvms.com/,https://ridecell.com/,https://tds.ie/,https://sprinklr.com/,https://smartsheet.com/,https://fieldglass.net/,https://dochub.com/ Driver Information Initialization time 0 In-process GPU true Passthrough Command Decoder false Sandboxed false GPU0 VENDOR = 0x0000, DEVICE= 0x0000 Optimus false AMD switchable false Driver vendor Driver version Driver date GPU CUDA compute capability major version 0 Pixel shader version Vertex shader version Max. MSAA samples Machine model name Machine model version GL_VENDOR GL_RENDERER GL_VERSION GL_EXTENSIONS Disabled Extensions Disabled WebGL Extensions Window system binding vendor Window system binding version Window system binding extensions Direct rendering Yes Reset notification strategy 0x0000 GPU process crash count 1 Compositor Information Tile Update Mode Zero-copy Partial Raster Enabled GpuMemoryBuffers Status ATC Software only ATCIA Software only DXT1 Software only DXT5 Software only ETC1 Software only R_8 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT R_16 Software only RG_88 Software only BGR_565 Software only RGBA_4444 Software only RGBX_8888 Software only RGBA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT BGRX_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE BGRX_1010102 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RGBX_1010102 Software only BGRA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RGBA_F16 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT YVU_420 Software only YUV_420_BIPLANAR GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT UYVY_422 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT Display(s) Information Info Display[2077750397] bounds=[0,0 1440x900], workarea=[0,23 1440x803], scale=2, external. Color space information {primaries_d50_referred: [[0.6587, 0.3332], [0.3206, 0.6135], [0.1508, 0.0527]], transfer:0.0777*x + 0.0000 if x < 0.0450 else (0.9478*x + 0.0521)**2.4000 + -0.0000, matrix:RGB, range:FULL} Bits per color component 8 Bits per pixel 24 Video Acceleration Information Log Messages [8217:775:0921/115421.941955:ERROR:gl_implementation.cc(281)] : Failed to load /Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib: dlopen(/Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib, 1): no suitable image found. Did find: /Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib: file system sandbox blocked stat() GpuProcessHostUIShim: The GPU process exited with code 1024.
,
Sep 21
The same Beta runs fine with GPU acceleration on cblume's macbooks, but that's a different model with a single Intel GPU.
,
Sep 21
There are more laptops in the cabinet next to my desk to test with, and a drive which can be used to boot them into 10.13.
,
Sep 21
If I run with a clean user data dir, then I can launch Chrome with GPU acceleration. Let me reduce this to P2 then. When I turn on logging, I got the below message: [19879:775:0921/153131.217608:ERROR:gl_implementation.cc(281)] Failed to load /Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib: dlopen(/Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib, 1): no suitable image found. Did find: /Applications/Google Chrome.app/Contents/Versions/70.0.3538.22/Google Chrome Framework.framework/Versions/Current/Libraries/libswiftshader_libGLESv2.dylib: file system sandbox blocked stat() [19879:775:0921/153131.217672:VERBOSE1:gpu_init.cc(238)] gl::init::InitializeGLNoExtensionsOneOff failed [19879:775:0921/153131.245707:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization [19873:20739:0921/153131.252338:ERROR:browser_gpu_channel_host_factory.cc(137)] Failed to launch GPU process.
,
Sep 24
FYI, last time I saw this error message, this was the fix: https://chromium-review.googlesource.com/c/chromium/src/+/1042496
,
Sep 24
I thought we didn't launch SwiftShader on mac for users yet? It's only for internal testing purpose at this point?
,
Sep 24
We don't *ship* SwiftShader on MacOS, but the internal logic could still try to use it/fallback to it, which should probably be prevented on MacOS.
,
Sep 24
There's also this issue, though, were it seems like people want to ship SwiftShader on MacOS: https://bugs.chromium.org/p/chromium/issues/detail?id=719257 I'm not sure how this should be handled.
,
Sep 24
I think it's either shipped or not shipped, so the current state is a bug. If someone is working on shipping it and that will happen quickly, then I agree that's an automatic fix for this bug. If no one commits to ship it, sugoi@, can you take a shot at this bug and prevent Mac from falling back to SwiftShader at the moment?
,
Sep 25
I can take a look, but honestly, you know this code better than I do. AFAIK, to trigger SwiftShader on the bots, we explicitly use a --use-gl flag (kbr@ could confirm), so I *think* the only thing to do is prevent the fallback mechanism from happening on MacOS. So the fix is probably just to ifdef out this line on MacOS: https://cs.chromium.org/chromium/src/ui/gl/init/gl_factory.cc?l=54 Something like: #if !defined(OS_MACOSX) fallback_to_software_gl = true; #endif Does that make sense?
,
Sep 25
Yeah that sounds like a quick solution until we fully ship SwiftShader on MacOSX
,
Sep 28
Alexis, sounds like you have a start of a fix. Could you take a look or find another victim?
,
Sep 28
,
Oct 1
Friendly ping! Could you please provide any update on this issue as it has been marked as a stable blocker. Thank You!
,
Oct 1
[bulk edit] - This issue is marked as a stable blocker for M70. We are two weeks away from M70 Stable. Please take a look urgently!
,
Oct 1
Will fix crbug.com/719257 instead.
,
Oct 4
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/55f1e51a8e070c0e45d45f2093d1fb7ba9cba6ae commit 55f1e51a8e070c0e45d45f2093d1fb7ba9cba6ae Author: Alexis Hetu <sugoi@google.com> Date: Thu Oct 04 18:38:34 2018 Ship SwiftShader on MacOS Bug: chromium:719257 chromium:888082 Change-Id: Ie0b06c336c46fd6b801094fab0ce5d2a0446e84e Reviewed-on: https://chromium-review.googlesource.com/c/1255305 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: ccameron <ccameron@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Commit-Queue: Alexis Hétu <sugoi@chromium.org> Cr-Commit-Position: refs/heads/master@{#596776} [modify] https://crrev.com/55f1e51a8e070c0e45d45f2093d1fb7ba9cba6ae/chrome/BUILD.gn
,
Oct 4
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c0fa9d678dc3e20dbb96144aa1bb4d0976747bd4 commit c0fa9d678dc3e20dbb96144aa1bb4d0976747bd4 Author: Kevin McNee <mcnee@chromium.org> Date: Thu Oct 04 20:18:00 2018 Revert "Ship SwiftShader on MacOS" This reverts commit 55f1e51a8e070c0e45d45f2093d1fb7ba9cba6ae. Reason for revert: Suspected cause of build failure https://ci.chromium.org/buildbot/chromium.chrome/Google%20Chrome%20Mac/37508 Original change's description: > Ship SwiftShader on MacOS > > Bug: chromium:719257 chromium:888082 > Change-Id: Ie0b06c336c46fd6b801094fab0ce5d2a0446e84e > Reviewed-on: https://chromium-review.googlesource.com/c/1255305 > Reviewed-by: Lei Zhang <thestig@chromium.org> > Reviewed-by: ccameron <ccameron@chromium.org> > Reviewed-by: Kenneth Russell <kbr@chromium.org> > Commit-Queue: Alexis Hétu <sugoi@chromium.org> > Cr-Commit-Position: refs/heads/master@{#596776} TBR=thestig@chromium.org,ccameron@chromium.org,sugoi@chromium.org,kbr@chromium.org,markchang@chromium.org Change-Id: I5382ffee2bf0636117bcc6366614df44a78d3a72 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: chromium:719257 chromium:888082 Reviewed-on: https://chromium-review.googlesource.com/c/1262660 Reviewed-by: Kevin McNee <mcnee@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#596824} [modify] https://crrev.com/c0fa9d678dc3e20dbb96144aa1bb4d0976747bd4/chrome/BUILD.gn
,
Oct 11
Friendly ping to look into this issue and to provide further update on this issue as it has been marked as a stable blocker. Stable is moving to M70 very soon. Thanks!
,
Oct 11
,
Oct 11
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/125c8de8707bdf7badb54ff5ac375e2074893122 commit 125c8de8707bdf7badb54ff5ac375e2074893122 Author: Alexis Hetu <sugoi@google.com> Date: Thu Oct 11 19:02:24 2018 Ship SwiftShader on MacOS Also fixed swiftshader symbol generation on MacOS Bug: chromium:719257 chromium:888082 Change-Id: I5e8754c278914c519e71c77ed792f198516a1556 Reviewed-on: https://chromium-review.googlesource.com/c/1276550 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Alexis Hétu <sugoi@chromium.org> Cr-Commit-Position: refs/heads/master@{#598874} [modify] https://crrev.com/125c8de8707bdf7badb54ff5ac375e2074893122/chrome/BUILD.gn
,
Oct 12
@Alexis Hetu: As we are not very sure about the test steps, actual and expected behaviour, could you please help us by providing the required info to test and verify this issue(....if this can be verified manually). Thanks!
,
Oct 12
@vamshi.kommuri: Unless your GPU is blacklisted, you won't see the issue. In that case, launch Chrome using --disable-gpu. Pages using WebGL should fail to load before the fix, but should load successfully with SwiftShader after the fix.
,
Oct 12
[Auto-generated comment by a script] We noticed that this issue is targeted for M-70; it appears the fix may have landed after branch point, meaning a merge might be required. Please confirm if a merge is required here - if so add Merge-Request-70 label, otherwise remove Merge-TBD label. Thanks.
,
Oct 12
Comment#22 correction: Accidentally -cc'ed dpranke@chromium.org, correcting it.
,
Oct 15
,
Oct 16
Chatted with sugoi@, this is same as M69. Let's target this for M71.
,
Oct 16
,
Nov 3
I just hit this in the released Chrome 70. Am I stuck launching chrome with --disable-gpu until 71 comes out? |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by kbr@chromium.org
, Sep 21Cc: dpranke@chromium.org jbudorick@chromium.org