marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<sawyer> chadmed_: I was hoping to use the tethered boot for shorter test cycles, but I only have one m1 machine ("don't $*** where you sleep" feels apt too)
<sawyer> I did that for a little while but it was always annoying to have to close my entire dev env just to test a change
<chadmed_> tethered boot is fine but if youre cross compiling you simply need to either build every module in and not use an initramfs at all or build the kernel and initramfs on the mac and copy it over to the tethered host system for booting
<sawyer> if the answer is just "ebay has m1 mac minis for $350" then that's that, I was just hoping for a way to use my 7950x to speed things up a bit and not have to do everything through ssh again
<sawyer> hm, I can try building everything in again
<sawyer> this is probably dumb--do I actually need an initramfs for anything more than those kernel modules
<sawyer> I thought it also held systemd and such in there
<chadmed_> if the kernel has the filesystem driver for your rootfs you can just set the root kernel command line parameter and it will find /sbin/init on that partition
<sawyer> oh....right...🤦️ yep, that would work too lol
<sawyer> That one from above has DRM_ASAHI=m, I take it you were using that along with an initramfs with those modules?
<chadmed_> yes this is my production kernel config
<chadmed_> you will have to modify it to use it tethered
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
chadmed_ has quit [Remote host closed the connection]
Brainium has quit [Ping timeout: 480 seconds]
Harriet has quit [Quit: Leaving]
Brainium has joined #asahi
KxCORP589 has quit [Quit: Bye!]
KxCORP589 has joined #asahi
LarstiQ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
LarstiQ has joined #asahi
grgy has quit [Remote host closed the connection]
grgy has joined #asahi
grgy has quit [Remote host closed the connection]
KxCORP589 has quit [Quit: Bye!]
KxCORP589 has joined #asahi
mintakka has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
grgy has joined #asahi
mintakka has quit [Remote host closed the connection]
possiblemeatball has quit [Ping timeout: 480 seconds]
delroth has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
delroth has joined #asahi
possiblemeatball has quit [Quit: Leaving]
jeisom has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
SalimTerryLi has joined #asahi
shiggitay has joined #asahi
SalimTer- has quit [Ping timeout: 480 seconds]
denysonique31 has quit [Quit: .]
denysonique31 has joined #asahi
kode54 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kode54 has joined #asahi
confusomu has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
alexdelorenzo has quit []
alexdelorenzo has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
alexdelorenzo has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
ddxtanx has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi
<jannau> sawyer: I'm using https://github.com/AsahiLinux/asahi-scripts/pull/32 which should be compatible with cross-compiling. you need to create a special initramfs on the apple silicon device and copy that to the host. after that you can inject modules from the cross-compiled build
<jannau> but having everything necessary built-in would be easier to start
pb17 has quit [Ping timeout: 480 seconds]
qyliss has quit [Ping timeout: 480 seconds]
qyliss has joined #asahi
pb17 has joined #asahi
shiggitay has quit [Ping timeout: 480 seconds]
andymandias has quit [Ping timeout: 480 seconds]
andymandias has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
Luj has quit [Ping timeout: 480 seconds]
Raito_Bezarius has quit [Ping timeout: 480 seconds]
iyes has joined #asahi
Luj has joined #asahi
f_ has joined #asahi
Luj has quit [Ping timeout: 480 seconds]
f_ has quit [Remote host closed the connection]
f_ has joined #asahi
iyes has quit [Ping timeout: 480 seconds]
iyes has joined #asahi
nanopone has joined #asahi
nanopone has quit []
gladiac is now known as Guest2124
gladiac has joined #asahi
Guest2124 has quit [Ping timeout: 480 seconds]
f_ has quit [Ping timeout: 480 seconds]
rvalue has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
jeisom has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
Szadek has quit [Ping timeout: 480 seconds]
KxCORP589 has quit [Quit: Ping timeout (120 seconds)]
KxCORP589 has joined #asahi
BesterGester has quit [Quit: Ping timeout (120 seconds)]
BesterGester has joined #asahi
alarm_ has joined #asahi
alarm_ is now known as spuos_
Szadek has joined #asahi
<spuos_> How would I go about making another bootable os? I.e, what partitions can I safely shrink, do I need to do it from macos, can I use the same m1n1 instance, etc
<j`ey> you can use the installer to install another stub, that'd be the easiest way
<j`ey> and resizing the macOS partition would probably bthe easiest
john-cabaj has joined #asahi
spuos_ has quit [Remote host closed the connection]
spuos_ has joined #asahi
sam_ has quit [Quit: ZNC - http://znc.in]
sam_ has joined #asahi
possiblemeatball has joined #asahi
<mort_> During the dnf system-upgrade reboot step, my screen just turns off (though the keyboard backlight is still glowing)
<mort_> Huh I just tried again and it randomly worked 🤷
<mort_> Nevermind it didn't
spuos_ has quit [Quit: Leaving]
<mort_> It seems to not even shut down properly
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
iyes has quit [Ping timeout: 480 seconds]
iyes has joined #asahi
hightower2 has joined #asahi
ddxtanx has quit [Quit: Konversation terminated!]
jeisom has quit [Ping timeout: 480 seconds]
Raito_Bezarius has joined #asahi
faddat has joined #asahi
faddat has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2024-04-24 14:45:26)]
faddat has joined #asahi
<faddat> oh nice
<faddat> Hey all :). Been a real long time since I've IRC'd. But worthy very worthy reason to IRC here. I'm really interested in maintaining the arch stuff, and rolling that into a new arch distro that fixes my huge list of personal pet peeves about arch and archlinuxarm
<faddat> But I wanted to stop in here, and basically ask if that is dumb. I might not listen of course but... heh
<faddat> My understanding of the reasoning behind the move to Fedora was like:
<PaulFertser> You mean you want to create another Arch Linux fork to replace the ALARM fork? :)
<faddat> @Paul - more like I want to have an arch linux distro that supports arm, and is kind to hardware like manjaro, and generally aims to not be a pain in the ass, and explicitly tries to support stuff like RISC-V and mips, and overlay networks, out of the box. But, overall, yes, I suppose so :)
<PaulFertser> faddat: Manjaro is known to be PITA, and not only to Asahi community :)
<faddat> @Paul: I agree. It is only nice in terms of hardware support, but if you want to customize it at all, you end up with pain in your ass-zone.
<PaulFertser> faddat: it looks like Arch Linux being stubborn and not accepting any other but amd64 architecture is just going to be a poor choice for now.
<j`ey> it's not out of stubborness, it's about the work being done properly
<PaulFertser> faddat: ALARM being a fork takes plenty of maintainer's resources and too few people are involved so it keeps delivering silly bugs.
<PaulFertser> j`ey: I can't understand why all the mainstream GNU/Linux distros are properly multi-arch for long time while Arch is being somehow special.
<faddat> So, yes, the idea would be a full-on fork. Yep, Paul, exactly this. That's the thing I'd like to address. I want to make a really great build system, and do it right.
<sawyer> chadmed_: thanks for the tips! I got it to properly boot, wifi is broken but I can probably figure that one out
<PaulFertser> faddat: do you think there's a chance you can actually introduce another arch to real Arch Linux?
<faddat> @PaulFertser -- I don't. That's why I'd look to forking. I really wish that I could, because Arch is imo straight up the best.
<PaulFertser> faddat: if you like bleeding edge and tinkering probably Gentoo build system is great enough for you?
<faddat> @PaulFertser is it possible to build Arch with Gentoo? I like bleeding edge and tinkering, but tbh, I've been using Arch in production systems for the past 3 years and I'd like to be as arch-like as possible.
<sawyer> jannau: ooo, that's handy. I'll see if "everything built in" turns into a wall anywhere and try that out if I need to. I was gonna try to take a stab at the VRR stuff, which what I have working so far is probably enough for (may want to set up the hypervisor tethered boot though for grabbing some captures though). I know marcan was going to work on sleep mode at some point but I might see what I can figure out about that in the meantime
<faddat> I find that Arch really gets the release cadence right, and if I could run it on my mac, and on my servers, and be able to target different ISA's I'd be happy as a clam. I'm one of those idiots who went out and made a multiplatform docker image for arch for example.
<PaulFertser> faddat: I meant you might want to consider switching to Gentoo altogether where plenty of nice people have already many good things working and you could help with making it even greater. While trying to do another Arch Linux fork single-handedly will certainly teach you a lot but is unlikely to result in a great new distro I'm afraid.
<faddat> @PaulFertser I could try, but, isn't gentoo a bit kinda dead? Or am I wrong?
<faddat> I do get what you mean about the size of the lift for arch.
<faddat> especially since multiplatform is just... clearly not a priority for the arch team
<PaulFertser> faddat: doesn't seem dead to me. And some Asahi devs enjoy it so you'd find company there.
<faddat> interesting. Do you have thoughts on an easy way to get a taste of gentoo? and... can gentoo provide an arch-like "rolling mode" and is it considered proper form to do binary distributions of gentoo? Because a definite planned use case of this planned distro would be high-uptime production servers
<faddat> ...wouldn't want to be compiling on them
<j`ey> yes gentoo has binary packages
<PaulFertser> faddat: in Gentoo it's always kinda rolling but you can choose between packages marked stable and those not marked stable, with per-package granularity if desired.
<faddat> this is sounding decent. It has been... I feel old thinking about when I last tried gentoo. Really old.
<PaulFertser> faddat: another choice you might consider is NixOS, and it's especially good for server/devops purposes because it's focused on reproducible builds and very easy roll-back of just the problematic software even if that involves shared libraries.
<PaulFertser> faddat: so if an idea of a production-ready distro where you have a declarative language to specify fully reproducible target system state sounds appealing to you probably NixOS is worth looking at.
<faddat> I have friends who use nix in their CI systems, but I've never really had the feeling that it would work out all that great for a production server. Really just want to have a unified environment for everything that I do, and I love Apple hardware. I assume that's why most people are here.
<PaulFertser> There's Calculate Linux where nice people prepared Gentoo-based rolling distro binary packages for running on servers. Might be a sane option too if NixOS is too "haskelly" for your liking.
<faddat> @PaulFertser: <3. yes, too Haskelley. exactly.
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
faddat_ has joined #asahi
faddat has quit [Ping timeout: 480 seconds]
<faddat_> also, maybe I am outside of the sense-zone, and I should pare down the set of goals by dropping the archness requirement and tossing in the actual goals. Distro was originally called Akash linux, but have changed the name to Somatic linux. The goal is to build a linux distribution that encapsulates the super opinionated way that I run proof of stake blockchain validators, and also provides some overlay network features that I think can make stuff more
<faddat_> linux on my mac, but the binary packages for ImportantStuffTM, like Go, rust, and some others, were just too old inside Fedora, and the key goal of this proposed distro is to have something that really stays up to date. A good example of why it would be nice to set-and forget keeping language runtimes and stuff up to date is that it's a classic noob mistake to have different language runtimes on the same blockchain network, it can cause issues. So
<faddat_> secure + stable. I have a tweet somewhere describing it... but when I started to do validation, I had the same OS everywhere and this made a lot of stuff go much faster. I also think that with a unified platform there are a lot of other devs in the same line of work who could save a ton of time. So maybe specifying Arch was a bridge too far, but I suppose I should also mention why I rapidly rejected Fedora. I was of course floored to have proper
<PaulFertser> NixOS is the most popular way to approach this goal I'd say.
<PaulFertser> Its config files do not really require you to write "monadic transformers", don't worry.
<faddat_> People use it as their desktop OS and live to tell the tale? I mean, I guess I could try, it's not like I have much sanity or pride left, so... :P
<PaulFertser> Nix language doesn't even have monads. You just define your requirements with regular simple pure functions.
<PaulFertser> faddat_: ask on asahi-alt
<faddat_> :salute:
Brainium has joined #asahi
<PaulFertser> faddat_: https://github.com/tpwrules/nixos-apple-silicon/commits/ looks lively enough
<faddat_> I noticed that a bit ago, and I must say that a 4/20 release is very culturally appropriate for the blockchain industry
<PaulFertser> :D
<PaulFertser> I wonder if tpw_rules intended it :)
JayBeeFOSS has quit [Ping timeout: 480 seconds]
<LarstiQ> fwiw I'm a happy NixOS on my daily driver apple silicon laptop user
JayBeeFOSS has joined #asahi
<faddat_> @LarstiQ yep that's worth something -- daily driver is a goal here
<faddat_> I seem to be gathering a vibe that no one is daily driving arch now, after "the great shift"
<j`ey> there's a few people still I think
iyes has quit [Remote host closed the connection]
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
faddat_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
f_ has joined #asahi
f_ has quit [Remote host closed the connection]
f_ has joined #asahi
f_ has quit [Remote host closed the connection]
f_ has joined #asahi
f_ has quit [Remote host closed the connection]
f_ has joined #asahi
espo has joined #asahi
jeisom has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
lawrence has quit [Quit: The Lounge - https://thelounge.chat]
faddat has joined #asahi
Szadek5 has joined #asahi
bdface has joined #asahi
bdface is now known as badlydrawnface
<badlydrawnface> is this on?
Szadek has quit [Ping timeout: 480 seconds]
<opticron> it is
<badlydrawnface> ok good, kernel offline update (kinda) messed my system up. Dracut keeps failing tho
<badlydrawnface> checked the logs, yep*
<badlydrawnface> it was stuck at 97% and now the 6.8 kernel has no initramfs
pb17 has joined #asahi
badlydrawnface has quit [Quit: badlydrawnface]
jeisom has quit [Ping timeout: 480 seconds]
ChaiTRex has quit [Ping timeout: 480 seconds]
Retr0id8 has joined #asahi
Retr0id has quit [Read error: No route to host]
Retr0id8 is now known as Retr0id
badlydrawnface has joined #asahi
overholts has quit [Quit: overholts]
Szadek59 has joined #asahi
overholts has joined #asahi
<jannau> badlydrawnface: hitting some issues and working on fixing them. you should be able to boot the old kernel
<badlydrawnface> ah, thats what im doing now, thanks for all the work you guys do btw
Szadek5 has quit [Ping timeout: 480 seconds]
cy8aer has joined #asahi
faddat has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
donaldh_ has joined #asahi
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
ten1572377432463050 has quit [Remote host closed the connection]
ten1572377432463050 has joined #asahi
rvalue- has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
faddat has joined #asahi
faddat has quit []
hell__ has quit [Quit: ZNC - https://znc.in]
hell__ has joined #asahi
badlydrawnface has quit [Quit: badlydrawnface]
c10l6 has quit [Remote host closed the connection]
c10l6 has joined #asahi
Juest has quit [Ping timeout: 480 seconds]
c10l6 has quit [Remote host closed the connection]
c10l6 has joined #asahi
c10l6 has quit []
c10l has joined #asahi
Juest has joined #asahi
Luj has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
c10l has quit [Remote host closed the connection]
c10l has joined #asahi
kaazoo has joined #asahi
kaazoo has quit [Remote host closed the connection]
faddat has joined #asahi
kaazoo has joined #asahi
burp has joined #asahi
burp has quit [Remote host closed the connection]
pb17 has joined #asahi
sawyer has quit [Read error: No route to host]
kaazoo has quit [Quit: Leaving.]
delsol has quit [Remote host closed the connection]
faddat has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
jadesoturi has quit [Ping timeout: 480 seconds]
jadesoturi has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
felixphew has joined #asahi
<felixphew> hmm... after upgrading to a 6.8 kernel (still on f39; haven't gone to 40), dracut is generating an initramfs that's missing a bunch of necessary modules
<felixphew> notably the keyboard driver
<felixphew> I'm currently trying to work out why
mushisaaa has joined #asahi
<felixphew> jannau: thanks; had a brief search but hadn't seen anything posted.
<felixphew> "Other potential issues are": I was seeing random reboots in initramfs (in addition to the nonfunctional keyboard and occasional loss of display output already documented)
<felixphew> so you can add that to your list of symptoms ig
<jannau> reboots shouldn't be random but time based. that's the watchdog
<felixphew> yes, that'd be it
<felixphew> (what's the watchdog timeout - 30s?)
pb17 has joined #asahi
jeisom has joined #asahi
leo60228 has quit [Quit: ZNC 1.8.2 - https://znc.in]
leo60228 has joined #asahi
mushisaaa has quit [Quit: mushisaaa]
<felixphew> dracut-asahi -3 has hit the repo now and while I haven't rebooted yet, the new initrd looks to not be broken the way the old one was
mushisaaa has joined #asahi