2022-03-24
00:01kjm99 has joined #asahi
00:01user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:06Candygoblen123[m]<Glanzmann> "Anyone else who knows macos..." <- tbh it's prob time machine, i use "tmutil thinlocalsnapshots / 999999999999999 4" to clear them
00:06Candygoblen123[m]* it's prob just time machine,
00:06Candygoblen123[m]even one snapshot can take up a lot of space
00:07kode54snapshots are just deltas, but if you do a lot of data modification between snapshots, they can take up a lot of space, yes
00:07Candygoblen123[m]When i installed, i cleared them all, stepped away for about 5 minutes, came back to install Asahi, and had to clear them again because Time machine had created another one
00:08a1eaiactaest has quit [Ping timeout: 480 seconds]
00:09dabaiste^ has joined #asahi
00:10Candygoblen123[m]kode54: but yeah, don't tell people to turn off time machine. Usually it's the only thing between them and losing their data
00:16a1eaiactaest has joined #asahi
00:16Tano70 has quit [Quit: Leaving]
00:24Candygoblen123[m]it's on an external drive
00:24Candygoblen123[m]are you sure you know what you're talking about
00:25nicolas17that way it gets a consistent copy even if there's programs modifying files while the backup is in progress
00:26Candygoblen123[m]it will create a snapshot when it begins backing up to the drive as well
00:28kode54all my source code lives in public Git repositories, the rest is old garbage I stopped caring about ages ago
00:29kode54(I knew someone who already blew through an entire 2TB iCloud account just filling their photos library with raws)
00:29a1eaiactaest has quit [Ping timeout: 480 seconds]
00:35a1eaiactaest has joined #asahi
00:39chadmed has joined #asahi
00:41kjm99 has quit []
00:43a1eaiactaest has quit [Ping timeout: 480 seconds]
00:52a1eaiactaest has joined #asahi
00:55user982492 has joined #asahi
00:59ciggi_ has joined #asahi
01:00a1eaiactaest has quit [Ping timeout: 480 seconds]
01:01ciggi has quit [Read error: No route to host]
01:05dabaiste^ has quit [Remote host closed the connection]
01:07a1eaiactaest has joined #asahi
01:12bmentink[m] has joined #asahi
01:14bmentink[m]hi guys, I have just done a fresh install on my Macbook air, booted into Arch fine, but can't setup WiFi, when I try iwctl to set it up, it just sits there saying "Waiting for IWD to start"
01:14yuyichao_ has quit [Ping timeout: 480 seconds]
01:15a1eaiactaest has quit [Ping timeout: 480 seconds]
01:16amarioguy has quit [Ping timeout: 480 seconds]
01:16bmentink[m]How do I get network? I can't use ethernet over USB3, as it's not seen ..
01:17AntoniosPapadakis[m]if by Arch you mean Asahi Linux on an M1 [Pro|Max] chip, then WiFi should work. Try fiddling around with WiFi on|off switch. It sometimes gets stuck. If that doesn't work, a reboot should sort out the issue
01:18AntoniosPapadakis[m]the Mac Studio (and by extension the M1 Ultra chip) is not supported
01:18bmentink[m]I can see a wlan0 device ... I have a Macbook Air 2 years old
01:19bmentink[m]how do I start iwd service again?
01:20bmentink[m]ahhh got it thanks
01:20a1eaiactaest has joined #asahi
01:25Aiden[m] has joined #asahi
01:26Aiden[m]hi folks, I wanted to ask what the thoughts of the battery life of M1 airs running asahi's first release are
01:27Aiden[m]I'm willing to stomach potential difficulty in finding supported software given how solid the battery life of said computers seem to be
01:27ReaganMcFarland[m]It’s def not as much as normal macOS
01:27ReaganMcFarland[m]But I think I get like 6-7 hours on my m1 MacBook Pro 2020
01:28ReaganMcFarland[m]I could be off
01:29ReaganMcFarland[m]I get like 16 on macOS
01:29ReaganMcFarland[m]Sometimes more
01:29ReaganMcFarland[m]Depending on my workloads
01:29ReaganMcFarland[m]Vim / rustc
01:29a1eaiactaest has quit [Ping timeout: 480 seconds]
01:29ReaganMcFarland[m]I use a VDI for work - I can get almost 11-12 hours on that with battery
01:30ReaganMcFarland[m]Virtual desktop interface
01:30ReaganMcFarland[m]No for macOS but I was just saying how much battery I get on a normal day to day
01:30ReaganMcFarland[m]I would say asahi is considerably less than macOS in terms of battery life
01:30bmentink[m]Can't install xorg, get error retrieving harfbuzz ... any idea's
01:31ReaganMcFarland[m]But if your workloads aren’t super intense it should be fine
01:31ReaganMcFarland[m]Lmfao that’s awful
01:31ReaganMcFarland[m]I can’t imagine going back to intel
01:31ReaganMcFarland[m]I miss Linux so much tho - Glad asahi is around :)
01:32Aiden[m]yeah... I will upgrade at some point, but engineering school tuition demands that I wait until my aspire cacks to purchase a new computer
01:33bmentink[m]Anyone?
01:33bmentink[m]pacman
01:34bmentink[m]I have done the basic install as I want gnome
01:34bmentink[m]error message is "failed to retrieve 'harfbuzz-4.0.1-1 ... etc
01:35bmentink[m]ok, just a second slow typer
01:36bmentink[m]harfbuzz-4.0.1-1-aarch64.pkg.tar.xz from mirror.archlinuxarm.org .. error 404
01:36bmentink[m]did that
01:37bmentink[m]did pacman -Syu
01:37bmentink[m]what mirrors should I be using, not the install ones?
01:38a1eaiactaest has joined #asahi
01:38bmentink[m]ok will try
01:39kode54the mirrorlist file mentions a California mirror, but that repo doesn't mirror alarm any more?
01:40bmentink[m]australia mirror did not help ... changed it and did a pacman -syyu
01:41bmentink[m]I will try the Chicargo one
01:42bmentink[m]see above .. I did
01:43kode54but the repo index is older than the last update check timestamp, then it won't remove the count
01:45bmentink[m]huh? every mirror I try returns the same error
01:46a1eaiactaest has quit [Ping timeout: 480 seconds]
01:51bmentink[m]So I can't continue the install, until I get some help here ..
01:51a1eaiactaest has joined #asahi
01:53doggkruse has joined #asahi
01:55* Taro[m]uploaded an image: (183KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QfbRiVNkTdqicpHJIjzOPfmK/asahi.png >
01:56Taro[m]im trying to install asahi with the command, but it stops after it downloads and doesnt continue to extracting nor initializing
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi
02:01bmentink[m]well I have just done a fresh install and it is not asking for 4.1.0
02:04bmentink[m]root
02:05bmentink[m]yep :(
02:05bmentink[m]has anyone tried the basic install here ..
02:06yuyichao_ has joined #asahi
02:07bmentink[m]would you be able to try an "upgrade" and report back?
02:07kode54I downloaded jemalloc from ABS, patched the PKGBUILD for aarch64 (just needed the arch defined)
02:08bmentink[m]ok cool ..
02:08sentient_lilac[m] has joined #asahi
02:10kode54"hack" because upstream alarm builders don't build on 16k or 64k machines, and jemalloc detects the page size of the building machine, and only supports smaller sizes than it was built with, not larger
02:10kode54this fix works for the few apps that import dynamic jemalloc from the jemalloc package, but not for the huge wealth of apps that static link it
02:11chadmedive been trying to hack the jemalloc that comes with fex to at least allow me to do SOMETHING with 16k pages
02:12enchiladasconpinguino[m]so possible DCP bug on M1 Mini: HDMI signal is only negoiated once on boot?
02:12enchiladasconpinguino[m]if I turn the monitor power off, display signal never comes back on. I have to then reboot the system remotely
02:13enchiladasconpinguino[m]can anyone else with Mini connected to HDMI display confirm? is there a workaround?
02:13enchiladasconpinguino[m]also no DPMS control, even though `xset q` show it is enabled. Which is most likely this same bug
02:13enchiladasconpinguino[m]so initial iBoot HDMI negotiation is all that happens, Linux driver can't do it? is that it?
02:13enchiladasconpinguino[m]oh so m1n1 can but Linux can't ?
02:13enchiladasconpinguino[m]that's better than iBoot
02:14chadmedi think fex is faster for certain floating point codepaths which is why i want it up and running as well
02:14enchiladasconpinguino[m]well its certainly bug, that you can hang your system that easily .. and have to leave monitor on running
02:15enchiladasconpinguino[m]I haven't tried a newer monitor yet
02:15enchiladasconpinguino[m]same, its an old monitor .. probably why it works
02:16Kevin5 has joined #asahi
02:16kode54m1n1 currently ignores displays over a certain resolution, because of behavior with monitors that are single DPI but lie about their resolution in the EDID
02:16kode54for some reason, it was decided that initializing a monitor that high would be detrimental rather than wanted
02:17enchiladasconpinguino[m]and DisplayPort USB-C port isn't working yet either right? almost certainly answer is no, just checking
02:17enchiladasconpinguino[m]yeah figured, v complex
02:18enchiladasconpinguino[m]I guess I can boot it headless without HDMI plugged in at all? reboot for GUI when needed .. or else leave a gentle screensaver going for poor old monitor
02:18kode54every time I boot it, I have to move my headphone transmitter cable to my bluetooth microphone
02:18enchiladasconpinguino[m]I remember seeing some work on it, but maybe its not merged into alpha release at all hrmm not sure
02:19kode54enchiladasconpinguino[m]: you can use a screen saver like gnome screensaver that just blanks the screen
02:19enchiladasconpinguino[m]doing that already yeah, black at 100% brightness
02:19enchiladasconpinguino[m]I think slowly changing image is actually healthier for the screen
02:20enchiladasconpinguino[m]yup already using that
02:20nicolas17oh yeah there was some DCP development work already, but it's not on the alpha release
02:20enchiladasconpinguino[m]actually using XFCE screensaver sorry, not the old jwz one
02:22kode54shouldn't that be running in a sandbox, and the screen locker take care of protecting the system?
02:22enchiladasconpinguino[m]lol situation is slightly better on wayland, at least depending on compositor
02:22nicolas17I have seen bugs where people crash the screen locker with the login screen and fall right back on the user's desktop
02:23enchiladasconpinguino[m]DCP driver isn't working .. because its not in this kernel at all yet, just framebuffer from m1n1
02:23enchiladasconpinguino[m]okay thanks for confirming the screen issue
02:23enchiladasconpinguino[m]I thought / hoped it was an alpine specific issue heh
02:24nicolas17"It was revealed that this would have allowed anyone to bypass the security of the lock screen and access the desktop environment."
02:26amarioguy has joined #asahi
02:30Kevin5 has quit [Quit: Textual IRC Client: www.textualapp.com]
02:36enchiladasconpinguino[m]from the wiki: `DCP needs cleanup`
02:36enchiladasconpinguino[m]so yes driver does exist, but not ready yet
02:48jsch[m] has joined #asahi
02:49riker77_ has joined #asahi
02:54skipwich has quit [Quit: DISCONNECT]
02:54riker77 has quit [Ping timeout: 480 seconds]
02:54riker77_ is now known as riker77
02:54skipwich has joined #asahi
03:00a1eaiactaest has quit [Ping timeout: 480 seconds]
03:00skipwich has quit [Quit: DISCONNECT]
03:02nicolas17enchiladasconpinguino[m]: https://asahilinux.org/2022/03/asahi-linux-alpha-release/ shows it under "Not yet, but coming soon"
03:03skipwich has joined #asahi
03:06skipwich has quit []
03:07skipwich has joined #asahi
03:08skipwich has quit []
03:09a1eaiactaest has joined #asahi
03:10doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:10doggkruse has joined #asahi
03:16enchiladasconpinguino[m]is this farthest along branch? https://github.com/jannau/linux/tree/asahi-dcp
03:17enchiladasconpinguino[m]I see lots of `drm/apple:` which is a good sign
03:17a1eaiactaest has quit [Ping timeout: 480 seconds]
03:19enchiladasconpinguino[m]```DCP notifies PMP on power related events like a HDMI cable unplug.``` :)
03:19enchiladasconpinguino[m]so maybe already fixed here in this branch
03:22creechy has quit [Ping timeout: 480 seconds]
03:23phiologe has joined #asahi
03:26PhilippvK has quit [Ping timeout: 480 seconds]
03:27a1eaiactaest has joined #asahi
03:28amarioguy has quit [Ping timeout: 480 seconds]
03:28creechy has joined #asahi
03:30skipwich has joined #asahi
03:32nicolas17 has quit [Quit: Konversation terminated!]
03:33enchiladasconpinguino[m]yeah seeing recent commits, exciting
03:33enchiladasconpinguino[m]drm vblank appears to be present in the driver already :)
03:34skipwich has quit []
03:36GlanzmannCy8aer[m]: The arch was wrong. The line needs to be: debootstrap --arch=arm64 testing /mnt http://deb.debian.org/debian
03:36creechy has quit [Ping timeout: 480 seconds]
03:42kov has quit [Quit: Coyote finally caught me]
03:42kov has joined #asahi
03:43skipwich has joined #asahi
03:48skipwich has quit []
03:51skipwich has joined #asahi
04:01creechy has joined #asahi
04:09creechy has quit [Ping timeout: 480 seconds]
04:33creechy has joined #asahi
04:36a1eaiactaest has quit [Ping timeout: 480 seconds]
04:41creechy has quit [Ping timeout: 480 seconds]
04:45a1eaiactaest has joined #asahi
04:50marvin24_ has joined #asahi
04:53a1eaiactaest has quit [Ping timeout: 480 seconds]
04:54marvin24 has quit [Ping timeout: 480 seconds]
04:56creechy has joined #asahi
05:01a1eaiactaest has joined #asahi
05:04creechy has quit [Ping timeout: 480 seconds]
05:09a1eaiactaest has quit [Ping timeout: 480 seconds]
05:14creechy has joined #asahi
05:18a1eaiactaest has joined #asahi
05:30KDDLB has quit [Remote host closed the connection]
05:30kode54 has quit [Remote host closed the connection]
05:35KDDLB has joined #asahi
05:48creechy has quit [Ping timeout: 480 seconds]
06:01creechy has joined #asahi
06:02Ry_Darcy@Glanzmann Yesterday evening, tried to to bring up the M1 Mini on a 2K monitor in ZH. Again, a black screen. At this stage, I am convinced that it is the boot chainloading/DCP process that is very particular to which type of Monitor it will talk to.
06:05Ry_Darcy@Glanzmann This afternoon, I am in BE and will try again on the 2K monitor to apply your patch. The 2K monitor in BE worked last weekend. Having done that, I will have to wait until I am in ZH (tomorrow afternoon) to try your patch on my 4K monitor. This is not easy....
06:07EvadingEvasions[m]What are alternatives to firefox which run fine on Asahi?
06:10creechy has quit [Ping timeout: 480 seconds]
06:11GlanzmannRy_Darcy: I see. Jannau and Alyssa also working on the dcp driver. Maybe we have something we can use soon.
06:17Ry_Darcy@Glanzmann Will do. Very frustrating nevertheless. Not your fault though. Additional information. Through some magical process/act of god, I have managed to upgrade the M1 Mini to 12.3, fwiw.
06:19Ry_Darcy@Glanzmann I also ask myself, how did Pipcet (who I think worked on his own) manage to get "his" Linux to work with various monitors and resolutions?
06:20doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:24ptudor_ has joined #asahi
06:26a1eaiactaest has quit [Ping timeout: 480 seconds]
06:29ptudor has quit [Ping timeout: 480 seconds]
06:30creechy has joined #asahi
06:33kode54 has joined #asahi
06:35a1eaiactaest has joined #asahi
06:38dandiccf[m] has joined #asahi
06:39GlanzmannRy_Darcy: He did in the beginning but than there was diasgreement and he did his own thing.
06:40kode54Glanzmann: bmentink[m] above was having an issue where no matter which mirror they picked, it would try to download harfbuzz 4.0.1-1
06:41kode54the only thing I can figure is that somehow, they have read-only repo metadata on their system
06:41user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:43creechy has quit [Ping timeout: 480 seconds]
06:43a1eaiactaest has quit [Ping timeout: 480 seconds]
06:49a1eaiactaest has joined #asahi
06:56marcanRy_Darcy: m1n1 depends on the DCP iBoot interface for early boot bring-up and that interface is very limiting
06:56marcanwe still should work on trying to make the best of it because without it there is no GRUB/U-Boot menu even if the kernel works with DCP
06:57a1eaiactaest has quit [Ping timeout: 480 seconds]
06:57marcanbut there's only so much we can do short of implementing the full DCP interface in m1n1, which, if we end up having to go there, will have to wait because that would *suck*
06:58chadmedwe should simply force monitor manufacturers to properly implement their capability advertising :-P
06:58a1eaiactaest has joined #asahi
07:01chadmeddo we know how widespread that "fake 4K" problem is? i'd be inclined to just tell people to cop it for the sake of m1n1's simplicity and ensuring that "most" people without that problem get a flicker-free native res boot experience
07:02creechy has joined #asahi
07:02chadmedlike if the only other two options are "implement all of DCP" and "assume X*Y res framebuffer" then neither are really that good. the former would just suck soooo hard to do and the latter would still bork compatibility with a bunch of monitors unless you went for like 800x600 as the assumed res
07:03chadmedand you still have to tear all that down once the kernel loads its own dcp driver so you get flickering and black screens and all sorts of nastiness people usually associate with nvidia proprietary drivers (not something we should associate ourselves with)
07:03Ry_DarcyI am lucky if the bloody thing shows up after initial boot at all - whatever manufacturer/screen resolution.
07:09guillaume_g has joined #asahi
07:11chadmedoh right right i have misread then, i thought it was monitor firmware reporting a 4K mode to the DCP. apologies
07:12marcananyway, now that we have chainloading, the real answer is obvious: add 10 lines of code to m1n1 and 5 lines of code to update-m1n1.sh so that people can do echo 'display=3840x2160@60' >> /etc/m1n1.conf and pick whatever mode they want
07:13marcanplus that will force stage2 to re-init the display; we can add a "display=auto" option which will re-probe the display in stage2, which will likely fix flakiness issues for everyone; we can even add a configurable timeout for robustness
07:13creechy has quit [Ping timeout: 480 seconds]
07:16dottedmagJust curious: have you seen DCP handling tiled monitors? Are they reported as two outputs with some metadata, or DCP merges them internally and handles refresh synchronization internally?
07:16kode54the Retina 5k iMac punted it to Windows when they finally supported it at native 5k there
07:17marcaneDP connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
07:17kode54it was funny seeing the first setup wizard's fading background fading out of sync in the middle
07:17dottedmagHah, if this is so, then X / Wayland compositors will work better with tiled monitors under M1 than under x86
07:17marcandottedmag: everything graphics will work better under M1 than under x86 because x86 display output hardware kind of sucks, and drivers suck even more
07:18dottedmagmarcan: You sure know Wayland is a protocol, not software :-P What compositor have you tried? Kwin?
07:19marcanyes, but also specifically xwayland has DPI problems and this seems to be a longstanding issue
07:20chadmedlike if you log out and log back in the obvious aliasing disappears, but everything kinda just looks smeared
07:20marcanand yeah I noticed it was being "clever" with scaling and just resizing textures instantly when changed on the fly
07:20marcanwhich is cute and all but if apps don't support on the fly DPI switching you still need to restart them for stuff to become crisp
07:21marcanthe default xorg experience was much better than the default wayland experience so xorg it was for the release
07:21chadmedfirefox does not default to wayland ever on arch without that environment variable, you can make it do so in gentoo by adding the wayland USE flag though
07:22marcanI couldn't even figure out how to set libinput configs by default for wayland, it seems it's punted to the compositor there so I guess it would've been in kdeglobals at that point...
07:22marcanI did eventually figure out where to put those systemwide but by then we were hours from shipping :p
07:22dottedmagNearly everything is punted to compositor in Wayland. It's "no policy in protocol" at the extreme
07:22marcanbut then libinput should've had config files for this so all compositors can share defaults
07:24dottedmagTrue. Everything is solvable, there is even a protocol for better handling of fractional scaling in works. But it will take enormous amount of time.
07:25marcanI promised "linux works at least as well as it does on every other machine", not "linux works as well as macos at everything", so I'm not going to be holding myself to that standard
07:26marcanstill can't believe apparently eisu and kana have been swapped on all mac JP keyboard layouts since the dawn of time
07:27dottedmagmarcan: How do I manually select these keyboard layouts you have mapping for in installer? I'd like to check ru and ua layouts to see if they are any good.
07:27creechy has joined #asahi
07:27marcankde settings lets you change the layout (and also add options which the installer does not)
07:28ChainfireSo eh, I allocated 70GB for Asahi initially. I'm running out of space already. What are the steps to enlarge?
07:30marcanI wonder if there is even some diskutil magic incantation we can use to make that possible at all
07:30rkjnsnIf you can get a live media to boot via U-Boot, gparted makes the actual moving / resizing pretty easy.
07:31ChainfireOh, what you said made me think some weirdness was going on, but if I manage to shrink macOS, and was able to run gparted, that would "just work"
07:31coderush has joined #asahi
07:31GlanzmannChainfire: you can decrease macos, boot debian live, apt-get install -y xinit blackbox xterm gparted
07:32GlanzmannChainfire: Than start gparted and move the stub and esp partition to the end of the macos. And than resize your root filesystem. I have done it many times.
07:33Glanzmannmarcan: The nvme on these machines is so fast that something that I would have assumed take 10 minutes was like 45 secs.
07:33marcanif you have an existing install and the DTBs are compatible, I think you can interrupt u-boot and type `run distro_bootcmd` to boot from USB
07:33EvadingEvasions[m]When is the chromium patch coming? I can't seem to find it.
07:34EvadingEvasions[m]Ah thank you.
07:34EvadingEvasions[m]If that gets patched? What about electron applications?
07:35EvadingEvasions[m]So that means going to latest electron.
07:35EvadingEvasions[m]Most applications dare venture beyond minor releases.
07:35creechy has quit [Ping timeout: 480 seconds]
07:35EvadingEvasions[m]I see VS-Code suffering from this issue as well no?
07:36marcanapple developers managed to port to a whole new architecture, surely electron developers for Linux can update their framework or backport a patch
07:36jonaburg[m] has joined #asahi
07:36EvadingEvasions[m]marcan: Many are not interested in general.
07:36EvadingEvasions[m]Upgrading and testing breaking changes, surely electron will also take time to update chromium.
07:36chadmedthey use electron in the first place because it allows them to do the bare minimum work possible to push a viable gui application out
07:36EvadingEvasions[m]Yet they disregard us off as 'niche' population and 'we don't care'
07:37chadmedtheres no chance in hell most electron app devs are going to bother working in patches to support anything but the bare minimum machines
07:37EvadingEvasions[m]Indeed.
07:37EvadingEvasions[m]Let us hope some kind soul will go out of his way to compile VS-code.
07:37EvadingEvasions[m]Or one has to do it oneself.
07:37marcan4K/16K/64K have been standard on ARM64 since the dawn of time, therefore software that does not support all of them is buggy
07:37chadmedi mean if people really really really love vscode for some reason they can just use it in the web via github now...
07:38EvadingEvasions[m]It is not some reason good sir, it is very helpful, especially in a web developer's workflow.
07:38EvadingEvasions[m]Alas I am unable to find a good workflow with Kate.
07:38coderushmarcan: seen you've mentioned TPM-like capabilities of AS multiple times, in connection to swappable NAND requiring DFU erase restore to work on a different machine. Wanted to point out the closets thing se have to TPM on AS because of it - SKP ( https://support.apple.com/guide/security/sealed-key-protection-skp-secdc7c6c88e/1/web/1 )
07:38EvadingEvasions[m]Yet I simply enjoy using Linux, with KDE plasma too. I have loved KDE software since the beginning.
07:39EvadingEvasions[m]I have tried incorporating nvim too. Treesitter CLI does not work because of architectural issues.
07:40ChainfireGlanzmann: how do I make a debian live usb? Just same instructions as for any other system?
07:40marcanof course we need to be very careful going there since that's how you end up with people losing all their data on a keyboard firmware update (*cough* Microsoft Surface *cough*)
07:40coderushmarcan: it's only enforced if FileVault is enabled for any APFS volume group, but if so, it measures the HW state, iBoot1 state, and local policy state, and ties user data access to them all
07:41GlanzmannChainfire: You take an empty msdos usb stick and extract the tar in the root. See here: https://github.com/AsahiLinux/docs/wiki/Debian#livesystem
07:42marcancoderush: is it always used behind the scenes for these password-derived keys, or is it something we can opt in/out of depending on our specific usage of SEP?
07:42coderushmarcan: there's also a limitation on the amount of SKP measurement slots available, so 20 OSes installed in parallel is a limitation for that part too
07:42GlanzmannChainfire: 'the wifi firmware thing is no longer necessary it picks it up automatically from the esp. I remove that part in the wiki'
07:43marcanI should probably make my Asahi image builder build a live rescue image too, in that style...
07:44coderushmarcan: BootPolicy layer always measures and sends the measurements to lower layers, but enforcement of it all is only enabled if FV is on. I also don't think you can do anything to break the measurements, unless you do something really strage.
07:45jakebot6 has joined #asahi
07:45marcanthough I do need to figure out how to trigger SFR upgrades, most I've figured out so far is you copy some stuff to a staging location in Preboot (or system recovery?) and put stuff in NVRAM to make it boot into the upgrade ramdisk
07:45Glanzmannmarcan: For Debian it was super. Easy. I assume for arch it will be more or less the same: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/764bbca1b425faeb18d975d2a22fa827250e06c7:/bootstrap.sh#l106
07:45coderushBut you'll be deemed fuOS and the only thing you will be able to do is to get back to Full Security
07:45jakebot has quit [Read error: Connection reset by peer]
07:45jakebot6 is now known as jakebot
07:46marcanthat would let us get rid of macOS to some extent, though we'd still have to direct people into recoveryOS to complete a stub re-provision and upgrade the per-OS firmware
07:46marcanbut we have a good flow for that anyway with the USB installer flag hack, just need them to hold down the power button
07:47chadmedit would indeed be nice to yeet macos if we can get by with managing stuff from 1TR, dfu and linux
07:48marcanif you think it's okay to tell people to wire up and use idevicerestore, then we might be able to start offering "replace macOS" flows, at least in expert mode and understanding this
07:49coderushWell, replace macOS means no FV, at least before SEP FW will be loaded by Asahi and all that.
07:50coderushSo you'll likely never need to even trip SKP into being enabled if you don't want macOS
07:50marcanI'm not in a rush to offer that flow either way, but there's always going to be people who ask and that's why I have expert mode in the installer, that implies some level of "here be dragons"
07:51marcanI'm going to add a "delete partition" option to expert mode anyway just because diskutil sucks and we need a better UI for that, and the only thing stopping users from doing a no-macOS install at that point is something to stash around the SEP user identity list from it *before* nuking it so we can transfer it to linux
07:52marcanI've been thinking of just casually dropping that plist into iSCPreboot on Asahi installs, as a fallback and to enable that use case
07:53coderushStill need to get an owner created before, but yeah, that plist is required for all the stuff that can't just ask SEP for the owner list
07:53marcanyeah, that's what I mean, just boot macos once, create the owner, then boot into 1TR and run the installer and nuke it, and have it save just that plist
07:53coderushI feel kind of sad about the current state of this affair, because it seems stupidly complicated for no apparent reason
07:54Chainfire has quit [Remote host closed the connection]
07:54dottedmagmarcan: I checked ua/ru layouts, and they definitely need to be fixed. I don't know the syntax though (I've been using my own xkb symbols from keycodes up, so I don't know anymore how rules compose), were should I file the bug?
07:54jonaburg[m]the last time I tried to use a Mac was when I was super impressed by the hardware from the 2014 era MacBook Pro (first 'retina' marketing stuff).. almost a decade later and with the m1 I'm equally impressed by the hardware. can't express how much I love the project and where this is going!
07:54marcanif you can include a *very* detailed description of what the best layout/variant available so far is, and exactly what needs changing and how, that would be very helpful
07:55jonaburg[m]marcan: not sure how to send a private message on this client, but please send me a donation ETH address!
07:55coderushAlso, please don't forget about the fact that on Macs RU layout has at least 2 popular variants: usual Russian and Russian - PC created for switchers from PC
07:56jonaburg[m]marcan: you gotta be a little crazy to do something so cool I guess ;D
07:56dottedmagmarcan: xkeyboard-config already provides proper maps, it's the installer that selects the non-optimal (awfully non-optimal) variant.
07:56jonaburg[m]* guess ;D (wrong reply msg)
07:56marcandottedmag: oh, then that's here: https://github.com/AsahiLinux/asahi-calamares-configs/blob/main/bin/first-time-setup.sh#L109
07:56jonaburg[m]are you able to force xrandr to use a 120hz modeline in Asahi?
07:57jonaburg[m]on an m1 Mac anyways, I'm not sure if thee did from the display comes out right
07:57dottedmagmarcan: I could, but I don't know the syntax for specifying two layouts there. ua/ru need two: base latin and additional cyrillic
07:57marcandon't bother trying to add your own modelines, that will never work on these machines AIUI
07:58jonaburg[m]aah interesting, and I imagine the variable refresh rate is something not likely to come until mainline kernel gets support for this
07:58jonaburg[m]forced 120hz and I wouldn't care tbh
07:58marcanjonaburg[m]: depends on exactly what apple means with VRR, we need to figure out how to make it work
07:59marcandottedmag: calamares supports that, see here: https://github.com/AsahiLinux/calamares/blob/asahi/src/modules/keyboard/non-ascii-layouts
07:59marcanyou can just file a bug on the asahi-calamares-configs repo and explain exactly what you want and how it should work
08:01jonaburg[m]I kind of screwed up my partitions a bit btw, I wanted to give macOS a bit more space so I actually just removed the Asahi partition.. used to how things are setup in linux, I was shocked to find out volumes do not function as they do over there :D
08:01Chainfire has joined #asahi
08:01jonaburg[m]now I have one tiny 40gb partition with like 850gb unclaimed space in its own volume.. if I remove that "other volume", then it gives an error that I can't expand the initial due to some internal error
08:01jonaburg[m]yes, correct
08:02jonaburg[m]looks like it.. am I able to repair it at this point via cli?
08:02marcanit does not work unless all you have is a pile of neatly lined up APFS volumes utilizing all available space
08:02creechy has joined #asahi
08:02coderushmarcan: it's "simplified to help the less experienced user with their most common operations", end quote.
08:03jonaburg[m]interesting, from my reading I saw I thought they tried to solve the messy block allocation and flexibility by APFS in the first place
08:03jonaburg[m]but thanks for the advice! ill use diskutil cli
08:03marcanwhich we can't use because Linux can't use that, and we also don't share a container with macOS for the stub partition because at least it makes wiping easier
08:08a1eaiactaest has quit [Ping timeout: 480 seconds]
08:09coderushmarcan: anything GUI requires extreme amount of back-and-forth between the devs and the Human Interface people, with the latter doing everything they can to make thee GUI tools easier to use for non-power users. It often leads to software that is more usable for such users, but power users grumble about this to no end, also understandably.
08:10coderushCUI tools are way less regulated, and therefore are as brief or explicit as their devs like them to be.
08:10creechy has quit [Ping timeout: 480 seconds]
08:11Chainfiremarcan / Glanzmann : u-boot can't see my USB storage device. This machine only has usb-c ports, not sure if that's relevant
08:12GlanzmannChainfire: So I use a usb-c usb stick in either usb-a to usb-c dongle or in a hub with integrated ethernet and it always picks it up.
08:13MajorBiscuit has joined #asahi
08:15Major_Biscuit has joined #asahi
08:17coderush has quit []
08:19a1eaiactaest has joined #asahi
08:20creechy has joined #asahi
08:22MajorBiscuit has quit [Ping timeout: 480 seconds]
08:22GlanzmannChainfire: Perfect. vim /etc/wpa/wpa_supplicant.conf edit ssid and psk; ifup wlp1s0f0; apt update; apt install xinit blackbox gparted xterm; startx
08:23GlanzmannChainfire: Also don't forget to make the macos container smaller in macos: diskutil apfs resizeContainer disk0s2 <final size of macos>
08:23ktz3[m] has joined #asahi
08:26ktz3[m]yes I'm doing that already thanks, just wondered if I could get them rendered in the client
08:27Glanzmannktz3[m]: If you use linux, install irssi and than use the following to conenct to the chat: '/connect -ssl irc.oftc.net 6697' and join the channel '/join #asahi'
08:28creechy has quit [Ping timeout: 480 seconds]
08:29ktz has joined #asahi
08:41ChainfireGlanzmann: I now have the unallocated space between two APFS file systems. Can I just move those?
08:42Rakshit[m]I'm unable to change Security Policy for MacOS after installing Asahi
08:42Rakshit[m]Any idea why?
08:42Rakshit[m]Startup Security Utility only shows stub
08:43* Rakshit[m]uploaded an image: (51KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/pFjupQMbSsidXbMhFCMWsFYh/PXL_20220324_084254976~2.jpg >
08:49_jannau_Rakshit[m]: afaik it allows you only to change the security of paired OS, change the startup disk to macos
08:52creechy has joined #asahi
08:53Rakshit[m]_jannau_: Thanks! This worked!
08:56ptudor_ is now known as ptudor
08:59Chainfire has quit [Remote host closed the connection]
09:00creechy has quit [Ping timeout: 480 seconds]
09:01Chainfire has joined #asahi
09:06ktz has quit [Quit: Lost terminal]
09:19GlanzmannCy8aer[m]: I tried three different mirrors and than doublechecked my boostrap.sh script before i spotted the error ...
09:20jakebot has quit [Read error: Connection reset by peer]
09:20jakebot has joined #asahi
09:23creechy has joined #asahi
09:27a1eaiactaest has quit [Ping timeout: 480 seconds]
09:29a1eaiactaest has joined #asahi
09:31creechy has quit [Ping timeout: 480 seconds]
09:34a1eaiactaestCLONE has joined #asahi
09:37a1eaiactaest has quit [Ping timeout: 480 seconds]
09:42YannickVanier[m] has joined #asahi
09:42_jannau_marcan: will the cleanup script wipe "external" macos installations if they are not connected?
09:43marcanalso that cleanup only works with SIP disabled or from recovery anyway, otherwise it'll fail and do nothing
09:44YannickVanier[m]Just dropping by to thank the developpers, the install went flawlessly on my 2021 MBP M1 Pro, exeptionnal work by the whole crew. It's a keeper for sure
09:48mpsyesterday I used some parts of my free to build new u-boot and testing different boot methods
09:48j`eymarcan: nice to have a cheatsheet to refer back to, I'm pretty sure I get it, but Ive only actually partitioned once and that was way before we had the installer :)
09:49mpsktz3[m]: and enchiladasconpinguino[m] told that will write someting about install which I will stole ;)
09:49AdryzzOLEDEdition[m]iBoot -> u-boot wasn't intentional, right?
09:49creechy has joined #asahi
09:50AdryzzOLEDEdition[m]we-boot confirmed
09:51amarioguy has joined #asahi
09:51amarioguy has quit [Remote host closed the connection]
09:57creechy has quit [Ping timeout: 480 seconds]
10:00marcanthe boot chain for vanilla Asahi Linux is PMU OTP fuses → SecureROM → iBoot stage 1 → iBoot stage 2 → m1n1 stage 1 → m1n1 stage 2 → u-boot → GRUB core image → +GRUB modules → Linux → initramfs → pivot to root filesystem
10:01the_lanetly_052 has joined #asahi
10:02marcanit does work for single-core though, pipcet was doing that way early on (and I never liked it :p)
10:03marcanAIC was one reason why SMP wouldn't work (and still won't if you don't use FastIPIs, but even t8103 does now), but PSCI is another yeah
10:05AdryzzOLEDEdition[m]wasnt the bootloader of the wii called iBoot too?
10:05a1eaiactaestCLONE has quit [Quit: WeeChat 3.4.1]
10:06a1eaiactaest has joined #asahi
10:11AdryzzOLEDEdition[m]j`ey: yeah checked on wiibrew
10:12chadmeddark memories of putting discs in that would wipe out whatever downgraded IOS versions i had for various stuff
10:13AdryzzOLEDEdition[m]i was in elementary school when i tried wii homebrew
10:13AdryzzOLEDEdition[m]it was not fun when it was the only console (and sd card for that matter) that i had
10:14chadmedi didnt have a working dvd player at the time so it was awesome just being able to play dvds in the wii
10:15chadmedwell i was a drooling little idiot baby when i was using wii homebrew so naturally i paid no attention to who was actually behind it all
10:16AdryzzOLEDEdition[m]the first time i got interested in development was with the 3ds but that was a mess of its own
10:16chadmedthough i do remember when you letterbombed the wii, it would ask you if you intended to pirate games. that definitely feels like something marcan would do
10:19creechy has joined #asahi
10:25realmoot has joined #asahi
10:28creechy has quit [Ping timeout: 480 seconds]
10:39AdryzzOLEDEdition[m]here it says it's fixed
10:39AdryzzOLEDEdition[m]https://github.com/AsahiLinux/docs/wiki/Software-known-to-have-issues-with-16k-page-size
10:39mpspovik: repeating my question from last night 'what are VSENSE and ISENSE switches in alsamixer for speakers'
10:41realmoot has quit [Quit: Konversation terminated!]
10:43dottedmagobviously if Emacs from stable Debian does not work, then the kernel is not working ;)
10:43Sobek[m]Some people seem to forget this is still alpha and all the moving parts that have been dealt with yet, and all that remais to be done on the other front.
10:44GlanzmannSobek[m]: On Debian, at lease me is shipping currently a 4kb kernel, so emacs is working on Debian. I tested this morning, wondered why, rembered that I run a 4k kernel.
10:47Sobek[m]Hmm, I hope the discussion with the distros will end up in a state where distro are will to support 16k kernel (or mostly 16k kernel, if eventually a solution is found so that odd balls like FEX can run on the kernel while using 16k pages for everyone else). But sorting out these final bits is way less important than the driver work, isn't it ?
10:47Sobek[m]Glanzmann: I thought emacs was its own OS ? Is there such a thing as the secret Asahemacs cabal ?
10:48GlanzmannSobek[m]: I agree. But first we need to get everything upstream which is a lot of work.
10:49Sobek[m]Yeah, just saw the amount of feedback they are getting on the latest patch series sent by Sven. A lot of work there is. And that amount of work deserves praise !
10:51dottedmagSobek[m]: My ~/.emacs.d can now legally buy alcohol in US, do you really think I'd switch? He uses Emacs (or microemacs?) longer than I do.
10:51creechy has joined #asahi
10:51GlanzmannSobek[m]: Nope the keystroke are hard wired into his brain. Sobek, I also read the comments to Svens nvme patch series this morning. I mean its all 'just legwork' but someone needs to do it.
10:54klaus has joined #asahi
10:54klaus has quit []
10:59creechy has quit [Ping timeout: 480 seconds]
11:00jakebot has quit [Read error: Connection reset by peer]
11:01jakebot has joined #asahi
11:03Sobek[m]Will the macaudio driver be able to deal with the DSP / prevent speaker kaboom part in the future, or is this impossible for such a driver ?
11:03povikno the macaudio driver but a speaker amp driver will limit the maximal gain to a sensible value
11:04mpspovik: I thought these are some limiters, but I don't have datasheet so I just tried to guess
11:04povikwhether the amp gain caps will be enough to protect the speakers against evil userspace (if the DSP isn't there) i am not sure
11:05povikmps: no no, these switches are about sending some measurements from the speaker amps back to the SoC
11:06AdryzzOLEDEdition[m]there should be clamping in place to make sure that with stuff like pavucontrol setting volume above 100% doesn't have the same result but just clips
11:07bradfier has quit [Quit: Leaving...]
11:08mpsheh, I have garage full of IC datasheets but not much of new ones, most are 15 and up years old
11:09bradfier has joined #asahi
11:10kameks has joined #asahi
11:10povikAdryzzOLEDEdition[m]: there's no way it wouldn't clip already as a result of the samples representation
11:22ktz3[m]hey mps sorry for asking again, could you by any chance fill up an entry on the wiki about installing alpine? I've been looking to hop to either void or alpine since the release but I haven't dared to try something on my own fearing that I might brick the macos installation (not that I care that much now that I think of it)
11:23ktz3[m]I mean I've daily driven alpine for a couple of months before switching to void but I can't say I trust myself to do it
11:24chadmedi did a demo on twitter of the difference the DSP and stuff makes btw https://twitter.com/chadmedAU/status/1506866244049268740
11:24chadmedthe speakers do not explode if youre careful but i dont think we're ready to trust users to do that just yet
11:27creechy has joined #asahi
11:28jakebot0 has joined #asahi
11:30jakebot has quit [Ping timeout: 480 seconds]
11:30jakebot0 is now known as jakebot
11:33Sobek[m]<chadmed> "Sobek: no, thats my job ;)..." <- Has there been any progress in convincing upstream of the usefullness of your feature request (pipewire iirc) ?
11:35creechy has quit [Ping timeout: 480 seconds]
11:35mpsktz3[m]: I will try to create draft this evening (sorry I'm busy with something else for alpine and my $day_job else I would make it right now)
11:36chadmedand the fact that there are two audio devices will just have to be some jank we put up with
11:39chadmedpovik: wireplumber exploded the entire setup and makes things break on these machines so i dont want it to be a wireplumber thing lmao
11:40chadmedbut i simply cannot get it to work at all on these machines, which is why i say to use pipewire-media-session in the repo
11:42ktz3[m]mps understandable, no worries! thanks for responding.. I got the boot usb handy thanks to your script already, I'm just missing out on what to do after booting from the usb. Any chance describing roughly it in a sentence or two?
11:44enchiladasconpinguino[m]happy to help folks with their alpine installs
11:46ktz3[m]Almost where I left off before going afk, I just need to grab the static tool and I'm done with it
11:46mpsktz3[m]: use `lsblk -f` to find ESP, mount it to /mnt then untar wifi firmware `cd /lib/firmware && tar xvf /mnt/vendorfw/firmware.tar`
11:46chadmedthats the reason i want pipewire to do the device hiding, because it means pipewire-media-session will continue to work flawlessly for us
11:46chadmedand i have no idea why wireplumber wont work, nor the time or skills to try and debug and fix it
11:47apg has joined #asahi
11:47poviksure, AIUI (1) pipewire needs to do device hiding and (2) all else should be done in session managers
11:48mpsktz3[m]: from there you can follow standard alpine install guide but look at part about manually setting disk
11:49chadmedwell yeah if thats the separation of powers they want to go with, that will still work for us
11:49chadmedim not entirely sure how youd go about getting the session manager to set up the virtual sink though...
11:49ktz3[m]yeah this is the part I couldn't figure out in my mind, I've been having setup-disk acting funny sometimes and I'm not totally sure but if that's all there is to it I'm sure I'll do fine
11:51ktz3[m]so basically just extracting the firmware in the ESP and then doing the installer normally? The ESP is supposed to be ready if I'm running arch already or I should be doing that each time?
11:52mpsktz3[m]: if you format root partition and mount it, just run setup disk with some parameters for your case
11:54mpsktz3[m]: setup-alpine (if you don't break it at right step) will repartition drive, so on M1 *don't do this*
11:54enchiladasconpinguino[m]honestly the most fool proof way to install alpine, with the current alpha, is to start with external usb
11:55mpsktz3[m]: I'm waiting enchiladasconpinguino[m] to appear here and ask how he installed alpine
11:55Sobek[m]<chadmed> "well yeah if thats the separatio..." <- And this is where the devs behind the session manager also so say, not our job, pipewire should be the one doing it ?
11:57mpsktz3[m]: iirc first created VM image in qemu and installed linux-asahi kernel, and somehow 'dd'-ed (or with tar) to root partition on M1
11:57chadmedi guess the sad part is that its not exactly something that would be _hard_ to implement, it seems like its just that no one _wants_ to
11:57ChainfireDoes anybody know where we're at with GPU? Is (basic) acceleration weeks, months, or years away?
11:57enchiladasconpinguino[m]now successfully done two different installs to usb flash with: 1) script from @mps in chroot 2) standard .iso in qemu
11:57creechy has joined #asahi
11:57chadmedChainfire: userspace is looking pretty good for an accelerated desktop (~96% GLES2 coverage) but the kernel interface is still some time away i think
11:58Major_Biscuit has quit [Ping timeout: 480 seconds]
11:58enchiladasconpinguino[m]I haven't done internal nvme install of alpine yet, we're not quite there yet
11:58enchiladasconpinguino[m](I mean you can do it manually, its possible .. I just do not recommend)
11:58Sobek[m]@chadmed do you have any pointers on what software does what in the Linux audio chain ?
11:58mpsenchiladasconpinguino[m]: I think setup-disk should work but I didn't tested on M1 so not 100% sure
11:59Major_Biscuit has joined #asahi
11:59enchiladasconpinguino[m]if you're an alpine expert already and have proper backups, okay sure ..
11:59povikas400[m]: progress on speakers. they can be enabled for experimentation under the risk of damaging them if one isn't careful
12:00Sobek[m]chadmed: Would it be possible to write a piece of software on the side that takes care of 2 by loading conf and dealing with pipe wire but sitting outside of the session manager (and that could be installed with any session manager) ?
12:00mpsenchiladasconpinguino[m]: ktz3[m]: first time installation for me was rsync-ing rootFS from one of my arm64 chromebooks
12:01as400[m]povik: wow - that's great. Any already existing driver in the kernel that can be used ?
12:01Sobek[m]chadmed: I don’t understand how ALSA, Pipewire, wire plumber and all the other piece of software for together.
12:01chadmedSobek[m]: that was actually my initial design for handling this stuff, but marcan and i decided it would be better to generalise what we're trying to do so that _everyone_ can take advantage of it
12:01povikSobek[m]: it's simple. ALSA is a part of kernel and set of userspace libraries and tools to interact with it
12:02chadmedyou play with them until the machine explodes or otherwise stops working and then reverse that change ;)
12:02Sobek[m]And so is it possible for people to oops remove pipe wire and blast sound straight through ALSA and blow up the poor speakers ?
12:03chadmedSobek[m]: very little software actually has a direct alsa pipeline anymore but the possibility is absolutely there and we're not enabling audio until that possibility no longer exists
12:03ktz3[m]@mpv I tried hacking some way to somehow safely hand execution to void by either a chroot or running a wayland session through a container but I didn't get anywhere..
12:05povikas400[m]: if you are asking which drivers we reused that we didn't have to write ourselves: we reused the tas2764 driver with some changes
12:05Sobek[m]Well if you write the soft that eat config files (let’s call it pipewire-dsp) and sets up pipewire, I think you can still lobby for it to be shipped by distros ? It will still be less convenient because people could end up with pipewire without pipewire-dsp but should still be generic enough to be usable by everyone ?
12:05creechy has quit [Ping timeout: 480 seconds]
12:05Sobek[m]chadmed: How do you deny that possibility ? Pipewire and friend can take ownership of the output to prevent any other software from using it ?
12:07chadmedi believe the driver will limit the volume. barring that it will just be a UCM2 profile, but thats not a foolproof way to do it either (users can delete them)
12:07ktz3[m]but yeah hopefully I'll be running alpine tomorrow, you'd better be working :D thanks a lot btw mps
12:07chadmedthe best and safest way is in the driver with a hard limit so that userspace doesnt even know about higher volumes at all
12:12povikthe '90' value i should probably figure from macos in hypervisor, which is why i have been postponing it
12:12mpsktz3[m]: sorry I don't have time today (or tomorrow) to test complete instalation, will try on weekend. but I expect it should work
12:13Sobek[m]Is there any value that would be over conservative but known to be safe that could be used as a default if the exact valkue for the machine isn't known ? (Aside from 0)
12:16AdryzzOLEDEdition[m]decibels arent linear by definition
12:17creechy has joined #asahi
12:17chadmedyeah but the problem is the alsa volume slider doesnt work like a fader, so it treats its db scale as linear
12:18AdryzzOLEDEdition[m]i think i got it
12:18AdryzzOLEDEdition[m]it isnt doing a log() of the percentage
12:19chadmedmost faders are nonlinear, in that 1cm movement at the bottom will cause a greater change in apparent volume than a 1cm move at the top (log scale)
12:19chadmedhttps://www.sweetwater.com/sweetcare/media/2016/02/Sends-on-Faders.jpg heres an image of the faders on a desk i spent many years behind
12:20AdryzzOLEDEdition[m]a lot of linear potentiometers use a logarithmic scale too
12:20tomtastic has quit [Quit: ZNC - https://znc.in]
12:21AdryzzOLEDEdition[m]it treats db as a percentage
12:22ktz3[m]<mps> "ktz3: sorry I don't have time..." <- Its okay, at least I conceptualized a bit what I need to do so I guess I should be fine, lets see.. I want to do it right away tbh but I'm long overdue for bed.. have a great day for now
12:22tomtastic has joined #asahi
12:23a1eaiactaest has quit [Ping timeout: 480 seconds]
12:23enchiladasconpinguino[m]ktz3: ktz3: fwiw this script from mps worked on the first try for me with usb:
12:23Ashutosh[m] has joined #asahi
12:23Chainfirej`ey: the hardcoded was abandoned (not sure what the link is anymore), there's one here https://chromium-review.googlesource.com/c/chromium/src/+/3545665 and here https://chromium-review.googlesource.com/c/chromium/src/+/3545740
12:24ktz3[m]I've just struggled for like half an hour to find the apk static to run.. it isn't supposed to be a .apk is it?
12:24ktz3[m]> <@enchiladasconpinguino:matrix.org> ktz3: ktz3: fwiw this script from mps worked on the first try for me with usb:
12:25creechy has quit [Ping timeout: 480 seconds]
12:26jakebot3 has joined #asahi
12:27mpsktz3[m]: https://arvanta.net/alpine/install-alpine-riscv64-qemu-uboot/ this is for riscv64 in qemu guide I wrote, could be useful to shed some light
12:27Chainfirej`ey: well, as long as one of them gets accepted at some point, that'd be great for Asahi for sure. If it's not mine it's not great for the usefulness of my time though :D
12:28ChainfireNo idea. I have to run now, but I actually suspect that other patch will not link. Will probably try when I get back home.
12:31enchiladasconpinguino[m]its all relative ;)
12:31jakebot has quit [Ping timeout: 480 seconds]
12:32jakebot3 is now known as jakebot
12:39chadmed has quit [Remote host closed the connection]
12:40ktz3[m]@mps haha it started stinking to me as well for no particular reason, maybe it mostly has to do with docker but I can't point my finger to something
12:41ktz3[m]I found voidlinux to be the perfect distro to suit an alpine like experience.. mind that I was using alpine at my desktop but yeah it was great nonetheless
12:48creechy has joined #asahi
12:48MajorBiscuit has joined #asahi
12:49Ry_Darcy has quit [Remote host closed the connection]
12:50apg has quit [Read error: Connection reset by peer]
12:50Major_Biscuit has quit [Ping timeout: 480 seconds]
12:56creechy has quit [Ping timeout: 480 seconds]
12:56kameks has quit [Ping timeout: 480 seconds]
12:58jonaburg[m]thanks Marcon for this writeup about disk utility! no idea where you learned this stuff, or if its all by experimentation and inference
13:13matthewayers[m]Looks like Asahi got a shoutout here (totally wasn’t expecting it) https://youtu.be/AvGuXUJ6xjU
13:19creechy has joined #asahi
13:24manacho[m] has joined #asahi
13:29AdryzzOLEDEdition[m]yep saw it
13:30creechy has quit [Ping timeout: 480 seconds]
13:41yuyichao_ has quit [Ping timeout: 480 seconds]
13:41mpsktz3[m]: enchiladasconpinguino[m]: https://arvanta.net/alpine/install-alpine-m1/ is draft for alpine install
13:56a1eaiactaest has joined #asahi
13:56creechy has joined #asahi
13:58Sobek[m]<mps> "please read and 'help me!' :)" <- This is going to turn into a gentoo install (like twitch trying to install archlinux)
13:59kita99 has joined #asahi
14:04a1eaiactaest has quit [Ping timeout: 480 seconds]
14:04creechy has quit [Ping timeout: 480 seconds]
14:05kelito has quit [Ping timeout: 480 seconds]
14:07yuyichao_ has joined #asahi
14:08MajorBiscuit has quit [Ping timeout: 480 seconds]
14:19MajorBiscuit has joined #asahi
14:22jakimo has joined #asahi
14:22jakimo is now known as help
14:22help is now known as jakimo
14:27a1eaiactaest has joined #asahi
14:27creechy has joined #asahi
14:28jakimoI'm curious to know if there's an email update system to be informed as things move along for Asahi.. it's pretty amazing to see this project underway! I've only watched a video of it so far, but I'd like to install soon
14:32Glanzmannjakimo: If you have twitter account you could activate email notifications and subscribe marcan42 or asahi linux ...
14:36a1eaiactaest has quit [Ping timeout: 480 seconds]
14:51jakimo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:52jakimo has joined #asahi
14:52doggkruse has joined #asahi
15:03jakimo has quit [Quit: Textual IRC Client: www.textualapp.com]
15:03kaprestsGoing forward, is the plan to have numbered releases, or will the alpha be gradually updated sort of like a rolling release?
15:05a1eaiactaest has joined #asahi
15:05AdryzzOLEDEdition[m]rolling release
15:14doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:15amarioguy has joined #asahi
15:15user982492 has joined #asahi
15:36mpsmarcan: will the filesystem label for ESP stay 'EFI - UEFI' in future? I want to make disk image for alpine linux and create script which will unpack firmware from ESP on boot
15:43LinuxM1 has joined #asahi
15:47LinuxM1someone who uses macbook Air M1 tell me how to turn on the volume? I can't get it to work, if I open "alsamixer" it shows me as "item" jack ADC and as "card" macbook air integrated aud
15:52a1eaiactaest has quit [Ping timeout: 480 seconds]
15:53m2231puppy has joined #asahi
15:54LinuxM1to date, is there any procedure to make the audio of my macbook air work? or can I do nothing?
15:55Candygoblen123[m]currently, the internal speakers on your macbook air will not work under linux
15:56Candygoblen123[m]you have to use the headphone jack
15:56Candygoblen123[m]and even then, sometimes it won't work
15:58a1eaiactaest has joined #asahi
16:09maxung[m]ktz3: I did it very complicated, by installing asahi and then using a debian live stick to delete root partition, extracting void.tar, chrooting and setting everything up. because i had problems with grub and booting void, i ditched it and now boot directly via m1n1 (without u-boot). maybe i will write an install script similar to asahi/debian, not sure yet though
16:13mpsheh, my script to make alpine usb disk could be easily adapted to install alpine on nvme root partition
16:15Major_Biscuit has joined #asahi
16:16amarioguy has quit [Ping timeout: 480 seconds]
16:16a1eaiactaest has quit [Ping timeout: 480 seconds]
16:17MajorBiscuit has quit [Ping timeout: 480 seconds]
16:17maxung[m]<j`ey> "maxung: you dont need a script..." <- but something to create an image right? or just packing my root + efi partition?
16:20m2231puppy has quit [Read error: Connection reset by peer]
16:20m2231puppy1 has joined #asahi
16:21shnert[m] has joined #asahi
16:23m2231puppy1 is now known as m2231puppy
16:23a1eaiactaest has joined #asahi
16:23m2231puppy has quit []
16:28mpstpw_rules: no, I installed m1n1.bin from installer, though I created my own m1n1+dtbs+u-boot for ESP/m1n1/
16:29tpw_rulesyou need to gzip or xz compress the u-boot you concatenate to m1n1 or the chainloading won't work properly and you won't get that variable
16:30guillaume_g has quit []
16:31tpw_rules[10:36] mps] marcan: will the filesystem label for ESP stay 'EFI - UEFI' in future? I want to make disk image for alpine linux and create script which will unpack firmware from ESP on boot
16:31a1eaiactaest has quit [Ping timeout: 480 seconds]
16:31tpw_rulesthe answer to that is that the ESP is named 'EFI -' + the name the user gave the OS in the installer
16:31maxung[m]mps: so I guess one would execute the install script from an existing alpine installation right?
16:31tpw_rulesthe way to unambiguously identify it is to use the UUID in that /proc/device-tree/chosen/asahi,efi-system-partition file
16:32nicolas17 has joined #asahi
16:35marcanmps: if you are making distro images please make sure you read and understand this: https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs
16:40tpw_rulesmarcan: can you add the bit about compressing stage 2 payloads to make the chainloading work properly? i remember you mentioned you wanted to mandate compressed payloads; that could be good too
16:42marcantpw_rules: that's here: https://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#payloads
16:50maxung[m]I'm wondering, does the m1n1 stage1 installed with kmutil just include "Initializes hardware -> Puts up a pretty logo -> Chainloads another version of itself from a FAT32 partition"?
16:52Glanzmannmarcan: Don't worry I have read all your docs. Everytime I learned something new. I once even had a fight with my wife because she disturbed me multiple times while I was reading one of your more bloated docs. The page turner about the boot chain.
16:56kreechy has joined #asahi
17:00Ry_Darcy has joined #asahi
17:01user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:01creechy has quit [Ping timeout: 480 seconds]
17:02Ry_Darcy@Glanzmann I have applied your 4K boot.bin and rebooted. As you can see, I am still running on this cheap Benz 2K monitor in BE. I will have to wait until tomorrow evening to test this setup on my 4K monitor in ZH.
17:04Ry_Darcy@Glanzmann - oot@debian:~# ll /boot/efi/m1n1/ total 2928 4 drwxr-xr-x 2 root root 4096 Mar 24 17:55 . 4 drwxr-xr-x 7 root root 4096 Jan 1 1970 .. 1460 -rwxr-xr-x 1 root root 1493310 Mar 23 16:23 1920p.bin 1460 -rwxr-xr-x 1 root root 1492547 Mar 24 17:55 boot.bin root@debian:~#
17:10amarioguy has joined #asahi
17:11chr has joined #asahi
17:21WhyNotHugoBooting an uefi bundle (systemd-stub+kernel+initrd+cmdline) just results in this and then the system reboots: https://pasteboard.co/UAeo9Q4tVuQK.jpg
17:21WhyNotHugo(previous issues were due to systemd-boot not supporting gziped kernels on aarch64)
17:22tpw_rulesthe kernel is crashing somehow. try to boot it under the hypervisor. systemd-boot works fine for me
17:23WhyNotHugotpw_rules: systemd-boot works fine for me without a UEFI bundle, only the bundle fails like this.
17:23WhyNotHugotpw_rules: Any links on where to start for that?
17:24WhyNotHugoOh, I need a second mac for that ,right?
17:28tpw_rulesthis tells how to build m1n1: https://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide
17:28tpw_ruleshttps://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#running-a-linux-kernel-as-a-vm-guest-with-virtual-uart
17:33Sobek[m]Whoever was trying to make a suitable gentoo install media (+ stage3 I don't remember) how has it been going ? My backup situation has been sorted out, and I'm likely going to try out Asahi plus possibly gentoo this week-end
17:41a1eaiactaest has joined #asahi
17:50starsam80[m] has joined #asahi
17:56r0ni has quit [Ping timeout: 480 seconds]
18:02amarioguy has quit [Ping timeout: 480 seconds]
18:04user982492 has joined #asahi
18:12Ry_Darcy has quit [Remote host closed the connection]
18:13Ry_Darcy has joined #asahi
18:23kreechy has quit [Ping timeout: 480 seconds]
18:26kreechy has joined #asahi
18:32alex587[m] has joined #asahi
18:42kelito has joined #asahi
18:43chr has quit [Ping timeout: 480 seconds]
18:46Cy8aer[m]Glanzmann: uuuh got it. This message is written out of Matrix Element, Firefox ESR - (the debian unstable firefox 98.0-2 does not open any window and hangs!!), crypted file system. You'll get some more information how to set this up soon.
18:47GlanzmannCy8aer[m]: So you have now dm-crypt / lvm / btrfs with the 4k kernel and firefox does not start?
18:47GlanzmannCy8aer[m]: Ah okay so everything works, just the unstable firefox gives you issues. I always use the esr so I never noticed.
18:48the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:49jannauhttps://github.com/AsahiLinux/alarm-PKGBUILDs/commit/9ae781529ba348330c7ca9fe6a7012c28fe400d9
18:51Glanzmannjannau: Btw. I'm now using the mini as my primary workstation with the m1n1 2k patch. It is blazingly fast. :-)
18:54a1eaiactaestCLONE has joined #asahi
18:54a1eaiactaestCLONE has quit []
18:57a1eaiactaest has quit [Ping timeout: 480 seconds]
18:58chr has joined #asahi
19:06___nick___ has joined #asahi
19:07m6wiq has joined #asahi
19:09WhyNotHugoGlanzmann: Have you tried `firefox --no-remote --profilemanager` and a new profile?
19:10WhyNotHugoCy8aer[m]: ^
19:15jannauI'm very certain this is following firefox upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1757571
19:17geerlingguyI didn't see anything in my quick searching... but has anyone tested 10G network performance on the 10G M1 mini's internal port?
19:18geerlingguyOn 2.5G network I'm only getting about 1.5 Gbps of throughput (same port and config gets 2.35 Gbps on macOS side, didn't know if driver issue or what). Haven't tested full 10G connection yet though.
19:18amarioguy has joined #asahi
19:20kim0[m] has joined #asahi
19:21geerlingguyI can't believe more people wouldn't be willing to run alpha software on the most expensive M1 mini model :D
19:21jannaugeerlingguy: not that I know of. we all bought the mini before the 10gb option was available
19:22jannaubut I see following on the mac studio: "pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)"
19:22geerlingguyThen I'll keep testing and see what I find. Maybe pinning to a CPU core or something. I noticed if I have the graphical resource monitor up it uses like 26% CPU on four cores just to display itself lol
19:22geerlingguyjannau: oh... I don't have Asahi on the studio, just running on M1. Let me look at pcie devices
19:23jannauthat line is from dmesg and sounds if the pcie link is just running with 2.000 Gb/s which would explain poor performance
19:23geerlingguySees Aquantia controller, 2.00 Gb/s limited by x1 link
19:23geerlingguyhmm... what's limiting it then?
19:25geerlingguyIt seems like all 10G adapters use that aquantia nic :D
19:25ciggi_ has quit [Read error: Connection reset by peer]
19:26geerlingguyI believe the Thunderbolt adapter from OWC does too (though TB3 doesn't work on Asahi of course)
19:27artemist has quit [Ping timeout: 480 seconds]
19:28geerlingguyyeah. I'll document it for now and make a note to look later. Just exploring
19:28kim0 has joined #asahi
19:28geerlingguyYeah that was my preferred choice, but it was more expensive than OWC :D
19:28LinuxM1 has quit [Quit: Leaving]
19:30ciggi has joined #asahi
19:30kim0Howdy all. Sorry if this is not directly related! Is there a way to run Linux on M1, in a high security VM .. (full disk encryption, and maybe using secure enclave) ?
19:32LinuxM1 has joined #asahi
19:32GlanzmannAbout the 10 Gbit/s mini. I just tested on a friends workstation which is running macos: I get 10 Gbit/s in both directions (that is under macos): https://pbot.rmdir.de/DNCF9_McRdUgBVirbloNWQ
19:33jannauthat looks better: 'pci 0000:03:00.0: 15.753 Gb/s available PCIe bandwidth, limited by 16.0 GT/s PCIe x1 link at 0000:00:02.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)'
19:35jannauwe initialize the pcie port as PCIe 1 because apple describes it as "maximum-link-speed = 1" which is clearly wrong
19:35WhyNotHugoClosing and opening the lid has been very reliable. In the past, new platforms have often had issues like the display not turning on after opening the lid.
19:36* WhyNotHugoknocks on woof
19:36WhyNotHugo* wood
19:37GlanzmannWhyNotHugo: Hrhr. Today it failed on me once. But I powered in on, closed the lid and lid was not turning on after I opened it. Probably because a pre m1n1 boot loader turned it off and m1n1 never probed the display. This was with Debian.
19:38WhyNotHugoGlanzmann: Detecting the display at runtime should be possible, just absent on the software side, right?
19:45jannauyes, apple seems to changed how they announce the link speed for the 10gb nic in 12.3 (or earlier)
19:54chrWould I be kicked if I asked whether my Asahi Debian partitions could be used with qemu from within Mac OS?
19:56AdryzzOLEDEdition[m]the root can as it is a standard aarch64 root
19:56AdryzzOLEDEdition[m]everything else no
19:56WhyNotHugoWhat's /dev/nvme0n2 and /dev/nvme0n3?
19:56the_lanetly_052 has joined #asahi
19:57j`eyhttps://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet#physical-disk-layout-on-apple-silicon
19:58geerlingguyjannau: ah, so you're thinking it'll run at x4 speed if you set link speed 4 instead? Hopefully that same setup works with the 1G units. I don't have one I could test on
19:59GlanzmannThe others are used for kernel panic logs and stuff like that. That's pretty low level stuff you don't have to care about. This is an NVMe thing, like "low-level partitions". Just don't think too much about it.
19:59GlanzmannWhyNotHugo: Soure: THe documentation that noone reads besides me. ;-) https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet
20:01nicolas17theiphonewiki says "iPod touch (3rd generation) and beyond -- The NOR is replaced with a dedicated partition of NAND"
20:01Glanzmannj`ey: So, you read the documentation as well and watch every stream (hwich I don't) and you're faster. :-)
20:01jannaugeerlingguy: yes, I think so. I have a fix which should apply to the mini as well as far as I can tell from Apple's template devicetree
20:01nicolas17I guess either that transparently looks like a separate NOR flash to software, or they reverted that change on later hardware 🤔
20:02geerlingguyhas anyone installed docker on Asahi? If I just `pacman -S docker` it gives an error saying it can't find containerd
20:02geerlingguySure thing :)
20:02geerlingguygeerlingguy@mac.com is my GitHub/git email
20:03geerlingguyGlanzmann: apt-get in Arch?
20:03Glanzmanngeerlingguy: Well, let me put it that way, I installed arch once because I wanted to see it. It probably stayed 10 minutes.
20:03geerlingguy"Jeff Geerling <geerlingguy@mac.com>"
20:04lkvrsfld[m]Hey geerlingguy
20:04lkvrsfld[m]Love your channel btw
20:04lkvrsfld[m]Docker worked without problem installing with pacman… try to pacman -Rns it, and check the dependencies while reinstalling?
20:04geerlingguyGlanzmann: yeah but my question is specifically regarding Asahi / Asahi desktop ;)
20:04geerlingguyjannau: interesting. It's trying to install 1.6.1
20:04geerlingguyoooooooh.... didn't realize pacman is like apt
20:04geerlingguythought it was more like dnf
20:04geerlingguy"btw I don't use Arch [normally]" ;)
20:05geerlingguyyeah
20:05geerlingguyyay docker installed
20:06lkvrsfld[m]Just disable that service?m, then it will start instantly
20:06lkvrsfld[m]geerlingguy: if docker service takes ages to load, it‘s caused by systemd-networkd-wait-online, that service just never loads, and docker waits 300s (same for other systemd services)
20:07chrj`ey: could you help me compose suitable args for qemu-system-aarch64 ? See http://nybo.no/diskutil/
20:07lkvrsfld[m]> Just disable that service?m, then it will start instantly
20:07lkvrsfld[m](I had it on asahi and pure arch linux arm)
20:07lkvrsfld[m]> <@prohackerbro:matrix.org> geerlingguy: if docker service takes ages to load, it‘s caused by systemd-networkd-wait-online, that service just never loads, and docker waits 300s (same for other systemd services)
20:07geerlingguyCan't start it though, "devmapper not configured". I'll keep digging
20:08the_lanetly_052 has quit [Ping timeout: 480 seconds]
20:08geerlingguyjannau++
20:09doggkruse has joined #asahi
20:09jonaburg[m]oh wow geerlingguy! I use many of your sensible roles :D
20:09jonaburg[m]s/sensible/ansible/
20:09kode54 has quit [Quit: Ping timeout (120 seconds)]
20:09geerlingguyIt's quite sensible to use them ;)
20:09geerlingguyone of the many things I plan on testing this week...
20:10skipwich has quit [Quit: DISCONNECT]
20:10kefu_ has quit []
20:10nepeat has quit [Remote host closed the connection]
20:10kode54 has joined #asahi
20:10kefu_ has joined #asahi
20:10skipwich has joined #asahi
20:11nepeat has joined #asahi
20:11geerlingguyah... since I updated kernel probably just need a reboot
20:12lkvrsfld[m]geerlingguy: Are you using the mac mini?
20:12geerlingguyyep! Running now. Dang, love Asahi so far.
20:12geerlingguylkvrsfld[m]: yes 10G M1 mini with 2TB SSD 16GB RAM
20:13lkvrsfld[m]Nice. Didn‘t actually know they brought out a 10G version until reading it here
20:14kode54 has quit []
20:14geerlingguyYeah I held off on upgrading to M1 until the 10G version came out. And now that I have a Mac Studio, I'm going to play with Asahi on the M1 mini, see if I can get it to be an efficient little ARM server
20:15taowa has quit [Read error: Connection reset by peer]
20:15eichin has quit [Read error: Connection reset by peer]
20:15steev has quit [Read error: Connection reset by peer]
20:15mustache_ride___ has quit [Read error: Connection reset by peer]
20:15peac has quit [Read error: Connection reset by peer]
20:15cptcobalt has quit [Read error: Connection reset by peer]
20:15jkkm has quit [Write error: connection closed]
20:15maennich has quit [Read error: Connection reset by peer]
20:15Chainsaw has quit [Read error: Connection reset by peer]
20:15daniels has quit [Write error: connection closed]
20:15kendfinger has quit [Read error: Connection reset by peer]
20:15philpax_ has quit [Read error: Connection reset by peer]
20:15Vaughn has quit [Read error: Connection reset by peer]
20:15arnd has quit [Read error: Connection reset by peer]
20:15stblassitude has quit [Read error: Connection reset by peer]
20:15Venhal has quit [Read error: Connection reset by peer]
20:15jbowen has quit [Write error: connection closed]
20:15kode54 has joined #asahi
20:15sorear has quit [Read error: Connection reset by peer]
20:15sa1 has quit [Read error: Connection reset by peer]
20:15tardyp has quit [Read error: Connection reset by peer]
20:15enomem has quit [Write error: connection closed]
20:15saintdev_ has quit [Write error: connection closed]
20:15guan has quit [Write error: connection closed]
20:15jabashque has quit [Write error: connection closed]
20:15aeroraptor has quit [Write error: connection closed]
20:15NekomimiScience has quit [Write error: connection closed]
20:15esden has quit [Read error: Connection reset by peer]
20:15ovf has quit [Read error: Connection reset by peer]
20:15austriancoder has quit [Read error: Connection reset by peer]
20:15ZLSA has quit [Write error: connection closed]
20:15mmarchini has quit [Read error: Connection reset by peer]
20:15snek has quit [Read error: Connection reset by peer]
20:15ZLSA has joined #asahi
20:15sa1 has joined #asahi
20:15cptcobalt has joined #asahi
20:15stblassitude has joined #asahi
20:15peac has joined #asahi
20:15daniels has joined #asahi
20:15eichin has joined #asahi
20:15Venhal has joined #asahi
20:15philpax_ has joined #asahi
20:15NekomimiScience has joined #asahi
20:15ovf has joined #asahi
20:15guan has joined #asahi
20:15enomem has joined #asahi
20:15esden has joined #asahi
20:15aeroraptor has joined #asahi
20:15jkkm has joined #asahi
20:15mmarchini has joined #asahi
20:15snek has joined #asahi
20:15jabashque has joined #asahi
20:15tardyp has joined #asahi
20:15austriancoder has joined #asahi
20:15saintdev_ has joined #asahi
20:15sorear has joined #asahi
20:15kendfinger has joined #asahi
20:15mustache_ride___ has joined #asahi
20:16Vaughn has joined #asahi
20:16taowa has joined #asahi
20:16maennich has joined #asahi
20:16steev has joined #asahi
20:16Chainsaw has joined #asahi
20:16arnd has joined #asahi
20:16jbowen has joined #asahi
20:16lkvrsfld[m]Thought you featured the M1 in some video. I may be wrong
20:16lkvrsfld[m]They have potential. Please buy more of them and do a high performance kube cluster with them!😂
20:18kode54 has quit []
20:18kode54 has joined #asahi
20:18jbowen has quit []
20:19aeroraptor has quit [Read error: Connection reset by peer]
20:19saintdev_ has quit [Read error: Connection reset by peer]
20:19sa1 has quit [Read error: Connection reset by peer]
20:19sa1 has joined #asahi
20:19aeroraptor has joined #asahi
20:19jbowen has joined #asahi
20:19saintdev_ has joined #asahi
20:21geerlingguyHeh, definitely a *lot* faster than the Pi
20:22___nick___ has quit [Ping timeout: 480 seconds]
20:22nicolas17[buy me one to replace this desktop PC that I have to keep smacking to silence the fans]
20:22geerlingguynice thing so far: all the ARM64 Docker images I'm testing on Asahi have worked (just as they did in Docker for Mac)
20:23AdryzzOLEDEdition[m]can't wait for a watercooled mac mini
20:23tardyp has quit [Read error: Connection reset by peer]
20:23kendfinger has quit [Read error: Connection reset by peer]
20:23Chainsaw has quit [Read error: Connection reset by peer]
20:23maennich has quit [Read error: Connection reset by peer]
20:23Vaughn has quit [Read error: Connection reset by peer]
20:23jabashque has quit [Read error: No route to host]
20:24lkvrsfld[m]we should measure disk I/O and compare it to macOS docker. mount have been the biggest problem on macOS so far
20:24maennich has joined #asahi
20:24saintdev_ has quit [Read error: Connection reset by peer]
20:24sorear has quit [Read error: Connection reset by peer]
20:24jabashque has joined #asahi
20:24Vaughn has joined #asahi
20:24mustache_ride___ has quit [Read error: Connection reset by peer]
20:24austriancoder has quit [Read error: Connection reset by peer]
20:24mustache_ride___ has joined #asahi
20:24sorear has joined #asahi
20:24saintdev_ has joined #asahi
20:24minilkvrsfld[m]: there's a recent preview for macOS docker that improves that significantly on 12.3
20:24austriancoder has joined #asahi
20:24kendfinger has joined #asahi
20:24tardyp has joined #asahi
20:24AdryzzOLEDEdition[m]nicolas17: to push it further with freq
20:24Chainsaw has joined #asahi
20:24AdryzzOLEDEdition[m]i mean i doubt you can OC these
20:24lkvrsfld[m]mini: cool. we hacked it to work using the same UIDs on the host and in the container )
20:25lkvrsfld[m]> <@_oftc_mini:matrix.org> lkvrsfld: there's a recent preview for macOS docker that improves that significantly on 12.3
20:25lkvrsfld[m] * cool. we hacked it to work using the same UIDs on the host and in the container. that was even better than using NFS
20:27nicolas17that is definitely an issue on the macbook air, but I thought the fan on the mini was enough to keep it from throttling
20:27AdryzzOLEDEdition[m]funny how the air doesnt have any air
20:28mustache_ride___ has quit [Read error: Connection reset by peer]
20:28Vaughn has quit [Read error: No route to host]
20:28Vaughn has joined #asahi
20:28tardyp has quit [Read error: No route to host]
20:28kendfinger has quit [Read error: Connection reset by peer]
20:28tardyp has joined #asahi
20:28jbowen has quit [Read error: Connection reset by peer]
20:28saintdev_ has quit [Read error: No route to host]
20:28sorear has quit [Read error: No route to host]
20:28jbowen has joined #asahi
20:28arnd has quit [Read error: Connection reset by peer]
20:28steev has quit [Read error: No route to host]
20:29mustache_ride___ has joined #asahi
20:29sorear has joined #asahi
20:29minilkvrsfld[m]: https://www.docker.com/blog/speed-boost-achievement-unlocked-on-docker-desktop-4-6-for-mac/
20:29arnd has joined #asahi
20:29steev has joined #asahi
20:29kendfinger has joined #asahi
20:29saintdev_ has joined #asahi
20:30lkvrsfld[m]mini: very nice!
20:30geerlingguywoah... Asahi Linux build within Docker is running in 6m on same M1 that runs in Docker for Mac in 9m — and that's not even using shared volumes!
20:31nicolas17iXxx for consumer segment, Xxx Pro for professional segment; "iMac Pro" makes no sense in that scheme
20:33AdryzzOLEDEdition[m]and they didnt even add an extra "max" just in case
20:34chr has left #asahi [ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
20:36AdryzzOLEDEdition[m]😭2013my beloved
20:36AdryzzOLEDEdition[m] * 😭2013 my beloved
20:36bmentink[m]hi all, using gnome on macbook air, but no sound and when I add a user the password is not accepted by gdm .. any clues
20:37AdryzzOLEDEdition[m]no sound is through the internal speakers?
20:37amarioguy has quit [Ping timeout: 480 seconds]
20:38bmentink[m]no sound through speakers or jack
20:38AdryzzOLEDEdition[m]internal speakers dont work yet
20:38AdryzzOLEDEdition[m]for the jack try checking alsamixer
20:38nicolas17as listed in the alpha release announcement, "M1 only: Headphones jack (might be flaky)"
20:39bmentink[m]ok, any ideas on the useradd ?
20:39nicolas17a common suggestion I saw was to switch the audio profile to input only, then back to input+output, and that gets it unstuck
20:40bmentink[m]I tried "useradd -m username -p password"
20:41* lkvrsfld[m]uploaded an image: (507KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/MRIyaiwBvMbDKDtMOolrGUMe/Bildschirmfoto%202022-03-24%20um%2021.39.55.png >
20:41lkvrsfld[m]my air can keep up with the cooled ones
20:41lkvrsfld[m]well not completely
20:41lkvrsfld[m]but not bad for 10 min cb23
20:41axenntio has joined #asahi
20:42nicolas17lkvrsfld[m]: I have seen people get noticeable speedups adding impractical external cooling to the Air
20:42axenntio has quit []
20:42axenntio has joined #asahi
20:43bmentink[m]nicolas17: Where do you switch the audio profile?
20:43* lkvrsfld[m]uploaded an image: (2993KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WCBNLypvRsyDRJrcRnJeuxVU/ima_181bc79.jpeg >
20:43AdryzzOLEDEdition[m]just a thermal pad will do if you can stand the bottom of your laptop becoming a frying pan
20:43axenntio has quit []
20:43axenntio has joined #asahi
20:43axenntio has quit []
20:43nicolas17which (in early days) proved it's literally the same chip, not "throttled because it's the air" but throttled because it simply got hot
20:44lkvrsfld[m]AdryzzOLEDEdition[m]: Yep
20:44axenntio has joined #asahi
20:46AnhHoangNguyen[m] has joined #asahi
20:47axenntio has quit []
20:48AnhHoangNguyen[m] is now known as aaanh[m]
20:51Tano70 has joined #asahi
20:52Tano70 has quit [Read error: Connection reset by peer]
20:52risk has joined #asahi
20:56bmentink[m]just right for me :)
20:56user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:57bmentink[m]I can scoll and zoom ok
20:58Tano70 has joined #asahi
20:58bmentink[m]except zoom does not seem to work in Firefox
21:00WhyNotHugoDoes the magic keyboard's touchId work on Linux?
21:02nicolas17and even once touchid on the MBP works, supporting the external magic keyboard might need extra work on top of that
21:02lkvrsfld[m]multi-finger-gestures (more than two) already work in wayland
21:02lkvrsfld[m]besides the scrollings speed the touchpad driver is great!
21:02WhyNotHugonicolas17: The TouchId interfacing is via the SEP only?
21:03axenntio has joined #asahi
21:04nicolas17WhyNotHugo: the fingerprint recognition algorithm is in the SEP firmware, and I think the touchid sensor is physically wired to the SEP and the main CPU can't even access the raw fingerprint image
21:04lkvrsfld[m]mps: ah cool. i only used wayland, saw the discussion of modifying it on wayland is more difficult
21:05lkvrsfld[m]mps: no prob, didn't even ask :)
21:07LinusSexTips[m] has joined #asahi
21:07nicolas17so it's similar to how the enrolled fingerprint is not *really* stored in the SEP (as Apple claims in marketing), but it's encrypted with a key only the SEP knows, so security-wise it's basically the same
21:19m6wiq has quit []
21:22axenntio has quit []
21:25Major_Biscuit has quit []
21:25LinuxM1 has quit [Quit: Leaving]
21:27doublerye[m] has joined #asahi
21:29kelito has quit [Quit: Konversation terminated!]
21:32facekapow[m] has joined #asahi
21:40Ry_Darcy has quit [Remote host closed the connection]
21:44m6wiq has joined #asahi
21:47patrikgy has joined #asahi
21:51Tano70 has quit [Quit: Leaving]
21:57user982492 has joined #asahi
21:58doublerye[m]kode54: can you provide some direction on Telegram Desktop rebuild you did?
21:59psykosei think the default tdesktop build vendors jemalloc, so it would probably just need a rebuild with no changes to work
22:00tpw_rulesis there a way to query a jemalloc-enabled binary of whatever for the page size it was built with?
22:00a1eaiactaest has joined #asahi
22:03thk[m] has joined #asahi
22:03a1eaiactaestCLONE has joined #asahi
22:04a1eaiactaestCLONE has quit []
22:05geerlingguyooh randomly the built in speaker started working when I opened SuperTuxKart
22:06geerlingguy(I'm on M1 mini)
22:07tpw_rulesthk[m]: some HDMI monitors are not compatible because there is only one chance to connect on boot
22:07tpw_rulesyou might be able to configure your display to turn off auto switching and make that easier
22:08tpw_rulesif you can't get that to work, you'll have to try another monitor or wait til DCP support is merged
22:10a1eaiactaest has quit [Ping timeout: 480 seconds]
22:10nicolas17thk[m]: it didn't work ever? or did you turn it off and now won't go back on or something?
22:10bmentink[m]when are DisplayPort adapters via USB3 likely to be supported?
22:11ChaosPrincesssoon(tm)
22:12bmentink[m]cool!!
22:12thk[m]nicolas17: well after i choose Asahi and wait it to boot, display goes to sleep without signal
22:15bmentink[m]Is ethernet adapters over USB3 being worked on as well?
22:16AdryzzOLEDEdition[m]when USB3 support rolls in all USB3 devices will work out of the box
22:16bmentink[m]Great, looking forward to that day ... :)
22:17ChainfireI use a 5G ethernet adapter on my MBP15. It's currently limited to USB2 speed due to this port not having USB3 support yet, but I see no reason why it wouldn't work once USB3 is up
22:22r0ni has joined #asahi
22:30ChainfireAs I understand, macOS on the M1 only runs 64-bit code... can we run it in Asahi (if all dependencies were met) or is this a chip limitation?
22:30doublerye[m]psykose: used asp to checkout telegram-desktop, it and any other asp checkout only grabs x86-64 arch... not too familiar with this but figure if I could get aarch64 I'd be left to just run makepkg. are you more familiar?
22:34dottedmagChainfire: theoretically can be done, but that means implementing drivers for something like QEMU for many M1 peripherals, including GPU. That's a lot of work.
22:35ChaosPrincessqemu-user-mode is your friend
22:38nicolas17Chainfire: afaik Apple removed support for armv7 (32-bit) instructions on the A11, the M1 chip can only run aarch64 code
22:45amarioguy has joined #asahi
22:47ChainfireWell then I guess even if our 16kb patches are accepted, Google has found new ways to stop Chromium from working OOTB - https://bugs.chromium.org/p/chromium/issues/detail?id=1299021&q=aarch64&can=2
22:48ChainfireThen again, if it builds, maybe not a problem. Does anything even use nacl anymore? I thought support was dropped last year in favor of WASM
22:50nicolas17"Although initially Google planned to remove PNaCl in first quarter of 2018, and later in the second quarter of 2019, it is currently planned for removal in June 2022 (together with Chrome Apps)."
22:51ChainfireBut if this makes it in, distros are not going to think of disabling it if only the Apple's don't play nice with it. Then again, I don't know if you'd ever encounter an actual issue as long as nacl isn't actually *used*.
22:53ChainfireWeird they're bothering to port at all, so close to removal. Makes my tinfoil hat think something else is going on.
23:02m6wiq has quit []
23:05r0niso for the past week i had been attempting to cross-compile slackware aarch64 pkgs from a rpi, and well it just wasn't working for me. turns out there's a unofficial aarch64 port already made, only there's no installer ;(
23:13jn has quit [Ping timeout: 480 seconds]
23:17memoryleak_ has joined #asahi
23:19jn has joined #asahi
23:21memoryleak has quit [Ping timeout: 480 seconds]
23:30tych0 has joined #asahi
23:33yuyichao_ has quit [Ping timeout: 480 seconds]
23:46mpstpw_rules: didn't tried on m1 but I can run arm32 userspace on some arm64 boards and chromebooks
23:46nicolas17given that there is a standard cpuid-like bit to say whether the CPU supports 32+64 or only 64, I don't think this is unique to Apple
23:52nicolas17"Armv8-A architecture allows different levels of AArch64 and AArch32 support, for example: 1. AArch64 only designs 2. AArch64 designs that also support AArch32 operating systems and virtual machines 3. AArch64 support with AArch32 at (unprivileged) application level only"
23:52r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
23:53kreechy has quit [Ping timeout: 480 seconds]
23:53doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:57jn has quit [Ping timeout: 480 seconds]