News for hackers. Stuff that matters.
Re:Apple’s M1 processor and the full 128-bit integer product by thefourthchime on Wednesday March 17, 2021 @08:34PM (#26498525)
I love my M1, but does anyone else have horrific performance when resuming from wake? It’s like it swaps everything to disk and takes a full minute to come back to life.
Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Wednesday March 17, 2021 @08:56PM (#26498670)
Yes. This is actually a known issue, provided you have an external monitor attached; lots of people complaining about it. The Mac actually wakes up instantly if you lift the screen, but it usually takes 5-10 seconds before it will wake up the external monitor.

Worse, for some of us when it does finally wake up the monitor, sometimes it wakes it up with all the wrong colors, and rebooting is the only reliable fix. (and before anyone asks, yes, I tried a different HDMI cable)

Re:Apple’s M1 processor and the full 128-bit integer product by Reason077 on Wednesday March 17, 2021 @09:02PM (#26498711)
For me it's maybe 5-10 seconds for it to wake my Thunderbolt monitor (LG 4K) from "cold".

It's much faster if the monitor has been used recently, though, so I always figured it was the monitor that was causing the delay by going into some deep sleep state?

Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Wednesday March 17, 2021 @09:22PM (#26498834)
It seems a little faster, but not dramatically so for me, when I'm hot switching between different inputs on the monitor. Definitely I think some of it is just the monitor not being really fast about switching, but I use the same monitor with a brand new 16 inch MBP and it's much faster at triggering the monitor to wake up.
Re:Apple’s M1 processor and the full 128-bit integer product by 67868018 on Wednesday March 17, 2021 @10:22PM (#26499145)
Same monitor. The workaround is to put the monitor on a power strip you can trigger when you walk up to it. Hard power off/on of this monitor and it instantly displays for me now.
Re:Apple’s M1 processor and the full 128-bit integer product by jjtheblunt on Thursday March 18, 2021 @05:00AM (#26500754)
Found the same
Re:Apple’s M1 processor and the full 128-bit integer product by 67868018 on Thursday March 18, 2021 @07:33AM (#26501597)
I don't know why I got downvoted on that, it's strange advice but it really works
Re:Apple’s M1 processor and the full 128-bit integer product by philistine on Wednesday March 17, 2021 @11:49PM (#26499527)
Do you have issues with the sound on your LG monitor? I have an LG too and the sound being transmitted by the M1 is very bad.
Re:Apple’s M1 processor and the full 128-bit integer product by Reason077 on Thursday March 18, 2021 @05:12AM (#26500803)
The sound quality is indeed pretty bad on the LG 4K. Noticeably worse than the MacBook Air's built in speakers.

It's just "cheap speakers" bad, though, not anything that would suggest an issue with the sound output from the M1. I've used the LG with a few different Macs, and sound quality is the same from any of them.

Re:Apple’s M1 processor and the full 128-bit integer product by matwood on Thursday March 18, 2021 @08:46AM (#26502088)
I think they are still working through some external monitor driver issues. The colors on my LG 4k were initially way off until I did an advanced calibration. Occasionally waking up from sleep it will revert, but opening the Display preference and swapping between the calibrations fixes it. My connection is through usbc.

I don't have any performance issues waking up though.

Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Thursday March 18, 2021 @09:32AM (#26502476)
I think there are a couple issues going on with the colors. For some people it is calibration. But what I experience is almost like a color inversion (but it's not a full inversion, it looks like maybe one or two channels got inverted). Makes it difficult to even find the mouse pointer so I can get to the menu and reboot the machine. Then it comes up fine.
Re:Apple’s M1 processor and the full 128-bit integer product by matwood on Thursday March 18, 2021 @12:08PM (#26504126)
Interesting. I did submit a bug to Apple about my issue. Mainly because I never did a calibration with my 2017 mbp and the monitor looked great. With the M1 MBA I had to do the advanced calibration just to make the same monitor usable. Otherwise the colors were completely washed out. It almost seemed like the setting to auto-dim the laptop monitor was also being oddly applied to the external.
Re:Apple’s M1 processor and the full 128-bit integer product by sumanthvepa on Thursday March 18, 2021 @05:23AM (#26500880)
This happens to me too! Exactly as described. I have 16gbac mini conmected to an external monitor with an HDMI cable. A bit irritating but not a huge deal I don't do any color work on it so the occassional color issues are not a problem for me.
Re:Apple’s M1 processor and the full 128-bit integer product by wiredfool on Thursday March 18, 2021 @05:34AM (#26500932)
I've got an Intel Mini, and it's much faster to wake when I'm using a TB3->HDMI cable than an HDMI->HDMI cable. (Going to a dell 3219Q)
Re:Apple’s M1 processor and the full 128-bit integer product by messe on Wednesday March 17, 2021 @08:58PM (#26498688)
Anecdotal, but I haven’t seen any issues while using DisplayPort rather than HDMI. EDIT: Other than the delay in waking the monitor.
Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Wednesday March 17, 2021 @09:24PM (#26498843)
Yeah, I would like to use DP, for sure. A peculiarity of my situation and the devices I need to connect means I can't make that work with just two ports on the laptop. So I use the Apple USB-C PD/HDMI/USB adapter so I can get the ports I need and still charge.
Re:Apple’s M1 processor and the full 128-bit integer product by benhurmarcel on Thursday March 18, 2021 @07:22AM (#26501535)
Does this happen with the Mac Mini?
Re:Apple’s M1 processor and the full 128-bit integer product by ericlewis on Thursday March 18, 2021 @10:42AM (#26503206)
M1 instantly wakes my XDR display and never has a problem.
Re:Apple’s M1 processor and the full 128-bit integer product by coldtea on Wednesday March 17, 2021 @09:17PM (#26498797)
>and before anyone asks, yes, I tried a different HDMI cable

Have you tried a USB-C/thunderbolt cable/controller tho?

Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Wednesday March 17, 2021 @09:19PM (#26498816)
I'm kinda limited in my options, because this MBP only has two USB ports. So I have one port which goes to a USB hub, and the other port goes to an Apple A/V adapter with USB-C power delivery pass-thru, HDMI, and a USB port. If not for my need to have one USB port be switchable, and the rest not, I'd use a USB-C -> DP cable like I use on my 16" MBP.

This may prompt me to upgrade prematurely, if/when the next M1 MBP comes out with more than two ports.

Re:Apple’s M1 processor and the full 128-bit integer product by wil421 on Wednesday March 17, 2021 @10:37PM (#26499211)
Get a thunderbolt dock and you don’t have to worry about it. The dock also charges my MBA.
Re:Apple’s M1 processor and the full 128-bit integer product by rootusrootus on Wednesday March 17, 2021 @11:38PM (#26499492)
Which dock are you using? Caldigit? Those seem popular, but I see there are a number of options at every price point.
Re:Apple’s M1 processor and the full 128-bit integer product by matwood on Thursday March 18, 2021 @08:41AM (#26502041)
I have the OWC TB dock that was just released (and has been backordered). It works great other than the headphone jack has a slight hiss that I don't get plugging directly into the MBA.
Re:Apple’s M1 processor and the full 128-bit integer product by tedd4u on Thursday March 18, 2021 @09:42AM (#26502584)
CalDigit TS3+ works great for me with monitor hooked up on DisplayPort. No delay on resume. This is the dock Apple sells.
Re:Apple’s M1 processor and the full 128-bit integer product by rckoepke on Wednesday March 17, 2021 @08:48PM (#26498617)
Instant wake for me. However any time I come across a password field in a website the computer freezes for a painfully long 10 seconds or so while it presumably decrypts my password vault.

Sometimes this will happen multiple times per page load if I deselect and reselect the password field.

Re:Apple’s M1 processor and the full 128-bit integer product by sephamorr on Wednesday March 17, 2021 @09:57PM (#26499006)
Oh goodness I thought this was just me after searching online and finding very little, if any, discussion of the bug. The issue I had wasn't on password login prompts, but on account creation prompts (i.e. password+confirm password). I had assumed it was lastpass at first, but the freeze persisted even after removing that -- on a one-day old computer.
Re:Apple’s M1 processor and the full 128-bit integer product by astrange on Thursday March 18, 2021 @01:07AM (#26499834)
Feel free to report it in Feedback Assistant.
Re:Apple’s M1 processor and the full 128-bit integer product by sephamorr on Thursday March 18, 2021 @03:35AM (#26500378)
I gave up on reporting bugs to Apple a while ago. The experience, repeated several times over, of spending all the time to file a radar, gather all the logs and files that Apple insists on (probably reasonably), then submitting the thing and getting exactly zero feedback for the next year when you are then told to repeat all the same work on a new macos version or the radar will be automatically closed, is demoralizing. Mind you, the issues I reported were fixed/went away a few years after that (so clearly not as a result of the then-long-closed ticket), but the process just feels like a waste of time to interact with the black box of apple.
Re:Apple’s M1 processor and the full 128-bit integer product by astrange on Thursday March 18, 2021 @06:26PM (#26508184)
It helps more than nothing. I would recommend just becoming more casual about it.

My experience maintaining projects is actually not that people don't provide enough info in their bugs (certainly true for random forum rants though), but when they try they try too hard and end up spending a long time writing a bunch of stuff I don't even read, because the log speaks for itself.

In this case you're not necessarily reaching an engineer, it could go to someone who combines reports together, or the fix is because of your report but it doesn't get communicated back properly, but it's still letting someone know it's a problem.

Re:Apple’s M1 processor and the full 128-bit integer product by cpressland on Wednesday March 17, 2021 @08:53PM (#26498646)
This happens to me too, I’m using 1Password. I have a suspicion the plug-in is involved with this but I’ve not had time to collect evidence yet. Seems to be rare though, I’ve not spotted anybody else with this issue.
Re:Apple’s M1 processor and the full 128-bit integer product by climb_stealth on Wednesday March 17, 2021 @09:08PM (#26498747)
I am seeing lots of spinning balls with 1Password on my 2015 Macbook Pro. Even just switching between fields with the keyboard brings up a spinner for two seconds or so. It's a recent thing I think. No other app has any issues.
Re:Apple’s M1 processor and the full 128-bit integer product by hderms on Wednesday March 17, 2021 @11:01PM (#26499333)
Is it possibly due to the x86 emulation? I could see something like that being the cause
Re:Apple’s M1 processor and the full 128-bit integer product by climb_stealth on Thursday March 18, 2021 @01:19AM (#26499880)
Apparently the latest version 7.8 runs natively on Apple Silicon.
Re:Apple’s M1 processor and the full 128-bit integer product by loeg on Thursday March 18, 2021 @12:29AM (#26499672)
I see the same thing on native x86 1Password.
Re:Apple’s M1 processor and the full 128-bit integer product by climb_stealth on Thursday March 18, 2021 @01:21AM (#26499885)
I just updated to version 7.8 from version 7.7 and it looks fine so far. I haven't seen any freezes in the five minutes that I have been using it.

This makes me realise how much of a pain it has been to use in the past weeks or so. Now that it is back to normal snappy it is such a pleasure to work with again.

Re:Apple’s M1 processor and the full 128-bit integer product by thefourthchime on Thursday March 18, 2021 @02:29PM (#26505856)
Huh, no problem here. I use lastpass and safari's built in password thing.
Re:Apple’s M1 processor and the full 128-bit integer product by other_herbert on Wednesday March 17, 2021 @11:31PM (#26499459)
Anecdotal but keeper and the built in keychain are instant ish at least not slow enough to notice
Re:Apple’s M1 processor and the full 128-bit integer product by terramex on Thursday March 18, 2021 @06:00AM (#26501078)
I don't use any external password manager, only Keychain and Safari and I see this 10-15 second delay every time when adding new password to Keychain since day 1.

It is my only issue with M1.

Re:Apple’s M1 processor and the full 128-bit integer product by Waterluvian on Wednesday March 17, 2021 @08:52PM (#26498643)
Did you somehow accumulate a bajillion passwords?
Re:Apple’s M1 processor and the full 128-bit integer product by CameronNemo on Wednesday March 17, 2021 @09:08PM (#26498743)
Crypto optimizations are no joke. My Pinebook Pro takes several seconds longer than my T430 to decrypt my keepassxc database.
Re:Apple’s M1 processor and the full 128-bit integer product by akvadrako on Thursday March 18, 2021 @03:54AM (#26500465)
Maybe the time is hashing your password. This is designed to take as long as it can while still being reasonable. 1 second on a fast machine isn't unheard of.
Re:Apple’s M1 processor and the full 128-bit integer product by coldtea on Wednesday March 17, 2021 @09:19PM (#26498805)
Why would it need to decrypt a whole database though, and not just the required password? To avoid leaking the key name?
Re:Apple’s M1 processor and the full 128-bit integer product by CameronNemo on Wednesday March 17, 2021 @09:40PM (#26498928)
Yes I think it is an all or nothing deal.
Re:Apple’s M1 processor and the full 128-bit integer product by coldtea on Wednesday March 17, 2021 @09:52PM (#26498979)
Perhaps it could be a two-level thing then, where you first decrypt e.g. the list of keys and then read the one you want and get a "start/end" offset to read/decrypt just the value for that key from another file. So keys and values are still decrypted, but you don't have to decrypt the whole bundle in one step to get the value.
Re:Apple’s M1 processor and the full 128-bit integer product by bombcar on Wednesday March 17, 2021 @08:45PM (#26498595)
I have a non-M1 with Big Sir and it takes more than full minute from sleep to usable.

I suspect it’s because I have five monitors and 20 million pixels (actually more as that’s the post-retina resolution).

Re:Apple’s M1 processor and the full 128-bit integer product by monsieurbanana on Thursday March 18, 2021 @04:23AM (#26500580)
How does the number of pixels (or even monitors, for that matter), affect that much sleeping time?

Rendering a FPS game at 1080p is 2 million pixels per frame. At 60fps, that's rendering 120 million pixels per second.

What am I missing?

Re:Apple’s M1 processor and the full 128-bit integer product by bzzzt on Thursday March 18, 2021 @06:11AM (#26501145)
Detecting the monitors, negotiating the correct resolutions, setting scaling factors and window positions after coming out of sleep will take some time. Maybe macOS does monitor setup sequentially? (no idea, just got 1 big external screen that also takes a few seconds to light up - handshake speed seems to vary between monitor brands)
Re:Apple’s M1 processor and the full 128-bit integer product by bombcar on Thursday March 18, 2021 @10:56AM (#26503335)
This is almost certainly it - the screens show all sorts of weird graphical artifacts (some clearly a Retina display in "native" resolution) as it starts and loads. I assume it's having to fire up all the GPU memory, etc.
Re:Apple’s M1 processor and the full 128-bit integer product by TheRealSteel on Wednesday March 17, 2021 @09:12PM (#26498775)
This is anecdotal and I don't have anything to prove it, but I really feel like my old spinning-hard-drive 2010 MacBook Pro woke faster from sleep running Snow Leopard, than the Retina models ever did (or the old ones did after a few software updates).

Of course for general tasks it was slower, but I really remember that thing waking up instantly when I raised the lid, every time.

Re:Apple’s M1 processor and the full 128-bit integer product by 2muchcoffeeman on Thursday March 18, 2021 @12:48AM (#26499761)
My nostalgia agrees with you, but I think it’s probably wrong. The wake from sleep was what finally convinced me to get my first Mac. Even now they have the best hibernation and wake from sleep.
Re:Apple’s M1 processor and the full 128-bit integer product by mindajar on Wednesday March 17, 2021 @11:17PM (#26499398)
Yeah. To me it looks like macOS goes so deep into sleep it disconnects the external display. On wake, the system rediscovers the external and resizes the desktop across both displays. With a bunch of apps/windows open, half your apps simultaneously resizing all their windows can peg all CPU cores for a number of seconds.

(It's still way faster than the same set of apps on an Intel Mac laptop, where it could sometimes take on the order of 30 seconds to get to a usable desktop after a long sleep. On Intel Macs it seemed more obvious that the GPU was the bottleneck)

Re:Apple’s M1 processor and the full 128-bit integer product by xiphias2 on Wednesday March 17, 2021 @08:43PM (#26498581)
No, it's perfect, instant wake for me. I have never seen anything like this.

I have buggy apps (like Facebook Messenger) locking up, but I guess that's normal, I just uninstall them.

Re:Apple’s M1 processor and the full 128-bit integer product by thefourthchime on Thursday March 18, 2021 @02:31PM (#26505879)
Which M1 do you have?
Re:Apple’s M1 processor and the full 128-bit integer product by xiphias2 on Friday March 19, 2021 @11:03AM (#26514127)
16 GB RAM pro 1TB SSD.

I guess the only drawback compared to MB Air is that it's a bit heavier.

Re:Apple’s M1 processor and the full 128-bit integer product by mwint on Wednesday March 17, 2021 @08:37PM (#26498543)
Haven’t seen this on my M1 Mac mini; my wake times are faster than my monitors can wake. No performance issues immediately after sleep.

Maybe desktop platforms sleep differently than laptops?

Re:Apple’s M1 processor and the full 128-bit integer product by singhkays on Wednesday March 17, 2021 @09:08PM (#26498748)
Most likely. Same here with my Mini
Re:Apple’s M1 processor and the full 128-bit integer product by dcow on Thursday March 18, 2021 @12:53AM (#26499784)
I am using the LG Ultrafine 5K (so it’s a TB monitor) and it takes maybe 1.5s to 5s longer than the built in display (which wakes instantly) to turn on.

I do occasionally have an issue where the brightness on the built in display is borked and won’t adjust back to the correct level for anywhere between 30s to a few minutes.

And then I don’t know if it’s my monitor or the M1, but sometimes there will be a messed up run of consecutive pixel columns about 1/10th of the screen wide starting about 30% from the left of the display. The entire screen in that region is shifted a few pixels upwards. Sometimes it’s hard to notice it but once you do it can’t be unseen. Replugging the monitor into the M1 resolves the issue.

Re:Apple’s M1 processor and the full 128-bit integer product by kureikain on Wednesday March 17, 2021 @08:53PM (#26498647)
It way faster than my old macbook pro. But one thing is the external monitor won't be open upon resuming. I have to plug/unplug the cable to re-active the external monitor. It seems HDMI handshake was failed somehow
Re:Apple’s M1 processor and the full 128-bit integer product by SCUSKU on Wednesday March 17, 2021 @08:40PM (#26498563)
I haven't noticed poor wake times, but my laptop does kernel panic and reboot a fair amount. Maybe 4 times in the past week. My hunch is that it's Spotify's fault but I haven't dug into the logs.
Re:Apple’s M1 processor and the full 128-bit integer product by SigmundA on Wednesday March 17, 2021 @08:46PM (#26498604)
A user-land program cannot be at fault for a kernel panic, that is the kernels fault, always.
Re:Apple’s M1 processor and the full 128-bit integer product by ridiculous_fish on Wednesday March 17, 2021 @11:58PM (#26499560)
xnu will panic if it doesn't receive periodic check-ins from userspace. For example if WindowServer hangs, then the kernel may deliberately panic so that the system reboots. See man watchdogd for (a tiny bit) more.
Re:Apple’s M1 processor and the full 128-bit integer product by saagarjha on Thursday March 18, 2021 @01:34AM (#26499936)
True, but a third-party program shouldn’t really be able to do this, at least not easily.
Re:Apple’s M1 processor and the full 128-bit integer product by siquick on Thursday March 18, 2021 @06:12AM (#26501153)
I have this problem but only if I've been plugged into a monitor, and then unplugged and gone onto battery. Rebooting after unplugging stops it but its annoying.
Re:Apple’s M1 processor and the full 128-bit integer product by Reason077 on Wednesday March 17, 2021 @08:43PM (#26498584)
I've had mine panic and reboot twice, both times happened shortly after disconnecting other Macs that were connected via a Thunderbolt cable (target disk mode).
Re:Apple’s M1 processor and the full 128-bit integer product by mhh__ on Wednesday March 17, 2021 @08:44PM (#26498586)
How does spotify panic the kernel itself?
Re:Apple’s M1 processor and the full 128-bit integer product by Reason077 on Wednesday March 17, 2021 @08:41PM (#26498566)
Definitely no issue with waking my M1 8GB MacBook Air. Takes a fraction of a second, every time. In fact, this is specifically something that Apple were bragging about when they launched the M1 Macs!
Re:Apple’s M1 processor and the full 128-bit integer product by robbiep on Wednesday March 17, 2021 @08:36PM (#26498532)
Very happy with my Air 16gb on resume - much faster than my 2018 air
Re:Apple’s M1 processor and the full 128-bit integer product by zitterbewegung on Wednesday March 17, 2021 @08:44PM (#26498591)
Do you have it plugged into a monitor upon wake? How many programs do you have when it is resuming? I noticed this really infrequently.
Re:Apple’s M1 processor and the full 128-bit integer product by thefourthchime on Thursday March 18, 2021 @05:52PM (#26507946)
I tried reinstalling OSX, now it seems fine! ¯\_(ツ)_/¯
Re:Apple’s M1 processor and the full 128-bit integer product by wil421 on Wednesday March 17, 2021 @10:38PM (#26499216)
Nope, my M1 Air is connected to an external monitor most of the day and I don’t have issues.
Re:Apple’s M1 processor and the full 128-bit integer product by floatingatoll on Wednesday March 17, 2021 @08:43PM (#26498578)
It’s inappropriate of you to post an offtopic end user technical support question on this post about CPU microarchitecture performance.
Re:Apple’s M1 processor and the full 128-bit integer product by coldtea on Wednesday March 17, 2021 @09:20PM (#26498823)
It's inappropriate of you to scold another commenter with a content-less comment.
Re:Apple’s M1 processor and the full 128-bit integer product by mhh__ on Wednesday March 17, 2021 @08:54PM (#26498659)
Why? There isn't really anything interesting in this post, beyond that Apple obviously wanted this feature for whatever reason