Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Macbook Air/Pro M1 (ARM64)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Wed Oct 25, 2023 6:01 pm    Post subject: Reply with quote

I've been looking for used M1 Air semi-actively. So far the prices seem to be around 600€ here.
I think I'll wait a little more... If I ever get one I'll be running Linux on it bare metal.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Tue Mar 19, 2024 3:42 am    Post subject: Reply with quote

finally spent some time to do it bare metal.

short version of whats happening is: you basically can have more than one version of mac os on your mac. so you not technically install linux, you just install another mac. quite difficult to get early screen, so if you mess up grub and booting or forget to put a root password and start network/ssh before reboot ... might be hard to return and fix it later. But there are creative ways. :))

I tried it on a mac mini with M1 and 16GB of RAM. its much faster running on bare metal than parallels. But some things wont work out of the box, or wont work at all. Fortunately the list is getting shorter. You basically can't do USB4/thunderbolt. sound still finicky.

My suggestion, and what I chose to do is to slim mac os as much as possible, then made a minimal fedora install, and from fedora, using guides, I managed to start a gentoo install. From the system point of view, I have 3 mac OS installed. 1 is the original mac os, the other 2 are linux installs masquerading as macos. Also, should prolly keep in mind that ext/2/3/4 you can read/write from mac os, but other more exotic FS wont be able to open. its good to have a second version of linux, just in case you lock yourself out of the system somehow, otherwise you basically are forced to delete and reinstall. unless its ext4 can't otherwise get back to that data, unless you have a second linux.

Its not that complicated. Most of the work is mostly done. Wont be easy either. But its doable now.

yes, the gpu driver is reasonable now. has some GL functionality. better than macs I think. and vulkan. but only on wayland. I mostly use it as compile machine, and for that its amazing. when it idles it just plays stuff on kodi. and does that very well.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54530
Location: 56N 3W

PostPosted: Tue Mar 19, 2024 12:32 pm    Post subject: Reply with quote

It looks like Gentoo on Mac is officially supported now.

Project:Asahi
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 459

PostPosted: Wed Mar 27, 2024 4:01 am    Post subject: Reply with quote

NeddySeagoon wrote:
It looks like Gentoo on Apple Silicon is officially supported now.

Project:Asahi

FTFY :D

I am a fan of the Apple Laptop Hardware.

I'm also glad that when they EOL my 2022 macbook macos I'll upgrade it to Gentoo. Until then my Gentoo on Apple Silicon is in a vm.

Late 2007, I was looking for what would be my second laptop. I was looking hard at the Dell M1330. Then I noticed a similarly equipped macbook actually cost less. Typing from that one now. Still works fine in Linux. Some websites drive it pretty hard. The 1280x800 monitor is its biggest fault. The keyboard is still as awesome as it has ever been.

At the end of 2012, I used airline miles to get a MacBookPro Retina. It too works well today in Linux.

I've considered looking for a used Apple Silicon Air to try out Asahi, but just haven't gotten there yet. My Gentoo Pi adventure is occupying the free time right now.
Back to top
View user's profile Send private message
Freed
n00b
n00b


Joined: 19 Jan 2020
Posts: 38
Location: China

PostPosted: Sat Apr 27, 2024 9:31 am    Post subject: Reply with quote

Yes, asahi Linux can support Gentoo, although it is unofficial. https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros

Official support OS is Fedora Asahi Remix, https://asahilinux.org/fedora/

Maybe in the future, Gentoo Asahi Remix will come :)
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Wed May 01, 2024 5:02 pm    Post subject: Reply with quote

Freed wrote:
Yes, asahi Linux can support Gentoo, although it is unofficial. https://github.com/AsahiLinux/docs/wiki/SW%3AAlternative-Distros

Official support OS is Fedora Asahi Remix, https://asahilinux.org/fedora/

Maybe in the future, Gentoo Asahi Remix will come :)
Project: Asahi wrote:
The Gentoo Asahi Project aims to support running Gentoo natively on Apple Silicon computers. We maintain packages that are specific to Apple silicon, work on Gentoo installation images for such hardware, etc.
... so it's not like Asahi Linux would have support for Gentoo, it's Gentoo supporting Apple Silicon by bringing parts from Asahi.

Currently Gentoo has the project set up, but the packages come from unofficial overlay.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Fri Aug 09, 2024 6:15 pm    Post subject: Reply with quote

I have now have an opportunity to buy a used M2 MB Air for a pretty low price.

So what's the current status of Linux on Apple M2? My goal, of course, would be to install Gentoo on it. And maybe play around with some exotic combinations of llvm toolchain and musl.

EDIT: Looks like if Linus used that with 5.x series, I should be safe with 6.x. ;)
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Fri Aug 09, 2024 8:02 pm    Post subject: Reply with quote

Current asahi kernel is stuck at 6.9.12. https://github.com/AsahiLinux/linux

https://asahilinux.org/fedora/#device-support
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Fri Aug 09, 2024 8:20 pm    Post subject: Good enough for Finland Reply with quote

Yeah. Sounds good enough.
I'll proceed discussing about the price for the M2 variant.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Mon Sep 02, 2024 7:21 pm    Post subject: Reply with quote

