ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi
nopeslide1 has quit []
nate8_ has joined #asahi
nopeslide1 has joined #asahi
Moprius has joined #asahi
nate8 has quit [Ping timeout: 480 seconds]
unicordion has quit [Ping timeout: 480 seconds]
unicordion has joined #asahi
Moprius has quit [Remote host closed the connection]
unicordion has quit [Ping timeout: 480 seconds]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
unicordion has joined #asahi
unicordion has quit [Quit: Konversation terminated!]
zef has joined #asahi
zef_ has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
dgb has joined #asahi
<dgb> Hi, I saw helped wanted for APFS compression for recovery partition, and I experimented with afsctool (https://github.com/RJVB/afsctool). The system recovery partition only has `arm64eBaseSystem.dmg` compressed with LZVN with all other files uncompressed, and applying the same results in a functional recovery partition for Asahi too, shrinking from 1.8GB to 800MB. Compressing the entire partition will make it unbootable so I didn't explore further.
<dgb> Here's what I did: https://tpaste.us/EJkJ
<dgb> I don't know if there's anything else I can do for this. Please let me know.
hi has joined #asahi
<hi> hi
hi has left #asahi [#asahi]
auggiefroggie has joined #asahi
<auggiefroggie> Hello, anyone have trouble updating their pacman -Syu at public libraries?
<auggiefroggie> When i go to any library i get a core.db failed to download extra.db failed to download community.db failed to download
<auggiefroggie> maybe has todo with mirrors?
auggiefroggie has quit []
dgb has quit [Quit: dgb]
Zopolis4 has joined #asahi
nela9 has joined #asahi
jmr2 has joined #asahi
nela has quit [Ping timeout: 480 seconds]
nela9 is now known as nela
cylm has quit [Ping timeout: 480 seconds]
<jmr2> dgb: nice! If you want to go all the way, I thing the end goal would be a pull request on code that would integrate that into the asahi installer.
hightower3 has joined #asahi
<jmr2> The idea would be to be able to install on a partition smaller than 2.5GB, so compression would need to happen on the stream, not on an existing file.
<jmr2> Given that the installer is in python, you might as well start with a python implementation, like this one. Good luck!
<jmr2> (Note that I'm just a user, not a dev, so YMMV.)
jmr2 has quit [Quit: Page closed]
jmr2 has joined #asahi
jmr2 has quit []
<marcan> jmr2, dgb: I am not comfortable shrinking the recovery partition further, because APFS seems to really hate small filesystems and will fail volume creation and things like that. So it won't help with that.
hightower2 has quit [Ping timeout: 480 seconds]
<marcan> however, I *do* want to implement APFS compression because that will allow us to stage version upgrades safely by having both versions at once
<marcan> requirements for that to happen: a build of that tool we can bundle with the installer (must also work from recoveryOS), and that the tool supports copy-compression
<marcan> in-place compression is useless because you still need to stage the uncompressed file first, which defeats the purpose
<marcan> not sure if it can do that
c10l has quit [Ping timeout: 480 seconds]
<marcan> from what I can tell it can't, without some roundabout thing using archives and another (ramdisk?) APFS partition which seems really silly
<marcan> so it sounds like it's probably better to reimplement exactly what we need into a separate tool, or better, python module
<marcan> we already use ctypes to poke Apple's LZFSE implementation to extract kernelcaches. if AFSC using LZFSE isn't much more complicated on top of that, we could implement it in pure python
stipa has quit [Read error: Connection reset by peer]
<marcan> looks pretty simple tbh, we can probably just do it in python
<marcan> mostly just 64K chunking and a little header, all stashed into the resource fork
stipa has joined #asahi
bluetail has joined #asahi
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
<marcan> we probably need to ctypes setxattr since the macOS version has an extra argument we probably need
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
gladiac has quit [Quit: k thx bye]
ncopa has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
annie444 has quit [Ping timeout: 480 seconds]
dgb has joined #asahi
<dgb> marcan: For some reason Apple's using LZVN instead of LZFSE for the recoveryOS base image. I guess it's best to do what Apple does to avoid unintended consequences (esp given that a fully compressed recoveryOS partition is unbootable). I currently don't have the capacity to make a copy-compression Python module myself, but I'm glad to be able to help provide this direction.
annie444 has joined #asahi
gladiac has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
dgb has quit [Quit: dgb]
annie444 has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
annie444 has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
annie444 has joined #asahi
gladiac has quit []
Guest4275 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest4392
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
annie444 has quit [Ping timeout: 480 seconds]
weitcis has joined #asahi
MajorBiscuit has joined #asahi
leitao has joined #asahi
annie444 has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
jpc has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has joined #asahi
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
<weitcis> has anyone succeeded in building Element-Desktop on asahi?
weitcis has quit [Ping timeout: 480 seconds]
<cy8aer> Looks like Element desktop depends on an electron version with problems to 16k paging.
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
leitao has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kujeger> yeah, either use an alternative client or (what I do) just use the web-client in firefox or whatever
annie444 has quit [Ping timeout: 480 seconds]
<the_CLA_2> Though if I understand https://github.com/AsahiLinux/docs/wiki/Broken-Software correctly, the issue has been fixed in Electron 19. Element-Desktop in the Arch repos uses an even newer Version.
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
c10l has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
leitao has joined #asahi
<cy8aer> Another possibility if you want an explicit app e.g. in gnome: call the web client in epiphany browser and save as an app. Looks like the desktop app but is the browser...
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
chadmed has quit [Ping timeout: 480 seconds]
annie444 has quit [Ping timeout: 480 seconds]
bluetail has quit [Ping timeout: 484 seconds]
ncopa has joined #asahi
annie444 has joined #asahi
Dementor has joined #asahi
bluetail has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
bluetail2 has joined #asahi
bluetail has quit [Ping timeout: 482 seconds]
annie444 has joined #asahi
bluetail2 has quit []
bluetail2 has joined #asahi
bluetail2 has quit []
bluetail has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
thansen has quit [Ping timeout: 480 seconds]
cylm has joined #asahi
possiblemeatball has joined #asahi
annie444 has joined #asahi
seeeath has joined #asahi
thansen has joined #asahi
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
annie444 has quit [Ping timeout: 480 seconds]
annie444 has joined #asahi
jacksonchen666 has quit [Ping timeout: 480 seconds]
bluetail has joined #asahi
<bluetail> sven I have a usb enclosure here that prevents asahilinux to boot when inserted at a usb c port. it says something about an unknown XHCI error
<bluetail> it works fine after boot, though
<bluetail> I kinda cant get logs since it halts u-boot
<bluetail> Should I just plug it into the usb a port, or do you wanna invest time in it together with me?
<jannau> bluetail: please provide details in https://github.com/AsahiLinux/u-boot/issues/4
<bluetail> k cool
<jannau> I assume sven's motivation to debug problems in u-boot's usb stack are rather low
nate8_ has quit []
<bluetail> jannau I'mma gonna test if it halts on USB A too, cause I didnt really test that yet. So I'll be off here for a sec
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
<jannau> bbluetail: u-boot in asahi doesn't support yet the usb-a ports (mainline u-boot does)
bluetail has joined #asahi
<jannau> bluetail: u-boot in asahi doesn't support yet the usb-a ports (mainline u-boot does)
<sven> yeah, I’m not gonna look into anything uboot and usb
<sven> just getting all that working in the kernel is bad enough ;)
<bluetail> jannau if it support it on A ports I couldnt boot. No I meant, I wanted to find out what USB chipset it is to make it easier
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mkurz has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
grange_c has quit [Quit: The Lounge - https://thelounge.chat]
grange_c6 has joined #asahi
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
mkurz has joined #asahi
bluetail9 has joined #asahi
bluetail9 has quit []
bluetail9 has joined #asahi
bluetail9 has quit []
bluetail1 has joined #asahi
bluetail1 has quit []
bluetail9 has joined #asahi
bluetail has quit [Ping timeout: 480 seconds]
<bluetail9> sry, my nick seems stuck
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
annie444 has quit [Ping timeout: 480 seconds]
unicordion has joined #asahi
annie444 has joined #asahi
Zopolis4 has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
<as400> sven: did you "remove" usb port in your keyboard out of kernel frustration ? I mean maybe this is the way to go with everything :)
jpc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<as400> seriously - these latest "inventions" (usb4, tb4 etc.) seem just like they went completely sideways. I'm wondering whether there is one person on the planet that understands all of these "standards"...
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
<sven> yup, just soldered a cable instead
<sven> and usb4 seems to be quite reasonable so far
possiblemeatball has quit [Quit: Quit]
<sven> 40 gbps over a very thin wire is quite impressive imho ;)
jacksonchen666 has joined #asahi
<as400> sven: yeah, seen your work on keyboard. Looks really cool :)
<sven> the most annoying part about usb4 is that datasheets are only partially available
<sven> probably because it’s so closely related to thunderbolt
<as400> Actually - inspired by you working on it I tried to read some docs. And it seems I don't have enough brain cells to understand it :)
g has joined #asahi
<sven> usb docs (especially usb pd) should come with a big “hazardous material” warning :p
<as400> hahah - pd ? Really ? Like power delivery ?
axboe_ has quit [Remote host closed the connection]
k3a has joined #asahi
<sven> yeah
<sven> it’s a few hundred pages spec full of insanity
<as400> isn't pd driven normally by a separate controller ?
<sven> yes, but the alternate mode negotiation also happens over that protocol
axboe has joined #asahi
<as400> heh - so hardware engineers don't care how it all comes to a fruition. "Hey software dept - make this shit work", right ?
g has quit [Remote host closed the connection]
annie444 has quit [Remote host closed the connection]
annie444 has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi
weitcis has joined #asahi
<as400> hmmm... I observed interesting thing
<as400> when I charge mbp with usb-c cable - battery health is dramatically getting lower and lower
<as400> then I connect apple cable and charge it few times and battery health goes up
<as400> anyone noticed the same thing ?
<mps> as400: my old mbp survived shower washing and battery show "Good"
<mps> and it only have usb-c for power
jacksonchen666 has quit [Quit: ZNC - https://znc.in]
<mps> even didn't tried usb-c power on m1pro mbp
<as400> mps: you're a hardcore :)
Brainium has joined #asahi
<mps> as400: no, I'm naive. thought that macboks are waterproof
<as400> mps: btw - is there any way to circumvent apk dependencies ?
<mps> circumvent?
<mps> you mean fake it?
<as400> no - I mean ignore deps
<mps> ah, you can add virtual pkg. apk add -t pkgname, pkgname
<mps> 'apk add -h' will show
<mps> man apk-add
<as400> no - i have alpine with some packages depending on pulseaudio. And I want to replace pulseaudio with pipewire. BUT - can't do that because of dependencies. Asking you because in Debian you can do that ignoring dependencies. So - the question is - is there a similar thing in apk ?
<mps> apk add -t pulseadio (iiuc your question)
<mps> pulseaudio*
<mps> but afaik no one package have hard deps on pulseaudio
<mps> only PA-libs
<mps> libpulse
<as400> hmmmm, I'm just asking
<as400> I just don't want to break the system
<mps> well, I don't use pulseadio not pipewire, and everything works fine
<mps> s/not/nor/
<as400> ok - thx
ivabus has joined #asahi
<ivabus> Hi, I'm trying to install alarm minimal, using main installer, but I'm getting strange thing on second phase (in recoveryOS) and now in booted macOS. In recovery system just halts seconds later after first password. On macOS (first three times it was normal) it started to halt on "bless" part. It's M2 Air with Ventura 13.2 (22D49). What should I do?
<ivabus> Oh, got a macOS kernel panic message https://gist.github.com/ivabus/e5e120db9849e5c18776005e8632a6a4
ivabus has quit [Remote host closed the connection]
ivabus has joined #asahi
ivabus has quit [Remote host closed the connection]
ivabus has joined #asahi
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
annie444 has quit [Read error: Connection reset by peer]
weitcis has quit [Ping timeout: 480 seconds]
ivabus has quit [Ping timeout: 480 seconds]
weitcis has joined #asahi
jn has quit [Remote host closed the connection]
Brainium_ has joined #asahi
jn has joined #asahi
Brainium_ has quit []
Brainium has quit [Ping timeout: 480 seconds]
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
zzywysm has joined #asahi
Zopolis4 has joined #asahi
i509vcb_ has joined #asahi
i509vcb_ has quit []
i509vcb_ has joined #asahi
i509vcb_ has quit []
i509vcb has joined #asahi
chadmed has joined #asahi
eroc1990 is now known as Guest4461
eroc1990 has joined #asahi
Guest4461 has quit [Ping timeout: 480 seconds]
unicordion has quit [Quit: Konversation terminated!]
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
yurinnick has joined #asahi
elvishjerricco has quit [Remote host closed the connection]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seeeath has joined #asahi
ptudor has quit [Read error: No route to host]
ptudor has joined #asahi
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zopolis4 has quit []
jpc has joined #asahi
jpc has quit []
unicordion has joined #asahi
rkjnsn_ has quit [Remote host closed the connection]
hightower3 has quit [Remote host closed the connection]
jtf has quit [Ping timeout: 480 seconds]