ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
al3xtjames2 has joined #asahi
al3xtjames has quit [Read error: Connection reset by peer]
al3xtjames2 is now known as al3xtjames
bps3 has quit [Remote host closed the connection]
bps3 has joined #asahi
bps3 has quit [Ping timeout: 480 seconds]
c10l7 has joined #asahi
c10l has quit [Ping timeout: 480 seconds]
amw has joined #asahi
<nametable[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)
chadmed has quit [Remote host closed the connection]
yuyichao has quit [Ping timeout: 480 seconds]
<nametable[m]> As in, does option 3 also allow "tethered" boot + do more things?
chadmed has joined #asahi
<nametable[m]> I guess I'm gonna try option 4. I can always erase and start over
kefu_ has quit [Ping timeout: 480 seconds]
kefu_ has joined #asahi
<nametable[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...
<nametable[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
yuyichao has joined #asahi
<eaxk[m]> hows development
<eaxk[m]> is it going well
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
<nametable[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?
nicolas17 has quit [Quit: Konversation terminated!]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
mlq_ has joined #asahi
mlq has quit [Ping timeout: 480 seconds]
<Jamie[m]1> lol 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 -_-
<Jamie[m]1> ugh nope that wasn't the whole problem, this machine just has Cursed Usb
<Jamie[m]1> about 3/15 attempts at booting now have gone through without any issues
<Jamie[m]1> hmm yeah getting opcode mismatches and reply command mismatches with random bits flipped
<Jamie[m]1> as well as lots of "expected 0 bytes got 1"
<Jamie[m]1> across 3 cables, both A-C and C-C
<Jamie[m]1> cursed host machine :(
<Jamie[m]1> and occasionally linux failing to enumerate the ACMs, or taking several seconds to do so
<chadmed> fractal r5?
<Jamie[m]1> yep
<chadmed> champion case series
<chadmed> my server lives in an R6, which used to be my main rig
<kode54> My Ryzen lives in a Define R3
<kode54> when 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"
archiemckay has joined #asahi
darkapex1 is now known as darkapex
archiewm[m] has joined #asahi
archiemckay has quit [Read error: Connection reset by peer]
<Jamie[m]1> ^ I left my machine paused in hv for a long time and it developed this weird starburst pattern
<Jamie[m]1> as if the display controller forgets what brightness each local dimming zone is supposed to be at, and the brightnesses randomly drift
<Jamie[m]1> actually there's a weird zigzaggyness to it, so not random at all
MajorBiscuit has joined #asahi
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
jato has quit [Quit: ZNC - https://znc.in]
jato has joined #asahi
<j`ey> Jamie[m]1: how long?
<Jamie[m]1> 30 minutes?
jaalsa has joined #asahi
jaalsa has quit []
jaalsa has joined #asahi
<marcan> Jamie[m]1: huh, interesting. not permanent I assume? went away immediately after resume?
<marcan> I 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
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
kettenis_ is now known as kettenis
<Jamie[m]1> didn't resume successfully (can't remember if kernel panic or serial disconnected), but went away after reboot
___nick___ has joined #asahi
<marcan> fair enough
the_lanetly_052___ has quit [Remote host closed the connection]
the_lanetly_052___ has joined #asahi
nick has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
Peaz has joined #asahi
<Peaz> Hey guys... I was just wondering, 101; "When will Asahi Linux be done?"
<Peaz> 😬
<jn> Peaz: glad you asked, this is indeed documented in the wiki
<Peaz> I know; I'm an asshole. Just came in here for that...
<Peaz> No, but seriously; amazing work already.
<jn> (and my roundabout answer is due to the fact that there is no simple answer, but a few different perspectives)
<jn> Peaz: ah :) fooled me :)
<Peaz> Hehe
<Peaz> Yeah, that'z me
<Peaz> Hope you don't mind ;-)
<Peaz> But seriously; I was amazed of all that worx already.
<Peaz> I 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?
nick has quit [Ping timeout: 480 seconds]
<Peaz> I guess I just blew my credibility with my joke... ;-)
<mps> Peaz: interesting, on my old intel macbook from 2009 battery lasts longer with linux than with macos
<j`ey> Peaz: I think people are already pretty impressed with the battery life, and thats without idle or GPU
<Peaz> mps: 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)
<Peaz> j`ey: Yeah, it feels like Asahi doesn't have that issue. Well, maybe for hogging the CPU, of course, instead of GPU.
<Peaz> Asahi/This new Apple hardware, of course.
<ChaosPrincess> linux currently does less power management than macos and battery life is slightly worse, but its still good enough
<Peaz> ChoasPrincess: That figures...
<Peaz> So this would require manual tweaking; frequency scaling, etc...
<ChaosPrincess> i _think_ frequency scaling is there
<mps> setting cpu freq policy to conservative helps
<chadmed> cpufreq is there and works fine for power saving purposes, what we really need is VRR on the display, cpuidle/deep sleep, etc
<chadmed> just downclocking the cpu doesnt really help that much if the cores are still chewing through cycles
<mps> my mbp on battery drains about 5-8 percent in one hour
<ChaosPrincess> also sleep isnt there yet, so, shut down your laptops :P
<Peaz> Yeah, 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
<Peaz> ... support different systems.
<Peaz> supporting*
padfoot has joined #asahi
asocialblade has quit [Ping timeout: 480 seconds]
apg has joined #asahi
veloek has quit [Quit: leaving]
veloek has joined #asahi
bps3 has joined #asahi
padfoot has quit [Quit: Page closed]
gladiac is now known as Guest1391
gladiac has joined #asahi
Guest1391 has quit [Ping timeout: 480 seconds]
chadmed has quit [Read error: Connection reset by peer]
kov has joined #asahi
<Dcow[m]1> sven: lest's move from -dev
<sven> sure
<Dcow[m]1> That'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
<mps> povik: sorry to disturb you, could be speakers and headphone jack enabled at same time (I'm far from expert how audio drivers works)
<Dcow[m]1> mps: I recall that it is possible, but buggy
<mps> Dcow[m]1: for now I make it working with switching device setup in .asoundrc
<mps> slave.pcm "hw:0,1" is jack and slave.pcm "hw:0,0" speakers
<sven> Dcow[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
<Dcow[m]1> (thank's to non-engineer people for that, whom thinks that's hard work, instead of fun)
<mps> sven: that is also what I think, I don't need any money for my work on open source
<mps> Dcow[m]1: I'd say it is 'hard fun' ;)
<Dcow[m]1> maybe, but I am totally forget about hard part myself when I am working ;)
<Dcow[m]1> forgetting*
<mps> yes, that's also true
<Dcow[m]1> at lease it's more fun than hard
<mps> work is mostly is fun
<mps> but dealing with some people (not many) is hard part for me
<Dcow[m]1> I used to deliver newspapers many years ago (when I was at school and THAT was hard
<Dcow[m]1> I used to have weekends because of that
<Dcow[m]1> but I got my very first PC this way
<Dcow[m]1> s/have/hate
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
conor has joined #asahi
conor_ has joined #asahi
conor has quit []
BlitzWorks has joined #asahi
apg has quit [Quit: Leaving]
Makusu[m] has joined #asahi
neatsquirrel has quit [Quit: neatsquirrel]
chadmed has joined #asahi
neatsquirrel has joined #asahi
Peaz has quit [Remote host closed the connection]
tardyp has quit [Read error: Connection reset by peer]
tardyp has joined #asahi
<povik> mps: i assume you mean simultaneous playback -- it can be done but as Dcow[m]1 correctly recalls there's a periodic glitch
<j`ey> why would you want speaker and jack playback at the same time?
<povik> i am curious what the glitch will turn out to be, because these are two independent paths mostly
<povik> j`ey: /insert shrug emoji/
<mps> j`ey: to switch between them without stopping player and starting again, as I do for now
<povik> that should work for you
<mps> povik: yes, simultaneous play
<mps> povik: how
<mps> I hw:0,1 for jack and hw:0,0 for speakers
<povik> that's a userspace question i don't know the answer to
<mps> povik: on all other macines I use default (hw:0,0) and control them by volumes or mute switch
caef^ has quit [Remote host closed the connection]
<mps> machines*
<povik> yeah, 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
<povik> once we supply proper profiles to sound servers like pulseaudio, i expect the jack/speakers handover will happen seamlessly
<povik> don't know if the same is achievable with plain alsa, probably not
<Dcow[m]1> I don’t think it’s too bad to depend on pa/pipewire
<povik> i think it's bad but it's not the hill i want to die on :-p
<mps> I don't use PA/PW, don't like them
<povik> i thought so
<povik> the handover might be beyond the limit of what you can achieve without them
<povik> (without restarting playback, that is)
<mps> PA is security hole but I will not elaborate here
tomtastic has joined #asahi
<mps> povik: is that hardware limitation on m1
<mps> if I don't enable speakers in dts I have jack on hw:0,0 while with speakers enabled is on hw:0,1
tomtastic_ has quit [Ping timeout: 480 seconds]
<povik> it's due to software. hardware doesn't know anything about what we decide to call hw:0,0/hw:0,1
<povik> as i said, the respective linux subsystem forces us to do it this way
<povik> and as i learned recently it's being developed under the assumptions people use it with sound servers
<povik> which i don't particularly like but i probably won't do anything about
<mps> povik: I use it without sound servers for years with different sound cards
<mps> so I doubt it is made with this assumptions
<mps> though, as I said above I'm not versed in audio drivers
<povik> this is where i got the impression that sound servers are counted on: https://lore.kernel.org/linux-devicetree/YkWfziQzprEsWL72@sirena.org.uk/
<mps> hm, I see
<mps> maybe 'userspace' there means UCM, though on some devices this worked without UCM
bisko has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
atsalyuk has joined #asahi
yuyichao has joined #asahi
nick has joined #asahi
Tano70 has joined #asahi
atsalyuk has quit [Ping timeout: 480 seconds]
darkapex has quit [Ping timeout: 480 seconds]
linuxgemini92 has joined #asahi
ave3 has quit [Remote host closed the connection]
linuxgemini9 has quit [Remote host closed the connection]
linuxgemini92 is now known as linuxgemini9
ave3 has joined #asahi
atsalyuk has joined #asahi
doggkruse has joined #asahi
linuxgemini95 has joined #asahi
ave36 has joined #asahi
linuxgemini9 has quit [Ping timeout: 480 seconds]
ave3 has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
<Sobek[m]> And so, povik did you get the patch merged ? Or only a part of it ?
<j`ey> not merged yet
<j`ey> waiting for the maintainer
nick has quit [Ping timeout: 480 seconds]
<povik> no i got one commit merged even though it was RFC
<povik> rest won't get merged, waiting for me to post v1
<j`ey> oh, I was thinking i2c
<Dcow[m]1> povik: any hint on when you are planning to post v1?
<Dcow[m]1> also kinda interested on amp limitation we discussed <_<
<Dcow[m]1> the second part may allow it to be enabled in asahi, so more testers
<povik> don't know yet
<povik> we need to settle some details with the maintainer before v1
guillaume_g has quit []
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LinuxM1 has joined #asahi
doggkruse has joined #asahi
atsalyuk has quit [Remote host closed the connection]
atsalyuk has joined #asahi
<Glanzmann> sven: About the PCIe hotplug. Does that also solve the problem with the sleep on the wifi?
<sven> no
<sven> this is just step 1 of 100 or so for thunderbolt
<sven> i'm pretty sure wifi would die if i try something like link up -> load wifi driver -> link down -> link up
<sven> because that probably similar enough to suspend/resume
<sven> *that's
<Glanzmann> sven: I see, thank you for the explanation.
sikkileo[m] is now known as sikkiladho[m]
hawk has quit [Quit: WeeChat 3.4]
<mps> sven: I tried this for wifi with rfkill
<brudda[m]> Is fetching battery percentage supported yet?
<Dcow[m]1> tes
<j`ey> yep
<Dcow[m]1> yes
<j`ey> it will Just Work in KDE
<brudda[m]> Is there an alternate method to doing so? Since it didn't work with i3bar
<brudda[m]> And I don't think it worked with polybar, though I haven't tried it yet
<brudda[m]> Actually, I did when I pasted I'm a default config and it just didn't display
<brudda[m]> s/I'm/in/
Major_Biscuit has quit [Ping timeout: 480 seconds]
<brudda[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
<brudda[m]> Thanks
wanderfull has joined #asahi
neggles has quit [Remote host closed the connection]
<wanderfull> hey! is it possible to read/modify Asahi's disk partitions from the macos installation?
<nicolas17> macos doesn't support reading typical Linux filesystems
<wanderfull> but when adding ext4 drivers it should work right?
<ChaosPrincess> i think parallels makes a macos ext4 driver
<wanderfull> my actual intend is to prevent that :D but even with luks encryption grub and the kernel should be reachable from macos :/
<wanderfull> *seem to be reachable
<wanderfull> *and the initrd as well....
<VinDuv> Maybe there’s some userland tool to copy files to/from an ext fs
<j`ey> the goal seems to be have everything but grub encrypted :)
<wanderfull> i 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
heth has quit [Read error: Connection reset by peer]
<j`ey> well there's going to be some 'secure boot' stuff at some point
heth has joined #asahi
<wanderfull> yes 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
<wanderfull> *Marcan sorry *:D - the magical one
leonsaber has joined #asahi
<leonsaber> :)
leonsaber has quit [Quit: WeeChat 2.8]
neggles has joined #asahi
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tano70 has quit [Quit: Leaving]
LinuxM1 has quit [Quit: Leaving]
atsalyuk has quit [Ping timeout: 480 seconds]
atsalyuk has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
atsalyuk has quit [Ping timeout: 480 seconds]
atsalyuk has joined #asahi
f14h has joined #asahi
atsalyuk has quit [Ping timeout: 480 seconds]
f14h has quit [Quit: f14h]
f14h has joined #asahi
nick has joined #asahi
f14h has quit [Remote host closed the connection]
nick has quit [Ping timeout: 480 seconds]
<gryfbane_[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 ?
<gryfbane_[m]> For now, I need to put SigLevel = never to update, but this is just a temporary bad way around this issue
f14h has joined #asahi
f14h has quit [Remote host closed the connection]
f14h has joined #asahi
nick has joined #asahi
f14h has quit [Remote host closed the connection]
nick has quit [Ping timeout: 480 seconds]
heth has quit [Read error: Connection reset by peer]
heth has joined #asahi
jaalsa has quit [Remote host closed the connection]
<dan[m]123> Do we have thunderbolt support yet?
bps3 has quit [Ping timeout: 480 seconds]
heth has quit [Read error: Connection reset by peer]
heth has joined #asahi