#
…

2023-06-26

00:08compassion1 has quit [Quit: lounge quit]
00:09compassion1 has joined #asahi
00:11ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
00:22compassion1 has quit [Quit: lounge quit]
00:30ptudor has joined #asahi
00:35bps has quit [Ping timeout: 480 seconds]
00:36compassion1 has joined #asahi
00:55compassion1 has quit [Quit: lounge quit]
01:01basso1 has joined #asahi
01:07basso has quit [Ping timeout: 480 seconds]
01:07basso1 is now known as basso
01:10compassion1 has joined #asahi
01:14Soni has quit [Ping timeout: 480 seconds]
01:28darkapex has quit [Remote host closed the connection]
01:30darkapex has joined #asahi
01:32dylanchapell has joined #asahi
01:36dylanchapellI 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
01:38nicolas17do you have a non-Mac computer with Linux and USB-C?
01:41nicolas17it would be unusual but maybe there's simply no Linux driver for that SD card reader
01:44ptudor has quit [Read error: No route to host]
01:48cylm has quit [Ping timeout: 480 seconds]
01:55ptudor has joined #asahi
02:00gabuscus has quit []
02:20gabuscus has joined #asahi
02:35i509vcbmarcan: 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
02:48i509vcb s/hard/hard
02:48i509vcbhard to search
02:57Soni has joined #asahi
03:00Brainium has quit [Quit: Konversation terminated!]
03:01c10l3 has joined #asahi
03:01dylanchapelli 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
03:08c10l has quit [Ping timeout: 480 seconds]
03:11PyroPeter_ has joined #asahi
03:13PyroPeter has quit [Ping timeout: 480 seconds]
03:15marvin24 has joined #asahi
03:19marvin24_ has quit [Ping timeout: 480 seconds]
03:21dylanchapell has quit [Quit: Page closed]
03:26dylanchapell has joined #asahi
03:30dylanchapellnicolas17: 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
03:35ptudor has quit [Ping timeout: 480 seconds]
03:37ptudor has joined #asahi
03:38nicolas17 has quit [Ping timeout: 480 seconds]
03:42nicolas17 has joined #asahi
04:13nemesio65 has joined #asahi
04:16nemesio65 has quit []
04:17nemesio65 has joined #asahi
04:18nemesio65 has quit [Remote host closed the connection]
04:19nemesio65 has joined #asahi
04:21nemesio65 has quit []
04:26nemesio65 has joined #asahi
04:27nemesio65 has quit []
04:28nemesio65 has joined #asahi
04:54nst has joined #asahi
04:55possiblemeatball has quit [Quit: Quit]
05:13nemesio65 has quit [Quit: Leaving]
05:33ptudor has quit [Ping timeout: 480 seconds]
05:34ptudor has joined #asahi
06:10possiblemeatball has joined #asahi
06:35Guest4052 has quit [Quit: Bridge terminating on SIGTERM]
06:35rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
06:35Jamie has joined #asahi
06:35rhysmdnz has joined #asahi
06:36Jamie is now known as Guest4202
06:45possiblemeatball has quit [Remote host closed the connection]
06:48nicolas17 has quit [Ping timeout: 480 seconds]
06:55zumi has quit [Remote host closed the connection]
07:26xaiki_ has joined #asahi
07:28darkapex has quit [Remote host closed the connection]
07:30xaiki has quit [Ping timeout: 480 seconds]
07:34xaiki_ is now known as xaiki
07:48tobhe has joined #asahi
08:30darkapex has joined #asahi
08:54ahuar88 has quit [Remote host closed the connection]
08:55ahuar88 has joined #asahi
09:04ahuar88 has quit [Remote host closed the connection]
09:07ahuar88 has joined #asahi
09:18hoek has joined #asahi
09:28darkapex has quit [Remote host closed the connection]
09:38vx^ has quit [Ping timeout: 480 seconds]
10:02nsklaus_ has joined #asahi
10:15bps has joined #asahi
10:30mattip has joined #asahi
10:36mattip_ has quit [Ping timeout: 480 seconds]
10:53jnn has quit [Read error: Connection reset by peer]
10:54jn has joined #asahi
11:07vx has joined #asahi
11:07vx is now known as Guest4219
11:18siilwyn has joined #asahi
11:20siilwynis it safe to run macos factory reset? or does it touch something that would influence asahi? (https://support.apple.com/en-us/HT212749)
11:21j`eysiilwyn: you mean does it also delete an asahi install/
11:21siilwynj`ey: yeah that would be worst case, does it?
11:22siilwynor maybe it changes something about the partitions, not sure what it could cause
11:26greguu has quit [Ping timeout: 480 seconds]
11:51giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
12:12bps has quit [Ping timeout: 480 seconds]
12:29siilwynI don't know if anybody tested this out...
12:42jn has quit [Remote host closed the connection]
12:43jn has joined #asahi
13:18cylm has joined #asahi
13:20giskard has joined #asahi
13:30tetrakist has joined #asahi
13:43dylanchapell has quit [Remote host closed the connection]
13:43marcani509vcb: stuff only gets hidden when resolved
13:58delsol has joined #asahi
14:05afroboy has joined #asahi
14:09tpw_rulessiilwyn: 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. "
14:10tpw_rulesbut idk if that applies to apple silicon
14:14jeisom has joined #asahi
14:31the_CLA has quit [Quit: bbl...]
14:37VasilisTheChu has quit [Read error: Connection reset by peer]
14:38VasilisTheChu has joined #asahi
14:39amarioguy has quit [Remote host closed the connection]
14:41possiblemeatball has joined #asahi
14:42delsol has quit [Remote host closed the connection]
14:44nela has quit [Ping timeout: 480 seconds]
14:45jnn has joined #asahi
14:47jn has quit [Ping timeout: 480 seconds]
14:48nela has joined #asahi
14:50siilwyntpw_rules: hmm good point it does sound like it could wipe it ...
14:50siilwynbut it would ask me first then
14:52tpw_ruleswhy are you doing that anyway?
14:55tetrakist has quit [Quit: Leaving]
15:03ahuar88 has quit [Remote host closed the connection]
15:06ahuar88 has joined #asahi
15:08amarioguy has joined #asahi
15:10mattip has quit [Ping timeout: 480 seconds]
15:17siilwyn has quit [Ping timeout: 480 seconds]
15:18mattip has joined #asahi
15:25possiblemeatball has quit [Quit: Quit]
15:27possiblemeatball has joined #asahi
15:46mlq_ has joined #asahi
15:51mlq has quit [Ping timeout: 480 seconds]
15:54siilwyn has joined #asahi
15:59afroboy has quit [Remote host closed the connection]
16:02siilwyn has quit [Ping timeout: 480 seconds]
16:04jeisom has quit [Quit: Leaving]
16:05siilwyn has joined #asahi
16:06jeisom has joined #asahi
16:20maximiliangaedig has joined #asahi
16:23maximiliangaedigHi, 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?
16:29siilwyn has quit [Ping timeout: 480 seconds]
16:34siilwyn has joined #asahi
16:42delsol has joined #asahi
16:42delsol has quit [Remote host closed the connection]
16:42delsol has joined #asahi
16:46amarioguy has quit [Read error: Connection reset by peer]
16:48amarioguy has joined #asahi
16:49siilwyn has quit [Ping timeout: 480 seconds]
17:13siilwyn has joined #asahi
17:21siilwyn has quit [Ping timeout: 480 seconds]
17:22r0ni has joined #asahi
17:26delsol has quit [Ping timeout: 480 seconds]
17:28rvalue has joined #asahi
17:29rvalue- has quit [Remote host closed the connection]
17:31giskard has quit [Ping timeout: 480 seconds]
17:43maximiliangaedig has quit [Ping timeout: 480 seconds]
17:45dylanchapell has joined #asahi
17:49siilwyn has joined #asahi
17:55delsol has joined #asahi
17:57siilwyn has quit [Ping timeout: 480 seconds]
18:03siilwyn has joined #asahi
18:24siilwyn has quit [Ping timeout: 480 seconds]
18:31mattip_ has joined #asahi
18:34ydalton has joined #asahi
18:37mattip has quit [Ping timeout: 480 seconds]
18:37r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
18:39ydaltonhi, 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!
18:39dylanchapell has quit [Remote host closed the connection]
18:40karpouzi has joined #asahi
18:42j`eyydalton: what do you mean device tree from m1n1? from a proxy command or?
18:44ydaltonm1n1 has a command in the shell that retrieves the device tree passed from iboot (i think?)
18:44j`eywell that device tree is an adt
18:44ydaltonyeah that's what i mean
18:44j`eythat's different than the dtb that linux/etc uses
18:45j`eythe adt doesn't use the same values for level high/low I guess
18:45j`eywhich is the difference youre seeing
18:45karpouzii noticed CONFIG_CAN_8DEV_USB isn't set; was there a particular intent behind this or it just wasn't relevant?
18:46bps has joined #asahi
18:49j`eyhm I don't actually see any flags for the interrupts in the adt I have
18:49j`eyoh, interrupts = [13, 100663297], I guess those might be flags
18:49ydaltoni've never seen something like that
18:50j`eythen what are you looking at?
18:50siilwyn has joined #asahi
18:50ydaltonno i mean, i usually see something like "interrupts = [753, 643, 642, 856]"
18:51ydaltonand comparing that with the linux device tree i see those same numbers
18:51ydaltoncan i just get away with using IRQ_TYPE_LEVEL_HIGH, seeing i haven't seen it in one of the linux device trees
18:52j`eythere are some _LOW ones
18:52delsol has quit [Remote host closed the connection]
18:52ydaltoneven in other device trees (outside apple silicon) its pretty rare
18:52ydaltonto see _LOW
18:52j`eyinterrupts = <106 IRQ_TYPE_LEVEL_LOW>;
18:53ydaltonwhere's that?
18:54j`eyarch/arm64/boot/dts/apple/t8103-jxxx.dtsi
18:54ydaltonoh, in the i2c0 node, i see
18:56ydaltonhuh, i think bootlin's linux source code explorer is bugged, i searched for _LOW and it didn't show any apple silicon device trees
18:57ydaltonoh, it's not a bug, its a feature??
18:57ydaltonnext to the search there's a dropdown to choose if you want to look in C source code or device trees
18:58siilwyn has quit [Ping timeout: 480 seconds]
18:58ydaltonah, it says all symbols
18:58ydaltonnever knew about that
19:00dylanchapell has joined #asahi
19:00ydaltonbut how can you know when to use one or the other?
19:01dylanchapell has quit [Remote host closed the connection]
19:02j`eyfrom reverse engineering I guess!
19:03ydaltonlol there it is
19:04j`eyim assuming youre trying to make something that doesnt work.. work, otherwise you can just copy whatever the current DT does!
19:05ydaltoneh i'll see if _HIGH works since most other devices do that
19:06j`eyydalton: what's it for?
19:06ydaltoni'm trying to figure out how the AVD works
19:07j`eyyou dont need the DT for that just yet!
19:08j`eyalso have you tried to find the stuff that others have done with AVD?
19:09ydaltoni haven't found anything, although that might be helpful
19:10siilwyn has joined #asahi
19:10ydaltonlol, looking through the MMIO tracer i saw a stray 0xdeadcafe which piqued my curiosity
19:13ydaltonwow thanks, although i have no idea how to even write any of these
19:13ydaltonthe first one though, that looks like normal python code?
19:14j`eyyeah that was some emulator they were working on
19:14j`eyto try understand things
19:16ydaltonif i recall correctly, the way alyssa reverse engineered part of the gpu driver was to do it through macOS first
19:17ydaltonwait that's R?
19:20siilwyn has quit [Ping timeout: 480 seconds]
19:20ydaltonalthough tbh tracing mmio writes was gonna get old soon
19:20ydaltonafaik m1n1 can hexdump memory regions right?
19:22j`eyRegMonitor class in python can do some diffing and stuff too
19:24ydaltonalright, i'll take a look at that python script
19:27svenwe can’t reconfigure the low/high/etc. mode from any AIC interrupt
19:27svenit all takes the same path either way so anything will work, it’s just a matter of describing the HW accurately in the fdt
19:28ydaltonso either will work, but you'll have to find the better option, am i understanding that correctly?
19:28svenfrom what we’ve seen anything AIC except for the pcie MSI interrupts are (high) level triggered
19:29sventhe MSI interrupts are high edge triggered as per that specification iirc
19:29svenfor gpio interrupts you can actually configure which mode you want and have to make sure to select the right one
19:30ydaltonalso i saw the i2c uses the _LOW version
19:30svens/high edge/rising edge/ ofc
19:30karpouzioops forgot CONFIG_NVME_APPLE :)
19:31sventhe tipd device on the i2c bus has a _LOW interrupt
19:31svenbut that one doesn’t come directly from AIC
19:31svenit‘s from the gpio controller
19:32svenand those can actually be configured
19:33ydaltonsorry, my only understanding of gpio and i2c comes from school classes, and they didn't do a particularly good job at that lol
19:35ydaltonand what about devices internal to the soc?
19:36ydaltonthey're all high edge triggered i guess
19:37svenfrom what we’ve seen AIC really only does edge triggered interrupts with the exception of pci MSI
19:37svenerr…
19:37sven*level
19:37svenor wait… now I’m confused :D
19:37svenlet me double check
19:38svenyeah, it only does level triggered and edge triggered for pci MSI
19:39ydaltonoh right, i must have mixed up the terms
19:39sventhat’s also documented in the device tree bindings fwiw
19:40svenDocumentation/devicetree/bindings/interrupt-controller/apple,aic.yaml
19:42ydaltonoh i didn't see this, thanks for the read
19:46siilwyn has joined #asahi
19:47ydaltonj`ey: hold on, unicorn is a library for emulation?
19:48j`eya library built on top of qemu
19:49ydaltonhuh, interesting
19:54siilwyn has quit [Ping timeout: 480 seconds]
19:55ydalton` has joined #asahi
19:56ydalton` has left #asahi [#asahi]
20:02ydalton has quit [Ping timeout: 480 seconds]
20:04r0ni has joined #asahi
20:07possiblemeatball has quit [Quit: Quit]
20:10possiblemeatball has joined #asahi
20:12Techcable has joined #asahi
20:12Techcable has quit [Remote host closed the connection]
20:14Techcable has joined #asahi
20:15mkurz has quit [Ping timeout: 480 seconds]
20:20siilwyn has joined #asahi
20:21possiblemeatball has quit [Quit: Quit]
20:21rappet has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
20:22rappet has joined #asahi
20:28siilwyn has quit [Ping timeout: 480 seconds]
20:29mkurz has joined #asahi
20:30karpouzidoes anyone recall how to mount the asahi root in osx?
20:31darkapex has joined #asahi
20:31karpouzithe Asahi Linux and Asahi Linux - Data partitions do not appear to be what i'm looking for, as they're both only 2.5GB
20:31ChaosPrincessthe short answer is you dont
20:31ChaosPrincessthe slightly longer one is: install this https://github.com/gerard/ext4fuse
20:32karpouziohh right
20:33karpouzity ChaosPrincess
20:35karpouzidoes nobody use btrfs on m1 yet :P
20:36ChaosPrincessyou mean, eat-ya-data-fs? :P
20:38j`eykarpouzi: some do!
20:41karpouzilmao osxfuse requires rosetta2?
20:42karpouzii suppose some reboots are acceptable
20:42the_CLA has joined #asahi
20:43karpouziosxfuse states "not compatible with this version of macOS" ventura 13.4.1
20:45karpouziah ok known issue
20:47karpouziinteresting, have to enter recovery to enable third party system extensions to allow macfuse instal
20:52siilwyn has joined #asahi
20:54ChaosPrincessyea, new security stuff means that you need to enter recovery to sign a modified kernelcache
20:56karpouziis that new since asahi has been out? or just new on m1
20:57ChaosPrincessthats a m1 thing
20:58karpouzigosh, they want like five reboots to enable one userspace filesystem
20:58karpouzithanks for the help
20:58roxfan has joined #asahi
21:00siilwyn has quit [Ping timeout: 480 seconds]
21:19karpouzihold on, ext4fuse can't write
21:19vLily has quit [Ping timeout: 480 seconds]
21:20blazra has quit [Read error: No route to host]
21:21blazra has joined #asahi
21:22jeisom has quit [Ping timeout: 480 seconds]
21:23karpouzidid you mean that the process for recovering a bad kernel is to recover everything but the kernel and reinstall
21:23ChaosPrincesswell, you can throw a good kernel on ESP and boot from that
21:24ChaosPrincessi have /boot-is-esp for my install so its already there
21:25ChaosPrincessyou can do something similar
21:25siilwyn has joined #asahi
21:26karpouziah yeah i was wondering why boot was inside root and not a separate partition
21:28darkapex has quit [Remote host closed the connection]
21:30jannauI think a linux vm on macos is able to use raw disk partitions. that would support write access
21:33mpsright. I wrote on #asahi-alt some time ago how to use qemu on macos to access linux partition
21:34siilwyn has quit [Ping timeout: 480 seconds]
21:43mpskarpouzi: if you need to access broken fs you can use external usb, here is how https://arvanta.net/alpine/install-alpine-m1/
21:43karpouzithanks mps
21:43mpsnsklaus_: ^ also
21:43dyanchapell has joined #asahi
21:44karpouzicuriously my other m1 machine cannot build kernel modules because it's confused by scripts/Makefile.build:280
21:44karpouzii guess i need to set 1.69.0 as default?
21:45possiblemeatball has joined #asahi
21:46karpouzi`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'`
21:46karpouzisorry, that was headers, not modules
21:47mpsfor me it worked with rust 1.69 and 1.70
21:47karpouzistill weird
21:48karpouzigot the other one booting with usb_8dev at least
21:48dyanchapellshould I make a bug report for the screen locker failing on asahi-edge ( https://imgur.com/a/ZdABgGr )?
21:49karpouzier no i didn't
21:49karpouzidid you try rebooting dyanchapell? i saw this last week
21:50dyanchapelli was able to follow the instructions and get into virtual terminal 3 and now it works fine...
21:51roxfan has quit [Ping timeout: 480 seconds]
21:55jannaudyanchapell: was that after an update of kde/qt packages (without logout or reboot)? if yes, than it's something which might happens after updates
21:57dyanchapelli updated something today and I havent restarted. if there were kde packages on pacman today then yes but I don't remember for sure
21:58siilwyn has joined #asahi
22:00dyanchapelli checked my log and yes that must be it
22:00karpouzigot usb_8dev working, only had to sacrifice 1 of 2 installs :D
22:01dylanchapell has joined #asahi
22:04dyanchapell has quit [Remote host closed the connection]
22:04dylanchapell has quit [Remote host closed the connection]
22:06siilwyn has quit [Ping timeout: 480 seconds]
22:13roxfan has joined #asahi
22:17delsol has joined #asahi
22:31siilwyn has joined #asahi
22:34karpouzialright the make headers_install was some cargo env confusion
22:34karpouzimake headers_install issue i mentioned earlier, sorry
22:37roxfan has quit [Ping timeout: 480 seconds]
22:39bps has quit [Ping timeout: 480 seconds]
22:41roxfan has joined #asahi
22:50karpouzianyone else notice kwin_wayland eating an enormous amount of memory and CPU utilzation with nothing but konsole running
22:50karpouziit's eating 21% CPU just sitting on the desktop
22:51possiblemeatball has quit [Quit: Quit]
22:51karpouzim1 mac mini, 1080p display
22:52siilwyn1 has joined #asahi
22:52karpouzihmm maybe this is just baloo indexing a new linux repo
22:53ten1572377432 has quit [Read error: Connection reset by peer]
22:53c10l3 has quit [Read error: Connection reset by peer]
22:53c10l3 has joined #asahi
22:53ten1572377432 has joined #asahi
22:53Soni has quit [Read error: Connection reset by peer]
22:54nicolas17 has joined #asahi
22:54Soni has joined #asahi
22:57siilwyn has quit [Ping timeout: 480 seconds]
22:57nsklaus_ has quit [Ping timeout: 480 seconds]
23:12delsol has quit [Remote host closed the connection]
23:25dylanchapell has joined #asahi
23:38Nokurn has joined #asahi
23:51siilwyn1 has quit [Ping timeout: 480 seconds]
…