cDock-Issue-Tracker icon indicating copy to clipboard operation
cDock-Issue-Tracker copied to clipboard

M1 (arm) cDock not working

Open devmistry opened this issue 3 years ago • 107 comments

Have been trying this for a while... Got SIP disabled but yet nothing seems to work... cDock helper is present in Activity Monitor, however I can't see com.macenhance

devmistry avatar Nov 27 '20 16:11 devmistry

Are you using a new M1 mac or is this an intel?

w0lfschild avatar Nov 28 '20 21:11 w0lfschild

M1

devmistry avatar Nov 29 '20 03:11 devmistry

Had a few people contact me about this. I don't really know how to test this without my own M1 computer so, probably no support for M1 for a while.

The farthest I've gotten is that it seems like maybe the injector wasn't running on another users system. Can check if com.macenhance.cDock.Injector is running for you in Activity Monitor?

w0lfschild avatar Nov 29 '20 04:11 w0lfschild

Nope - that's exactly been the issue - com.macenhance.cDock.Injector isn't running

devmistry avatar Nov 29 '20 05:11 devmistry

We don’t currently have a M1 machine to test on but we’re fairly certain the issue has to do with the bundle loader.

Could you try running the linked test-app loader after opening cDock?

cDock-M1Loader

w0lfschild avatar Dec 02 '20 08:12 w0lfschild

Nope - doesn't work. See attached screenshot:

Screen Shot 2020-12-02 at 12 48 10 PM

devmistry avatar Dec 02 '20 08:12 devmistry

Any luck?

devmistry avatar Dec 04 '20 19:12 devmistry

Hey mate - not sure if this would help: https://github.com/johnno1962/InjectionIII#:~:text=Code%20injection%20allows%20you%20to,or%20iterating%20over%20a%20design.

devmistry avatar Dec 05 '20 09:12 devmistry

Okay so turns out this is due to Pointer Authentication Codes https://support.apple.com/guide/security/pointer-authentication-codes-seca5759bf02/web

Not sure if / when a fix will be available.

w0lfschild avatar Jan 03 '21 00:01 w0lfschild

Nothing yet?

devmistry avatar Jan 30 '21 17:01 devmistry

@devmistry I'm pretty close to having a beta ready.

w0lfschild avatar Jan 31 '21 19:01 w0lfschild

M1 beta : https://github.com/MacEnhance/appcast/blob/master/Beta/cDock/cDock.zip

w0lfschild avatar Feb 01 '21 21:02 w0lfschild

Issues I ran into with the beta and beta2 cDock versions:

  • I got logged out of my account when I switched into the "Widgets" tab within cDock.
  • I can't get cDock to show indicators for running apps.
  • Changing the color/layout of the dock or making it transparent does not work.

Do you need me to run any tests/provide log files?

Cybermancer3D avatar Feb 23 '21 14:02 Cybermancer3D

I just installed the latest beta version of cDock: https://github.com/MacEnhance/appcast/blob/master/Beta/cDock/cDock.zip

Most of the issues I had with it on my M1 MacBook Air are fixed now. After a restart I even got the dock to change the background colour to be transparent (which is main reason I am using cDock in the first place). All in all this beta version is a lot more polished and most the features are working.

Cybermancer3D avatar Mar 20 '21 10:03 Cybermancer3D

The full screen version still doesn't work on m1. Hopefully this will be fixed soon. Used the beta version from the comment above

Lomiren avatar Apr 03 '21 03:04 Lomiren

The third beta version is working like a charm here. No issues at all.

https://github.com/MacEnhance/appcast/tree/master/Beta/cDock/

Cybermancer3D avatar Apr 13 '21 12:04 Cybermancer3D

The third beta version is working like a charm here. No issues at all.

https://github.com/MacEnhance/appcast/tree/master/Beta/cDock/ Снимок экрана 2021-04-13 в 19 19 40

