marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | 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
user982492 has joined #asahi
user982492_ has joined #asahi
user982492 has quit [Ping timeout: 480 seconds]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jx0 has joined #asahi
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
jx0 has quit [Quit: poof!]
tomtastic has joined #asahi
tomtastic_ has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
kov has quit [Quit: Coyote finally caught me]
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
M0x8FF[m] has joined #asahi
<M0x8FF[m]> hello
<marcan> streaming in a bit on #asahi-stream
<M0x8FF[m]> okay!
<M0x8FF[m]> @marcan is there an asahi matrix space?
<marcan> matrix is bridged to IRC
<marcan> we don't have matrix-native channels
<M0x8FF[m]> i see
<Glanzmann> jannau: Nice.
Glanzmann has quit [Quit: leaving]
sheepgoose has quit [Ping timeout: 480 seconds]
willemml has joined #asahi
jbowen has joined #asahi
marvin24 has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
marvin24_ has quit [Ping timeout: 480 seconds]
willemml has quit [Quit: willemml]
FLHerne has quit [Server closed connection]
FLHerne has joined #asahi
FLHerne is now known as Guest2059
el0y has quit [Server closed connection]
willemml has joined #asahi
gladiac is now known as Guest2064
gladiac3 has joined #asahi
gladiac3 is now known as gladiac
Guest2064 has quit [Ping timeout: 480 seconds]
gladiac is now known as Guest2065
gladiac has joined #asahi
Guest2065 has quit [Ping timeout: 480 seconds]
kov has joined #asahi
gladiac is now known as Guest2067
gladiac has joined #asahi
Guest2067 has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
M12destroyer21[m] has quit [Server closed connection]
M12destroyer21[m] has joined #asahi
alicela1n has quit [Server closed connection]
alicela1n has joined #asahi
jeffmiw has quit [Ping timeout: 480 seconds]
c41e3a has joined #asahi
abilash1994[m] has quit [Server closed connection]
abilash1994[m] has joined #asahi
vylet has joined #asahi
willemml has quit [Quit: willemml]
Major_Biscuit has joined #asahi
vmeson has quit [Ping timeout: 480 seconds]
jevinskie[m] has quit [Server closed connection]
jevinskie[m] has joined #asahi
MajorBiscuit has joined #asahi
Major_Biscuit has quit [Ping timeout: 480 seconds]
c41e3a has quit []
c41e3a has joined #asahi
c41e3a has quit []
c41e3a has joined #asahi
c41e3a has quit []
c41e3a has joined #asahi
c41e3a has quit []
V has quit [Ping timeout: 480 seconds]
Guest2059 has quit []
FLHerne has joined #asahi
FLHerne is now known as Guest2079
Guest2079 has quit [Remote host closed the connection]
FLHerne_ has joined #asahi
V has joined #asahi
gladiac is now known as Guest2082
gladiac has joined #asahi
FLHerne_ is now known as FLHerne
c41e3a has joined #asahi
Guest2082 has quit [Ping timeout: 480 seconds]
c41e3a has quit []
V has quit [Remote host closed the connection]
V has joined #asahi
V has quit [Remote host closed the connection]
V has joined #asahi
V has quit [Remote host closed the connection]
V has joined #asahi
jeffmiw has joined #asahi
VinDuv_ has joined #asahi
VinDuv has quit [Ping timeout: 480 seconds]
VinDuv_ is now known as VinDuv
Gaspare has joined #asahi
jeffmiw has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
<caleb010[m]> caleb010: The linux kernel doesn't load, i get a giant asahi logo and nothing else. Did i forget something?
<landscape15[m]> caleb010: I found a guide which could help with your problem https://www.oreilly.com/openbook/linuxdrive3/book/ch02.pdf
Gaspare has joined #asahi
<landscape15[m]> caleb010: Regarding your doubts about kernel modules, the following is the simplest definition I found:
<landscape15[m]> “Modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. For example, one type of module is the device driver, which allows the kernel to access hardware connected to the system.“
<landscape15[m]> “Without modules, we would have to build monolithic kernels and add new functionality directly into the kernel image. Besides having larger kernels, this has the disadvantage of requiring us to rebuild and reboot the kernel every time we want new functionality.”
Gaspare has quit [Read error: No route to host]
<caleb010[m]> landscape15: wow thanks! This seems to be clear.
arthegor has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
ofl^ has quit [Remote host closed the connection]
maxim[m] has quit [Server closed connection]
maxim[m] has joined #asahi
user982492 has joined #asahi
jbowen has joined #asahi
myon98 has quit [Quit: Bouncer maintainance...]
vmeson has joined #asahi
c41e3a has joined #asahi
balrog has quit [Ping timeout: 480 seconds]
nsklaus_ has joined #asahi
bdju has quit [Quit: Lost terminal]
nsklaus has quit [Ping timeout: 480 seconds]
_andy_t_ has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
c41e3a has quit [Quit: c41e3a]
c41e3a has joined #asahi
<marcan> pushed the battery management stuff to smc/work, if anyone wants to poke around (CONFIG_CHARGER_MACSMC)
MajorBiscuit has quit [Quit: WeeChat 3.4]
<marcan> the basics mostly done, might just add manual charge control (I think I found the key) and I might make the AC charger bit a separate PS device from the battery
<mps> marcan: \o/
joske has joined #asahi
<joske> Woohoo 🎉
<j`ey> marcan: sweet of you to put the co-authored :)
axboe has joined #asahi
<ChaosPrincess> booting from u-boot, should i use the dtb from that or from linux kernel?
<mps> ChaosPrincess: I had to add DTB from kernel to get rtc working
<mps> I mean, DTS and rebuild u-boot
jbowen has quit [Ping timeout: 480 seconds]
<kettenis> at this point, if you want to test kernel diffs that add stuff to the dts with u-boot, my recommendation is to take the diffs from the relevant dts commits and apply them to the u-boot dts
<kettenis> if you don't know how to do that, wait for things to show up on the asahi branch and ask me to update the u-boot dts
popo__ has joined #asahi
arthegor has quit [Ping timeout: 480 seconds]
popo_ has quit [Ping timeout: 480 seconds]
arthegor has joined #asahi
c41e3a has quit [Quit: c41e3a]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbowen has joined #asahi
arthegor[m] has joined #asahi
Glanzmann has joined #asahi
<Glanzmann> jannau: With your u-boot variant, does the internal keyboard work? Is it good for the pro/max. I'm asking because I sent Jens Axboe some instructions and he ends up with black screen, asahi logo and no output. He is on a pro/max with untethered m1n1 kernel options dtb, kernel. I think the current issue is that the kernel config I sent him has CONFIG_DRM_SIMPLEDRM=m and he does not have the kernel module
<Glanzmann> inside the rootfs.
<j`ey> marcan: oh neat you added notification support in smc
<Glanzmann> marcan: Nice job on the smc, but I just read the wrap up in irc.
<axboe> Glanzmann: trying with =y for DRM_SIMPLEDRM now
<mps> nice, battery works
<mps> thanks marcan \o/
<Glanzmann> axboe: Perfect.
<mps> what else to check
<Glanzmann> axboe: I just sent you another email.
<Glanzmann> axboe: If that does not work, I build a new rootfs containing your kernel.
<axboe> got it, thanks
user982492 has joined #asahi
<axboe> Glanzmann: yep that was it!
<Glanzmann> Perfect. :-)
<axboe> oh boy
<Glanzmann> I'll fix the config.
<jannau> Glanzmann: the keyboard does not work in u-boot but works for me in linux with SPI_HID_APPLE_OF + HID-APPLE + HID-MAGICMOUSE
<axboe> kbd seems to throw a bunch of "spi-hid-apple-of spi1.0: Read package crc mismatch"
<j`ey> axboe: thats "normal", it should still work?
<axboe> yep it works
<Glanzmann> axboe: Personally I use 'fvwm2' and 'lightdm', but apt isntall gnome with wayland also works.
<Glanzmann> axboe: First is for 'iwd', second for wpa_supplicant. https://pbot.rmdir.de/ClezQjbGytPJxTjha--trQ
<axboe> perfect, should be pretty straight forward from here - will get the fw over and wifi up so it can get setup
<mps> works fine `/sys/class/power_supply/macsmc-battery > egrep . * | tpaste` => https://tpaste.us/9P64
nicoo has quit [Remote host closed the connection]
coderobe has quit [Quit: Ping timeout (120 seconds)]
Mary has quit [Quit: Ping timeout (120 seconds)]
os has quit [Quit: Ping timeout (120 seconds)]
coderobe has joined #asahi
Mary has joined #asahi
os has joined #asahi
balrog has joined #asahi
<Glanzmann> axboe: Easiest way is usb stick, if you have the drivers, if you don't just use the efi partition with vfat to transfer files in.
nicoo has joined #asahi
<Glanzmann> axboe: If the wifi does not come up, reboot, or rmmod brcmfmac and brcmutil and load them again. I sometimes had to do that twice in order to get wifi.
<Glanzmann> mps: I had today my macbook air accidently with a closed lid for 12 hours when the screen was on. No heat. So maybe the last time it was something different.
<axboe> I'll move it to the efi partition, usb stick not being probed
___nick___ has joined #asahi
___nick___ has joined #asahi
Sellerie7 has joined #asahi
mort_8 has joined #asahi
commandoline_ has joined #asahi
trouter- has joined #asahi
<Glanzmann> axboe: Under macos you can use the following to mount it: https://pbot.rmdir.de/bcUBj8DtoNKB6qpHuRYHYw
<Glanzmann> also build a kernel deb for the modules
nico_32_ has joined #asahi
<Glanzmann> axboe: make -j $(( 2* `nproc`)) V=0 bindeb-pkg
deflax_ has joined #asahi
wouter_ has joined #asahi
<axboe> got modules in the image, and moved fw to the efi partition - lets see if that does it :)
maz_ has joined #asahi
newchima[m] has quit [charon.oftc.net helix.oftc.net]
cyb3rn3rd[m] has quit [charon.oftc.net helix.oftc.net]
eta has quit [charon.oftc.net helix.oftc.net]
muscularduckling[m] has quit [charon.oftc.net helix.oftc.net]
miko089[m] has quit [charon.oftc.net helix.oftc.net]
Shiz has quit [charon.oftc.net helix.oftc.net]
trouter has quit [charon.oftc.net helix.oftc.net]
g8rfx9wozue0e9pa3n[m] has quit [charon.oftc.net helix.oftc.net]
commandoline has quit [charon.oftc.net helix.oftc.net]
pent1ckel has quit [charon.oftc.net helix.oftc.net]
NightsOnly[m] has quit [charon.oftc.net helix.oftc.net]
Sellerie has quit [charon.oftc.net helix.oftc.net]
ChristianOndaatje[m] has quit [charon.oftc.net helix.oftc.net]
wouter has quit [charon.oftc.net helix.oftc.net]
Stary has quit [charon.oftc.net helix.oftc.net]
mort_ has quit [charon.oftc.net helix.oftc.net]
pimeys[m] has quit [charon.oftc.net helix.oftc.net]
krirogn[m] has quit [charon.oftc.net helix.oftc.net]
DarkShadow4444 has quit [charon.oftc.net helix.oftc.net]
yuukirafflesia[m] has quit [charon.oftc.net helix.oftc.net]
nafod has quit [charon.oftc.net helix.oftc.net]
qm3ster[m] has quit [charon.oftc.net helix.oftc.net]
pwg has quit [charon.oftc.net helix.oftc.net]
kyeh[m] has quit [charon.oftc.net helix.oftc.net]
carmazine[m] has quit [charon.oftc.net helix.oftc.net]
feb141985[m] has quit [charon.oftc.net helix.oftc.net]
z11h_beast[m] has quit [charon.oftc.net helix.oftc.net]
clover[m] has quit [charon.oftc.net helix.oftc.net]
TypoKign[m] has quit [charon.oftc.net helix.oftc.net]
LeviLynch[m] has quit [charon.oftc.net helix.oftc.net]
AlessandroFerrari[m] has quit [charon.oftc.net helix.oftc.net]
floxf5[m] has quit [charon.oftc.net helix.oftc.net]
lendi[m] has quit [charon.oftc.net helix.oftc.net]
Aaron[m] has quit [charon.oftc.net helix.oftc.net]
garyodernichts[m] has quit [charon.oftc.net helix.oftc.net]
hablerentand[m] has quit [charon.oftc.net helix.oftc.net]
ilovetrains[m] has quit [charon.oftc.net helix.oftc.net]
Jakob[m]123 has quit [charon.oftc.net helix.oftc.net]
ovf[m] has quit [charon.oftc.net helix.oftc.net]
pitust[m] has quit [charon.oftc.net helix.oftc.net]
rat-hippo[m] has quit [charon.oftc.net helix.oftc.net]
ruach[m] has quit [charon.oftc.net helix.oftc.net]
MagMell[m] has quit [charon.oftc.net helix.oftc.net]
sandornagy[m] has quit [charon.oftc.net helix.oftc.net]
Scott[m]1 has quit [charon.oftc.net helix.oftc.net]
timetheory[m] has quit [charon.oftc.net helix.oftc.net]
nico_32 has quit [charon.oftc.net helix.oftc.net]
KrushnaDeore[m] has quit [charon.oftc.net helix.oftc.net]
fetsorn[m] has quit [charon.oftc.net helix.oftc.net]
c1truz[m] has quit [charon.oftc.net helix.oftc.net]
etsukata[m] has quit [charon.oftc.net helix.oftc.net]
gamble[m] has quit [charon.oftc.net helix.oftc.net]
kdrag0n[m] has quit [charon.oftc.net helix.oftc.net]
obflv[m] has quit [charon.oftc.net helix.oftc.net]
ograff has quit [charon.oftc.net helix.oftc.net]
stelleg[m] has quit [charon.oftc.net helix.oftc.net]
kdwk-l[m] has quit [charon.oftc.net helix.oftc.net]
bngs[m] has quit [charon.oftc.net helix.oftc.net]
NikolaCicmil[m] has quit [charon.oftc.net helix.oftc.net]
ar has quit [charon.oftc.net helix.oftc.net]
dnjmis[m] has quit [charon.oftc.net helix.oftc.net]
cgv[m] has quit [charon.oftc.net helix.oftc.net]
bpalmer4[m] has quit [charon.oftc.net helix.oftc.net]
arnidg[m] has quit [charon.oftc.net helix.oftc.net]
daniel0611[m] has quit [charon.oftc.net helix.oftc.net]
hectour[m] has quit [charon.oftc.net helix.oftc.net]
jix has quit [charon.oftc.net helix.oftc.net]
alexanderwillner[m] has quit [charon.oftc.net helix.oftc.net]
denden[m] has quit [charon.oftc.net helix.oftc.net]
brentr123[m] has quit [charon.oftc.net helix.oftc.net]
daftfrog[m] has quit [charon.oftc.net helix.oftc.net]
gpanders[m] has quit [charon.oftc.net helix.oftc.net]
joerosenberg[m] has quit [charon.oftc.net helix.oftc.net]
mofux[m] has quit [charon.oftc.net helix.oftc.net]
nilsi[m] has quit [charon.oftc.net helix.oftc.net]
not_a_weeaboo[m] has quit [charon.oftc.net helix.oftc.net]
quentin[m] has quit [charon.oftc.net helix.oftc.net]
rgort10[m] has quit [charon.oftc.net helix.oftc.net]
unevenrhombus[m] has quit [charon.oftc.net helix.oftc.net]
thebrinkoftomorrow[m] has quit [charon.oftc.net helix.oftc.net]
vivg[m] has quit [charon.oftc.net helix.oftc.net]
simjnd[m] has quit [charon.oftc.net helix.oftc.net]
s-urabe[m] has quit [charon.oftc.net helix.oftc.net]
dottedmag has quit [charon.oftc.net helix.oftc.net]
TellowKrinkle[m] has quit [charon.oftc.net helix.oftc.net]
user1tt[m] has quit [charon.oftc.net helix.oftc.net]
tophevich[m] has quit [charon.oftc.net helix.oftc.net]
rkjnsn[m] has quit [charon.oftc.net helix.oftc.net]
shaman_br[m] has quit [charon.oftc.net helix.oftc.net]
JacksonR[m] has quit [charon.oftc.net helix.oftc.net]
sajattack[m] has quit [charon.oftc.net helix.oftc.net]
maz has quit [charon.oftc.net helix.oftc.net]
vup has quit [charon.oftc.net helix.oftc.net]
JamesTaylor[m] has quit [charon.oftc.net helix.oftc.net]
Caedus[m] has quit [charon.oftc.net helix.oftc.net]
bfredl[m] has quit [charon.oftc.net helix.oftc.net]
bakedpotatoez[m] has quit [charon.oftc.net helix.oftc.net]
AdwyzzOLEDEdition[m] has quit [charon.oftc.net helix.oftc.net]
camr0[m] has quit [charon.oftc.net helix.oftc.net]
fridtjof[m] has quit [charon.oftc.net helix.oftc.net]
unrelentingtech has quit [charon.oftc.net helix.oftc.net]
artectrex[m] has quit [charon.oftc.net helix.oftc.net]
leah2 has quit [charon.oftc.net helix.oftc.net]
agraf has quit [charon.oftc.net helix.oftc.net]
ifthenelse has quit [charon.oftc.net helix.oftc.net]
N3ros[m] has quit [charon.oftc.net helix.oftc.net]
gpanders has quit [charon.oftc.net helix.oftc.net]
deflax has quit [charon.oftc.net helix.oftc.net]
karlyeurl has quit [charon.oftc.net helix.oftc.net]
Sellerie7 is now known as Sellerie
<Glanzmann> either reboot or multiple unloading loading should do the trick
dottedmag has joined #asahi
<Glanzmann> axboe: consult quickstart.txt in /root for details
agraf has joined #asahi
<axboe> nice, wifi works
newchima[m] has joined #asahi
muscularduckling[m] has joined #asahi
miko089[m] has joined #asahi
eta has joined #asahi
cyb3rn3rd[m] has joined #asahi
g8rfx9wozue0e9pa3n[m] has joined #asahi
pent1ckel has joined #asahi
ChristianOndaatje[m] has joined #asahi
NightsOnly[m] has joined #asahi
Stary has joined #asahi
pimeys[m] has joined #asahi
krirogn[m] has joined #asahi
yuukirafflesia[m] has joined #asahi
DarkShadow4444 has joined #asahi
KrushnaDeore[m] has joined #asahi
nafod has joined #asahi
pwg has joined #asahi
qm3ster[m] has joined #asahi
vup has joined #asahi
ifthenelse has joined #asahi
kyeh[m] has joined #asahi
kdwk-l[m] has joined #asahi
jix has joined #asahi
carmazine[m] has joined #asahi
feb141985[m] has joined #asahi
daniel0611[m] has joined #asahi
denden[m] has joined #asahi
z11h_beast[m] has joined #asahi
ar has joined #asahi
fetsorn[m] has joined #asahi
AdwyzzOLEDEdition[m] has joined #asahi
JamesTaylor[m] has joined #asahi
karlyeurl has joined #asahi
leah2 has joined #asahi
lendi[m] has joined #asahi
vivg[m] has joined #asahi
N3ros[m] has joined #asahi
artectrex[m] has joined #asahi
user1tt[m] has joined #asahi
unrelentingtech has joined #asahi
unevenrhombus[m] has joined #asahi
tophevich[m] has joined #asahi
thebrinkoftomorrow[m] has joined #asahi
timetheory[m] has joined #asahi
TellowKrinkle[m] has joined #asahi
stelleg[m] has joined #asahi
simjnd[m] has joined #asahi
shaman_br[m] has joined #asahi
JacksonR[m] has joined #asahi
Scott[m]1 has joined #asahi
sandornagy[m] has joined #asahi
sajattack[m] has joined #asahi
MagMell[m] has joined #asahi
s-urabe[m] has joined #asahi
rkjnsn[m] has joined #asahi
rgort10[m] has joined #asahi
ruach[m] has joined #asahi
rat-hippo[m] has joined #asahi
quentin[m] has joined #asahi
pitust[m] has joined #asahi
ovf[m] has joined #asahi
ograff has joined #asahi
not_a_weeaboo[m] has joined #asahi
nilsi[m] has joined #asahi
obflv[m] has joined #asahi
mofux[m] has joined #asahi
joerosenberg[m] has joined #asahi
Jakob[m]123 has joined #asahi
kdrag0n[m] has joined #asahi
ilovetrains[m] has joined #asahi
gpanders[m] has joined #asahi
gpanders has joined #asahi
hablerentand[m] has joined #asahi
garyodernichts[m] has joined #asahi
fridtjof[m] has joined #asahi
floxf5[m] has joined #asahi
gamble[m] has joined #asahi
hectour[m] has joined #asahi
AlessandroFerrari[m] has joined #asahi
etsukata[m] has joined #asahi
LeviLynch[m] has joined #asahi
dnjmis[m] has joined #asahi
TypoKign[m] has joined #asahi
NikolaCicmil[m] has joined #asahi
daftfrog[m] has joined #asahi
clover[m] has joined #asahi
cgv[m] has joined #asahi
bpalmer4[m] has joined #asahi
brentr123[m] has joined #asahi
bfredl[m] has joined #asahi
bakedpotatoez[m] has joined #asahi
alexanderwillner[m] has joined #asahi
arnidg[m] has joined #asahi
Aaron[m] has joined #asahi
Caedus[m] has joined #asahi
c1truz[m] has joined #asahi
camr0[m] has joined #asahi
bngs[m] has joined #asahi
<mps> Glanzmann: heh, 'Heisenberg' in action. good it doesn't overheat now
<Glanzmann> axboe: Perfect. :-)
Shiz has joined #asahi
<mps> axboe: hi, and welcome (we worked on fixing io_uring libs to work on musl about year or two ago, if you remember)
<axboe> mps: thanks - and I remember, wanting to make sure io_uring works as well as it can on arm is part of the reason why I'm here ;)
<mps> axboe: it works fine on armv7 and aarch64, I tested it on alpine linux
m1-axboe has joined #asahi
<m1-axboe> now live ;)
* mps going to make awesome wm battery applet
<axboe> mps: I figured it would, mainly just curious on whether we have the right load acquire / store release in terms of best performance
<j`ey> axboe: then I look foward to your X MOPS on AArch64 tweets :P
<axboe> j`ey: hah, we'll see what it can do ;)
<axboe> hard to stuff optane into it, but will be interesting to see how fast the builtin nvme is
m6wiq has joined #asahi
<j`ey> axboe: you already know about the 'flush problem' (from twitter)
<axboe> yep
<axboe> once u-boot works I'll try and get into the kernel a bit more. seems a bit of a hassle even with the untethered boot now
<axboe> but tons of thanks to Glanzmann for writing these guides and helping me get this going, would've waited a bit otherwise
<j`ey> tethered boot makes trying kernel changes really easy!
<sven> ugh.. the random-write-flush problem. someone confirmed the same thing also happens on the T2 macs fwiw (i.e. those who also need NVME_QUIRK_SKIP_CID_GEN)
joske_ has joined #asahi
<axboe> j`ey: but a pita for other reasons :)
<j`ey> axboe: I dont know your setup, I just use an rpi as the otherside of the tethering and it works great!
<Glanzmann> axboe: You're welcome. I'll fix the CONFIG_DRM_SIMPLEDRM=y thing. I also begun to write a poor mans debian installer: https://tg.st/u/pmdi.pl It works but is not ready for end users. :-)
<axboe> j`ey: a couple of laptops and build boxes, so anything I can do on a build host and copy over. rpi sounds pretty handy, but don't really have a monitor setup...
<Glanzmann> Oh and Jens, we have a sync flush cache performance problem with nvme (the one that sven mentioned): https://tg.st/u/m1-nvme-performance-linux-vs-macos-2021-10-18.txt
<Glanzmann> If you install lots of debian packages, it might help if you prepend it with 'eaymydata' which eats sync and similiar system calls.
<axboe> install is super slow indeed
<axboe> I discussed this with sven and others on twitter
<axboe> something to look into
<Glanzmann> j`ey: Wait for the m1n1 chainload from disk support. But yes, after doing that yesterday only 3 times, I already got sick of the tethered m1n1 and thankful for m1n1/u-boot/grub boot chain.
<sven> and it looks like it's indeed the controller which just hates flushes :(
<Glanzmann> axboe: I always run litteray: eatmydata apt-get install ...
<axboe> sven: remind me, it's random if a flush takes a long time or not?
nafod has quit [Ping timeout: 480 seconds]
<axboe> or are they consistently very slow
nafod has joined #asahi
<sven> consistently if you first write random blocks and then issue the flush
<axboe> ok, flush with unacked writes
<axboe> I seem to recall you said that osx does issue flushes
<sven> yes, but much less frequent when using fio with the same settings
<Glanzmann> ChaosPrincess: We wait for the spi patches to be pulled in for a month or so. But I really look forward to the next asahi branch now with the smc.
<axboe> Glanzmann: glad to see fio still works with openbsd :)
<axboe> sven: ok
<sven> i've brought up the controller inside m1n1 as well and it also happens there
<ChaosPrincess> Glanzmann: i was talking about the fixes in jannau's branch that makes the spi keyboard work when booting from u-boot
<axboe> I'm assuming you checked on osx doing some non-standard setup bits?
<sven> yes, it issues two or three vendor specific commands. one of them sends the current time and the others read some information about the actual flash storage layout
malvo has left #asahi [#asahi]
<Glanzmann> axboe: First thing that I do, when I get hands on a new disk or storage, I run fio: https://pbot.rmdir.de/LRoFzzFOasMs1dmvygyrZg
<sven> but doing those in linux didn't change any behavior
<Glanzmann> ChaosPrincess: I see.
<ChaosPrincess> commit hash 9ce9060dea91951a330feeeda3ad636bc88c642c is very very missing from asahi :P
<axboe> sven: ok
<axboe> Glanzmann: nice
<mps> marcan: /sys/class/power_supply/$bat_name dir usually have 'present' file
<sven> the T2 macs have the exact same controller fwiw. those just have that T2 chip that proxies it to the x86 core over pcie. i can actually flip a bit in a undocumented register and then the M1 controller disables its weird IOMMU and instead also needs that quirk to increase the sq entry size to 128 bytes
<mps> marcan: did you forgot it or I missed something when building kernel and u-boot
<j`ey> mps: just missing from the driver
<mps> j`ey: thanks for info (I'm not in a hurry, just noted this)
<j`ey> there's quite a few properties the driver can report, so maybe a few others missing
<mps> j`ey: most are there as I see, got awesome wm battery status widget working fine
<Glanzmann> mps: What did you do to get u-boot working with the smc kernel?
<mps> Glanzmann: copied t8103.dtsi and t8103-jxxx.dtsi to u-boot tree, rebuilt u-boot and created payload as usual
<Glanzmann> I see, thanks.
<axboe> quick test looks like ~160K ops/sec limit, ~6GB/sec reads
<axboe> that's pretty low IOPS
joske_ has quit [Quit: Leaving]
<mps> though I added terminus fonts to u-boot, but this is irrelevant
<Glanzmann> mps: I see. Font is fine for me.
<axboe> ~36M nop ops/sec through io_uring
Caedus[m] has quit [Server closed connection]
Caedus[m] has joined #asahi
Aaron[m] has quit [Server closed connection]
Aaron[m] has joined #asahi
alexanderwillner[m] has quit [Server closed connection]
<j`ey> axboe: what does that 36M compare to on another machine?
alexanderwillner[m] has joined #asahi
arnidg[m] has quit [Server closed connection]
arnidg[m] has joined #asahi
<axboe> my intel laptop does about 55M - but not necessarily an apples to apples since I haven't even checked the kernel config
bakedpotatoez[m] has quit [Server closed connection]
bakedpotatoez[m] has joined #asahi
<j`ey> not a bad figure to just start with at least
bfredl[m] has quit [Server closed connection]
<axboe> not at all
bfredl[m] has joined #asahi
<j`ey> is it multithreaded?
bngs[m] has quit [Server closed connection]
<axboe> can be, but this is just single thread
bngs[m] has joined #asahi
bpalmer4[m] has quit [Server closed connection]
bpalmer4[m] has joined #asahi
brentr123[m] has quit [Server closed connection]
brentr123[m] has joined #asahi
<j`ey> currently the m1s have a fixed frequency.. I think it's 2.X GHz, so that could improve already with a cpufreq driver
c1truz[m] has quit [Server closed connection]
c1truz[m] has joined #asahi
camr0[m] has quit [Server closed connection]
camr0[m] has joined #asahi
joske_ has joined #asahi
cgv[m] has quit [Server closed connection]
cgv[m] has joined #asahi
NikolaCicmil[m] has quit [Server closed connection]
<joske_> marcan: this patch adds a present node so gkrellm finds the battery: https://drive.google.com/file/d/1qu2qHkHWaGXThj3QyufvptnFJr_c2-5I/view?usp=sharing
NikolaCicmil[m] has joined #asahi
clover[m] has quit [Server closed connection]
clover[m] has joined #asahi
daftfrog[m] has quit [Server closed connection]
daftfrog[m] has joined #asahi
TypoKign[m] has quit [Server closed connection]
TypoKign[m] has joined #asahi
dnjmis[m] has quit [Server closed connection]
dnjmis[m] has joined #asahi
etsukata[m] has quit [Server closed connection]
etsukata[m] has joined #asahi
LeviLynch[m] has quit [Server closed connection]
LeviLynch[m] has joined #asahi
AlessandroFerrari[m] has quit [Server closed connection]
AlessandroFerrari[m] has joined #asahi
hectour[m] has quit [Server closed connection]
hectour[m] has joined #asahi
floxf5[m] has quit [Server closed connection]
floxf5[m] has joined #asahi
fridtjof[m] has quit [Server closed connection]
fridtjof[m] has joined #asahi
gamble[m] has quit [Server closed connection]
gamble[m] has joined #asahi
garyodernichts[m] has quit [Server closed connection]
garyodernichts[m] has joined #asahi
gpanders has quit [Server closed connection]
gpanders has joined #asahi
gpanders[m] has quit [Server closed connection]
gpanders[m] has joined #asahi
hablerentand[m] has quit [Server closed connection]
hablerentand[m] has joined #asahi
gpanders is now known as Guest2154
ilovetrains[m] has quit [Server closed connection]
ilovetrains[m] has joined #asahi
Jakob[m]123 has quit [Server closed connection]
Jakob[m]123 has joined #asahi
joerosenberg[m] has quit [Server closed connection]
joerosenberg[m] has joined #asahi
Guest2154 has quit []
kdrag0n[m] has quit [Server closed connection]
m1-axboe has quit [Remote host closed the connection]
enick_688 has joined #asahi
kdrag0n[m] has joined #asahi
mofux[m] has quit [Server closed connection]
mofux[m] has joined #asahi
nilsi[m] has quit [Server closed connection]
nilsi[m] has joined #asahi
not_a_weeaboo[m] has quit [Server closed connection]
not_a_weeaboo[m] has joined #asahi
obflv[m] has quit [Server closed connection]
obflv[m] has joined #asahi
ograff has quit [Server closed connection]
enick_688 is now known as andg
ograff has joined #asahi
ovf[m] has quit [Server closed connection]
ovf[m] has joined #asahi
pitust[m] has quit [Server closed connection]
pitust[m] has joined #asahi
quentin[m] has quit [Server closed connection]
quentin[m] has joined #asahi
andg is now known as gpanders
rat-hippo[m] has quit [Server closed connection]
rat-hippo[m] has joined #asahi
joske_ has quit [Quit: Leaving]
rgort10[m] has quit [Server closed connection]
rgort10[m] has joined #asahi
rkjnsn[m] has quit [Server closed connection]
rkjnsn[m] has joined #asahi
ruach[m] has quit [Server closed connection]
ruach[m] has joined #asahi
s-urabe[m] has quit [Server closed connection]
s-urabe[m] has joined #asahi
sajattack[m] has quit [Server closed connection]
sajattack[m] has joined #asahi
MagMell[m] has quit [Server closed connection]
MagMell[m] has joined #asahi
sandornagy[m] has quit [Server closed connection]
sandornagy[m] has joined #asahi
Scott[m]1 has quit [Server closed connection]
Scott[m]1 has joined #asahi
shaman_br[m] has quit [Server closed connection]
shaman_br[m] has joined #asahi
simjnd[m] has quit [Server closed connection]
simjnd[m] has joined #asahi
JacksonR[m] has quit [Server closed connection]
JacksonR[m] has joined #asahi
stelleg[m] has quit [Server closed connection]
stelleg[m] has joined #asahi
TellowKrinkle[m] has quit [Server closed connection]
TellowKrinkle[m] has joined #asahi
thebrinkoftomorrow[m] has quit [Server closed connection]
thebrinkoftomorrow[m] has joined #asahi
timetheory[m] has quit [Server closed connection]
timetheory[m] has joined #asahi
tophevich[m] has quit [Server closed connection]
tophevich[m] has joined #asahi
unevenrhombus[m] has quit [Server closed connection]
unevenrhombus[m] has joined #asahi
unrelentingtech has quit [Server closed connection]
unrelentingtech has joined #asahi
user1tt[m] has quit [Server closed connection]
user1tt[m] has joined #asahi
vivg[m] has quit [Server closed connection]
vivg[m] has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
Xyn[m] has joined #asahi
arthegor_ has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has quit [Ping timeout: 480 seconds]
arthegor has quit [Ping timeout: 480 seconds]
axboe has quit [Quit: leaving]
bdju has joined #asahi
m6wiq has quit []
m6wiq has joined #asahi
<mps> joske: it works here
<joske> Yes it worked in mate panel applet but gkrellm is looking for a present node
<joske> If that's not 'present' (pun intended) it doesn't show the battery
<mps> joske: by default awesome vicioous lib looks also for 'present' but I hacked it to skip this
arthegor_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<mps> good part of awesome wm is that it uses lua so everything is easy to hack
<joske> mps: you can also apply this patch ;-)
<mps> joske: I did already ;)
<joske> 🙂
<joske> :-)
<joske> Not sure if emoji come through
joske has quit [Quit: Quit]
joske has joined #asahi
<mps> joske: I see emoji in my terminal though I'm not impressed with emojis on irc
<sven> ☹️
<joske> mps: I was typing on my phone :-/
<mps> :D
<mps> joske: ok, I don't mind about them, though I see them fine in irssi running in st-term
m6wiq has quit []
<joske> I looked on the logs and the emoji didn't come through ;-)
<mps> ah
<tpw_rules> i saw it
m6wiq has joined #asahi
joske has quit [Remote host closed the connection]
joske has joined #asahi
user982492 has joined #asahi
psydroid[m]1 is now known as psydroid
artectrex[m] has quit [Server closed connection]
artectrex[m] has joined #asahi
joske has quit [Remote host closed the connection]
axboe has joined #asahi
<axboe> j`ey: 38M for nops
<axboe> had to learn that cpus0..1 are the slower ones
<axboe> and for some reason I only have 3 performance cores, might be expected?
<axboe> sven: I noticed the apple nvme is hardwired for 1 IO queue, is that a hard limit or just a "for now" kind of thing?
<j`ey> isnt is 2/8?
<axboe> also curious on if there's any documentation on it
<j`ey> 2 energy 8 perf
<axboe> j`ey: I'm only seeing 3 perf
<j`ey> pro is either 6 perf 2 eff, or 8 perf 2 eff
<axboe> looked up the hw, mine has 2 energy, 6 perf
<j`ey> and if sven doesnt anwser until tomorrow, im pretty sure theres 1 IO and 1 admin queue
<axboe> hw only supports 1 io queue?
<j`ey> yes, I think so
<axboe> ok, guess that's why it's hardwired then
<axboe> odd
<j`ey> "The Apple NVMe controller only supports a single admin and a single IO queue
<j`ey> which are both limited to 64 entries and share a single interrupt."
<axboe> dang
<axboe> I did notice that the qd was pretty low too
<axboe> most modern nvme is 1024 entries per queue, and enough IO queues to assign one per cpu if you want
<axboe> that's what linux does by default
<axboe> doesn't matter much to me, but does mean that polling can't be supported
<j`ey> also I think that limit is shared?
<axboe> yeah it's very odd
<j`ey> is polling desired?
<axboe> not really on a laptop, doesn't matter
<axboe> it's more of a bummer that it isn't possible to experiment :)
<axboe> irq overhead looks high on the platform
<axboe> sven: looks like you picked 8 tags for admin queue, might make more sense to shrink that down even further
<axboe> or actually use the shared tag space support for them?
<j`ey> not 100% sure what the comment means, but sounds like they cant be shared?
<axboe> if they are shared, then they are unique across the two queues
<axboe> it'd just be one tags space of the full 64 tags
<axboe> sven: but it does use the new batching, bonus points :)
<j`ey> btw what did you mean by irq overhead looks high?
<axboe> it was a substantial amount of time in a quick perf check
<j`ey> in nvme in particular?
axboe has quit [Ping timeout: 480 seconds]
axboe has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
<axboe> j`ey: sorry, linked dropped here
<j`ey> np