#
…

2022-04-02

00:04bisko has quit [Read error: Connection reset by peer]
00:08bisko has joined #asahi-dev
00:11yuyichao has quit [Ping timeout: 480 seconds]
00:18kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:34kylealanhale has joined #asahi-dev
01:00DragoonAethis has quit [Quit: hej-hej!]
01:00DragoonAethis has joined #asahi-dev
01:11yuyichao has joined #asahi-dev
01:13kameks has joined #asahi-dev
01:20Emantor has joined #asahi-dev
01:41chadmed has joined #asahi-dev
02:00bisko has quit [Read error: Connection reset by peer]
02:04bisko has joined #asahi-dev
02:15kameks has quit [Ping timeout: 480 seconds]
02:34jakebot has joined #asahi-dev
02:45kylealanhale has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:01phiologe has joined #asahi-dev
03:15kgarringtonkode54: sentences like “I disable selinux on centos server” are often followed by “we were hit by an incredibly sophisticated cyber attack” :p
03:16kgarrington has quit [Remote host closed the connection]
03:16kameks has joined #asahi-dev
03:18psykoseguess they got hit by a really sophisticated cyber attack..
03:48kode54Yeah, right
03:51chadmed has quit [Quit: Konversation terminated!]
03:56bisko has quit [Read error: Connection reset by peer]
03:59kov has quit [Quit: Coyote finally caught me]
03:59bisko has joined #asahi-dev
03:59kov has joined #asahi-dev
04:04chadmed has joined #asahi-dev
04:27chadmed has quit [Remote host closed the connection]
05:27bisko has quit [Read error: Connection reset by peer]
05:28bisko has joined #asahi-dev
05:30kameks has quit [Ping timeout: 480 seconds]
05:31kylealanhale has joined #asahi-dev
05:39kylealanhale has quit [Ping timeout: 480 seconds]
05:54the_lanetly_052 has joined #asahi-dev
06:10chadmed has joined #asahi-dev
06:56bisko has quit [Read error: Connection reset by peer]
06:57bisko has joined #asahi-dev
06:58kameks has joined #asahi-dev
07:08mpskode54: heh, I'm maintainer for linux-edge (latest stable mainline) for alpine linux which have moto: small, simple and secure, and also don't enable SELINUX
07:09mpsmost of these things are so called 'security theater'
07:11nicolas17 has quit [Ping timeout: 480 seconds]
07:18rikkaa has joined #asahi-dev
07:43nullroute has joined #asahi-dev
08:40Ph03n1ks has joined #asahi-dev
08:41kameks has quit [Ping timeout: 480 seconds]
08:43Ph03n1ks has quit [Remote host closed the connection]
08:44Ph03n1ks has joined #asahi-dev
08:53Ph03n1ks has quit [Ping timeout: 480 seconds]
08:53bisko has quit [Read error: Connection reset by peer]
08:55bisko has joined #asahi-dev
09:10alcazar has joined #asahi-dev
09:12herbas has joined #asahi-dev
09:15herbas has quit []
09:17Ph03n1ks has joined #asahi-dev
09:27rikkaa has quit [Quit: Connection closed for inactivity]
09:45jannaumarcan: failed display init on the ultra was my fault, DVA was wrong for the ultra as it has 1 additional page mapped compared to the mac mini
09:47jannauI've pushed updated m1n1 t6002-bringup, additional changes: skip initialization of interrupts on die 1 and cosmetic fixes
09:53___nick___ has joined #asahi-dev
09:53___nick___ has quit []
09:55___nick___ has joined #asahi-dev
10:05alcazar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:11ivy_[m] has joined #asahi-dev
10:25alcazar has joined #asahi-dev
10:30robinpany hints on building custom kernels. I keep getting snagged as its trying to load the initramfs. Are there any tricks here ?
10:34robinpmps: ok I was using that config, but is there more I need to notice.
10:35mpsrobinp: depends on your build machine and distro
10:37robinpmps: MBP M1 Pro, just using the default Asahi Desktop
10:38mpsrobinp: so arch distro, I think you don't need anything special, if you installed arch build environment ofc
10:38psykosemkinitcpio should do it for you when you install the kernel you built
10:38psykose(as a package)
10:39psykoseif you are just copying the kernel files around manually, then you need to manually invoke mkinitcpio with whatever it needs
10:39psykosebut if you use makepkg -si or whatever that should just be done for you
10:41robinppsykose: ah ok - I was makepkg -s then manually installing with packman -U *xz
10:41psykosethat should also still work
10:42psykoseafaik mkinitcpio should still print something on the screen that it does stuff
10:43psykosethe only other thing i can think of is everything is actually handled fine, and it is merely broken because your config can't actually boot after the initrd load
10:44j`eyyeah, I think we need more details about where its breaking, what changes you made to the config etc
10:46chadmedkeep in mind that it could be crashing for a billion reasons, it crashes on grub saying loading initramfs because it crashes before linux even has the framebuffer
10:46robinp_ has joined #asahi-dev
10:46chadmedso you might have borked something important
10:46robinp_the config is just from https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config and the only change I made was the i2c patch
10:46j`eyI would first try to build that package without any modifications
10:51bisko has quit [Read error: Connection reset by peer]
10:52bisko has joined #asahi-dev
10:53robinp has quit [Ping timeout: 480 seconds]
11:08m6wiq has joined #asahi-dev
11:28chadmed has quit [Remote host closed the connection]
11:59jluthra has quit [Remote host closed the connection]
11:59jluthra has joined #asahi-dev
11:59jakebot has quit [Read error: Connection reset by peer]
12:00jakebot has joined #asahi-dev
12:20bisko has quit [Read error: Connection reset by peer]
12:21bisko has joined #asahi-dev
12:29Ph03n1ks has quit [Remote host closed the connection]
13:01sveni need to find a better mail client and a way to separate these LKML mails from my other emails *sigh*
13:05mpsmutt? ;)
13:14SanskarBajpai[m] has joined #asahi-dev
13:18jannauif you want to have mails completly separate you could use lei to retrieve them from the mailing list archives: https://people.kernel.org/monsieuricon/lore-lei-part-1-getting-started
13:21svendon't think that works all that well for review comments to my patches which will be sent to me directly ;)
13:27jannauit will not work for review comments sent to you alone. for everything else you could filter for messages with your email address in to: or cc:
13:31YichaoYu[m]is anyone familiar with ldnp instruction?
13:33YichaoYu[m]but is it suggesting that the re-ordering is visible for a single thread?
13:54svenalright, fingers crossed I didn't forget to reply to any of the nvme comments
14:00jannauthere's a new comment, shmem_setup() has the iova argument for dcp
14:01svenI was thinking to already pre-fill bfr->iova and then shmem_setup() is just "do whatever is required to make bfr useable"
14:02kettenisYichaoYu: The ARM ARM is a bit more explicit about this
14:03kettenisbut yes, it seems like LDNP doesn't "interlock"
14:03ketteniswhich is ok I suppose since it isn't an actual load; just a hint
14:05m6wiq has quit []
14:06YichaoYu[m]what do you mean by it isn't an actual load? I thought it will load and write to the registers?
14:08kettenishmm, maybe I'm reading this wrong
14:09YichaoYu[m]I assume by ARM ARM you mean C3.2.4?
14:09YichaoYu[m]I'm currently interpreting that as it doesn't satisfy the c++ memory_order_consume but I'm reading it again...
14:10YichaoYu[m]yeah, since it says "by the other observers within ...."
14:13kettenisand C6.2.129 makes it obvious it does indeed do the load
14:14YichaoYu[m](I wonder if there's a version difference... for B.b revision that's LDTRSW section)
14:15kettenishmm, wait
14:16YichaoYu[m](ok for me it was C6.2.98 LDNP) and I do interpret `X[t] = data1; X[t2] = data2;` as writing the load result to the registers.
14:17kettenislooking at G.b here
14:17bisko has quit [Read error: Connection reset by peer]
14:21YichaoYu[m](doubled page number.... ok)
14:22bisko has joined #asahi-dev
14:22kettenisanyway, C3.2.4 talks about *other* observers withing the sharability domain
14:23kettenisbut the page you quoted does indeed seem to suggest that it actually affects the observer executing the code
14:25YichaoYu[m]I don't think the page I linked make sense = = ......
14:29kettenisah, I think I understand now
14:33kettenisso if there is a 2nd thread that writes to [X3] you may end up in the situation where LDNP loads from the old address at [X3] but X0 will hold the new address
14:37YichaoYu[m]that'll still be very strange
14:37YichaoYu[m]cuz how does ldnp decide what the old value of [X3] is, especially, say, when you also have a `add X0, X0, #8` between the two
14:38YichaoYu[m]in this case, I feel like in order to get the wrong address it'd have to also either run the add with a wrong input or ignore it, which is even more insane
14:39YichaoYu[m]my interpretation was that on a single thread the address it access should be consistent, but the thread may decide to access [X0], with the correctly loaded address, before X0 is loaded from [X3].
14:40YichaoYu[m](essentially that if the cpu predicted what X0 is correctly it could use a value it has cached for that from a minute ago, which it otherwise can't)
14:49ketteniswell, I mean, true that my interpretation is probably wrong
14:49kettenisnote that C3.2.4 talks about address dependencies
14:52YichaoYu[m]yeah, which I interprete as memory_order_consume https://en.cppreference.com/w/cpp/atomic/memory_order and that seems to be what E2.3.2 is talking about
14:53kettenisso actually what I think this means is that if [X3] and [X0] are overlapping memory addresses the values in X2, X1 and X0 are not necessarily consistent after the two instructions have executed
14:53kettenisi.e. you may end up with old memory contents in X2, X1 and new memory contents in X0
14:53kettenisI don't understand the C++ memory ordering semantics ;)
14:54YichaoYu[m]that I agree, but X2 and X1 should still be loaded from what X0 ends up being
14:55YichaoYu[m](and I assume for a single thread with no race it should still be deterministic......)
14:56svenjannau: my memory is a bit fuzzy, but were you also able to reproduce that weird missed nvme interrupts bugs when there was no spinlock around command submission?
15:02jannausven: yes, with m1 max. I heven't really tried to reproduce it on the mac mini
15:02svencan you reproduce it reliably there?
15:28j`eyshmem_setup() is omnipotent :D
15:55nicolas17 has joined #asahi-dev
15:56jannausven: with the patch not reproducible so far, I'll test how fast I can reproduce it without those writel
16:01m5zs7k has joined #asahi-dev
16:01doggkruse has joined #asahi-dev
16:01doggkruse has quit []
16:07jannausven: or not although the error looks different: "nvme nvme0: Device not ready; aborting reset, CSTC=0x3"
16:07svenah, too bad.
16:12doggkruse has joined #asahi-dev
16:14bisko has quit [Read error: Connection reset by peer]
16:18bisko has joined #asahi-dev
17:46bisko has quit [Remote host closed the connection]
17:47bisko has joined #asahi-dev
17:58the_lanetly_052 has quit [Ping timeout: 480 seconds]
18:29veloek has joined #asahi-dev
18:34gabuscus_ has joined #asahi-dev
18:41the_lanetly_052 has joined #asahi-dev
18:51the_lanetly_052 has quit [Ping timeout: 480 seconds]
19:42bisko has quit [Read error: Connection reset by peer]
19:47bisko has joined #asahi-dev
19:51___nick___ has quit []
19:52winter has quit [Quit: The Lounge - https://thelounge.chat]
19:53___nick___ has joined #asahi-dev
19:53winter has joined #asahi-dev
19:53___nick___ has quit []
19:55___nick___ has joined #asahi-dev
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:24MajorBiscuit has joined #asahi-dev
20:34Eroxl has joined #asahi-dev
20:34Eroxl has quit []
20:49veloek has quit [Ping timeout: 480 seconds]
20:58rqou_does anybody know how i can actually get the m1 max prores hardware to be used? attempting to use ffmpeg -vcodec prores_videotoolbox just gives a very unhelpful "Error while opening encoder for output stream #0:0"
21:01ChaosPrincessmaybe try imovie?
21:03rqou_uhh, how do i export something from imovie?
21:16MajorBiscuit has quit [Quit: WeeChat 3.4]
21:18rqou_ok, apparently -pix_fmt yuv420p solves it (-pix_fmt bgra doesn't work for reasons i don't understand)
21:20MajorBiscuit has joined #asahi-dev
21:41veloek has joined #asahi-dev
21:41bisko has quit [Remote host closed the connection]
21:44bisko has joined #asahi-dev
21:49veloek has quit [Ping timeout: 480 seconds]
21:52MajorBiscuit has quit [Ping timeout: 480 seconds]
22:04Ph03n1ks has joined #asahi-dev
22:12Ph03n1ks has quit [Remote host closed the connection]
22:13Ph03n1ks has joined #asahi-dev
22:53MajorBiscuit has joined #asahi-dev
23:08Ph03n1ks has quit [Remote host closed the connection]
23:10Ph03n1ks has joined #asahi-dev
23:20MajorBiscuit has quit [Ping timeout: 480 seconds]
23:37bisko has quit [Read error: Connection reset by peer]
23:38bisko has joined #asahi-dev
23:45Ph03n1ks has quit [Remote host closed the connection]
23:51Ph03n1ks has joined #asahi-dev
…