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
compassion1 has quit [Quit: lounge quit]
compassion1 has joined #asahi
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
compassion1 has quit [Quit: lounge quit]
ptudor has joined #asahi
bps has quit [Ping timeout: 480 seconds]
compassion1 has joined #asahi
compassion1 has quit [Quit: lounge quit]
basso1 has joined #asahi
basso has quit [Ping timeout: 480 seconds]
basso1 is now known as basso
compassion1 has joined #asahi
Soni has quit [Ping timeout: 480 seconds]
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
dylanchapell has joined #asahi
<dylanchapell> I have a usb-c adapter that includes a sd card reader and the sd card is only showing up in macos, not in asahi. is this expected behavior? usb is suppsoed to work fine right? it could also be a faulty device
<nicolas17> do you have a non-Mac computer with Linux and USB-C?
<dylanchapell> no
<nicolas17> it would be unusual but maybe there's simply no Linux driver for that SD card reader
ptudor has quit [Read error: No route to host]
cylm has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
gabuscus has quit []
gabuscus has joined #asahi
<i509vcb> marcan: one gripe I've had is that the mega issue on github for the edge kernels is really hard to make sure I don't duplicate report something since a majority of the messages are hidden
<i509vcb> s/hard/hard
<i509vcb> wow IRC
<i509vcb> hard to search
Soni has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
c10l3 has joined #asahi
<dylanchapell> i think the idea is that the hidden issues are resolved so if you are experiencing an issue on the latest version that isnt listed in the known issues at the top or an unhidden message, it isnt a duplicate
c10l has quit [Ping timeout: 480 seconds]
PyroPeter_ has joined #asahi
PyroPeter has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
dylanchapell has quit [Quit: Page closed]
dylanchapell has joined #asahi
<dylanchapell> nicolas17: that could be. it is this random usb-c hub: https://www.amazon.com/gp/product/B071CLCJ95/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1 which seems like it wouldn't have innovated anything new that would require drivers, but a different usb-a reader in a simple a-c adapter works fine
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
nicolas17 has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
nemesio65 has joined #asahi
nemesio65 has quit []
nemesio65 has joined #asahi
nemesio65 has quit [Remote host closed the connection]
nemesio65 has joined #asahi
nemesio65 has quit []
nemesio65 has joined #asahi
nemesio65 has quit []
nemesio65 has joined #asahi
nst has joined #asahi
possiblemeatball has quit [Quit: Quit]
nemesio65 has quit [Quit: Leaving]
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
possiblemeatball has joined #asahi
Guest4052 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi
rhysmdnz has joined #asahi
Jamie is now known as Guest4202
possiblemeatball has quit [Remote host closed the connection]
nicolas17 has quit [Ping timeout: 480 seconds]
zumi has quit [Remote host closed the connection]
xaiki_ has joined #asahi
darkapex has quit [Remote host closed the connection]
xaiki has quit [Ping timeout: 480 seconds]
xaiki_ is now known as xaiki
tobhe has joined #asahi
darkapex has joined #asahi
ahuar88 has quit [Remote host closed the connection]
ahuar88 has joined #asahi
ahuar88 has quit [Remote host closed the connection]
ahuar88 has joined #asahi
hoek has joined #asahi
darkapex has quit [Remote host closed the connection]
vx^ has quit [Ping timeout: 480 seconds]
nsklaus_ has joined #asahi
bps has joined #asahi
mattip has joined #asahi
mattip_ has quit [Ping timeout: 480 seconds]
jnn has quit [Read error: Connection reset by peer]
jn has joined #asahi
vx has joined #asahi
vx is now known as Guest4219
siilwyn has joined #asahi
<siilwyn> is it safe to run macos factory reset? or does it touch something that would influence asahi? (https://support.apple.com/en-us/HT212749)
<j`ey> siilwyn: you mean does it also delete an asahi install/
<siilwyn> j`ey: yeah that would be worst case, does it?
<siilwyn> or maybe it changes something about the partitions, not sure what it could cause
greguu has quit [Ping timeout: 480 seconds]
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bps has quit [Ping timeout: 480 seconds]
<siilwyn> I don't know if anybody tested this out...
jn has quit [Remote host closed the connection]
jn has joined #asahi
cylm has joined #asahi
giskard has joined #asahi
tetrakist has joined #asahi
dylanchapell has quit [Remote host closed the connection]
<marcan> i509vcb: stuff only gets hidden when resolved
delsol has joined #asahi
afroboy has joined #asahi
<tpw_rules> siilwyn: i think erase all content and settings resets the internal disk but i'm not 100% sure. it does say on that page "When using Erase All Content and Settings, if you see a message explaining that other volumes need to be erased before you can erase all content and settings, you might have used Boot Camp to install Microsoft Windows. "
<tpw_rules> but idk if that applies to apple silicon
jeisom has joined #asahi
the_CLA has quit [Quit: bbl...]
VasilisTheChu has quit [Read error: Connection reset by peer]
VasilisTheChu has joined #asahi
amarioguy has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
delsol has quit [Remote host closed the connection]
nela has quit [Ping timeout: 480 seconds]
jnn has joined #asahi
jn has quit [Ping timeout: 480 seconds]
nela has joined #asahi
<siilwyn> tpw_rules: hmm good point it does sound like it could wipe it ...
<siilwyn> but it would ask me first then
<tpw_rules> why are you doing that anyway?
tetrakist has quit [Quit: Leaving]
ahuar88 has quit [Remote host closed the connection]
ahuar88 has joined #asahi
amarioguy has joined #asahi
mattip has quit [Ping timeout: 480 seconds]
siilwyn has quit [Ping timeout: 480 seconds]
mattip has joined #asahi
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
mlq_ has joined #asahi
mlq has quit [Ping timeout: 480 seconds]
siilwyn has joined #asahi
afroboy has quit [Remote host closed the connection]
siilwyn has quit [Ping timeout: 480 seconds]
jeisom has quit [Quit: Leaving]
siilwyn has joined #asahi
jeisom has joined #asahi
maximiliangaedig has joined #asahi
<maximiliangaedig> Hi, I want to install asahi arch with full disk encryption, how can I go about that, preferably manually using a usb, but how do i get an image of arch linux arm that I can boot normally, can I just use their ISO? And after that, how can I install the asahi kernel, is there maybe a guide for this?
siilwyn has quit [Ping timeout: 480 seconds]
siilwyn has joined #asahi
delsol has joined #asahi
delsol has quit [Remote host closed the connection]
delsol has joined #asahi
amarioguy has quit [Read error: Connection reset by peer]
amarioguy has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
siilwyn has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
r0ni has joined #asahi
delsol has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
rvalue- has quit [Remote host closed the connection]
giskard has quit [Ping timeout: 480 seconds]
maximiliangaedig has quit [Ping timeout: 480 seconds]
dylanchapell has joined #asahi
siilwyn has joined #asahi
delsol has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
siilwyn has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
mattip_ has joined #asahi
ydalton has joined #asahi
mattip has quit [Ping timeout: 480 seconds]
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
<ydalton> hi, question about device tree. comparing my device tree spat out my m1n1 and the device tree in the kernel source, i've noticed in the interrupts section, the Linux version always uses the IRQ_TYPE_LEVEL_HIGH macro rather than IRQ_TYPE_LEVEL_LOW. how can i know when to use one or the other when writing my own node? thanks!
dylanchapell has quit [Remote host closed the connection]
karpouzi has joined #asahi
<j`ey> ydalton: what do you mean device tree from m1n1? from a proxy command or?
<ydalton> m1n1 has a command in the shell that retrieves the device tree passed from iboot (i think?)
<j`ey> well that device tree is an adt
<ydalton> yeah that's what i mean
<j`ey> that's different than the dtb that linux/etc uses
<ydalton> yes
<j`ey> the adt doesn't use the same values for level high/low I guess
<j`ey> which is the difference youre seeing
<karpouzi> i noticed CONFIG_CAN_8DEV_USB isn't set; was there a particular intent behind this or it just wasn't relevant?
bps has joined #asahi
<j`ey> hm I don't actually see any flags for the interrupts in the adt I have
<j`ey> oh, interrupts = [13, 100663297], I guess those might be flags
<ydalton> huh?
<ydalton> i've never seen something like that
<j`ey> then what are you looking at?
siilwyn has joined #asahi
<ydalton> no i mean, i usually see something like "interrupts = [753, 643, 642, 856]"
<ydalton> and comparing that with the linux device tree i see those same numbers
<j`ey> oh
<ydalton> can i just get away with using IRQ_TYPE_LEVEL_HIGH, seeing i haven't seen it in one of the linux device trees
<j`ey> there are some _LOW ones
delsol has quit [Remote host closed the connection]
<ydalton> even in other device trees (outside apple silicon) its pretty rare
<ydalton> to see _LOW
<j`ey> interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
<ydalton> where's that?
<j`ey> arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
<ydalton> oh, in the i2c0 node, i see
<ydalton> huh, i think bootlin's linux source code explorer is bugged, i searched for _LOW and it didn't show any apple silicon device trees
<ydalton> oh, it's not a bug, its a feature??
<ydalton> next to the search there's a dropdown to choose if you want to look in C source code or device trees
siilwyn has quit [Ping timeout: 480 seconds]
<ydalton> ah, it says all symbols
<ydalton> never knew about that
dylanchapell has joined #asahi
<ydalton> but how can you know when to use one or the other?
dylanchapell has quit [Remote host closed the connection]
<j`ey> from reverse engineering I guess!
<ydalton> lol there it is
<j`ey> im assuming youre trying to make something that doesnt work.. work, otherwise you can just copy whatever the current DT does!
<ydalton> eh i'll see if _HIGH works since most other devices do that
<j`ey> ydalton: what's it for?
<ydalton> i'm trying to figure out how the AVD works
<j`ey> you dont need the DT for that just yet!
<j`ey> also have you tried to find the stuff that others have done with AVD?
<ydalton> i haven't found anything, although that might be helpful
siilwyn has joined #asahi
<ydalton> lol, looking through the MMIO tracer i saw a stray 0xdeadcafe which piqued my curiosity
<ydalton> wow thanks, although i have no idea how to even write any of these
<ydalton> the first one though, that looks like normal python code?
<j`ey> yeah that was some emulator they were working on
<j`ey> to try understand things
<ydalton> if i recall correctly, the way alyssa reverse engineered part of the gpu driver was to do it through macOS first
<ydalton> wait that's R?
<j`ey> yes
siilwyn has quit [Ping timeout: 480 seconds]
<ydalton> although tbh tracing mmio writes was gonna get old soon
<ydalton> afaik m1n1 can hexdump memory regions right?
<j`ey> yup
<j`ey> RegMonitor class in python can do some diffing and stuff too
<ydalton> alright, i'll take a look at that python script
<sven> we can’t reconfigure the low/high/etc. mode from any AIC interrupt
<sven> it all takes the same path either way so anything will work, it’s just a matter of describing the HW accurately in the fdt
<ydalton> so either will work, but you'll have to find the better option, am i understanding that correctly?
<sven> from what we’ve seen anything AIC except for the pcie MSI interrupts are (high) level triggered
<sven> the MSI interrupts are high edge triggered as per that specification iirc
<sven> for gpio interrupts you can actually configure which mode you want and have to make sure to select the right one
<ydalton> also i saw the i2c uses the _LOW version
<sven> s/high edge/rising edge/ ofc
<karpouzi> oops forgot CONFIG_NVME_APPLE :)
<sven> the tipd device on the i2c bus has a _LOW interrupt
<sven> but that one doesn’t come directly from AIC
<sven> it‘s from the gpio controller
<sven> and those can actually be configured
<ydalton> sorry, my only understanding of gpio and i2c comes from school classes, and they didn't do a particularly good job at that lol
<ydalton> and what about devices internal to the soc?
<ydalton> they're all high edge triggered i guess
<sven> from what we’ve seen AIC really only does edge triggered interrupts with the exception of pci MSI
<sven> err…
<sven> *level
<sven> or wait… now I’m confused :D
<sven> let me double check
<sven> yeah, it only does level triggered and edge triggered for pci MSI
<ydalton> oh right, i must have mixed up the terms
<sven> that’s also documented in the device tree bindings fwiw
<sven> Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
<ydalton> oh i didn't see this, thanks for the read
siilwyn has joined #asahi
<ydalton> j`ey: hold on, unicorn is a library for emulation?
<j`ey> a library built on top of qemu
<ydalton> huh, interesting
siilwyn has quit [Ping timeout: 480 seconds]
ydalton` has joined #asahi
ydalton` has left #asahi [#asahi]
ydalton has quit [Ping timeout: 480 seconds]
r0ni has joined #asahi
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
Techcable has joined #asahi
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi
mkurz has quit [Ping timeout: 480 seconds]
siilwyn has joined #asahi
possiblemeatball has quit [Quit: Quit]
rappet has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rappet has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
mkurz has joined #asahi
<karpouzi> does anyone recall how to mount the asahi root in osx?
darkapex has joined #asahi
<karpouzi> the Asahi Linux and Asahi Linux - Data partitions do not appear to be what i'm looking for, as they're both only 2.5GB
<ChaosPrincess> the short answer is you dont
<ChaosPrincess> the slightly longer one is: install this https://github.com/gerard/ext4fuse
<karpouzi> ohh right
<karpouzi> ty ChaosPrincess
<karpouzi> does nobody use btrfs on m1 yet :P
<ChaosPrincess> you mean, eat-ya-data-fs? :P
<j`ey> karpouzi: some do!
<karpouzi> heh
<karpouzi> neat
<karpouzi> lmao osxfuse requires rosetta2?
<karpouzi> i suppose some reboots are acceptable
the_CLA has joined #asahi
<karpouzi> osxfuse states "not compatible with this version of macOS" ventura 13.4.1
<karpouzi> ah ok known issue
<karpouzi> interesting, have to enter recovery to enable third party system extensions to allow macfuse instal
siilwyn has joined #asahi
<ChaosPrincess> yea, new security stuff means that you need to enter recovery to sign a modified kernelcache
<karpouzi> is that new since asahi has been out? or just new on m1
<ChaosPrincess> thats a m1 thing
<karpouzi> gosh, they want like five reboots to enable one userspace filesystem
<karpouzi> thanks for the help
roxfan has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
<karpouzi> hold on, ext4fuse can't write
vLily has quit [Ping timeout: 480 seconds]
<ChaosPrincess> yes
blazra has quit [Read error: No route to host]
blazra has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
<karpouzi> did you mean that the process for recovering a bad kernel is to recover everything but the kernel and reinstall
<ChaosPrincess> well, you can throw a good kernel on ESP and boot from that
<karpouzi> hm
<ChaosPrincess> i have /boot-is-esp for my install so its already there
<ChaosPrincess> you can do something similar
siilwyn has joined #asahi
<karpouzi> ah yeah i was wondering why boot was inside root and not a separate partition
darkapex has quit [Remote host closed the connection]
<jannau> I think a linux vm on macos is able to use raw disk partitions. that would support write access
<mps> right. I wrote on #asahi-alt some time ago how to use qemu on macos to access linux partition
siilwyn has quit [Ping timeout: 480 seconds]
<mps> karpouzi: if you need to access broken fs you can use external usb, here is how https://arvanta.net/alpine/install-alpine-m1/
<karpouzi> thanks mps
<mps> nsklaus_: ^ also
dyanchapell has joined #asahi
<karpouzi> curiously my other m1 machine cannot build kernel modules because it's confused by scripts/Makefile.build:280
<karpouzi> i guess i need to set 1.69.0 as default?
possiblemeatball has joined #asahi
<karpouzi> `error: rustup could not choose a version of rustc to run, because one wasn't specified explicitly, and no default is configured. \ expr: syntax error: unexpected argument '1.69.0'`
<karpouzi> sorry, that was headers, not modules
<mps> for me it worked with rust 1.69 and 1.70
<karpouzi> still weird
<karpouzi> got the other one booting with usb_8dev at least
<dyanchapell> should I make a bug report for the screen locker failing on asahi-edge ( https://imgur.com/a/ZdABgGr )?
<karpouzi> er no i didn't
<karpouzi> did you try rebooting dyanchapell? i saw this last week
<dyanchapell> i was able to follow the instructions and get into virtual terminal 3 and now it works fine...
roxfan has quit [Ping timeout: 480 seconds]
<jannau> dyanchapell: was that after an update of kde/qt packages (without logout or reboot)? if yes, than it's something which might happens after updates
<dyanchapell> i updated something today and I havent restarted. if there were kde packages on pacman today then yes but I don't remember for sure
siilwyn has joined #asahi
<dyanchapell> i checked my log and yes that must be it
<karpouzi> got usb_8dev working, only had to sacrifice 1 of 2 installs :D
dylanchapell has joined #asahi
dyanchapell has quit [Remote host closed the connection]
dylanchapell has quit [Remote host closed the connection]
siilwyn has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi
delsol has joined #asahi
siilwyn has joined #asahi
<karpouzi> alright the make headers_install was some cargo env confusion
<karpouzi> make headers_install issue i mentioned earlier, sorry
roxfan has quit [Ping timeout: 480 seconds]
bps has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi
<karpouzi> anyone else notice kwin_wayland eating an enormous amount of memory and CPU utilzation with nothing but konsole running
<karpouzi> it's eating 21% CPU just sitting on the desktop
possiblemeatball has quit [Quit: Quit]
<karpouzi> m1 mac mini, 1080p display
siilwyn1 has joined #asahi
<karpouzi> hmm maybe this is just baloo indexing a new linux repo
<karpouzi> eeyup
ten1572377432 has quit [Read error: Connection reset by peer]
c10l3 has quit [Read error: Connection reset by peer]
c10l3 has joined #asahi
ten1572377432 has joined #asahi
Soni has quit [Read error: Connection reset by peer]
nicolas17 has joined #asahi
Soni has joined #asahi
siilwyn has quit [Ping timeout: 480 seconds]
nsklaus_ has quit [Ping timeout: 480 seconds]
delsol has quit [Remote host closed the connection]
dylanchapell has joined #asahi
Nokurn has joined #asahi
siilwyn1 has quit [Ping timeout: 480 seconds]