#
…

2022-04-07

00:14al3xtjames2 has joined #asahi
00:14al3xtjames has quit [Read error: Connection reset by peer]
00:14al3xtjames2 is now known as al3xtjames
00:28bps3 has quit [Remote host closed the connection]
00:29bps3 has joined #asahi
00:38bps3 has quit [Ping timeout: 480 seconds]
00:43c10l7 has joined #asahi
00:48c10l has quit [Ping timeout: 480 seconds]
00:49amw has joined #asahi
01:16nametable[m]Between these options in the installer, is there advantages of one over the other?... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/jaAwapZEQgEOhmtJaahYNBAI)
01:20chadmed has quit [Remote host closed the connection]
01:26yuyichao has quit [Ping timeout: 480 seconds]
01:28nametable[m]As in, does option 3 also allow "tethered" boot + do more things?
01:28chadmed has joined #asahi
01:40nametable[m]I guess I'm gonna try option 4. I can always erase and start over
01:59kefu_ has quit [Ping timeout: 480 seconds]
02:01kefu_ has joined #asahi
02:14nametable[m]Well now I have a different issue. After running the installer with the "tethered" boot option, I boot up the mac and it runs till it says "Running proxy...", but when I plug it into my computer, no serial devices appear to show up...
02:21nametable[m]<nametable[m]> "Well now I have a different..." <- Actually, I think my problem is which USB port I plug into on my desktop... Seems like I can only use my desktop's USB-C port and use a USB-C to USB-C cable
02:34yuyichao has joined #asahi
02:40eaxk[m]hows development
02:40eaxk[m]is it going well
02:56PhilippvK has joined #asahi
03:00phiologe has quit [Ping timeout: 480 seconds]
03:00nametable[m]When I try to boot to MacOS with m1n1 proxy, the Mac (M1 MacBook Air) seems to reboot and my serial connection drops... I am chainloading to the latest m1n1 so that the tool versions are the same. Any idea what might be going wrong?
03:29nicolas17 has quit [Quit: Konversation terminated!]
03:38marvin24_ has joined #asahi
03:41marvin24 has quit [Ping timeout: 480 seconds]
03:53kov has quit [Quit: Coyote finally caught me]
04:27mlq_ has joined #asahi
04:32mlq has quit [Ping timeout: 480 seconds]
04:38Jamie[m]1lol i've also been trying to debug an issue with hypervisor booting: turns out i had the laptop sitting on this broken device, shorting out the usb pins and resetting the host usb controller -_-
05:07Jamie[m]1ugh nope that wasn't the whole problem, this machine just has Cursed Usb
05:07Jamie[m]1about 3/15 attempts at booting now have gone through without any issues
05:14Jamie[m]1hmm yeah getting opcode mismatches and reply command mismatches with random bits flipped
05:14Jamie[m]1as well as lots of "expected 0 bytes got 1"
05:15Jamie[m]1across 3 cables, both A-C and C-C
05:15Jamie[m]1cursed host machine :(
05:17Jamie[m]1and occasionally linux failing to enumerate the ACMs, or taking several seconds to do so
05:17chadmedfractal r5?
05:19chadmedchampion case series
05:19chadmedmy server lives in an R6, which used to be my main rig
05:26kode54My Ryzen lives in a Define R3
05:26kode54when I wanted to buy some parts years later, Fractal was like "we don't support R3 any more, and can't guarantee R5 parts will fit"
05:46archiemckay has joined #asahi
05:48darkapex1 is now known as darkapex
05:49archiewm[m] has joined #asahi
06:00archiemckay has quit [Read error: Connection reset by peer]
06:25Jamie[m]1^ I left my machine paused in hv for a long time and it developed this weird starburst pattern
06:25Jamie[m]1as if the display controller forgets what brightness each local dimming zone is supposed to be at, and the brightnesses randomly drift
06:27Jamie[m]1actually there's a weird zigzaggyness to it, so not random at all
06:51MajorBiscuit has joined #asahi
06:53Major_Biscuit has joined #asahi
07:00MajorBiscuit has quit [Ping timeout: 480 seconds]
07:12jato has quit [Quit: ZNC - https://znc.in]
07:12jato has joined #asahi
07:17j`eyJamie[m]1: how long?
07:17Jamie[m]130 minutes?
07:19jaalsa has joined #asahi
07:20jaalsa has quit []
07:21jaalsa has joined #asahi
07:38marcanJamie[m]1: huh, interesting. not permanent I assume? went away immediately after resume?
07:39marcanI wonder if the backlight is active matrix; if so, and it only gets refreshed when DCP spits a pattern out what I think is the SPI bus, that might explain this
07:39jluthra has quit [Remote host closed the connection]
07:39jluthra has joined #asahi
07:41kettenis_ is now known as kettenis
08:02Jamie[m]1didn't resume successfully (can't remember if kernel panic or serial disconnected), but went away after reboot
08:03___nick___ has joined #asahi
08:06marcanfair enough
08:22the_lanetly_052___ has quit [Remote host closed the connection]
08:23the_lanetly_052___ has joined #asahi
08:33nick has joined #asahi
08:37___nick___ has quit []
08:39___nick___ has joined #asahi
08:41___nick___ has quit []
08:43___nick___ has joined #asahi
08:46Peaz has joined #asahi
08:46PeazHey guys... I was just wondering, 101; "When will Asahi Linux be done?"
08:48jnPeaz: glad you asked, this is indeed documented in the wiki
08:48PeazI know; I'm an asshole. Just came in here for that...
08:48PeazNo, but seriously; amazing work already.
08:48jn(and my roundabout answer is due to the fact that there is no simple answer, but a few different perspectives)
08:48jnPeaz: ah :) fooled me :)
08:49PeazYeah, that'z me
08:49PeazHope you don't mind ;-)
08:49PeazBut seriously; I was amazed of all that worx already.
08:51PeazI remember that, on my previous MacBook Pro (2014 model), Linux would suck notably more energy, even on idle time, to which I concluded that Linux has power saving issues on Apple hardware. Is this the same for Asahi and how does that look for the future?
08:51nick has quit [Ping timeout: 480 seconds]
08:54PeazI guess I just blew my credibility with my joke... ;-)
08:55mpsPeaz: interesting, on my old intel macbook from 2009 battery lasts longer with linux than with macos
08:57j`eyPeaz: I think people are already pretty impressed with the battery life, and thats without idle or GPU
08:58Peazmps: yeah, it all starts with disabling an interrupt in acpi, but then still it would quickly drain the battery (https://medium.com/@racter/how-to-install-ubuntu-16-04-on-a-retina-macbook-11-2-74e7779c0e47#47d8)
08:58Peazj`ey: Yeah, it feels like Asahi doesn't have that issue. Well, maybe for hogging the CPU, of course, instead of GPU.
08:59PeazAsahi/This new Apple hardware, of course.
08:59ChaosPrincesslinux currently does less power management than macos and battery life is slightly worse, but its still good enough
08:59PeazChoasPrincess: That figures...
09:00PeazSo this would require manual tweaking; frequency scaling, etc...
09:00ChaosPrincessi _think_ frequency scaling is there
09:00mpssetting cpu freq policy to conservative helps
09:01chadmedcpufreq is there and works fine for power saving purposes, what we really need is VRR on the display, cpuidle/deep sleep, etc
09:01chadmedjust downclocking the cpu doesnt really help that much if the cores are still chewing through cycles
09:01mpsmy mbp on battery drains about 5-8 percent in one hour
09:02ChaosPrincessalso sleep isnt there yet, so, shut down your laptops :P
09:03PeazYeah, exactly. It was kinda'va lame question, I guess, but it's since I stepped away from Ubuntu on my 2014 MacBook Pro, for this reason and didn't even expect Linux to run on here, but surprise; then I found you guys and it everything pretty much (for what's yet supported, anyways) works out-of-the-box. So I was just amazed. But since you now kinda have the advantage to know, like Apple, what hardware it runs on, I guess you don't hav
09:03Peaz... support different systems.
09:03Peazsupporting*
09:04padfoot has joined #asahi
09:10asocialblade has quit [Ping timeout: 480 seconds]
09:14apg has joined #asahi
09:30veloek has quit [Quit: leaving]
09:31veloek has joined #asahi
09:42bps3 has joined #asahi
10:03padfoot has quit [Quit: Page closed]
10:28gladiac is now known as Guest1391
10:28gladiac has joined #asahi
10:34Guest1391 has quit [Ping timeout: 480 seconds]
10:34chadmed has quit [Read error: Connection reset by peer]
10:39kov has joined #asahi
10:46Dcow[m]1sven: lest's move from -dev
10:48Dcow[m]1That's decision it totally up to you to make, but from my perspective you guys doing work that not many people willing to do and it's great and should be rewarding
10:48mpspovik: sorry to disturb you, could be speakers and headphone jack enabled at same time (I'm far from expert how audio drivers works)
10:48Dcow[m]1mps: I recall that it is possible, but buggy
10:50mpsDcow[m]1: for now I make it working with switching device setup in .asoundrc
10:51mpsslave.pcm "hw:0,1" is jack and slave.pcm "hw:0,0" speakers
10:51svenDcow[m]1: I’m happy enough that I have a fun hobby, more money wouldn’t make any difference in my life because software engineers happen to be well paid anyway
10:52Dcow[m]1(thank's to non-engineer people for that, whom thinks that's hard work, instead of fun)
10:52mpssven: that is also what I think, I don't need any money for my work on open source
10:53mpsDcow[m]1: I'd say it is 'hard fun' ;)
10:54Dcow[m]1maybe, but I am totally forget about hard part myself when I am working ;)
10:54Dcow[m]1forgetting*
10:54mpsyes, that's also true
10:54Dcow[m]1at lease it's more fun than hard
10:55mpswork is mostly is fun
10:55mpsbut dealing with some people (not many) is hard part for me
10:56Dcow[m]1I used to deliver newspapers many years ago (when I was at school and THAT was hard
10:56Dcow[m]1I used to have weekends because of that
10:57Dcow[m]1but I got my very first PC this way
10:57Dcow[m]1s/have/hate
10:57the_lanetly_052___ has quit [Ping timeout: 480 seconds]
11:00conor has joined #asahi
11:01conor_ has joined #asahi
11:02conor has quit []
11:13BlitzWorks has joined #asahi
11:14apg has quit [Quit: Leaving]
11:18Makusu[m] has joined #asahi
11:24neatsquirrel has quit [Quit: neatsquirrel]
11:24chadmed has joined #asahi
11:34neatsquirrel has joined #asahi
11:37Peaz has quit [Remote host closed the connection]
12:13tardyp has quit [Read error: Connection reset by peer]
12:13tardyp has joined #asahi
12:17povikmps: i assume you mean simultaneous playback -- it can be done but as Dcow[m]1 correctly recalls there's a periodic glitch
12:17j`eywhy would you want speaker and jack playback at the same time?
12:18poviki am curious what the glitch will turn out to be, because these are two independent paths mostly
12:18povikj`ey: /insert shrug emoji/
12:26mpsj`ey: to switch between them without stopping player and starting again, as I do for now
12:27povikthat should work for you
12:27mpspovik: yes, simultaneous play
12:27mpspovik: how
12:27mpsI hw:0,1 for jack and hw:0,0 for speakers
12:27povikthat's a userspace question i don't know the answer to
12:29mpspovik: on all other macines I use default (hw:0,0) and control them by volumes or mute switch
12:29caef^ has quit [Remote host closed the connection]
12:29mpsmachines*
12:31povikyeah, here we can't merge both jack and speakers under hw:0,0 unless we bypasss ASoC, which forces us to export it this way
12:32povikonce we supply proper profiles to sound servers like pulseaudio, i expect the jack/speakers handover will happen seamlessly
12:32povikdon't know if the same is achievable with plain alsa, probably not
12:32Dcow[m]1I don’t think it’s too bad to depend on pa/pipewire
12:33poviki think it's bad but it's not the hill i want to die on :-p
12:39mpsI don't use PA/PW, don't like them
12:41poviki thought so
12:41povikthe handover might be beyond the limit of what you can achieve without them
12:41povik(without restarting playback, that is)
12:42mpsPA is security hole but I will not elaborate here
12:43tomtastic has joined #asahi
12:43mpspovik: is that hardware limitation on m1
12:44mpsif I don't enable speakers in dts I have jack on hw:0,0 while with speakers enabled is on hw:0,1
12:46tomtastic_ has quit [Ping timeout: 480 seconds]
12:51povikit's due to software. hardware doesn't know anything about what we decide to call hw:0,0/hw:0,1
12:51povikas i said, the respective linux subsystem forces us to do it this way
12:51povikand as i learned recently it's being developed under the assumptions people use it with sound servers
12:52povikwhich i don't particularly like but i probably won't do anything about
12:54mpspovik: I use it without sound servers for years with different sound cards
12:54mpsso I doubt it is made with this assumptions
12:55mpsthough, as I said above I'm not versed in audio drivers
13:02povikthis is where i got the impression that sound servers are counted on: https://lore.kernel.org/linux-devicetree/YkWfziQzprEsWL72@sirena.org.uk/
13:03mpshm, I see
13:04mpsmaybe 'userspace' there means UCM, though on some devices this worked without UCM
13:19bisko has joined #asahi
13:42yuyichao has quit [Ping timeout: 480 seconds]
13:53atsalyuk has joined #asahi
14:00yuyichao has joined #asahi
14:10nick has joined #asahi
14:26Tano70 has joined #asahi
14:30atsalyuk has quit [Ping timeout: 480 seconds]
14:36darkapex has quit [Ping timeout: 480 seconds]
14:42linuxgemini92 has joined #asahi
14:42ave3 has quit [Remote host closed the connection]
14:42linuxgemini9 has quit [Remote host closed the connection]
14:42linuxgemini92 is now known as linuxgemini9
14:42ave3 has joined #asahi
14:48atsalyuk has joined #asahi
14:52doggkruse has joined #asahi
14:53linuxgemini95 has joined #asahi
14:55ave36 has joined #asahi
14:57linuxgemini9 has quit [Ping timeout: 480 seconds]
14:57ave3 has quit [Ping timeout: 480 seconds]
15:01nicolas17 has joined #asahi
15:13Sobek[m]And so, povik did you get the patch merged ? Or only a part of it ?
15:15j`eynot merged yet
15:15j`eywaiting for the maintainer
15:15nick has quit [Ping timeout: 480 seconds]
15:20povikno i got one commit merged even though it was RFC
15:20povikrest won't get merged, waiting for me to post v1
15:21j`eyoh, I was thinking i2c
15:26Dcow[m]1povik: any hint on when you are planning to post v1?
15:26Dcow[m]1also kinda interested on amp limitation we discussed <_<
15:27Dcow[m]1the second part may allow it to be enabled in asahi, so more testers
15:29povikdon't know yet
15:29povikwe need to settle some details with the maintainer before v1
15:38guillaume_g has quit []
15:41doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58LinuxM1 has joined #asahi
15:58doggkruse has joined #asahi
16:12atsalyuk has quit [Remote host closed the connection]
16:12atsalyuk has joined #asahi
16:30Glanzmannsven: About the PCIe hotplug. Does that also solve the problem with the sleep on the wifi?
16:30sventhis is just step 1 of 100 or so for thunderbolt
16:31sveni'm pretty sure wifi would die if i try something like link up -> load wifi driver -> link down -> link up
16:31svenbecause that probably similar enough to suspend/resume
16:31sven*that's
16:41Glanzmannsven: I see, thank you for the explanation.
16:47sikkileo[m] is now known as sikkiladho[m]
17:01hawk has quit [Quit: WeeChat 3.4]
17:15mpssven: I tried this for wifi with rfkill
17:27brudda[m]Is fetching battery percentage supported yet?
17:28j`eyit will Just Work in KDE
17:28brudda[m]Is there an alternate method to doing so? Since it didn't work with i3bar
17:28brudda[m]And I don't think it worked with polybar, though I haven't tried it yet
17:29brudda[m]Actually, I did when I pasted I'm a default config and it just didn't display
17:35Major_Biscuit has quit [Ping timeout: 480 seconds]
17:37brudda[m]Okay I read back in the chat and it looks like everything is right in the macsmc-battery folder, looks like I just gotta get the bar to read from it
17:55wanderfull has joined #asahi
17:55neggles has quit [Remote host closed the connection]
17:57wanderfullhey! is it possible to read/modify Asahi's disk partitions from the macos installation?
17:58nicolas17macos doesn't support reading typical Linux filesystems
17:58wanderfullbut when adding ext4 drivers it should work right?
17:59ChaosPrincessi think parallels makes a macos ext4 driver
18:00wanderfullmy actual intend is to prevent that :D but even with luks encryption grub and the kernel should be reachable from macos :/
18:00wanderfull*seem to be reachable
18:01wanderfull*and the initrd as well....
18:01VinDuvMaybe there’s some userland tool to copy files to/from an ext fs
18:03j`eythe goal seems to be have everything but grub encrypted :)
18:04wanderfulli dont think even that would be enough... even if only grub is unencrypted, then grub can be modified so that it extracts the encryption password
18:04heth has quit [Read error: Connection reset by peer]
18:05j`eywell there's going to be some 'secure boot' stuff at some point
18:05heth has joined #asahi
18:10wanderfullyes thats what i need! but its also understandable not high prio for you... AFAIK all info needed for this should be in Macrons doc about the boot stages and the python installer
18:13wanderfull*Marcan sorry *:D - the magical one
18:25leonsaber has joined #asahi
18:32leonsaber has quit [Quit: WeeChat 2.8]
18:52neggles has joined #asahi
19:31doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:41Tano70 has quit [Quit: Leaving]
19:45LinuxM1 has quit [Quit: Leaving]
19:55atsalyuk has quit [Ping timeout: 480 seconds]
19:56atsalyuk has joined #asahi
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:08atsalyuk has quit [Ping timeout: 480 seconds]
21:06atsalyuk has joined #asahi
21:09f14h has joined #asahi
21:16atsalyuk has quit [Ping timeout: 480 seconds]
21:17f14h has quit [Quit: f14h]
21:20f14h has joined #asahi
21:22nick has joined #asahi
21:27f14h has quit [Remote host closed the connection]
21:33nick has quit [Ping timeout: 480 seconds]
21:40gryfbane_[m]I'm still getting "unknown signature" for asahi (marcan@marcan.st) when I try use pacman, and 'pacman-key --refresh-keys' gives me "gpg: error retrieving 'hector@marcansoft.com' via WKD: No data" ... Did someone encountered this issue before ?
21:44gryfbane_[m]For now, I need to put SigLevel = never to update, but this is just a temporary bad way around this issue
22:06f14h has joined #asahi
22:06f14h has quit [Remote host closed the connection]
22:06f14h has joined #asahi
22:10nick has joined #asahi
22:12f14h has quit [Remote host closed the connection]
22:18nick has quit [Ping timeout: 480 seconds]
22:28heth has quit [Read error: Connection reset by peer]
22:29heth has joined #asahi
22:48jaalsa has quit [Remote host closed the connection]
23:34dan[m]123Do we have thunderbolt support yet?
23:50bps3 has quit [Ping timeout: 480 seconds]
23:54heth has quit [Read error: Connection reset by peer]
23:55heth has joined #asahi
…