beta 3 :( Maybe I'm doing something wrong?

Lomiren avatar Apr 13 '21 13:04 Lomiren

beta 3 :( Maybe I'm doing something wrong?

@Lomiren: You have to download the file from the link (https://github.com/MacEnhance/appcast/tree/master/Beta/cDock/) again and install it once more. cDock's update function doesn't apply/work here since we are testing the beta versions.

Cybermancer3D avatar Apr 13 '21 13:04 Cybermancer3D

beta 3 :( Maybe I'm doing something wrong?

@Lomiren: You have to download the file from the link (https://github.com/MacEnhance/appcast/tree/master/Beta/cDock/) again and install it once more. cDock's update function doesn't apply/work here since we are testing the beta versions.

That's what I do. Downloaded, replaced in programs. Maybe somehow need to completely remove and reinstall it? Снимок экрана 2021-04-13 в 19 34 48

Lomiren avatar Apr 13 '21 13:04 Lomiren

That's what I do. Downloaded, replaced in programs. Maybe somehow need to completely remove and reinstall it?

Hm. OK. I'm not sure what else you can try then. Completely re-installing it might be an option. Also: Did you restart your MacBook/ Mac mini after you re-installed cDock?

Cybermancer3D avatar Apr 13 '21 13:04 Cybermancer3D

That's what I do. Downloaded, replaced in programs. Maybe somehow need to completely remove and reinstall it?

Hm. OK. I'm not sure what else you can try then. Completely re-installing it might be an option. Also: Did you restart your MacBook/ Mac mini after you re-installed cDock?

Maybe I am doing something wrong?

  1. After buying a new MacBook on m1, I downloaded and installed the cDock
  2. Yes, I did not see that it does not support m1 :(
  3. As usual, I did everything according to the instructions: 'csrutil disable'
  4. I was waiting for an update.
  5. Found this thread, downloaded the latest beta (3)
  6. Deleted the old dDock from programs folder, reboot, dumped the beta into the programs, rebooted.
  7. Partially something works - dock management and so on.
  8. But the 'themes' does not work for the dock. I really love when the dock is stretched to the full width of the screen and there is just a black background under it.

Maybe somewhere I missed something and some additional settings or permissions are needed.

Tell me who works in what could be the problem?

Lomiren avatar Apr 14 '21 03:04 Lomiren

I had the same problem as above. My computer is MacBook Air (M1, 2020)

Depth- avatar Apr 14 '21 11:04 Depth-

Try deleting this file and restarting cDock

/Library/PrivilegedHelperTools/com.macenhance.cDock.Injector

w0lfschild avatar Apr 15 '21 02:04 w0lfschild

Try deleting this file and restarting cDock

/Library/PrivilegedHelperTools/com.macenhance.cDock.Injector

Hooray! Thanks a lot! Finally it works! It helped! The best software!

Lomiren avatar Apr 15 '21 03:04 Lomiren

Try deleting this file and restarting cDock /Library/PrivilegedHelperTools/com.macenhance.cDock.Injector

Hooray! Thanks a lot! Finally it works! It helped! The best software!

Yeah sorry for the slow response.

I'm not sure if I've bumped the bundled injector version number in the beta from what's included in 4.5 but it's possible there's some sort of issue where the app is thinking it has installed the latest injector when it hasn't. Definitely something I'll be investigating before public release.

w0lfschild avatar Apr 15 '21 03:04 w0lfschild

hi I have a mistake here, can you check it out?

Process:               cDock [734]
Path:                  /Applications/cDock.app/Contents/MacOS/cDock
Identifier:            com.macenhance.cDock-GUI
Version:               4.6.1 Beta 3 (7909)
Code Type:             X86-64 (Translated)
Parent Process:        ??? [1]
Responsible:           cDock [734]
User ID:               501

Date/Time:             2021-04-15 17:34:08.607 +0800
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Anonymous UUID:        0D99B5C6-8297-2291-1028-FA7BDB72CF21


Time Awake Since Boot: 110 seconds

System Integrity Protection: disabled

Crashed Thread:        7  Dispatch queue: com.apple.NSURLSession-delegate

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0:: Dispatch queue: com.apple.main-thread
0   ???                           	0x00007ffe963aaab8 ???
1   libsystem_kernel.dylib        	0x00007fff20361eba semaphore_wait_trap + 10
2   libdispatch.dylib             	0x00007fff201eb12e _dispatch_semaphore_wait_slow + 98
3   com.apple.CFNetwork           	0x00007fff24720d69 CFURLConnectionSendSynchronousRequest + 413
4   com.apple.CFNetwork           	0x00007fff2474ca88 0x7fff24609000 + 1325704
5   com.apple.AppKit              	0x00007fff22d1844c +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] + 650
6   com.apple.AppKit              	0x00007fff22df9696 -[NSImage initWithContentsOfURL:] + 33
7   com.macenhance.cDock-GUI      	0x00000001029b7185 -[AppDelegate keepThoseAdsFresh] + 419
8   com.apple.Foundation          	0x00007fff2119050f __NSFireTimer + 67
9   com.apple.CoreFoundation      	0x00007fff204a72c9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
10  com.apple.CoreFoundation      	0x00007fff204a6d95 __CFRunLoopDoTimer + 934
11  com.apple.CoreFoundation      	0x00007fff204a68e8 __CFRunLoopDoTimers + 307
12  com.apple.CoreFoundation      	0x00007fff2048ceaf __CFRunLoopRun + 2016
13  com.apple.CoreFoundation      	0x00007fff2048bfe2 CFRunLoopRunSpecific + 567
14  com.apple.HIToolbox           	0x00007fff2895a630 RunCurrentEventLoopInMode + 292
15  com.apple.HIToolbox           	0x00007fff2895a42c ReceiveNextEventCommon + 709
16  com.apple.HIToolbox           	0x00007fff2895a14f _BlockUntilNextEventMatchingListInModeWithFilter + 64
17  com.apple.AppKit              	0x00007fff22be19b1 _DPSNextEvent + 883
18  com.apple.AppKit              	0x00007fff22be0177 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
19  com.apple.AppKit              	0x00007fff22bd268a -[NSApplication run] + 586
20  com.apple.AppKit              	0x00007fff22ba696f NSApplicationMain + 816
21  libdyld.dylib                 	0x00007fff203b1621 start + 1

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	0x00007ffdffd83238 0x7ffdffd81000 + 8760
1   runtime                       	0x00007ffdffd8d354 0x7ffdffd81000 + 50004
2   runtime                       	0x00007ffdffd8e1f8 0x7ffdffd81000 + 53752

Thread 2:
0   ???                           	0x00007ffe963aaab8 ???
1   libsystem_kernel.dylib        	0x00007fff20361e7e mach_msg_trap + 10
2   com.macenhance.cDock-GUI      	0x0000000102a2b14a exception_server_thread + 211
3   libsystem_pthread.dylib       	0x00007fff20396950 _pthread_start + 224
4   libsystem_pthread.dylib       	0x00007fff2039247b thread_start + 15

Thread 3:: com.apple.NSEventThread
0   ???                           	0x00007ffe963aaab8 ???
1   libsystem_kernel.dylib        	0x00007fff20361e7e mach_msg_trap + 10
2   com.apple.CoreFoundation      	0x00007fff2048e50d __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff2048cbf6 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation      	0x00007fff2048bfe2 CFRunLoopRunSpecific + 567
5   com.apple.AppKit              	0x00007fff22d677c6 _NSEventThread + 124
6   libsystem_pthread.dylib       	0x00007fff20396950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2039247b thread_start + 15

Thread 4:: com.apple.NSURLConnectionLoader
0   ???                           	0x00007ffe963aaab8 ???
1   libsystem_kernel.dylib        	0x00007fff20361e7e mach_msg_trap + 10
2   com.apple.CoreFoundation      	0x00007fff2048e50d __CFRunLoopServiceMachPort + 316
3   com.apple.CoreFoundation      	0x00007fff2048cbf6 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation      	0x00007fff2048bfe2 CFRunLoopRunSpecific + 567
5   com.apple.CFNetwork           	0x00007fff2484910e 0x7fff24609000 + 2359566
6   com.apple.Foundation          	0x00007fff21147e1d __NSThread__start__ + 1042
7   libsystem_pthread.dylib       	0x00007fff20396950 _pthread_start + 224
8   libsystem_pthread.dylib       	0x00007fff2039247b thread_start + 15

Thread 5:
0   runtime                       	0x00007ffdffddb99c 0x7ffdffd81000 + 371100

Thread 6:
0   runtime                       	0x00007ffdffddb99c 0x7ffdffd81000 + 371100

Thread 7 Crashed:: Dispatch queue: com.apple.NSURLSession-delegate
0   <translation info unavailable>	0x0000000102f0f7b8 ???
1   libsystem_kernel.dylib        	0x00007fff2036a9ee __sigreturn + 10
2   ???                           	0x00000003096fa400 ???
3   libsystem_c.dylib             	0x00007fff202e9720 abort + 120
4   com.macenhance.cDock-GUI      	0x0000000102a3bbb1 uncaught_exception_handler.cold.1 + 24
5   com.macenhance.cDock-GUI      	0x0000000102a236fa uncaught_exception_handler + 39
6   com.apple.CoreFoundation      	0x00007fff20584502 __handleUncaughtException + 716
7   libobjc.A.dylib               	0x00007fff20242775 _objc_terminate() + 90
8   com.macenhance.cDock-GUI      	0x0000000102a179fe MSACCrashesUncaughtCXXTerminateHandler() + 774
9   libc++abi.dylib               	0x00007fff2035a847 std::__terminate(void (*)()) + 8
10  libc++abi.dylib               	0x00007fff2035a7e9 std::terminate() + 41
11  libdispatch.dylib             	0x00007fff201ea7db _dispatch_client_callout + 28
12  libdispatch.dylib             	0x00007fff201f05fe _dispatch_lane_serial_drain + 606
13  libdispatch.dylib             	0x00007fff201f10fe _dispatch_lane_invoke + 426
14  libdispatch.dylib             	0x00007fff201fac5d _dispatch_workloop_worker_thread + 819
15  libsystem_pthread.dylib       	0x00007fff20393499 _pthread_wqthread + 314
16  libsystem_pthread.dylib       	0x00007fff20392467 start_wqthread + 15

Thread 8:
0   runtime                       	0x00007ffdffddb99c 0x7ffdffd81000 + 371100

Thread 7 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000003096fc000  rcx: 0x00000003096fc000  rdx: 0x0000000000000000
  rdi: 0x000000000000530f  rsi: 0x0000000000000006  rbp: 0x00000003096fb320  rsp: 0x00000003096fb2f8
   r8: 0x0000000000000010   r9: 0x00000003096fb148  r10: 0x00000003096fc000  r11: 0x00007fff202e96a8
  r12: 0x000000000000530f  r13: 0x00007fff803fb808  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: <unavailable>  rfl: 0x0000000000000242

Model: MacBookAir10,1, BootROM 6723.81.1, proc 8:4:4 processors, 16 GB, SMC 

Depth- avatar Apr 15 '21 09:04 Depth-

Righto - so the final beta build works just perfect. Sadly, my copy expired :(

devmistry avatar Apr 23 '21 18:04 devmistry

When are you planning to release the final beta?

devmistry avatar Apr 29 '21 15:04 devmistry

Any update?

devmistry avatar Jun 05 '21 18:06 devmistry

Hey mate - when are you planning to release the final? It's been working flawlessly for me... And now I have to "re-install" the beta every 7 days despite of owning the license LOL!

devmistry avatar Jun 14 '21 15:06 devmistry