News for hackers. Stuff that matters.
Re:Dissecting the Apple M1 GPU, part I by wil421 on Thursday January 07, 2021 @03:03PM (#25676552)
Can someone explain why they would buy a Mac and install linux?

I used to dual boot windows for school and when I first switched to windows I had an old laptop's backup in bootcamp. Cross-platform software is much more ubiquitous than 5-10 years ago. For linux I always used another box or just run a VM. Nowadays my laptop can ssh or Remote Desktop into a more powerful machine. I have a custom built widows box, a custom built NAS running FreeNas (FreeBSD), 2 RPi's running Raspbian, and a not always linux box based on old hardware. There is a machine big or small to do things or play with. My VPN allows me to connect from anywhere.

What are you guys doing that you have to install linux instead of running a VM or remotely connecting to a linux box? If it's just for the sake of knowledge I can understand it.

Apple's touch pad experience in MacOS is the best in the market and it is always very different in Windows and Linux. The XPS, Lenovo and smaller vendors really make killer Linux/Windows laptops that have much more options than Macs.

Re:Dissecting the Apple M1 GPU, part I by coldtea on Thursday January 07, 2021 @07:00PM (#25679448)
>Can someone explain why they would buy a Mac and install linux?

One reason is to devote an older machine to Linux (M1 models are still new, but they wont be in 3-4 years. And in 6-7 years they might not be supported by new then MacOS releases at all (only security fixes). When someone gets the M4 or MX, they might want to retire the M1 models, or use them for server/supportive roles with Linux on them.

Others just prefer Mac hardware (Linus Torvalds himself was a big fan of the early Macbook Air, which we used with Linux, and has welcomed the M1 model as well) but Linux software for various reasons.

I, for one, ocassionally wish to boot to full native Linux for some stuff. I have several Linux computers I use too, but I usually use those headless, whereas a Mac laptop would be great with a good supported Linux.

>What are you guys doing that you have to install linux instead of running a VM or remotely connecting to a linux box? If it's just for the sake of knowledge I can understand it.

Besides repurposing an old Mac, even running a desktop environment as your primary or secondary driver is much faster and usable with bare metal (as opposed to a VM) and, of course, impossible with remote boxes (X forwarding aside, which is not workable as raw native desktop).

Re:Dissecting the Apple M1 GPU, part I by jiofih on Thursday January 07, 2021 @09:13PM (#25680605)
I use a 2008 MacBook and it still receives software updates (though a lot of modern software won’t run on it).
Re:Dissecting the Apple M1 GPU, part I by DCKing on Thursday January 07, 2021 @06:36PM (#25679192)
I have a 2012 Macbook Air that's still a great piece of hardware. Still great for light tasks and actually not too bad for heavier ones. It has very few moving/active parts - just a CPU fan and battery - so it doesn't require that much maintenance to keep chugging. Problem is, my official macOS security updates end end of next year. 10 years of support is alright I guess, but what do I do, throw it out and add it to the ewaste pile? I think not. I can give it a second life as a desktop or server (great idle power consumption) with Linux or any of the BSDs.

If I buy a 2022 Macbook Air, I'd like to repeat this process for it in 2032. Moore's law is dead, treasure your hardware.

Re:Dissecting the Apple M1 GPU, part I by BluSyn on Thursday January 07, 2021 @03:16PM (#25676766)
Apple's hardware and build quality in superior then virtually anything else on the market, even at the same price point. You're talking about remote stationary machines, not single portable devices that can do everything you need. Most people don't have that. Linux isn't just a secondary OS you run on VM, many want to run it as a primary desktop OS with the best hardware available. A Dell XPS laptop may be more compatible with Linux out of the box, but it falls short on every other metric.
Re:Dissecting the Apple M1 GPU, part I by ernst_klim on Friday January 08, 2021 @07:05AM (#25683794)
> Apple's hardware and build quality in superior then virtually anything else on the market, even at the same price point.

I don't see how it's superior. For that money you can buy Dell XPS or Thinkpad of same quality or better.

> but it falls short on every other metric

So far I didn't see any evidence of that. That may be true in 2011-2012 where not many laptops had hires screens with decent matrices, but definitely not relevant today.

Re:Dissecting the Apple M1 GPU, part I by Lio on Friday January 08, 2021 @07:43AM (#25684070)
I have a 2014 MacBook Pro and a Dell XPS 13 9370 Developer Edition. I like both very much.

I'm not sure I would say that the XPS is equal or better quality than the MBP though.

The trackpad isn't better than the Mac's and neither is the case construction. I prefer the aluminium unibody to the carbon fibre (rubberised plastic) stuck to aluminium plates of the XPS.

I really like the XPS though and would buy another if it broke. i.e. I wouldn't buy a Mac to run Linux but when Apple finally stop supporting my MBP I see no reason not to install Linux on it and extend its life. Especially as I like Linux as a desktop OS.

Re:Dissecting the Apple M1 GPU, part I by snapcore on Thursday January 07, 2021 @04:06PM (#25677477)
Statistical information from repair places suggests otherwise for build quality. For instance:

https://www.appleworld.today/blog/2020/6/1/apples-mac-get-a-...

It varies by year and place though.

Re:Dissecting the Apple M1 GPU, part I by uncledave on Thursday January 07, 2021 @05:17PM (#25678395)
Can’t take that seriously at all. MS ranks #1 and I actually know someone who works at a large customer and their surface devices last 12-18 months. They had over 500 of them. They don’t send them for repair because the warranty is a year so they are scrap then. No statistical contribution to that study. They are replacing them with Lenovo units with 3y NBD repair and support and they are cheaper.

As for Apple, you buy a 3 year warranty with AppleCare for less than the surface costs and that includes accidental damage for a small excess fee per event.

Re:Dissecting the Apple M1 GPU, part I by cbozeman on Friday January 08, 2021 @01:34AM (#25682177)
> As for Apple, you buy a 3 year warranty with AppleCare for less than the surface costs and that includes accidental damage for a small excess fee per event.

What? Maybe this is true for the M1-based MacBooks now, but I bought my Surface Book 3 with my Microsoft Business account (which was made for me for free when I bought my Surface Book 2 by a manager at the Dallas, TX Microsoft Store) and for $249 I got a three year warranty with three accidental damage incidents, also with no deductible. Yes, I had to pony up for a year of Office 365 for $69 to get the normally-$349 warranty for $100 off, but I already use Office 365 yearly sub anyway, so adding on an extra year of something I was going to buy anyway, for $100 off a 3-year, 3-incident, deductible-free warranty isn't exactly a "hard sell".

Although the only problem I've ever had with Microsoft's hardware products was my original Surface Book, and I'll admit, that was a miserable experience, but I had zero problems with my SB2 and none so far with my SB3.

Having said all that, I might actually switch over to Apple if they had a 15" 2-in-1 like my SB3. In order to functionally replace my Surface Book 3, I have to buy a $1499 12.9" iPad Pro, a $129 Apple Pencil 2nd gen, and a $2299 MacBook Pro M1. Adding Apple Care+ and tax brings the total up to $4670. But I also now have the problem of having to lug around two devices instead of just once as I do with the Surface Book 3. My totally pimped out Surface Book 3 + warranty + Office 365 1-year sub was $4350. That's the Quadro RTX 3000 MaxQ version also.

Right now, the Apple products have the performance advantage, I can't deny that. But they didn't have that when I bought my Surface Book 3, and Microsoft isn't going to sit on their ass. Their ARM-based Surface Pro X is following Microsoft trends perfectly. The first version of all their hardware ranges anywhere from a total joke to slightly underwhelming. But by the time 3rd and 4th iterations, Microsoft has their shit together. I fully expect that in 2-3 years, a Microsoft ARM-based Surface Book 5/6 will be a serious MacBook Pro contender, while also winning over users like me for the 2-in-1 aspect.

Re:Dissecting the Apple M1 GPU, part I by coldtea on Thursday January 07, 2021 @07:05PM (#25679480)
That's just some random help provider call stats though. Could just mean that the average Mac users are more prone to call such services, or that their sample might not be representative, or whatever.
Re:Dissecting the Apple M1 GPU, part I by jamespo on Thursday January 07, 2021 @04:25PM (#25677728)
Realistically how many people buy macbooks to run linux as a primary OS? And subject themselves to mac keyboards to boot.
Re:Dissecting the Apple M1 GPU, part I by ogre_codes on Thursday January 07, 2021 @05:46PM (#25678734)
Save the 2015-2019 MBP keyboard debacle, Apple's keyboards are among the best on the market.

As for how many people run Linux on bare metal on the Mac. That's hard to guess. Likely not a ton. But then... not a ton of anyone runs Linux as their primary desktop/ laptop so that's not surprising.

Re:Dissecting the Apple M1 GPU, part I by coldtea on Thursday January 07, 2021 @07:06PM (#25679493)
>And subject themselves to mac keyboards to boot.

The "fiasco keyboard" period aside (which is now 1.5+ years over, and which reliability aside, some do prefer its feel), Mac keyboards have been quite fine.

But one famous person that used to buy Macbooks to run Linux as a primary one (and used an Air as his daily driver for years) was a certain Linus Torvalds.

(Previously he also used an Apple G5 tower for his main desktop).

Re:Dissecting the Apple M1 GPU, part I by pimeys on Friday January 08, 2021 @05:50AM (#25683421)
If the direction is closed hardware, soon we don't have any hardware to run Linux. And I, for one, prefer an open operating system always over a proprietary one. I'm a hacker and I want hacker's OS. I'd be interested about Apple's hardware, but their software support for other than their own is abysmal. The work done here is worth of praise, even if it means reverse-engineering the hardware.
Re:Dissecting the Apple M1 GPU, part I by selectodude on Thursday January 07, 2021 @05:09PM (#25678301)
Linus Torvalds worked on a MacBook Air for years.
Re:Dissecting the Apple M1 GPU, part I by MegaDeKay on Thursday January 07, 2021 @11:08PM (#25681403)
Re:Dissecting the Apple M1 GPU, part I by skocznymroczny on Friday January 08, 2021 @07:31AM (#25683979)
I wish Apple released butterfly keyboards for desktop. I'd totally use one for my PC, even if it has a Mac layout.
Re:Dissecting the Apple M1 GPU, part I by johnwalkr on Friday January 08, 2021 @09:19AM (#25684938)
Do you mean the very short travel, clicky ones (like a 2018 or 2019 MacBook)? If so the current magic keyboards have the same keys and you should buy one now because they will probably be updated soon. If you prefer the longer travel ones (like a 2015 MacBook or 2020 M1 MacBook) you have to find an older used one or wait a bit.

I have a 10 year old Bluetooth magic keyboard and a 10 year old USB magic keyboard and both work perfectly with windows.

Be warned, they are difficult to Bluetooth pair with windows for the first time, usually takes 10 tries for me.

Re:Dissecting the Apple M1 GPU, part I by wil421 on Thursday January 07, 2021 @04:22PM (#25677684)
Apple's hardware quality is the way it is because they control the software and hardware. Looking System76 I can see why people would want a Mac. Purism looks as decent as an XPS.

You also pay a hefty premium for MacOS if you are just running Linux.

Re:Dissecting the Apple M1 GPU, part I by gameswithgo on Thursday January 07, 2021 @04:58PM (#25678150)
That is not really the case in any meaningful way. I mean until just now they did not control the cpu or gpu on their laptops and desktops.
Re:Dissecting the Apple M1 GPU, part I by remexre on Thursday January 07, 2021 @08:32PM (#25680269)
Well, I think it's fair to say that "among the Unix-derived OSes, macOS is the one with the best hardware support for the hardware it typically runs on." I've wasted months of my life futzing with Broadcom WLAN cards...
Re:Dissecting the Apple M1 GPU, part I by josephg on Thursday January 07, 2021 @04:37PM (#25677885)
> You also pay a hefty premium for MacOS if you are just running Linux.

You can’t run Linux on the M1 yet, but will this still true when you can? How does price / performance of the M1 air compare to x86 laptops? (Or the Mac mini vs other small form factor PCs?)

Re:Dissecting the Apple M1 GPU, part I by heavyset_go on Thursday January 07, 2021 @07:10PM (#25679518)
Apple deprecates support for old Macs in new macOS releases after about 6 to 7 years, and Linux support on Macs released before 2016 is really good.

There are features that are unique to Linux, like cgroups and KVM, that are nice to use on my main OS. The kernel itself is incredibly configurable and extensible, whereas on macOS the kernel is locked away and Apple has deprecated foreign kext support.

Another example is Linux's native FUSE support. I can use an updated version of sshfs on Linux that isn't available on macOS and solves problems I had with sshfs on macOS. I have to use closed source software to even use FUSE on macOS.

Using Linux on a VM or over SSH to do things I couldn't do on macOS was frustrating, and it's a breath of fresh air to run Linux natively.

Also, I prefer Plasma Desktop to the macOS desktop shell. KWin is scriptable, and KDE is really nice.

> Apple's touch pad experience in MacOS is the best in the market and it is always very different in Windows and Linux.

I disagree with this. Libinput is configurable and its adaptive acceleration profile feels more natural to me.

Re:Dissecting the Apple M1 GPU, part I by londons_explore on Thursday January 07, 2021 @03:13PM (#25676698)
Right now the draw is the M1 CPU...

If Linux had software support for it, it would probably be the best platform for Linux (server) software development.

Re:Dissecting the Apple M1 GPU, part I by ogre_codes on Thursday January 07, 2021 @05:38PM (#25678655)
> Can someone explain why they would buy a Mac and install linux?

Same reason you run Linux on a Dell or Other laptop. Because you prefer Linux. In Apple's case, the M1 is particularly appealing right now.

For me personally, this project is mostly interesting as insurance for if/ when Apple ships a version of MacOS I don't care for or stops supporting the M1. That's likely... 10 years out, but you never know.

Re:Dissecting the Apple M1 GPU, part I by heavyset_go on Thursday January 07, 2021 @07:16PM (#25679566)
Apple deprecates support for old Macs in new macOS releases after 6 to 7 years. In some cases it's even sooner, like with the Macs that were left behind in the jump from 32-bit to 64-bit Intel processors.
Re:Dissecting the Apple M1 GPU, part I by ogre_codes on Thursday January 07, 2021 @07:53PM (#25679888)
Apple has been increasing the length of support for devices over the past 10 years though. Many years they don't drop support for any Macs.

That said... it would be fantastic to have Linux as a backup.

Re:Dissecting the Apple M1 GPU, part I by remexre on Thursday January 07, 2021 @03:18PM (#25676784)
For "why not macOS on M1," I'm one of those people who customizes their WM to reduce number of keystrokes / mouse usage to a minimum, and that's only really well-served by the free operating systems' WMs.

For "why not Linux on not-M1," I vastly prefer reading and writing AArch64 assembly to amd64... And the battery-life+performance claims of M1 are certainly extremely exciting, coming from a Pinebook Pro (which has the battery life, but pretty wimpy performance by comparison).

Re:Dissecting the Apple M1 GPU, part I by colonwqbang on Thursday January 07, 2021 @04:41PM (#25677935)
Personally I think Apple's new hardware looks good (both inside and outside) but their software doesn't really impress me. I would rather run standard Linux software like I usually do. I certainly won't buy any Apple hardware until that is a viable option. I'm also not interested in running my daily driver OS as a VM client.
Re:Dissecting the Apple M1 GPU, part I by gameswithgo on Thursday January 07, 2021 @04:56PM (#25678130)
I would very much like the Mac hardware, but I do not like the Mac operating system, or the trend of making it harder and harder to install apps from the store.
Re:Dissecting the Apple M1 GPU, part I by fulafel on Friday January 08, 2021 @10:38AM (#25685711)
One niche iuse is that it lets you legally run macOS in a VM under Linux, I think. Which you might want to do if you have some stuff that only works under macOS, like iPhone app builds, but you otherwise need or prefer Linux. But they're often all around ok machines for general use too if you're not too price conscious and/or your employer just hands them out to everyone.
Re:Dissecting the Apple M1 GPU, part I by wmf on Thursday January 07, 2021 @03:14PM (#25676714)
The result may be the fastest Linux machine available (by some metrics).
Re:Dissecting the Apple M1 GPU, part I by sliken on Thursday January 07, 2021 @03:21PM (#25676837)
Single core performance, maybe. Not much else though. But the apple's do quite well on perf/$, perf/watt. The M1 mini is pretty competitive at $700 for a fast silent desktop.
Re:Dissecting the Apple M1 GPU, part I by wlesieutre on Thursday January 07, 2021 @05:04PM (#25678233)
You mentioned performance/watt - in user terms, battery life is a huge advantage of this hardware. The official specs of the 13" MBP are 17 hours of web browsing, 20 hours of video playback.

I assume it won't be as long in Linux but it'll still be longer than a lightweight and high performance x86 laptop.

Re:Dissecting the Apple M1 GPU, part I by ur-whale on Thursday January 07, 2021 @04:30PM (#25677791)
> Can someone explain why they would buy a Mac and install linux?

Because OSX, besides being a user prison, is certainly far from being as good as their hardware.

Re:Dissecting the Apple M1 GPU, part I by rswail on Friday January 08, 2021 @01:05AM (#25681994)
Can we stop the "user prison" stuff?

I've got an iMac 2020 here, I log into iTerm2 and macports has every things I want, installed cleanly and co-operatively with the Apple frameworks and kernel.

I'm running Firefox and Thunderbird and Office 365, all native. I also have suppler supported clients for iMessage, Whatsapp, Telegram, Skype, Spotify (whether Electron or not).

I have developer utilities like Dash, which is one of the best documentation browsers ever, I have native UI neovim with VimR, I have menu bar utilities for monitoring, cloud sync with Google and Microsoft (and iCloud if I wanted).

How exactly am I in a user prison? I'm running the Beta Big Sur and the only bug so far is that the Karabiner kext doesn't load.

Re:Dissecting the Apple M1 GPU, part I by saagarjha on Friday January 08, 2021 @05:12AM (#25683232)
Have you tried the version that uses a system extension rather than a kext?
Re:Dissecting the Apple M1 GPU, part I by machello13 on Thursday January 07, 2021 @04:46PM (#25678003)
Still leagues better than Linux.
Re:Dissecting the Apple M1 GPU, part I by uncledave on Thursday January 07, 2021 @05:20PM (#25678434)
I have to agree. I’ve tried to be a desktop Linux user for 20 years unsuccessfully. It only ever gets to 80% done and then they go and break everything. At least Apple get to 95% :)
Re:Dissecting the Apple M1 GPU, part I by baggy_trough on Thursday January 07, 2021 @04:35PM (#25677854)
Quite some prison that allows you to install linux and whatever other software you'd like.
Re:Dissecting the Apple M1 GPU, part I by happymellon on Friday January 08, 2021 @01:58AM (#25682287)
Really? Because my Mac by default nags the crap out of anything downloaded, and does this best to block applications that haven't paid various Apple Taxes.
Re:Dissecting the Apple M1 GPU, part I by baggy_trough on Friday January 08, 2021 @02:55AM (#25682598)
I don’t have that experience.
Re:Dissecting the Apple M1 GPU, part I by happymellon on Saturday January 09, 2021 @01:45PM (#25703179)
How can you not? Unless you sign your app with your Dev cert, that you pay Apple for, Apple won't let your app run without going under the hood and fuck around with permissions.
Re:Dissecting the Apple M1 GPU, part I by baggy_trough on Saturday January 09, 2021 @11:04PM (#25709741)
Fact check: false.
Re:Dissecting the Apple M1 GPU, part I by happymellon on Sunday January 10, 2021 @02:43AM (#25712028)
https://www.wikihow.com/Install-Software-from-Unsigned-Devel...

Nope. fact check true. Unsigned software will not run on a Mac without having to jump through hoops to enable each app.

I predominantly use open source software, and a lot is not signed.

Re:Dissecting the Apple M1 GPU, part I by baggy_trough on Tuesday January 12, 2021 @01:17PM (#25750978)
So do I, and I never have to sign any of it or jump through hoops.