#
…

2022-07-23

00:20bluetailso far it's running <3.
00:27jochum has quit [Ping timeout: 480 seconds]
00:30jochum has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:25Manouchehriwhile I'm happy Asahi is working so well... I am kinda bummed that it works better than my SolidRun LX2160 Honeycomb.
01:26Manouchehriordered it three years ago, it was supposed to be the first popular arm dev machine
01:29psykose has quit [Remote host closed the connection]
01:30Lucy[m]It's not better in every regard, but understandable. Would be pretty bummed out too I think
01:38psykose has joined #asahi
01:41bluetail has quit [Read error: Connection reset by peer]
01:52ManouchehriLucy[m]: almost every regard.
01:53Lucy[m]Yeah, fair
01:54Manouchehriif you go for the Mac Studio, then I don't see any benefits of the Honeycomb.
02:04psydroid[m]What are the problem with the Honeycomb other than the older and slower cores?
02:05psydroid[m]I thought they'd be up to using Neoverse cores by now
02:06Lucy[m]Well, considering the prices are similar.. I would say the honeycomb is a poor value except for the fact that it can use dGPUs without issue, and has UEFI built in
02:06Lucy[m]Distros "just work", very different from m1
02:07Ry_Darcy has joined #asahi
02:17psydroid[m]I think they depend on NXP developing a new SoC, but I can't find anything about them working on something new with e.g. Neoverse N2
02:19Manouchehripsydroid[m]: it's still a hassle to get stuff booted. ESXi doesn't support SFP+ or ethernet on the Honeycomb, so you can't install it unless you use USB.
02:20ManouchehriI tried to upgrade the bootloader and had a lovely kernel panic, so had to downgrade for now.
02:22Manouchehripsydroid[m]: I'm sure marc@n will get Thunderbolt working this year, so you can just get a Razer Core X.
02:27chadmeddaily reminder that external gpus will never ever work
02:44Manouchehrichadmed: why not? I use one for my XPS 13 dev machine, works "fine" in Linux.
02:45Lucy[m]Limitations with PCIe, I believe? The "Normal" mappings don't work which GPUs expect for unaligned memory access
02:45Lucy[m]Common for many ARM boards..
02:46Manouchehrithe dumpster fire of amdgpu might work
02:46Lucy[m]With ugly driver hacks..
02:47Manouchehri> implying most GPUs aren't ugly driver hacks to begin with
02:48Manouchehrithe only GPU driver I don't hate, is most of Intel's drivers.
02:48Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:48Lucy[m]Well, good luck upstreaming it is all I'm saying
02:48Mary has joined #asahi
02:49phiologe has joined #asahi
02:49ihaveamac has quit [Quit: fail]
02:51ihaveamac has joined #asahi
02:52PhilippvK has quit [Ping timeout: 480 seconds]
03:00chadmedits because these socs do not support mapping device memory in a way that is useful for/compatible with gpus
03:00chadmedso you would need revolting driver level hacks to get around this (disable stuff like write caching/grouping) which would annihilate performance and make them next to useless anyway
03:01chadmedplus as has already been said you would never ever ever get these patches upstreamed in a billion years
03:25PyroPeter has joined #asahi
03:27pyropeter3 has quit [Ping timeout: 480 seconds]
03:30kov has quit [Quit: Coyote finally caught me]
03:32marvin24_ has joined #asahi
03:35marvin24 has quit [Ping timeout: 480 seconds]
03:41artemist has quit [Remote host closed the connection]
03:42artemist has joined #asahi
03:48artemist has quit [Remote host closed the connection]
03:49artemist has joined #asahi
04:08soulkks23[m] has joined #asahi
04:48doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:04qeeg_ has joined #asahi
05:04qeeg has quit [Read error: Connection reset by peer]
05:36CatDentures has joined #asahi
05:37qeeg_ has quit [Remote host closed the connection]
05:38qeeg_ has joined #asahi
05:44ptudor_ has joined #asahi
05:50ptudor has quit [Ping timeout: 480 seconds]
06:02CatDentures has quit [Quit: leaving]
06:03CatDentures has joined #asahi
06:20AoV has quit []
06:20AoV has joined #asahi
07:25qeeg_ has quit [Remote host closed the connection]
07:26qeeg_ has joined #asahi
07:37dviola has quit [Quit: WeeChat 3.6]
07:38qeeg_ has quit [Remote host closed the connection]
07:39dsrt^ has joined #asahi
07:39qeeg_ has joined #asahi
08:02the_lanetly_052__ has joined #asahi
08:46j`eyawesome
08:46qeeg_ has quit [Remote host closed the connection]
08:47qeeg_ has joined #asahi
08:56Axenntio has joined #asahi
09:46j`eyweird because I don't see any irq being 83 in the dts
09:47j`ey(unless that's just linux's irq nr, and not the hwirq..)
09:50j`ey'unsigned int irq = irq_desc_get_irq(desc);', I guess that's the linux internal number then
09:50jannauusb-c ports on the macbook pro log "xhci-hcd xhci-hcd.0.auto: irq 84, io mem 0x382280000
09:51jannauand irq 85, so maybe magsafe
09:53jannauno, but it is probably magsafe
09:54jannauirq 83 is for me gpio irq for the tps698x
09:54qeeg_ has quit [Remote host closed the connection]
09:55qeeg_ has joined #asahi
09:56dviola has joined #asahi
09:59jannauhpm5 has the wrong irq number in t8112-j413.dtb, it is 174 copied from j31[46] but should be 8
09:59mazthere is a driver that has requested this interrupt, but it is not handling it. the kernel kills it after something like 100000 tries.
09:59jannaumarcan: ^^^
10:00j`eynice fine jannau
10:00qeeg_ has quit [Remote host closed the connection]
10:01qeeg_ has joined #asahi
10:01j`eyjannau: you should reply on twitter too, so they don't waste time trying to find it
10:23the_lanetly_052___ has joined #asahi
10:29the_lanetly_052__ has quit [Ping timeout: 480 seconds]
10:44Axenntio has quit [Quit: Axenntio]
10:45janrinzeit's been asked here probably several times.. the USB A ports on the mac studio, do we know how to enable/use them?
10:45janrinzeOn the mac mini the USB A ports are USB 3 and i was hoping we could have the same with the mac studio.
10:47Axenntio has joined #asahi
10:47neatsquirrel has quit [Remote host closed the connection]
10:47jannauthe usb controller needs firmware and the firmware needs to loaded in a apple specific way
10:48neatsquirrel has joined #asahi
10:48janrinzedmesg mentiones Host supports USB 3.1 Enhanced SuperSpeed
10:49janrinzeprobably just showing us that a certain flag is set.. right?
10:50janrinzeusb 11-1: new high-speed USB device number 2 using xhci-hcd
10:51janrinzeso it only will use high speed.
10:52Axenntio has quit [Quit: Axenntio]
10:52janrinzejannau: is that different from the mac mini?
10:56janrinzewe already use apple firmware for several components, right?
10:57janrinzethe USB firmware is different then?
10:57svenbecause someone wrote code to use that firmware
10:57svenand no one wrote code for the usb firmware yet
10:57janrinzeaha. and not yet for the USB. i see.
10:57j`eyjanrinze: for those, I think the usb firmware is also embedded in the .kext
10:58j`eyso that's another thing that needs to be written
10:58janrinzehmm.. interesting choice of Apple.
10:59svenusually that firmware is inside some ROM or flash and not necessarily signed. this way apple controls the entire firmware and can be sure they know what’s running on the controller
10:59janrinzeah.. and on boot the firmware won't get loaded because the osx kernel doesn't get run..
10:59svenand maybe it also saves a few cents of hw costs because they dont need that flash
11:00janrinzethe USB is Apple proprietary, right?
11:00j`eysven: and those few cents of savings are passed onto the consumers.. /s :P
11:01svenj`ey: sure, I’ve been told that’s how the economy works :p
11:01janrinzeusing the hypervisor, could we intercept the firmware write?
11:02janrinzewe could capture a signature like the first X bytes and locate it in the .kext using that?
11:02j`eybut I think the installer will have to extract it, because we cant redistribute it
11:03dottedmagjanrinze: The process of reverse-engineering is well-understood. The only missing piece is someone actually doing the work.
11:04kov has joined #asahi
11:04janrinzedottedmag: i don't have a hypervisor setup but i think that getting the signature and finding the firmware in the .kext could be a way for the installer to extract the firmware from the .kext
11:05janrinzeif the firmware is compressed in the .kext that might be a bit more difficult of course.
11:06ChaosPrincessiirc you dont even have to do that, there is a symbol in the kext for the firmware
11:07janrinzeChaosPrincess: sounds good to me..
11:09Axenntio has joined #asahi
11:09janrinze has quit [Remote host closed the connection]
11:17Axenntio has quit [Quit: Axenntio]
11:28nsklauswhat's with all the .kext talk recently ? aren't these "kernel extension" a macos thing ? what does it have to do with asahi ?
11:29j`eynsklaus: the firmware for some of the usb ports is stored in the .kext
11:29j`eyso it needs to be extracted, to use with linux
11:29nsklausj`ey: this is a one time thing right ? done at install time, and then asahi would save them somewhere safe ?
11:30nsklausi see, thanks for telling
11:34janrinze has joined #asahi
11:34thasti_ has quit [Remote host closed the connection]
11:37janrinzenot many will use asahi linux on a mac studio.. right? I guess most have a mac book pro/air or a mac mini.
11:38thasti has joined #asahi
11:39j`eyjanrinze: there's a few of you
11:39ptrc has quit [Remote host closed the connection]
11:40ptrc has joined #asahi
11:40janrinzei understand.
11:40qeeg_ has quit [Remote host closed the connection]
11:41qeeg_ has joined #asahi
11:41j`eyjanrinze: m a z, (kernel maintianer for arm64/kvm) is using it as one of his workstations
11:44janrinzeat work we have arm64 in production systems, I like the binary compatibility. The drivers that i installed on those systems for hardware we have apparently work 1on1 on the mac mini. which is definitely a plus when developing. So i can build/run/test on asahi linux as if it was on the production systems.. (but waay faster ;-) )
11:46janrinzeI know that asahi linux isn't production ready so i won't be advising to migrate our production systems to mac studio's yet ;-)
11:47qeeg_ has quit [Remote host closed the connection]
11:47qeeg_ has joined #asahi
11:48Axenntio has joined #asahi
11:48janrinzewe require multiple 1Gbit network adapters on those. The mini could do that over USB3. When the mac studio supports USB3 it might actually become a viable option.
11:49j`eywhat arm64 hw are you using currently?
11:49janrinzethese 1Gb need to be point-to-point unfortunately
11:49janrinzethey're NVidia systems. embedded and fanless.
11:51tycecycle[m] has joined #asahi
11:51janrinzeand installing an OS on them is way more painful than asahi ;-)
11:54janrinzeon the topic of the 4k page patches, there was a mention of a performance penalty. which parts are hurt most by that?
11:57janrinzej`ey: your work at ARM, right?
11:57janrinzeknow Wilco D?
11:58j`eyjanrinze: I've spoken to him.. once
11:58qeeg_ has quit [Remote host closed the connection]
11:59janrinzeif you see him say hi from me. haven't spoken to him in decennia.
11:59qeeg_ has joined #asahi
12:00j`eywill do!
12:00janrinzehe's busy on the compilers for ARM, i.i.r.c.
12:01janrinzegreat guy, friendly and very smart.
12:15nimprod3l has joined #asahi
12:16nimprod3l has quit []
12:18janrinzejannau: your u-boot fix is exactly what i was trying to do with u-boot. thanks!!
12:23Ry_Darcy has quit [Remote host closed the connection]
12:29thevar1able has quit [Ping timeout: 480 seconds]
12:30qeeg_ has quit [Remote host closed the connection]
12:31thevar1able has joined #asahi
12:31qeeg_ has joined #asahi
12:35kovjanrinze, I don't know the answer to which parts are hurt the most, but IIRC there was a 15% perf hit on kernel compilation
12:45AxenntioIs there a way to use all the screen on Notched MacBook in Asahi?
12:46j`eyI think only by modifying m1n1 currently
12:46j`eysrc/kboot.c get_notchless_fb
12:52thevar1able has quit [Ping timeout: 480 seconds]
12:53AxenntioOk, thanks for the information. I know that Marcan speaks about the git software the ability to redeems the notch space, but if the software is not updated to support this feature, it will be nice to have a manual way to do this (later probably)
12:54j`eyAxenntio: wont it just be annoying if you keep having to manually resizing stuff, *shrug*
12:54thevar1able has joined #asahi
12:55AxenntioYes, of course, but what if I can let i3/sway have full usage of the screen and that I already configure my status bar to take the exact height of the notch?
12:58janrinzekov: that's interesting. memory allocation might have something to do with that. malloc performance on 16k pages might work more efficient. which makes me wonder what would happen when using 64k pages. Since these setings are all 'legacy' from times when memory was measured in MB's rather than GB's..
12:59fossdd has quit [Read error: Connection reset by peer]
13:01fossdd has joined #asahi
13:02janrinzej`ey: RAM size in MB i guess
13:03j`eyi'd assume
13:03janrinzethe benefit to goto 64k pages is there but only if you're not going to do swapping.
13:06janrinzeit's not a big jump in performance from 16k to 64k pages. This is sort of similar to cache sizes. above a certain point doubling cache size will only gain a little performance.
13:08janrinzej`ey: on which M1 was this done? M1,M1 pro, M1 max and M1 ultra might all behave quite different in this respect..
13:09j`eyjanrinze: not m1 at all
13:09j`eym1 doesn't support 64k
13:09janrinzethen on which system was this test performed?
13:10j`eyarnd_: what did you do these tests on?
13:10janrinzeif this was on Intel or AMD the effects may differ quite a bit i.r.t. M1.
13:11j`eyit's arm
13:11j`eyi dont think x86 supports 16/64k
13:17janrinzenever tried that.. but then again that's 32bit only.. will try that on a rainy day when there's nothing else todo ;-)
13:19Axenntio has quit [Quit: Axenntio]
13:21Axenntio has joined #asahi
13:28Major_Biscuit has joined #asahi
13:29qeeg_ has quit [Remote host closed the connection]
13:30qeeg_ has joined #asahi
13:34kaseyreed has joined #asahi
13:34jelly has joined #asahi
13:35j`eyjanrinze: I think that's 64K large pages for arm7
13:35j`eywhereas arm64 can have 4 16 64 as the 'small' page size
13:41amarioguy has joined #asahi
13:41jelly has quit [Remote host closed the connection]
13:44fossdd_ has joined #asahi
13:46fossdd has quit [Ping timeout: 480 seconds]
13:52jelly has joined #asahi
14:02zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:09zzywysm has joined #asahi
14:09z812 has quit [Quit: Bye!]
14:10z812 has joined #asahi
14:39dsrt^ has quit [Remote host closed the connection]
14:52CatDentures has quit [Quit: leaving]
14:52kaseyreed has quit [Quit: Konversation terminated!]
15:04Axenntio has quit [Quit: Axenntio]
15:05Zaprit has joined #asahi
15:13marcanm1n1 will never have notch support for the boot FB because it doesn't make any sense, that will come with DCP
15:19marcanfixed the irq thing, building a new kernel
15:20j`eymarcan: very nice that it worked otherwise!
15:21marcanmeanwhile my MBA apparently arrives... tomorrow, ahead of schedule
15:21marcanwhile I'm still overseas :p
15:21marcanj`ey: :)
15:22Glanzmannmarcan: In which town does your family live in spain?
15:24marcanthat's proprietary information :p
15:25GlanzmannI see, than I'll wait until Debian artefacts finish building.
15:26GlanzmannI though about going sailing in Mar Menor in spain.
15:31debabrata has joined #asahi
15:32debabrata has quit []
15:33Manouchehriaxyliah[m]: dang, I just realized how lovely i3wm would be with a notch.
15:34Zaprit has quit [Quit: Zaprit]
15:37Zaprit has joined #asahi
15:43jluthra has quit [Remote host closed the connection]
15:44jluthra has joined #asahi
15:45arnd_j`ey: this was an Amazon EC2 Graviton2/C6g
15:52GlanzmannDebain users: I updated the artefacts including the kernel in case someone is on the m2, but I don't know of anyone. But I'll try it myself on Saturday on macbook air mm2 of a friend.
16:04arnd_janrinze: Marvell did a hack to use 64KB page sizes on arm32 on CPUs that did not actually support the larger TLB. Not sure if this was on the Kirkwood (ARMv5E) or Armada XP (ARMv7-a) generation. It very wasteful though, and you don't normally want to do it on a machine that is already memory limited
16:04ari don't remember it on kirkwood
16:05ari used to have a board based on it
16:05arnd_In this case itwas done to avoid the limitations of a 32-bit pgoff_t that ultimately limits the the maximum disk partition size to 16GB
16:05arnd_the patches never went upstream but were in vendor kernels that shipped with NAS boxes
16:07arnd_Annapurna Labs (now Amazon) worked around the issue in their NAS SoCs by using a 64-bit pgoff_t, which is a better way to handle this IMO, but this also never went upstream
16:10arnd_found the patches from gcliement: this was for Armada XP, so early ARMv7 that lack LPAE and large page support https://lore.kernel.org/linux-arm-kernel/20200611134914.765827-1-gregory.clement@bootlin.com/
16:14neatsquirrel has quit [Quit: neatsquirrel]
16:25Axenntio has joined #asahi
16:26viliamcarnoky[m] has joined #asahi
16:30doggkruse has joined #asahi
16:30CME has quit [Ping timeout: 480 seconds]
16:35doggkruse_ has joined #asahi
16:38doggkruse has quit [Ping timeout: 480 seconds]
16:43doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:46doggkruse has joined #asahi
16:56the_lanetly_052___ has quit [Ping timeout: 480 seconds]
17:01doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:23Stary has joined #asahi
17:26Stary has quit []
17:26doggkruse has joined #asahi
17:26doggkruse has quit []
17:27Axenntio has quit [Quit: Axenntio]
17:27Axenntio has joined #asahi
17:28Stary has joined #asahi
17:28Axenntio has quit []
17:36Stary_ has joined #asahi
17:36Stary is now known as Guest5846
17:36Stary_ is now known as Stary
17:37Guest5846 has quit [Read error: Connection reset by peer]
17:48MichaelToomim[m] has joined #asahi
17:52doggkruse has joined #asahi
17:52doggkruse has quit []
18:01opticronhooray, I was going to update all my stuff and check out BT today anyway
18:01opticronthanks, Glanzmann!
18:33doggkruse has joined #asahi
18:47Zaprit has quit [Quit: Zaprit]
19:02doggkruse_ has joined #asahi
19:04doggkruse has quit [Ping timeout: 480 seconds]
19:05doggkruse has joined #asahi
19:10doggkruse_ has quit [Ping timeout: 480 seconds]
19:21___nick___ has joined #asahi
19:42Glanzmannopticron: You're welcome. I have not tried bluetooth myself but you need the firmware in order to run it. Here is a howto how to to extract it: https://g3la.de/hedgedoc/s/MIaCyVv1A#Bluetooth
19:44viliamcarnoky[m]Do you know any emulators that would allow me to run x86 programs?
19:46Glanzmannviliamcarnoky[m]: Apparantly qemu.
19:47j`eyqemu, fexemu, box64
19:48viliamcarnoky[m]Ill try it, Thanks
19:56off^ has joined #asahi
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:19doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:36LouisLambeau[m] has joined #asahi
21:17qeeg_ has quit [Remote host closed the connection]
21:18qeeg has joined #asahi
21:38littleb2009[m] has joined #asahi
21:55doggkruse has joined #asahi
22:00off^ has quit [Ping timeout: 480 seconds]
22:15off^ has joined #asahi
22:16doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:22jakebot60 has quit [Quit: The Lounge - https://thelounge.chat]
22:27jakebot60 has joined #asahi
22:49grgy has quit [Remote host closed the connection]
22:51grgy has joined #asahi
23:31CME has joined #asahi
23:32Zaprit has joined #asahi
23:56opticronI was having issues with BT trying to get audio working, but forgot I hadn't installed pipewire or all the other bits necessary, pairing and a2dp output and headset mode all worked fine after that
…