So I could maybe get a M2/8/256 variant for 350-400€.
That really feels like downgrade... My current laptop is R5-something/8/1024. And already now 8GB of RAM feels like too little. I commonly have somewhere around 2GB of swap used. The disk space and RAM really limits, or rather outright excludes running any virtual machines.
Then the keyboard... It's really not great, but on the other hand that seems to be the trend nowdays - bad keyboard on laptops.
One thing that is surely better on that Apple would be the screen. I like to use my laptop outside. In bright sunlight most struggle. I wonder what's the case with M2 MB Air..?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Thu Sep 05, 2024 2:40 pm    Post subject: Reply with quote

Ok.

I bit the bullet, but not without a fight. I offered 300€ and no more. And I got it.
Not sure if I use that MacBook as some kind of testing platform or as my daily driver.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20334

PostPosted: Fri Sep 06, 2024 11:44 pm    Post subject: Reply with quote

Do you generally use any Apple laptops? I've read that they had general decrease in hardware quality from their prior reputation (possibly well before the move away from Intel).

I'm curious about the new processors, but not enough to buy anything new, and hesitant on anything used these days.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Sat Sep 07, 2024 4:41 pm    Post subject: Reply with quote

Last time I had my own Apple computer was some PowerPC based 133 MHz machine. It was PowerMac, but I can't recall the model. I used MacOS 9 on it, but downgraded to MacOS 8 because 9 was the most unstable OS I've ever used. I eventually installed mkLinux on it, but my machine didn't have a supported network card...
I also had Performa 5200 (m68k based) along side of that PowerMac. We used to play networked (IPX, I think) Doom on those.
Yeah, but after the short lived mkLinux adventure, I bought a used x86 laptop and installed Gentoo.
pjp wrote:
Do you generally use any Apple laptops? I've read that they had general decrease in hardware quality from their prior reputation (possibly well before the move away from Intel).
So. No.
I certainly don't use Apple hardware normally. I practically hated Apple hardware back then, because nothing was compatible with it. Apple is the reason I use Linux. Shortly after I had my Gentoo installation working I threw those macs to trash. Shame kinda. Now those are somewhat collectible hardware.

As to why I then bought this MacBook Air? I've wanted a fanless laptop with bright display for quite a some time. I decided to give Apple hardware a try. MacOS is kinda ok nowdays, but I would never have it on my own computer because I know how to use Linux (Gentoo).

Time will tell if my purchase was worth it.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20334

PostPosted: Sat Sep 07, 2024 10:46 pm    Post subject: Reply with quote

:)

Maybe I'll come across a used one some day that is sufficiently inexpensive and still usable. I'd really like to switch to a non-laptop, but I've not seen anything to reasonably hide the monitor when not in use. The laptop form factor does make that convenient.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1118
Location: Richmond Hill, Canada

PostPosted: Sat Sep 07, 2024 10:55 pm    Post subject: Reply with quote

Have you consider Mac Mini? No monitor required. May be there is some place you can find second hand for low price.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20334

PostPosted: Sat Sep 07, 2024 11:06 pm    Post subject: Reply with quote

I'd forgotten about that. I'm not in the market, but I'll keep that in mind. A new, open-box with 8G RAM, 256G SSD M2 isn't awful, so maybe something used would be an option. I'd have to read about hardware maintenance and installing Linux before I bought one. I don't need more, expensive paperweights or doorstops.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
axl
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1146
Location: Romania

PostPosted: Sun Sep 08, 2024 12:51 am    Post subject: Reply with quote

few points.

first. not fair to say apple stuff is bad hardware. is extremely good hardware. i have a 2020 m1 macbook pro with 64 gb of ram. it is today just as it was the day i got it. only things that degraded on it is battery life, and you can actually hear the fans (yes pro has fans) working a bit more when compiling gcc. screen is awesome. keyboard is. trackpad is. there were complaints with past intel models, but afaik, modern apple systems got past that. was the trackbar. lack of magnetic connection for charging. lack of ports. anyway, my 3 year old laptop is just fine. hardware is fine.

Problem is not general hardware. Problem is miniscule GPU. And lack of drivers for GPU. If you keep apple os, and run linux as a guest os in parallels, its a great machine. if you have enough ram. I used mine as such, to compile heavy stuff like gcc for raspberry pi. for that... its great. as long as you use apple os for video compressing, decompressing. all that hardware stuff. its great. NO games at all.

a bit overpriced. it feels. its a platform that never disappointed me. But also never impressed me. If you buy one, buy it for the cpu. M series. If you want a fast arm cpu, this is a legitimate thing to consider. if you want to remain in the apple ecosystem, if you have headphones and watch and phone and tablet... legitimate system to have. but for every other use-case... no.

But be warned... asahi linux can brick your apple. i bricked a mini.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3608
Location: Rasi, Finland

PostPosted: Sun Sep 08, 2024 8:10 am    Post subject: Reply with quote

I mostly agree that the current hardware from Apple is good, but
  • I don't see how the keyboard is any good. It's basic when it comes to laptops.
  • Trackpad is above average, not superior (sometimes even too big).
  • The lack of upgradeability is frustrating, although I understand one cannot just plug in more HBM.


Screen and the fact Air model is passively cooled over weighted the downsides for me.
The lack of ports may bite me later, but oh well...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum