2021-05-28
00:02cdesai is now known as ircdesai
00:04ircdesai has quit [Quit: ircdesai]
00:05cdesai has joined #asahi
00:05cdesai is now known as ircdesai
00:07tertu has quit [Ping timeout: 480 seconds]
00:07ircdesai is now known as cdesai
00:09cdesai has quit []
00:09ircdesai has joined #asahi
00:09ircdesai is now known as cdesai
00:10cdesai is now known as ircdesai
00:11ircdesai has quit []
00:11ircdesai has joined #asahi
02:25PhilippvK has joined #asahi
02:28phiologe has quit [Ping timeout: 480 seconds]
03:16marvin24 has joined #asahi
03:17marcanin principle "everything" is in scopre, but it's unlikely we'll ever get to do all the userspace work that isn't done yet, so we do kind of depend on the overall state of these things in Linux moving forward on its own too
03:17marcanI'm happy to fix bugs or implement missing tidbits in random userspace packages though, once everything else is done... but that'll take a while :)
03:19marcanah-[m], sven: the next step for the hypervisor is starting to build modular hw-specific tracing bits that hook into the mmiotrace subsystem
03:20marcanso a SEP one would dump all the SEP commands and parse them to the extent we understand them, etc
03:20marvin24_ has quit [Ping timeout: 480 seconds]
03:21randomdud has joined #asahi
03:51bgb_ has quit [Quit: WeeChat 3.0.1]
03:52bgb has joined #asahi
03:59randomdud has quit [Remote host closed the connection]
04:16bgb_ has joined #asahi
04:18bgb has quit [Ping timeout: 480 seconds]
05:26VinDuv has joined #asahi
05:50TheJollyRoger has quit [Remote host closed the connection]
05:50TheJollyRoger has joined #asahi
05:53EmantorFYI, my USB serial connection was dropping out with a 3.2 Gen 2 (10GBit/s) C-to-C cable, switching to a USB A to C with an older USB 2.0 hub fixed that.
06:02tsida has quit [Remote host closed the connection]
06:13dottedmagRequired formats are argb8888 and xrgb8888, but compositors expose more formats. It's up to clients to make use of them.
06:24VinDuv has quit [Quit: Leaving.]
07:10kettenis_Emantor: wonder if that is because m1n1 isn't doing some of the PHY tuning at the moment
07:13svenEmantor: interesting. i use a 3.2 gen 2 c-to-c cable as well and i never had issues like that. is that on a mac mini?
07:17Emantornothing on the dmesg side, no debug prints on the fb, don't know about the debug uart, since I don't have the necessary hardware to use it yet.
07:18_jannau_USB C-C cable works fine for me to the USB-C port of a thinkpad thunderbolt docking station
07:51marcanwhen that happens the device controller stays up, but it won't reply to any USB transactions
07:53marcanyou can try changing the iodev code at the top of iodev_console_write to use IODEV_FB instead of IODEV_UART as the fallback reentrancy path
07:57mazmarcan: no, that's way to hard. you'd have to assume 64kB for all page alignments, turn the VA range into something dynamic... you'd be better off having 3 kernels, compiled for each page size, and get the bootloader to pick the one you want.
07:59mazwe *may* be able to do something in the DMA layer to just map all memory in the PCI DARTs and treat it as a bus offset.
08:01tsida has joined #asahi
08:06pinskiaI missed that M1 requires 16k page sizes. The last time I tested 16k pages sizes in arm Linux (long time ago) on the Cavium ThunderX1, it failed if there was more than 32G installed. I don't know if this was solved yet.
08:08pinskiaI always wondered why ARM added 16k page size to the spec as a (late) optional feature and I guess Apple is the answer
08:25marcanI think the set feature thing is a red herring, it's trying to clear the endpoint stall after it happens
08:32arndUbuntu started shipping 64KB page kernels in addition to 4KB, so maybe they would add a third one as well
08:34arndI can also imagine running a 4KB page kernel on M1, as long as that rules out connecting arbitrary devices on thunderbolt. For the internal devices it's no worse than any of the other chips that have no usable IOMMU at all
08:35Emantormarcan: I assume its something on the Linux USB side, I also got dmesg errors this time. Switching from C-to-C to C-to-A also moves to a different port with basically no other device on the port.
08:37bgb has joined #asahi
08:39bgb_ has quit [Ping timeout: 480 seconds]
08:40kettenis has joined #asahi
08:42kettenis_ has quit [Ping timeout: 480 seconds]
08:45robinp_ has joined #asahi
08:53robinp has quit [Ping timeout: 480 seconds]
08:56Emantorstill borked, dmesg has xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 4. I found some older LKML threads with issues on isochrounous transfers on intel XHCI ports, the port with USB-C has isochrounous transfers from my USB sound card, the USB-A port does not.
08:59eta has quit [Quit: Gateway shutdown]
09:01bih420 has joined #asahi
09:02mazpinskia: yeah, this was added at the last minute (right *after* the arch was frozen) at the request of particular vendor, which explains the very bizarre encoding in ID_AA64_MMFR0_EL1.
09:15eta has joined #asahi
09:19bih420Hello I am new here, I want to try m1n1 (bootloader) on my mac mini m1 (256gb storage, 16gb ram), I only have 1 m1 hardware with other are amd64(x86_64) machines. I don't have any Arduino (but rpi3), is there any way to try m1n1 on my current situtation or should I wait (lockdown in my country). is there any alternative for meantime I have USB C to USB A cabel(it is usb3) (from pixel 1
09:26bih420 has quit [Read error: Connection reset by peer]
09:34pinskiaand the reason why CRC is an optional feature of ARMv8.0 was because xgene's core was completed before crc was added to the spec too
09:34bih420 has joined #asahi
09:37bgb has quit [Ping timeout: 480 seconds]
09:39bgb has joined #asahi
09:42bisko has joined #asahi
09:43pinskiaAlso I don't know how many cores implement 16k pagesize;is it still an optional feature, I have not looked into the spec in this area in the last 3 or so years
09:47mazand the GICv3 virtualisation that allowed the guest to remove all interrupts from the host...
09:49arndpinskia: out of the Cortex cores, it seems that all cores starting with A73/A35 support all three granules (4K, 16KB, 64KB), just not the very earliest ones (A57, A53, A72) that are limited to 4KB and 64KB
09:54pcm720_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
09:54pinskiaDC ZVA was broken too in ThunderX1 but was not found out until much latter when debugging OcteonTX2 (96xx) where a GCC bootstrap was failing; tar would produce a corrupt file. That was one of the easier bugs to debug really
09:54pcm720 has joined #asahi
10:01ake_ has joined #asahi
10:02PeterHilgenfeld[m] has joined #asahi
10:09ake_ has left #asahi [Leaving]
10:11ake_ has joined #asahi
10:15ake_ has quit [Quit: Leaving]
10:37bgb has quit [Ping timeout: 480 seconds]
10:56gladiac has quit [Quit: k thx bye]
10:57bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:57gladiac has joined #asahi
11:23bih420 has quit [Quit: WeeChat 3.1]
12:03peace has joined #asahi
12:24ircdesai is now known as desairc
12:24desairc is now known as cdesai
12:25cdesai is now known as desairc
12:25desairc is now known as cdesai
12:25cdesai is now known as desairc
12:28desairc has quit [Quit: desairc]
12:29desairc has joined #asahi
13:04tsida has quit [Remote host closed the connection]
13:05tsida has joined #asahi
13:14mini has quit [Quit: ZNC closing...]
13:16mini has joined #asahi
13:29bih420 has joined #asahi
13:44Dot has joined #asahi
13:46rafaelmartins has quit [Quit: https://rgm.io/]
13:46rafaelmartins has joined #asahi
13:49bih420 has quit [Quit: WeeChat 3.1]
14:02booffo[m] has joined #asahi
14:48marcanbut that may just be because I don't find music notation particularly intuitive compared to piano roll, when I'm just going to from sound to midi
14:56marcanthe only annoying thing is still the rounding errors (e.g. snapping a region to a bar has a 50/50 chance of eating notes that start on that bar) but that's been a long-coming fix in the nutempo branch
15:02bgb has joined #asahi
15:11bgb has quit [Ping timeout: 480 seconds]
15:16bgb has joined #asahi
15:35bgb has quit [Ping timeout: 480 seconds]
15:42peace has quit []
15:57robinp has joined #asahi
16:01robinp_ has quit [Ping timeout: 480 seconds]
16:06hir0pro has joined #asahi
16:37VinDuv has joined #asahi
16:45Dt3 has joined #asahi
16:45Glanzmann has joined #asahi
16:48Glanzmannmarcan: Can be put a hint on https://asahilinux.org/community/ that it requires that you connect to irc.oftc.net using tls in order to join the channels? And congrats on getting macos run inside the m1n1 hypervisor. :-)
16:49EmantorI ams tarting to wonder how to build a kernel collection using the development kernel. Apple docs are not exactly helpful…
16:52Dot has quit [Ping timeout: 480 seconds]
16:54armarcan: what we now need is to get onto some weird timeline where apple devs start using m1n1 for macos development ;)
17:02marcanar: apple devs are already using our documentation because it's better than theirs in at least some use cases, I hear
17:03armarcan: from what i've heard about how apple operates, i wouldn't be surprised if the better/more accurate docs weren't available to all teams
17:04marcangoing by xnu build scripts, there's some, uh, mysql database or something they use that contains that kind of info? and it's no doubt only accessible by some people
17:05marcansven: I was just talking with a security reporter and I mentioned asahi and he was like "I guess I need a security angle" and I mentioned how I'm sure kernel vuln researchers will *love* the HV
17:15desairc is now known as cdesai
17:17cdesai is now known as desairc
17:17desairc is now known as cdesai
17:17cdesai is now known as desairc
17:33choozy has joined #asahi
17:44pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
17:45pcm720 has joined #asahi
17:53pugguu has joined #asahi
17:57choozy has quit [Ping timeout: 480 seconds]
18:01pugguu has quit [Read error: Connection reset by peer]
18:02pugguu has joined #asahi
18:11pugguu has quit [Read error: Connection reset by peer]
18:12pugguu has joined #asahi
18:16pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
18:16thunfisch has quit [Remote host closed the connection]
18:17pcm720 has joined #asahi
18:17thunfisch has joined #asahi
18:44VinDuv has quit [Quit: Leaving.]
18:48pugguu has quit [Read error: Connection reset by peer]
18:49pugguu has joined #asahi
18:53pugguu has quit [Read error: Connection reset by peer]
18:53pugguu has joined #asahi
19:14pugguu has quit [Remote host closed the connection]
19:15pugguu has joined #asahi
19:19pugguu has quit [Read error: Connection reset by peer]
19:20pugguu has joined #asahi
19:28VinDuv has joined #asahi
19:37zopieux has quit [Ping timeout: 480 seconds]
19:39zopieux has joined #asahi
19:48jkkm has joined #asahi
19:49pugguu has quit [Read error: Connection reset by peer]
19:49pugguu has joined #asahi
19:50chipuba has joined #asahi
19:50pugguu has quit [Read error: Connection reset by peer]
19:50chipuba has left #asahi [#asahi]
19:50pugguu has joined #asahi
19:54pugguu has quit [Read error: Connection reset by peer]
19:55pugguu has joined #asahi
20:02hir0pro has quit [Ping timeout: 480 seconds]
20:02SunWuKung has joined #asahi
20:12pugguu has quit [Remote host closed the connection]
20:14pugguu has joined #asahi
20:23yuyichao has joined #asahi
20:30VinDuv has quit [Quit: Leaving.]
20:31yuyichaogot a m1 (pro 8G 256G) ahead of plan (graduation gift) so I'm trying to follow the wiki on it and I've got a few feedbacks/questions.
20:32yuyichaothe device tree name in https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart and https://github.com/AsahiLinux/docs/wiki/SW%3ALinux seems to be out of date. And since it requires preprocessor now and m1n1 has build rule for it, should the command on the SW:Linux page just be removed?
20:33yuyichao2) on my archlinux x64 host, I got both ttyACM0 and ttyACM1 when m1n1 boots ACM0 seems to work, is that expected?
20:33yuyichao3) both ttyACM0 and ttyACM1 disappears when the usb cable was disconnected (as expected) and either shows up again when the cable is plugged back in without rebooting m1n1
20:35yuyichao4) is there a way to talk to linux booted through linux.py using only a usb cable? https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart suggests `/dev/ttyUSB0` bit I couldn't figure out what exactly it should be/if it needs other hardware connection to work
20:36jannau1) I guess it's safer to use the dtb from the kernel (arch/arm64/boot/dts/apple/t8103-j274.dtb) and not the one from m1n1
20:39yuyichaoyeah i meant "neither". k. that's fine, I just unplugged it to figure out which one it is (and both disappeared so I was quite confused....)
20:42jannauinteraction with linux requires currently the serial. does the usb cdc gadget already work with the dart/dwc3 usb changes
20:43yuyichaoah, ok. I somehow read "USB gadget support is not yet in our main Linux tree" as "not yet in mainline linux tree" = = .... and thought that it was in the fork ....
20:45jannaulinux has a cdc acm gadget, there is currently no support for using the m1 usb-c controller as device in linux except maybe in https://github.com/AsahiLinux/linux/tree/dart/dev
20:51tertu has joined #asahi
20:51pugguu has quit [Remote host closed the connection]
20:52tertu has quit []
20:52yuyichaois there any hint on how to use that branch? compiled a kernel on that branch and there's still no ttyACM* after loading linux
20:52pugguu has joined #asahi
20:54jannauthe device tree configures the dwc3 in host mode, changing dr_mode to "peripheral" seems to have no effect
20:54pugguu has quit [Remote host closed the connection]
20:55pugguu has joined #asahi
21:03Dt3 has quit [Ping timeout: 480 seconds]
21:06SunWuKung has quit [Ping timeout: 480 seconds]
21:12choozy has joined #asahi
21:20pugguu has quit [Read error: Connection reset by peer]
21:20pugguu has joined #asahi
21:43pugguu has quit [Ping timeout: 480 seconds]
21:43pugguu has joined #asahi
21:55yuyichao has quit [Quit: Konversation terminated!]
22:12pugguu has quit [Ping timeout: 480 seconds]
22:20perfisk has joined #asahi
22:23perfisk has left #asahi [#asahi]
22:34choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
23:13pcm720 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
23:13pcm720 has joined #asahi
23:40SunWuKung has joined #asahi
23:50StupidYui has quit [Remote host closed the connection]