ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
eroc1990 has joined #asahi
AndyzzstuMak[m] is now known as agmak508[m]
femto_ has joined #asahi
<neggles> yay
chadmed has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
thevar1able has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
babble has joined #asahi
yuyichao has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
babble has quit []
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
timokrgr has quit [Remote host closed the connection]
<Glanzmann> bluetail / opticron / nicolas17 / Sobek / mps: Thank you for your condolence. I enjoyed my time with him and will cope.
<Glanzmann> opticron: I removed the offending patch from u-boot for the time being. And will improve the kernel update script to check device tree to check for the choosen efi system-partition and warn about too old stub. I also had a too old stub, btw. I'll also do a video of how to update the stub parition.
<Glanzmann> Sobek[m]: When i have headphones plugged in to my air, and boot. I hear 2 or 3 crackling noises during driver initialization right around when x starts, but that about it. Under macos I never noticed.
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
<Sobek[m]> <nicolas17> "then we can't have an answer for..." <- Povik has made some patches and some daring people have enabled their.
nicolas17 has quit [Quit: Konversation terminated!]
millenialhacker has joined #asahi
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
everfree has quit [Remote host closed the connection]
everfree has joined #asahi
Skirmisher has quit [Remote host closed the connection]
Skirmisher has joined #asahi
millenialhacker has joined #asahi
eroux has joined #asahi
Xepo has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
<Xepo> hai
Xepo has left #asahi [Leaving]
eroux has joined #asahi
ciggi has quit [Quit: No Ping reply in 180 seconds.]
ciggi has joined #asahi
<Arian[m]> I'm having some issues with systemd-boot on Asahi with an external keyboard. My keyboard shows up as a hub (because it can be reprogrammed on demand) and it seems that EFI is not happy with it. Any idea if this is fixable?
<j`ey> Arian[m]: I assume it doesn't work in u-boot either?
<Glanzmann> Arian[m]: My keyboard also is not recognized in uefi/grub. I never touch it and just let it boot, if I need to fiddle with u-boot/grub, I use a different keyboard.
<Glanzmann> Arian[m]: Also notice that the usb-a ports don't work in general in u-boot/grub due to missing PCIe support in u-boot.
<Arian[m]> emilytrau: did it work in U-Boot? I don't remember
<Arian[m]> It's connected over USB c
<emilytrau[m]> The keyboard didn't work in u-boot either
<j`ey> u-boots USB stack doesn't handle all fancy keyboards
millenialhacker has quit [Remote host closed the connection]
eroux has quit [Ping timeout: 480 seconds]
Ry_Darcy has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
<mps> yes, I tested with two keyboards, one old simple works fine, second fancy one doesn't. I mean in uboot
eroux has quit [Ping timeout: 480 seconds]
hi23 has joined #asahi
hi23 has quit [Read error: Connection reset by peer]
eroux has joined #asahi
hi23 has joined #asahi
<hi23> Hi, I have a question regarding the Asahi Linux UEFI environment
<hi23> If the UEFI environment can boot from USB drives, what stops me from flashing a Windows ARM iso into an external drive and booting it. After all Windows as generic drivers to work right????
<hi23> I dont have a mac m1 yet and before buying one I want to inform myself on why this isn't (or is) possible.
<hi23> Before saying that "It's locked to Qualcomm Processors", I want to say that I was successfully able to make a Windows on Arm iso and I've booted on my android phone with QEMU and termux virtualizing a Cortex-A57 cpu (with very poor performance of course)
<j`ey> hi23: windows doesn't have drivers for the apple specific partts
<j`ey> and some not-apple-specific parts, like FIQ, windows probably doesn't handle
eroux has quit [Ping timeout: 480 seconds]
<jnn> in other words: generic drivers aren't enough
<j`ey> Im not really sure what generic drivers means.. they're still specific aren't they? :P
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi
<ar> j`ey: apple arm is significantly different from generic cortex-a[57]x-based SoCs in low-level areas (like interrupt handling or, IIRC, timers)
<ar> erm
<ar> hi23: ^
<hi23> Ok ok
jnn is now known as jn
<hi23> Fair enough, thank you for your answers. Even though it doesn't work. This answer means that drivers can be made and it woul work. Maybe a summer project for me who knows
Ry_Darcy_ has joined #asahi
<j`ey> it likely needs core changes too, not just drivers
<sven> yeah, you’d need to do some pretty heroic patching to the (closed source) kernel itself
<sven> and the driver “summer project” for Linux has been a multi-people effort going on for 1+ year now
<Chainfire> Is there any news on GPU support? Been mostly travelling the last few weeks. I "just" need Metal/OpenCL to be good to go fulltime Linux on this box.
<maz> ar: timers are just the same as other implementations. it is interrupts and memory attributes that have been difficult to shove into the code.
<j`ey> Chainfire: Lina has been streaming once a week
<j`ey> making progress on tracing the kernel interfaces
<Chainfire> j`ey: Lina gives me nightmares. But that's the part that's missing? The kernel interface? I wouldn't mind donating some of my own time working on it but having zero knowledge (and proof of it) on the subject matter I don't think that's particularly helpful :0
<j`ey> yes that's the missing part
<j`ey> there's lots of channels and page tables and memory and events and stuff to figure out, so the past few streams are just trying to get the tracers working
hi23 has quit [Read error: Connection reset by peer]
hi23 has joined #asahi
<Chainfire> Ah yeah, that does not sound like an easy or quick job
hi23 has quit [Read error: Connection reset by peer]
hi23 has joined #asahi
eroux has joined #asahi
<chadmed> lina is a wizard though, we definitely have the right girl on the job!
<chadmed> ive taken just as long to figure out almost nothing of consequence even on the "simple" fingerprint sensor
hi23 has quit [Read error: Connection reset by peer]
hi23 has joined #asahi
<Chainfire> That may be, but vtubing, the voice, etc, it just gives me the creeps.
hi23 has quit [Read error: Connection reset by peer]
<chadmed> its not my cup of tea but im in it for the RE wizardry so its fine
millenialhacker has joined #asahi
<jannau> Chainfire: there is probably a lot of work left on the userspace side to support OpenCL in mesa/agx. I doubt Metal exists outside of macos
bps has joined #asahi
<cmalvi[m]> Hi! any news about jetbrains' software on asahi?
MajorBiscuit has joined #asahi
<Chainsaw> That's closed software, isn't it? You'd be best off asking them directly.
<ChaosPrincess> isnt jetbrains software mostly written in some jvm language
<cmalvi[m]> on their side there are no news about arm specific version for linux, but on web i saw someone can get to run on some arm hardware
<cmalvi[m]> so i thought it worth it ask here if someone have tried successfully to run their IDEs
Ry_Darcy has quit [Remote host closed the connection]
Ry_Darcy_ has quit [Remote host closed the connection]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
nihilistpc[m] has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
kaprests has quit [Ping timeout: 480 seconds]
Tano70 has joined #asahi
bps has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
eroux has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
eroux has joined #asahi
c10l684 has quit []
c10l684 has joined #asahi
c10l684 has quit []
eroux has quit [Ping timeout: 480 seconds]
c10l684 has joined #asahi
c10l684 is now known as c10l
lgaryslmtdobt^ has joined #asahi
eroux has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
<kprasadvnsi[m]> Does MacOS still need to be present along with Asahi linux?
<kprasadvnsi[m]> Can I wipe the entire SSD and just have linux on it?
eroux has joined #asahi
<tpw_rules> yes. no.
<ChaosPrincess> you need the first and last partition
<ChaosPrincess> the actual macos install can be deleted, but you really shouldnt
HaDongGiang[m] has joined #asahi
<j`ey> kprasadvnsi[m]: it's recommended to keep macos for now
eroux has quit [Ping timeout: 480 seconds]
<kprasadvnsi[m]> nicolas17: This explains clearly.
<kprasadvnsi[m]> Anybody working on a firmware updater for linux?
<sven> that’s still a long way to go
<sven> you’d need a lot of work (probably at least SEP and APFS support) for little gain
<j`ey> sven: 70GB gain :p
<kprasadvnsi[m]> For a 256GB model this little gain is a lot.
<j`ey> i'm in the same boat, with the 256g model
<sven> I assume it will happen eventually, but it’s still far off
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
<marcan> You definitely need APFS. Not sure if you need SEP. I *think* it's mostly copying the update ramdisk/stuff to the right place and setting some magic NVRAM variables to run the update ramdisk.
<marcan> but yeah, investigating that is its own ordeal (and kind of a pain since we don't have much visibility into the signed ramdisk)
<marcan> I've done some poking around the logs to get an idea but not much more
<nicolas17> can't run the signed ramdisk in m1n1?
timokrgr has joined #asahi
<nicolas17> I wonder if checkm8able devices would help with poking at the ramdisk? obviously M1 could have new differences but...
<marcan> hm, I guess we could *try* running the update ramdisk in the HV... some things would work but probably not all?
<sven> even stable apfs write support is already going to be quite painful
<marcan> yup
<j`ey> I still don't really understand the external USB boot thing, but with that cant we just reserve like 5? 10GB? on the SSD and move the bulk of the macOS install externally
<marcan> maybe, but then we need to teach people how to do that and validate that it really does work and doesn't explode any more than macOS updates already do
lgaryslmtdobt^ has quit [Remote host closed the connection]
HaDongGiang[m] is now known as virmos[m]
user982492 has joined #asahi
MajorBiscuit has joined #asahi
gpanders has joined #asahi
<bluetail[m]> <marcan> "maybe, but then we need to teach..." <- edited to fit my wishes **maybe, but we need to teach people**
<bluetail[m]> watching your streams. But being teached would be another level of cool :D
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
user982492 has quit []
eroux has joined #asahi
eroux has quit [Ping timeout: 480 seconds]
eroux has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bps has joined #asahi
eroux has joined #asahi
user982492 has joined #asahi
femto_ has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<opticron> woof, got my stub updated, but that was certainly an experience
<opticron> I'll know better next time
<Cy8aer[m]> Is there some documentation for stub update?
<Cy8aer[m]> delete it and create it again?
eroux has quit [Read error: Connection reset by peer]
eroux_ has joined #asahi
<opticron> Cy8aer[m], https://tg.st/u/upgrade_stub.txt
<Cy8aer[m]> ah, thanks
<opticron> np
<opticron> just be sure to copy the efi.tar.gz off to a USB drive
<opticron> the hard part I encountered was that I didn't do that and macos can't read ext4 natively
<Cy8aer[m]> yes the good old backup...
<Cy8aer[m]> But sure, the asahi installer wipes the efi partition.
<opticron> oh it can be done, it's just painful either way you try to manage it and I think I went hard mode
<opticron> installed the FUSE extension for macos, then ext4fuse
<opticron> neither of which was a fun experience
<opticron> but it got done
user982492 has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
<Lucy[m]> Is there any way to get installer_data.json to use a single .img file containing multiple partitions, rather than separate `esp` and `root` files?
<kettenis> no
Tano70 has quit [Quit: Leaving]
<Lucy[m]> Alright.
axboe has quit [Remote host closed the connection]
axboe has joined #asahi
marvin24_ has quit [Quit: marvin24_]
marvin24 has joined #asahi
lgaryslmtdobt^ has joined #asahi
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.4]
millenialhacker has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
user982492 has quit [Read error: Connection reset by peer]
user982492 has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
femto_ has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
femto_ has quit [Ping timeout: 480 seconds]
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
THX1984 has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi
yuyichao has quit [Remote host closed the connection]
yuyichao has joined #asahi