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
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
zumi_ is now known as zumi
malte has quit [Remote host closed the connection]
malte has joined #asahi
possiblemeatball1 has joined #asahi
possiblemeatball has quit [Read error: Connection reset by peer]
ptudor_ has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
kidplayer666 has quit [Quit: Connection closed for inactivity]
jacksonchen666 has quit [Quit: WeeChat 4.1.2]
crabbedhaloablut has quit []
i509vcb has joined #asahi
TheDcoder has joined #asahi
<TheDcoder>
Hi, how do I migrate from Asahi ALARM to Fedora?
<TheDcoder>
I'd like to preserve my user directory if possible
hard has joined #asahi
Szadek636700707897 has quit []
Szadek636700707897 has joined #asahi
richyliu27 has joined #asahi
hard has quit [Ping timeout: 480 seconds]
richyliu2 has quit [Ping timeout: 480 seconds]
richyliu27 is now known as richyliu2
jacksonchen666 has joined #asahi
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
kidplayer666 has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
odlg has quit [Remote host closed the connection]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
billak has joined #asahi
kidplayer666 has quit [Quit: Connection closed for inactivity]
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
possiblemeatball1 has quit [Quit: Quit]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
billak has quit [Remote host closed the connection]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
RoundDuckKira has joined #asahi
<RoundDuckKira>
I am failing to compile the upstream asahi kernel
luna_uk has joined #asahi
luna_uk has left #asahi [#asahi]
<RoundDuckKira>
I get an error 2 and there's no way to look at and figure out what is causing the compile failure
<RoundDuckKira>
the upstream kernel has the same issue
<RoundDuckKira>
but I only see this issue when compiling within Fedora Asahi
<PaulFertser>
RoundDuckKira: I suggest you pastebin full output somewhere
anders_2 has joined #asahi
anders2 has quit [Ping timeout: 480 seconds]
<RoundDuckKira>
@PaulFerster, how so when usually I get is CC BLAH BLAH
<RoundDuckKira>
and then it just gives the simplest of oitputs
<RoundDuckKira>
above this is more of the usual linux make output but like there's no errors that pop up that tell me something is wrong
<RoundDuckKira>
and it always refer to the same makefile lines of 1911 and 234
odlg has joined #asahi
odlg has quit [Ping timeout: 480 seconds]
<PaulFertser>
RoundDuckKira: re-run with -j1 so that it's single-threaded compilation, probably the error is just above your current output.
jacksonchen666 is now known as Guest12398
jacksonchen666 has joined #asahi
<RoundDuckKira>
okay I will
<RoundDuckKira>
openssl command not found wat
<PaulFertser>
RoundDuckKira: with V=1 you can see full command lines if you need to reproduce a step manually.
<RoundDuckKira>
ooooh
<RoundDuckKira>
thanks a lot Paul!
<RoundDuckKira>
:D
Guest12398 has quit [Ping timeout: 480 seconds]
odlg has joined #asahi
<PaulFertser>
RoundDuckKira: my pleasure :)
<j`ey>
TheDcoder: theres no migration path, backup + wipe + reinstall is the way
<PaulFertser>
j`ey: why keeping /home is bad?
RoundDuckKira has quit [Quit: Konversation terminated!]
<j`ey>
it's not bad, but there's no automated way or anything
garlic_yogurt has joined #asahi
<PaulFertser>
Is there a thing like debootstrap for Fedora? One could create a new partition, "debootstrap it there", keep /home partition as it is, migrate system-level configs manually if needed, then delete the old ALARM partition one would think?
<j`ey>
does that sound easier than the other option?
<j`ey>
with dnf you can just install stuff into a chroot
<PaulFertser>
To me yes, and it feels as I would have more control that way and option to temporarily boot back into ALARM to check something or to copy configs that I've somehow forgotten to copy etc.
<PaulFertser>
So assuming ALARM with on LVM with a separate volume for /home it would feel natural to migrate that way, by creating rootfs-fedora volume on same VG, installing there, using same /home without actually copying it around.
<j`ey>
you'd have to also repartition after to reclaim the space etc
<PaulFertser>
LVM gives an option to do it easily, sure.
<j`ey>
pretty sure alarm isnt using LVM
<PaulFertser>
Why not use LVM unless you have btrfs?
<j`ey>
well that's just a different point entirely!
<PaulFertser>
I just thought it's natural for modern laptop users to use LVM and have separate /home volume.
<PaulFertser>
So kinda assumed that.
c10l has quit [Read error: Connection reset by peer]
c10l has joined #asahi
frank_ has joined #asahi
<frank_>
hey. anybody here?
<j`ey>
yes
<frank_>
is there any guide how to install steam on the new fedora asahi? do I need to manually install proton or gpu drivers or whatever?
<PaulFertser>
j`ey: I agree, seems harder but OTOH you learn a potentially useful trick along the way
<sven>
unless you know what you’re doing and have a very good reason to do something like takeover.sh I’d just backup/restore
<j`ey>
you'd want to backup before trying that out anyway!
<sven>
yeah :D
<sven>
and then who knows what breaks with the final system if something goes wrong and then there’s be additional support required
<sven>
that’s another reason to just recommend backup+restore
<j`ey>
frank_: "n order to run Steam and Proton, we need to support FEX-Emu. That needs a 4K page size kernel build, and we need to add support for that to the GPU driver! But I get the feeling it won't be that hard~"
<PaulFertser>
Having one more ace up your sysadmin jacket sleeves is nice.
<j`ey>
so yeah,I think she ran an unsupported 4k kernel
<sven>
not everyone wants to be a sysadmin. again, takeover is fine if you know what you’re doing but nothing we should recommend
<frank_>
ok so just wait for more devlogs to come up? will be informed if this is possible?
<PaulFertser>
frank_: no 4k kernels are going to be available no. Use microvm.
axt has joined #asahi
<PaulFertser>
sven: I think you can have several options to recommend and it should be up to end-user to choose whether they want to be a sysadmin or not. How else should people learn and get inspired if not by reading cool stuff from the awesome devs?
<sven>
if we recommend something we have to support it
<PaulFertser>
You can mention lack of support explicitly for the options you do not want to support.
<PaulFertser>
E.g. idevicerestore isn't mentioned anywhere on sonoma bug wiki page. Does it mean one can't "DFU" with it at all? Or how is one supposed to find out that such a tool exists and can actually be used for at least some macs?
garlic_yogurt has quit [Remote host closed the connection]
i509vcb has quit [Quit: Connection closed for inactivity]
AnuthaDev has joined #asahi
<chadmed>
frank_: the _only_ supported method for running steam will be with slp's krunvm stuff
<chadmed>
the 4k patches will never ever ever ever ever make it upstream, they break multiple SIP blocks on the SoC, they are old, they completely tank system performance, etc
<sven>
I think only you breaks. That doesn’t change anything though, I don’t really plan to pick those old patches up again
<sven>
s/you/gpu/ 🙃
atiltedtree has joined #asahi
<chadmed>
the pcie dart doesnt do bypass either right?
<sven>
doesn’t matter
odlg has quit [Ping timeout: 480 seconds]
<sven>
the entire point of those patches was to make the iommu subsystem work with iommu pages larger than cpu pages
crabbedhaloablut has joined #asahi
<sven>
I assume the same thing could be done for the gpu’s mmu
<chadmed>
doesnt matter x2 because the vm stuff seems to work fine anyway
<sven>
right, which is why I don’t want to pick those patches back up
<chadmed>
making linux support multiple page sizes in userspace like xnu would be cool but i dont think anyone sane would volunteer to do that :p
<sven>
at the point those iommu patches look very sane in comparison :D
<frank_>
so is there any plans bringing steam to asahi without microVM?
<chadmed>
frank_: no
<sven>
nope
<frank_>
ok :-D
<chadmed>
unless gaben decides to natively support aarch65
<chadmed>
s/65/64
<j`ey>
there should hopefully not be too much overhead..
<sven>
65 :o
frank_ has quit [Quit: Leaving]
<chadmed>
with drm native context there is very little performance impact... yknow, once you account for fex :p
<chadmed>
fex is pretty damn fast though and alyssa's been doing loads of work to make it even faster
odlg has joined #asahi
AnuthaDev has quit []
AnuthaDev has joined #asahi
odlg has quit [Ping timeout: 480 seconds]
Takeshi has joined #asahi
Brainium has joined #asahi
AnuthaDev has quit []
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
Takeshi has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Szadek636700707897 has quit []
Szadek636700707897 has joined #asahi
odlg has joined #asahi
odlg has quit [Remote host closed the connection]
Brainium has joined #asahi
ChaiTRex has quit [Remote host closed the connection]
jeisom has joined #asahi
ChaiTRex has joined #asahi
possiblemeatball has joined #asahi
eiln has joined #asahi
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
bertrand has joined #asahi
<eiln>
Happy new years from where I am!
<eiln>
새해복 많이 받으세요~
<eiln>
on my list this year: avd, aop (mics at least, dunno about whatever else it does), apr, upstream isp (waiting on ci)
<PaulFertser>
That being Korea?
<eiln>
let's see how well that goes..
<eiln>
yes
<PaulFertser>
Happy new year, you've got it faster than the most of us :)
<sven>
few more hours here :-)
<sven>
I hope to get atcphy and tbt upstream next year and then probably take look at sep
<PaulFertser>
Is SEP supposed to be usable as a TPM?
<j`ey>
eiln: busy year!
<j`ey>
what's apr?
<eiln>
pro res!
<sven>
more or less
<sven>
i want it for full disc encryption, ssh keys and Touch ID
<eiln>
exciting stuff :)
<j`ey>
sven: for the ssh keys.. you mean storing the private key, so theyre not even on the nvme?
<PaulFertser>
Like an OpenPGP smartcard but integrated?
<sven>
yup
<sven>
generate the key inside sep and make it never leave
<sven>
that’s possible on macOS already fwiw
<PaulFertser>
Are you allowed to run your own code on SEP or is it just what apple provided?
<sven>
apple provided
<sven>
we couldn’t even read that code before someone leaked keys from what are presumably development-fused devices
<j`ey>
sven: nice
<sven>
the full disc encryption has a side channel to nvme fwiw, so those keys never have to be visible to software either
<PaulFertser>
This can also be done with OP-TEE on regular ARM platforms, I see OpenSC has support for that.
<PaulFertser>
(the smartcard part, not direct nvme integration of course)
<j`ey>
sven: how do you foresee that integrating with linux?
<sven>
I don’t even know how it works in details yet, so no idea so far!
<sven>
(the nvme part, the ssh keys thing is just a daemon that speaks the ssh agent protocol)
<chadmed>
eiln: are we the only ones here in 2024?
<PaulFertser>
Hm, I'd expect opensc integration, not direct ssh agent support as smartcards are useful for other assymetric encryption too
dsrt^ has quit [Remote host closed the connection]
<ydalton>
i think the 2nd one is what i'm looking for. thanks!
<j`ey>
ydalton: what are you looking for?
<ydalton>
i have an idea to making something like the asahi installer but for windows laptops
<j`ey>
dont normal linux installers work fine there?
<j`ey>
the fedora images dont really play a part in the installation btw, theyre just images that the asahi-installer copies
<ydalton>
copies to the seperate partition right?
<j`ey>
yeah
<ydalton>
what my idea is is just you download an exe, and it sets up a distro of linux, and then when you reboot, you reboot into that fresh installation of linux
<j`ey>
for a normal PC you'd just partition, then reboot into a livecd or something with an installer
<ydalton>
yes, but i would like it done like how the asahi installer does it, where it sets everything for you, and all you have to do is just reboot
<ydalton>
something akin to wubi (if i understand that correctly)
<nicolas17>
afaik it doesn't repartition, it creates a disk image file in the Windows filesystem
<ydalton>
yep
i509vcb has joined #asahi
<ydalton>
but i want to do better than that
ydalton` has joined #asahi
ydalton has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
ydalton` has quit [Ping timeout: 480 seconds]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
SalimTer- has joined #asahi
SalimTerryLi has quit [Ping timeout: 480 seconds]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
gspbirel56 has joined #asahi
gabuscus_ has joined #asahi
gabuscus has quit [Read error: Connection reset by peer]
stelleg has joined #asahi
<stelleg>
How long is the expected hang on "Checking the object map" for an encrypted 1TB to 500MB APFS resize?
<stelleg>
The installer says to expect freezes, but I'm at almost 20 minutes
Xe has joined #asahi
<nicolas17>
hope you mean 500GB? :D
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
<stelleg>
Hah, yeah I do
gspbirel56 has joined #asahi
john-cabaj has joined #asahi
PaulFertser has quit [Ping timeout: 480 seconds]
PaulFertser has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
greguu has quit [Ping timeout: 480 seconds]
<stelleg>
If anyone else comes across this: the disk utility explicitly specifies it could take hours of the machine being frozen, so probably best to wait and let it work. I did not do this and was able to reboot succesfully, but I may just have been lucky.
<stelleg>
And to the asahi installer devs, it might be good to add that disclaimer to the installer as well to prevent people making the mistake I did.
<nicolas17>
maybe doing a "first aid" before doing a resize would help because then any possible filesystem errors are repaired
stelleg has quit [Remote host closed the connection]