Closed Bug 1701080 Opened 4 years ago Closed 4 years ago

Console prints "MTLIOAccelDevice bad MetalPluginClassName property (null)" and "+[MTLIOAccelDevice registerDevices]: Zero Metal services found"

Categories

(Core :: Graphics: WebGPU, defect)

All
macOS
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: mstange, Unassigned)

Details

(Keywords: regression, regressionwindow-wanted)

When starting a local build on macOS, the following messages are printed to the terminal:

2021-03-25 16:27:22.903738-0400 firefox[26134:713710] MTLIOAccelDevice bad MetalPluginClassName property (null)
2021-03-25 16:27:22.906782-0400 firefox[26134:713710] +[MTLIOAccelDevice registerDevices]: Zero Metal services found

This is recent.

Are you sure this is WebGPU? We aren't creating any adapters/devices on start. It would only happen if somebody calls requestAdapter, and only when WebGPU pref is enabled.
I'll double check if we have anything wrong in WebGPU initialization, just in case.

Flags: needinfo?(mstange.moz)

Nevermind, it's not WebGPU after all.

  * frame #0: 0x00007fff286e7606 Metal`+[MTLIOAccelDevice registerDevices]
    frame #1: 0x00007fff287125c5 Metal`invocation function for block in MTLDeviceArrayInitialize() + 1250
    frame #2: 0x00007fff205e47e6 libdispatch.dylib`_dispatch_client_callout + 8
    frame #3: 0x00007fff205e596c libdispatch.dylib`_dispatch_once_callout + 20
    frame #4: 0x00007fff286e74fe Metal`MTLCopyAllDevices + 189
    frame #5: 0x00007fff28ff1d61 CoreImage`CIMetalCopyDefaultDevice + 93
    frame #6: 0x00007fff2908db1f CoreImage`invocation function for block in can_use_metal() + 27
    frame #7: 0x00007fff205e47e6 libdispatch.dylib`_dispatch_client_callout + 8
    frame #8: 0x00007fff205e596c libdispatch.dylib`_dispatch_once_callout + 20
    frame #9: 0x00007fff28ff6d34 CoreImage`-[CIContext initWithOptions:] + 1168
    frame #10: 0x00007fff2730f5cb CoreUI`__38+[CUIShapeEffectStack sharedCIContext]_block_invoke + 70
    frame #11: 0x00007fff205e47e6 libdispatch.dylib`_dispatch_client_callout + 8
    frame #12: 0x00007fff205e596c libdispatch.dylib`_dispatch_once_callout + 20
    frame #13: 0x00007fff2730f583 CoreUI`+[CUIShapeEffectStack sharedCIContext] + 42
    frame #14: 0x00007fff2732ccc1 CoreUI`-[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:cache:] + 221
    frame #15: 0x00007fff27317405 CoreUI`-[CUIThemeFacet updateLayer:effects:] + 717
    frame #16: 0x00007fff27335237 CoreUI`CUICoreThemeRenderer::CreateOrUpdatePushButtonLayer(CUIRenditionKey*, CUIDescriptor const*, CALayer**) + 393
    frame #17: 0x00007fff27314dd6 CoreUI`CUICoreThemeRenderer::CreateOrUpdateLayer(CUIDescriptor const*, CALayer**) + 940
    frame #18: 0x00007fff273149a3 CoreUI`CUIRenderer::CreateOrUpdateLayer(__CFDictionary const*, CALayer**) + 229
    frame #19: 0x00007fff23086214 AppKit`-[NSCompositeAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 399
    frame #20: 0x00007fff230a2429 AppKit`-[NSAppearance _createOrUpdateLayer:options:] + 79
    frame #21: 0x00007fff231edf58 AppKit`__27-[NSWidgetView updateLayer]_block_invoke + 82
    frame #22: 0x00007fff23150a7b AppKit`_withOverlaidDictionary + 128
    frame #23: 0x00007fff231ede1f AppKit`-[NSWidgetView updateLayer] + 119
    frame #24: 0x00007fff231f0abb AppKit`-[NSButtonBezelView updateLayer] + 48
    frame #25: 0x00007fff23155fcc AppKit`_NSViewUpdateLayer + 98
    frame #26: 0x00007fff2306826d AppKit`+[NSAppearance _performWithCurrentAppearance:usingBlock:] + 66
    frame #27: 0x00007fff232c882b AppKit`__30-[_NSViewBackingLayer display]_block_invoke + 113
    frame #28: 0x00007fff230a749d AppKit`-[NSFocusStack performWithFocusView:inWindow:usingBlock:] + 92
    frame #29: 0x00007fff23155952 AppKit`-[_NSViewBackingLayer display] + 382
    frame #30: 0x00007fff26fee2b3 QuartzCore`CA::Layer::display_if_needed(CA::Transaction*) + 863
    frame #31: 0x00007fff2713943e QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double, double*) + 666
    frame #32: 0x00007fff26fcf7c3 QuartzCore`CA::Transaction::commit() + 713
    frame #33: 0x00007fff231ffb0c AppKit`__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
    frame #34: 0x00007fff239537b3 AppKit`___NSRunLoopObserverCreateWithHandler_block_invoke + 41
    frame #35: 0x00007fff20886e41 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #36: 0x00007fff20886cd5 CoreFoundation`__CFRunLoopDoObservers + 543
    frame #37: 0x00007fff20886168 CoreFoundation`__CFRunLoopRun + 841
    frame #38: 0x00007fff2088575c CoreFoundation`CFRunLoopRunSpecific + 563
    frame #39: 0x00007fff28a9faa3 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #40: 0x00007fff28a9f6d6 HIToolbox`ReceiveNextEventCommon + 284
    frame #41: 0x00007fff28a9f5a3 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 70
    frame #42: 0x00007fff2307b50a AppKit`_DPSNextEvent + 864
    frame #43: 0x00007fff23079cdd AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
    frame #44: 0x0000000103f5258e XUL`-[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](self=0x00000001006ed160, _cmd=<unavailable>, mask=18446744073709551615, expiration=0x00007fff80c73f38, mode=<unavailable>, flag=YES) at nsAppShell.mm:169:24 [opt]
    frame #45: 0x00007fff2306c051 AppKit`-[NSApplication run] + 586
    frame #46: 0x0000000103f53416 XUL`nsAppShell::Run(this=0x0000000118287060) at nsAppShell.mm:728:5 [opt]
    frame #47: 0x000000010528769f XUL`nsAppStartup::Run(this=0x0000000100782e20) at nsAppStartup.cpp:273:30 [opt]
    frame #48: 0x000000010535f5cf XUL`XREMain::XRE_mainRun(this=0x00007ffeefbfef70) at nsAppRunner.cpp:5352:22 [opt]
    frame #49: 0x0000000105360022 XUL`XREMain::XRE_main(this=0x00007ffeefbfef70, argc=5, argv=0x00007ffeefbff540, aConfig=<unavailable>) at nsAppRunner.cpp:5543:8 [opt]
    frame #50: 0x00000001053603e8 XUL`XRE_main(argc=<unavailable>, argv=<unavailable>, aConfig=<unavailable>) at nsAppRunner.cpp:5606:21 [opt]
    frame #51: 0x000000010000265c firefox`main [inlined] do_main(argc=<unavailable>, argv=0x00007ffeefbff540, envp=0x00007ffeefbff570) at nsBrowserApp.cpp:220:22 [opt]
    frame #52: 0x00000001000023c9 firefox`main(argc=<unavailable>, argv=<unavailable>, envp=0x00007ffeefbff570) at nsBrowserApp.cpp:347 [opt]
    frame #53: 0x00007fff207a9f3d libdyld.dylib`start + 1

I think this only started appearing recently because I updated my macOS version to a newer Beta.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mstange.moz)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.