ARM Enablement

https://pagure.io/fedora-asahi-remix-ostree/tree/f39 - I have put the stuff I am doing with fedora asahi remix on this repo
40 Replies
j0rge
j0rge16mo ago
cc @jeefy @w8emv
akdev
akdevOP16mo ago
My next step was going to be converting my asahi Linux system to ostree somehow Also we will need aarch64 images and asahi specific in the end
jeefy
jeefy16mo ago
@akdev I spent a weekend trying to do that following some of the stuff done in https://github.com/ublue-os/upgrade-tools and I never got it. Curious if this could have the missing piece.
GitHub
GitHub - ublue-os/upgrade-tools: Migration Tools
Migration Tools. Contribute to ublue-os/upgrade-tools development by creating an account on GitHub.
akdev
akdevOP16mo ago
This looks exactly like what I need for testing No fucking way it worked lmao it worked on a VM at least Okay so there’s only 1 point of variance in VM vs real HW which is that real HW boots using m1n1 > uboot chainload 🤔 I was reading today that ostree should support uboot natively so this should be easy hopefully
akdev
akdevOP16mo ago
No description
jeefy
jeefy16mo ago
I could, through my sheer will of head-bashing into a brick wall, get it to work. I am, also, not an actual linux nerd like @j0rge But no joke if you manage to get something remotely working I'll test it on my m1 for validation within 24h
j0rge
j0rge16mo ago
and your apps will be flatpaks, so like all your stuff will be up to date, you just won't be getting system updates but you know how to mitigate that already. I mean worse case ask alex to make you another one, but I bet ya'll will be done way faster
Caleb
Caleb16mo ago
@jeefy, hey friend! I wrote this; happy to explain anything on it Ayyyy! Hell yeah lmao
akdev
akdevOP16mo ago
I killed my real asahi installation last night 😬
xkrith
xkrith16mo ago
I wiped my Asahi ALARM install as well, looking forward to trying Asahi Fedora next month. Installed this in a VM in the meantime https://i.imgur.com/1sKsttT.png
Imgur
akdev
akdevOP16mo ago
Tried again and killed my install again Following this process sadly doesn’t work on real HW 😦
jeefy
jeefy16mo ago
Like I said I tried using it and lost about twenty hours of my life because I'm stubborn But it's the closest thing to converting a regular install to ostree
akdev
akdevOP16mo ago
I think the plan of attack will be to get two asahi installs going so I can compare them It may ultimately be easier to figure out the way to make a payload for the installer
xkrith
xkrith16mo ago
Fedora Discussion
Conformant GPU drivers and Remix updates
As of today, we’re happy to announce that Asahi Linux is fully conformant to OpenGL ES 3.1. This update is already available in the Fedora Asahi Remix, and existing systems can get by running dnf update (being mindful of the kernel-16k switch if you’re on an old install). We’d previously announced that we expected to officially release Fedora A...
akdev
akdevOP16mo ago
I’ll switch out my container image to kernel-16k
Lina
Lina16mo ago
using fedora asahi linux right now. it's quite challenging using it in a container-first way that silverblue would demand
Lina
Lina16mo ago
many apps dont work ootb. even a lot of FOSS ones, like telegram not resolving an issue with jemalloc upstream because ???
No description
Lina
Lina16mo ago
back on arch you could recompile an app by pulling a pkgbuild from AUR and changing some settings so it would work on asahi. i guess you could do it in an arch distrobox but id rather have a flatpak
j0rge
j0rge16mo ago
have you tried building the flatpak?
Lina
Lina16mo ago
as such for asahi silverblue enablement i think a flatpak remote with fixed apps would be nice to have
j0rge
j0rge16mo ago
pretty sure the intent is for flathub's flatpaks to work ootb on arm machines
Lina
Lina16mo ago
ideally yes but some maintainers dont want to accommodate for asahi: https://github.com/telegramdesktop/tdesktop/issues/24564#issuecomment-1146508040
GitHub
Cannot start on Asahi Linux · Issue #24564 · telegramdesktop/tdeskt...
Steps to reproduce Try launching telegram-desktop. Expected behaviour TG should function on 16K page systems. Actual behaviour Crash immediately with the following error: <jemalloc>: Unsuppor...
j0rge
j0rge16mo ago
yeah, the ecosystem will need to adapt and fix the issues, but that's always been the case with initial arm support for stuff
xkrith
xkrith16mo ago
does that have something to do with the 16k page-size kernel they are now using instead of 4k?
akdev
akdevOP16mo ago
It’s not the architecture that’s the problem, it’s the page size
xkrith
xkrith16mo ago
try installing kernel-4k to see if there's any difference
akdev
akdevOP16mo ago
That’s not recommended as that would mean things like USB ports don’t work Asahi Linux only supports 16K page size really
akdev
akdevOP16mo ago
No description
akdev
akdevOP16mo ago
GitHub
Compiled-in page size makes jemalloc binaries unportable · Issue #4...
I see that configure uses sysconf(_SC_PAGESIZE) at compile time to determine the page size. However, this can vary depending on kernel configuration, so a jemalloc compiled on one machine may have ...
akdev
akdevOP16mo ago
It will never be fixed unless someone forks jemalloc is what I get
w8emv
w8emv16mo ago
🍴
akdev
akdevOP15mo ago
That fedora installation on my MacBook actually kinda boots It gets to gdm and it freezes So I think maybe the process actually worked but my container image is messed up? This is possible
w8emv
w8emv12mo ago
Back on my Arm laptop shenanigans for a bit, looking forward to getting Asahi on my MacBook Air and then somehow the next step involves ublue.
Caleb
Caleb12mo ago
Is it likely for a bootable ISO to be published for an installer or that it will remain just curl | sh?
xkrith
xkrith12mo ago
Apple Silicon doesn't support booting from USB AFAIK
Caleb
Caleb12mo ago
According to https://support.apple.com/en-us/101578 By default no “… If you're using a Mac with the Apple T2 Security Chip and you can't start up from the bootable installer, make sure that Startup Security Utility is set to allow booting from external or removable media
Apple Support
Create a bootable installer - Apple Support
Use an external drive or secondary volume as a startup disk from which to install macOS.
xkrith
xkrith12mo ago
Reddit
From the AsahiLinux community on Reddit
Explore this post and more from the AsahiLinux community
Caleb
Caleb12mo ago
Oh yeah, of course T2 was for Intel chips and prior to M series
Want results from more Discord servers?
Add your server