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
ourdumbfuture has joined #asahi
hightower4 has joined #asahi
snajpa has quit [Quit: ZNC 1.8.2 - https://znc.in]
hightower3 has quit [Ping timeout: 480 seconds]
ten1572377432 has quit [Remote host closed the connection]
ten1572377432 has joined #asahi
Orsira has joined #asahi
Orsira has quit []
snajpa has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
artemist has joined #asahi
possiblemeatball has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
c10l has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has quit [Quit: Leaving]
ourdumbfuture has joined #asahi
jeisom has joined #asahi
gabuscus_ has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gabuscus has joined #asahi
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
<jannau> stintel: which kernel (version) does it load? same as the dtbs inside the m1n1/boot.bin? there are from time unfortunately incompatible changes. if you're running into the most recent display device-tree changes adding nomodeset to the kernel cmdline would allow you to boot
<jannau> fix would be installing the same kernel version on the system
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #asahi
possiblemeatball has quit [Quit: Quit]
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi
ifthenelse has quit [Ping timeout: 480 seconds]
novafacing9 has quit [Read error: Connection reset by peer]
novafacing99 has joined #asahi
crabbedhaloablut has joined #asahi
Zopolis4 has joined #asahi
bisko has joined #asahi
ifthenelse has joined #asahi
ifthenelse has quit [Ping timeout: 480 seconds]
ATiltedTree has quit [Remote host closed the connection]
yamchah2_ has quit [Ping timeout: 480 seconds]
ATiltedTree has joined #asahi
yamchah2 has joined #asahi
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi
leitao has joined #asahi
yamchah2 has quit [Ping timeout: 480 seconds]
yamchah2 has joined #asahi
gladiac has joined #asahi
povik has joined #asahi
Zopolis4 has quit [Quit: Connection closed for inactivity]
yamchah2 has quit [Ping timeout: 480 seconds]
yamchah2 has joined #asahi
milek7_ has quit [Remote host closed the connection]
leitao has quit [Read error: Connection reset by peer]
yamchah2 has quit [Ping timeout: 480 seconds]
yamchah2 has joined #asahi
Gaelan has quit [Ping timeout: 480 seconds]
argonaut has quit [Ping timeout: 480 seconds]
j`ey has quit [Remote host closed the connection]
ihaveamac has quit [Ping timeout: 480 seconds]
steven has quit [Ping timeout: 480 seconds]
Gaelan has joined #asahi
hl` has quit [Ping timeout: 480 seconds]
hl` has joined #asahi
steven has joined #asahi
ihaveamac has joined #asahi
argonaut has joined #asahi
milek7 has joined #asahi
yamchah2 has quit [Ping timeout: 480 seconds]
j`ey has joined #asahi
jacksonchen666 is now known as Guest8390
jacksonchen666 has joined #asahi
yamchah2 has joined #asahi
Guest8390 has quit [Ping timeout: 480 seconds]
vladanan has joined #asahi
ChaosPrincess has quit [Quit: WeeChat 4.0.2]
ChaosPrincess has joined #asahi
vladanan has quit [Ping timeout: 480 seconds]
yamchah2 has quit [Ping timeout: 480 seconds]
<stintel> jannau: asahi-wip 6ea18366eefc6eab80f3a8f8da9d828d490393b7 + your DTS + a Kconfig dependency backport for cs35l45
<stintel> trying nomodeset
cylm has joined #asahi
<stintel> actually that commit seems to be a leftover fixup! arch: arm64: apple: t600x: Add display controller related device tree nodes after pull --rebase
<stintel> but it doesn't seem relevant for t8112
<stintel> so it's actually asahi-wip 6921b3927ae74a62b6b54476735a30ca66f098f9
<stintel> jannau: yep, nomodeset worked. thank you so much
kettenis has quit [Remote host closed the connection]
kettenis has joined #asahi
cylm_ has quit [Ping timeout: 480 seconds]
<stintel> not sure which "same kernel version" you're talking about though. I have only one kernel version. it boots from run_guest_kernel.sh, it doesn't from u-boot
<stintel> (except with nomodeset now it does)
yamchah2 has joined #asahi
vladanan has joined #asahi
<jannau> stintel: ah, I thought there was system kernel installed from an asahilinux/fedora asahi install
hl` has quit [Ping timeout: 480 seconds]
hl` has joined #asahi
<vladanan> hi folks i've been following you for several days and would like to try to help with documentation as is said on your site (for those who are new to this kind of thing) but i'm not sure who and how to contact
j`ey has quit [Ping timeout: 480 seconds]
<stintel> jannau: I was unable to install asahi, installer complained about firmware version. only UEFI env install worked
j`ey has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
hightower4 has quit [Ping timeout: 480 seconds]
<jannau> the fedora dev installer should work. I thought whose were already integrated in the alx.sh dev installer
<jannau> stintel: do you have a kernel log of an "failed" boot attempt?
<stintel> jannau: I have 1 photo of a stack trace
<stintel> once I removed some modules from the initrd (I initially just packed all modules in the initrd), it would no longer lock up when starting udev. at that point it was usually something with dart and dcp on the last lines before locking up
<stintel> this photo is the only time I had a stack trace though
Gaelan_ has joined #asahi
<jannau> the cannot create duplicate filename /sys/*dart*iommu*dcp is strange
Gaelan has quit [Ping timeout: 480 seconds]
<marcan> stintel: you need to update macOS to 13.5 or newer
<stintel> marcan: I am running macOS 13.65
<stintel> 13.5*
<marcan> what did the installer say?
lena6 has joined #asahi
<stintel> firmware too old
<marcan> 13.5 final, no some beta?
<stintel> final
<marcan> I'll need the installer log (at least the stuff it prints to the console) to see what happened
<stintel> it worked for uefi env only, not for asahi minimal
<marcan> oh the alx.sh installer?
<marcan> on what machine?
<stintel> m2 air 15"
<marcan> yeah that's expected
<stintel> alright, so no need to reboot into macOS to get the installer log :)
Agua has joined #asahi
<marcan> the builds for alx.sh don't support 13.5 yet and that machine requires 13.4+, therefore the intersection of supported firmware versions is empty
<marcan> fedora should work :p
<_jannau__> the alx isntaller lists only asahi images with 12.3/4
<stintel> I won't touch fedora with a 10 ft pole
Agua has quit []
<marcan> it's the new shiny, I would highly recommend it over ALARM :p
<stintel> yeah, my experiences with fedora have been abysmal. 20 years ago, 15 years ago, 10 years ago, 1 year ago
<stintel> I will not run it unless I absolutely have to (e.g. corp managed like the last one)
<_jannau__> those duplicate dart sysfs where iirc also visible in rob's and my starnge dart errors seen many months ago
<_jannau__> stintel: has your config apple_dart as built-in or as a module?
<stintel> I think this particular backtrace appeared when dart was not included in initrd (not 100% sure though, it was late :P)
<stintel> I could try and repro, if that would be useful?
lena6 has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi
<_jannau__> not sure if that is helpful
roxfan has quit [Ping timeout: 480 seconds]
<stintel> ok
<stintel> awesome. I have a working Linux install on my m2 air 15"
hl`` has joined #asahi
<stintel> thanks for all the help, folks <3
hl` has quit [Ping timeout: 480 seconds]
j`ey has quit [Ping timeout: 480 seconds]
<_jannau__> half working. the nomodeset disables display and gpu driver. the latter not fully but for dispaly purposes
<stintel> at least it's booting from nvme without having to manually enter u-boot commands ;)
j`ey has joined #asahi
j`ey has quit []
j`ey has joined #asahi
lena6 has joined #asahi
roxfan has joined #asahi
lena6 has quit [Ping timeout: 480 seconds]
vladanan has quit [Quit: Konversation terminated!]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ChaosPrincess has quit [Quit: ChaosPrincess]
ChaosPrincess has joined #asahi
ChaosPrincess has quit []
ChaosPrincess has joined #asahi
ourdumbfuture has joined #asahi
jeisom has joined #asahi
hightower2 has joined #asahi
mort_4 has joined #asahi
dottedmag has quit [Ping timeout: 480 seconds]
Esmil has quit [Remote host closed the connection]
mort_ has quit [Ping timeout: 480 seconds]
Esmil has joined #asahi
dottedmag has joined #asahi
lena6 has joined #asahi
cylm has joined #asahi
lena6 has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
LinuxM1 has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
delsol has joined #asahi
melonai3 has joined #asahi
melonai has quit [Ping timeout: 480 seconds]
ATiltedTree_ has joined #asahi
ourdumbfuture has joined #asahi
ATiltedTree has quit [Ping timeout: 480 seconds]
ATiltedTree_ is now known as ATiltedTree
ihaveamac has quit [Read error: Connection reset by peer]
ihaveamac has joined #asahi
lena6 has joined #asahi
lena6 has quit [Read error: Connection reset by peer]
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #asahi
lena6 has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lena6 has quit [Read error: Connection reset by peer]
lena6 has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rayanamukami3 has quit [Quit: Ping timeout (120 seconds)]
rayanamukami3 has joined #asahi
roxfan2 has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi
roxfan2 has quit [Read error: Connection reset by peer]
LinuxM1 has quit [Quit: Leaving]
<handlerug> I want to upgrade from the ALARM remix to the Fedora Asahi one. is there something similar to how you would do that on a x86 PC (plug in and boot from flashdrive, reformat root and boot partition, leave home as is, install to the formatted root and boot)? basically I don't want to create another APFS container + leave more (unused in the end) space for the installation...
<handlerug> I was thinking this is generally very hard but I saw a post on Mastodon that said it can be done in the same way so now I'm curious
chadmed has quit [Ping timeout: 480 seconds]
Hibyehello has joined #asahi
chadmed has joined #asahi
Hibyehello has quit [Read error: Connection reset by peer]
Hibyehello has joined #asahi
jeisom has joined #asahi
Hibyehello has quit [Read error: Connection reset by peer]
MichaelLong has quit [Remote host closed the connection]
MichaelLong has joined #asahi
ourdumbfuture has joined #asahi
cylm_ has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi
ourdumbfuture has joined #asahi
bisko has quit []
bisko has joined #asahi
bisko has quit []
roxfan has quit [Read error: Connection reset by peer]
roxfan has joined #asahi
bisko has joined #asahi
possiblemeatball has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
bisko has quit []
bisko has joined #asahi
roxfan has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
delsol has quit [Ping timeout: 480 seconds]
roxfan has quit [Read error: Connection reset by peer]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shaozechen has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ptudor_ has quit [Quit: computer sleeping...]
Retr0id has quit [Read error: Connection reset by peer]
Retr0id has joined #asahi
ptudor has joined #asahi
ourdumbfuture has joined #asahi
Guest8087 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Axenntio has joined #asahi
Guest8429 has joined #asahi
rhysmdnz has joined #asahi
leitao has joined #asahi
possiblemeatball has quit [Quit: Quit]
Axenntio has quit [Quit: Axenntio]
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #asahi
shaozechen has joined #asahi
shaozechen1 has joined #asahi
shaozechen has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
amarioguy has quit [Remote host closed the connection]
amarioguy has joined #asahi
delsol has joined #asahi
roxfan has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leitao has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
ourdumbfuture has joined #asahi
dmitry has joined #asahi
dmitry has quit [Remote host closed the connection]
roxfan has quit [Read error: Connection reset by peer]
WindowPa- has joined #asahi
WindowPain has quit [Ping timeout: 480 seconds]
jeisom_ has joined #asahi
shaozechen2 has joined #asahi
dmitry has joined #asahi
<dmitry> How does boot picker remember what OS to boot when you don't select that volume as default? E.g. Asahi is selected as default, but I boot with opt to select macOS
<j`ey> nvram
<dmitry> Is something saved to SSD or NVRAM during that? If so, can some thousand of reboots selecting new os wear out a flash chip?
<dmitry> Also, how does mini's cr2032 battery work? Is it used for saving clock only or also PRAM/NVRAM like on older macs?
<dmitry> So NVRAM gets written on each reboot once you select a new OS, not only when you change the default?
maximbaz has quit [Quit: bye]
shaozechen1 has quit [Ping timeout: 480 seconds]
maximbaz has joined #asahi
<dmitry> Then how durable is that NOR flash used there? Is it an SLC flash? Maybe a partnumber is known
dmitry has quit [Remote host closed the connection]
<ChaosPrincess> Dont worry about reboots wearing out your nvram, if something kills it, it will be macos boot logs that it writes there on every boot.
dmitry has joined #asahi
<dmitry> Does it? I thought it only wrote panic reports and backtraces there
<dmitry> Does NVRAM have some FS with wear leveling etc?
<ChaosPrincess> "FailbootBreadcrumbs" or whatever this thing is called is written every boot and tracks the boot process
<ChaosPrincess> no fs, just key value
<dmitry> Also heard about sth like boot failure detector you must write after good boot. Does it also live in nvram?
<j`ey> there's a panic counter thing
<j`ey> I dont think you write to that on normal boots
<dmitry> Despite fail in name that logs each boot?
<dmitry> Does this do wear leveling? What type of flash it is?
<ChaosPrincess> well, you dont know if the boot will fail until it does and if it fails, you'd better have collected the logs
U9G has joined #asahi
<ChaosPrincess> there is a tiny amount of incidental wear leveling in software in that it uses two copies and switches between them, but that is more failed write protection
<ChaosPrincess> if there is wear leveling, its in hw
<dmitry> Well, true. So Asahi does reduce the write rate because it doesn't log boots there?
<ChaosPrincess> the chip is some spi nor flash chip, probably a jellybean part since it just worked in linux
<U9G> Hey, if the Asahi installer for m2 is still wip, how can I install it on m2 macbook?
<dmitry> Are those SLC? Probably teardown revealed that ID
<PaulFertser> dmitry: SLC is about NAND memory, not NOR. Typical SPI NOR flash has 100k erase cycles.
dmitry has quit [Remote host closed the connection]
<ChaosPrincess> as i guessed, just your average winbond bios flash chip
<ChaosPrincess> high chance you will find those on your x86 mobo storing efi code and variables
<PaulFertser> And ME firmware too.
<ChaosPrincess> that lives as a partition inside the efi image, no?
<PaulFertser> I think it's just a dedicated region, PCH fetches it as soon as it gets standby power. Either way it's not EFI code. Not sure if PCH actually parses the "descriptors" (or whatever they call that intel partition table) or not.
dmitry has joined #asahi
leitao has joined #asahi
<dmitry> Got that, thanks for explaining! In any case it's data could be transferred to a new identical one
ten1572377432 has quit [Remote host closed the connection]
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
ten1572377432 has joined #asahi
<j`ey> dmitry: how often are you rebooting?
dmitry has quit [Remote host closed the connection]
gi0 has joined #asahi
dmitry has joined #asahi
zzywysm has joined #asahi
<dmitry> Sometimes up to 5 times per day to switch os during cross-platform testing, but that's worst case scenario
<dmitry> Probably if I need that I could just validate in a Linux vm
<j`ey> yeah, that might be easier :p
<dmitry> Imagine a user needs 5-6 reboots a day (half being macOS, maybe different versions, and half Asahi)
<ChaosPrincess> thats a weird user imo :P
<dmitry> In such a hypothetical case how bad that is?
<dmitry> Should still be 8-10 yrs and more?
<ChaosPrincess> assuming only reboot does a nvram write, and assuming the flash will fail at exactly 100k - 50+ years
<dmitry> Hm, that should be pretty negligible waste of memory cycles and shouldn't really bring any trouble
<delsol> don't worry about it.
<dmitry> Yet some reboot reduction could just help our devs be more efficient overall
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<j`ey> yeah, i think a VM is a much better way of testing
<j`ey> or just 2 machines :P
<dmitry> Thanks for sharing all the details of boot picker and nvram
dmitry has quit [Remote host closed the connection]
U9G has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
possiblemeatball has quit [Quit: Quit]
manwich has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
possiblemeatball has quit []
mikee3000 has quit [Quit: WeeChat 3.8]
mikee3000 has joined #asahi
vmeson has quit [Quit: Konversation terminated!]
hightower2 has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
rootbeerdan has joined #asahi
rootbeerdan has quit []
delsol has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
kujeger has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vmeson has joined #asahi
ourdumbfuture has joined #asahi
hightower2 has joined #asahi
JoshHeyse has joined #asahi
StupidYui has joined #asahi
StupidYui has quit [Remote host closed the connection]
ten1572377432 has quit [Remote host closed the connection]
CoolStar has quit [Quit: Leaving]
ten1572377432 has joined #asahi
CoolStar has joined #asahi
WindowPa- has quit [Quit: ZNC 1.8.2 - https://znc.in]
WindowPain has joined #asahi
jeisom_ has quit [Quit: Leaving]
jeisom has quit [Remote host closed the connection]
mkurz has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
alarumbe has quit [Ping timeout: 480 seconds]
alarumbe has joined #asahi