#
…

2023-03-04

00:00jhan has quit [Ping timeout: 480 seconds]
00:05alyssa has quit [Quit: leaving]
00:24kesslerd has quit [Ping timeout: 480 seconds]
00:35aomizu has quit [Quit: Textual IRC Client: www.textualapp.com]
00:52nyilas has quit [Remote host closed the connection]
01:06aomizu has joined #asahi-gpu
01:17alyssa has joined #asahi-gpu
01:18alyssachadmed: down the line I think I'm going to want 13.x firmware for AGX
01:18alyssafor mesh shaders
01:18alyssa(and also geometry + tessellation shaders)
01:18alyssathat shouldve been asahi-dev
01:32kesslerd has joined #asahi-gpu
01:41kesslerd has quit [Ping timeout: 480 seconds]
01:49jhan has joined #asahi-gpu
01:57jhan has quit [Ping timeout: 480 seconds]
02:04jhan has joined #asahi-gpu
02:10chadmed has joined #asahi-gpu
02:12kesslerd has joined #asahi-gpu
02:12jhan has quit [Ping timeout: 480 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi-gpu
02:27kesslerd has quit [Quit: Konversation terminated!]
02:32aomizu has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
02:37jhan has joined #asahi-gpu
02:46jhan has quit [Ping timeout: 480 seconds]
03:06aomizu has joined #asahi-gpu
03:34jhan has joined #asahi-gpu
03:39jhan has quit [Remote host closed the connection]
03:53jhan has joined #asahi-gpu
04:01aomizu has quit [Max SendQ exceeded]
04:04jhan has quit [Ping timeout: 480 seconds]
04:14jhan has joined #asahi-gpu
04:21alyssalina: I pushed an agx/next
04:21alyssatowards the top there is a commit "asahi: Use a dynarray for writers" which I'm on the fence about no pun intended
04:22alyssaand then the batch tracking code I rebased on top of it (easy conflicts)
04:22alyssai'm not convinced I did it right
04:22alyssabut it does fix the use after free
04:22jhan has quit [Ping timeout: 480 seconds]
04:22alyssaI'm starting to think there's a much dumber solution I should've gone with, actually..
04:23alyssaotoh the dynarray approach is almost certainly lighterweight than the hash table so not inclined to drop the commit
04:23alyssa(i've seen that hash table be a big chunk %wise of CPU overhead for the driver)
04:25alyssa"i'm not convinced" see the "XXX: is this kosher"
04:25alyssabecause agx_writer_add asserts there's no existing writer, but if there's something submitted but not finished there's a writer there
04:26alyssaand ... in terms of batch ordering, the implicit in-order guarantee from the kernel says that's totally fine
04:26alyssain terms of waiting for a BO to be ready, there's now a new writer to wait on so that's right
04:26alyssathe only dicey thing is that newfangled BO syncobj
04:27alyssaif there's an export, that doesn't trigger a flush so it needs to use the existing syncobj
04:27alyssawe don't touch the syncobj there so that's fine
04:27jhan has joined #asahi-gpu
04:27alyssabut then the new syncobj will get swapped in later on submit which.. I guess is also fine
04:27alyssabut cleared if it finishes first which is.. also fine
04:27alyssaok. I guess this is kosher after all.
04:29alyssaOK, yeah, I'm ok with it if you are
04:33alyssalina: I've pushed my changes to lina/agx/uapi-prep
04:33alyssa(i.e. your branch, the one in the MR)
04:33alyssafixing the UAF
04:33alyssadidn't address the other stuff from review
04:35jhan has quit [Ping timeout: 480 seconds]
04:42jhan has joined #asahi-gpu
04:51jhan has quit [Ping timeout: 480 seconds]
05:16jhan has joined #asahi-gpu
06:22jhan has quit [Remote host closed the connection]
06:23possiblemeatball has quit [Quit: Quit]
06:39jhan has joined #asahi-gpu
06:40jhan has quit [Remote host closed the connection]
07:44jhan has joined #asahi-gpu
08:00jhan has quit [Remote host closed the connection]
08:07c10l has quit [Ping timeout: 480 seconds]
08:08jhan has joined #asahi-gpu
08:10jhan has quit [Remote host closed the connection]
08:12jhan has joined #asahi-gpu
09:52DarkShadow4444 has quit [Read error: Connection reset by peer]
09:53DarkShadow44 has joined #asahi-gpu
09:54DarkShadow44 has quit []
09:54DarkShadow44 has joined #asahi-gpu
09:55DarkShadow44 has quit []
09:55DarkShadow44 has joined #asahi-gpu
09:56linaalyssa: Do you have a log from the piglit thing? I don't know if I'll get to it today/tomorrow...
09:57DarkShadow44 has quit []
09:58linaOne thing is the timestamps in your log suggest you have a slow dmesg consumer, maybe serial? So just printing fault messages takes a while, and that blocks the GPU, and then GPU context invals are getting dropped which can definitely crash the firmware.
09:58linaThat doesn't explain the drm_sched splat you got though...
09:58DarkShadow44 has joined #asahi-gpu
09:58linaI'll fix that by bumping the timeout way up for those invals
09:59DarkShadow44 has joined #asahi-gpu
11:40aomizu has joined #asahi-gpu
12:00aomizu has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
12:36aomizu has joined #asahi-gpu
12:54jannauspikerguy: for most things you don't need it. m1n1's HV provides a virtual uart
13:25aomizu has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
13:33kesslerd has joined #asahi-gpu
14:03djorz has quit [Quit: Gateway shutdown]
14:08possiblemeatball has joined #asahi-gpu
14:49alyssalina: no serial here, native booted linux and just have dmesg open in a terminal
14:49linaDepending on your cmdline options you might be sending dmesg to serial anyway ^^
14:49lina(Or on how you actually boot linux)
14:51linaIn particular if you use linux.py, I think the default stdout-path gets set to serial (u-boot normally changes that to fb...)
14:54alyssaoh, woof
14:54alyssayeah I do use linux.py
14:55alyssac'est quoi u-boot
14:55alyssapython3 /home/alyssa/m1n1/proxyclient/tools/linux.py --bootargs="net.ifnames=0 rw root=/dev/nvme0n1p5 rootwait rootfstype=ext4 quiet splash "
14:55linaI think console=tty0 will fix it, otherwise just do what I do and echo 0 > /proc/sys/kernel/printk before doing anything interesting (dmesg still works) ^^
15:15bisko has joined #asahi-gpu
15:23bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:24bisko has joined #asahi-gpu
15:26bisko has quit []
15:28nyilas has joined #asahi-gpu
17:08amarioguy has joined #asahi-gpu
17:28amarioguy has quit [Ping timeout: 480 seconds]
18:15kesslerd has quit [Ping timeout: 480 seconds]
18:22c10l has joined #asahi-gpu
19:00djorz has joined #asahi-gpu
19:13alyssalina: Ideally the mountain of commits that make it up would get reviewed and merged upstream, but as a release candidate I've pushed agx/release to my repo
19:13alyssadeqp should be clean, piglit is a nightmare but I think you were going to look at that because there's not too much I can do when every hit causes my system to hang
19:13alyssas/hit/run/
19:13alyssathis includes new UAPI so should be moar perf
19:14alyssabut notably does not include GL3 or ES3
19:14alyssasince the multisampling impl is too broken for me to tolerate
20:11alyssayeah, ok
20:11alyssalina: agx/release is my branch
20:11amarioguy has joined #asahi-gpu
20:12alyssaDebug more what you will (would love more piglit fixes) but when you're satisfied, push it to asahi/mesa:main and give marcan the greenlight to push out the new packages
20:12jhan has quit [Remote host closed the connection]
20:12alyssaIt's not as regression-free as I would like but, it's still edge after all, and I don't know of any real (i.e. non piglit) regressions and yeah
20:12alyssaI don't have the energy to keep working at this right now, passing the baton back to you
20:12jhan has joined #asahi-gpu
20:14user982492 has joined #asahi-gpu
20:21jhan has quit [Ping timeout: 480 seconds]
20:46jhan has joined #asahi-gpu
20:57kesslerd has joined #asahi-gpu
20:58jhan has quit [Ping timeout: 480 seconds]
21:08jhan has joined #asahi-gpu
21:17Z751 has joined #asahi-gpu
21:17jhan has quit [Ping timeout: 480 seconds]
21:18kesslerd_ has joined #asahi-gpu
21:18Z751 has quit []
21:22kesslerd has quit [Ping timeout: 480 seconds]
21:25alyssa has quit [Quit: leaving]
21:43jhan has joined #asahi-gpu
21:46user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:55jhan has quit [Ping timeout: 480 seconds]
21:58luc has joined #asahi-gpu
21:58luc has quit []
22:17jhan has joined #asahi-gpu
22:24user982492 has joined #asahi-gpu
22:25jhan has quit [Ping timeout: 480 seconds]
22:34jhan has joined #asahi-gpu
22:35nopeslide1 has quit []
22:43jhan has quit [Ping timeout: 480 seconds]
22:45nopeslide1 has joined #asahi-gpu
22:51amarioguy has quit [Ping timeout: 480 seconds]
22:52jhan has joined #asahi-gpu
22:54D-Spirits has joined #asahi-gpu
23:00jhan has quit [Ping timeout: 480 seconds]
23:05jhan has joined #asahi-gpu
23:20jhan has quit [Ping timeout: 480 seconds]
23:21nyilas has quit [Remote host closed the connection]
23:29jhan has joined #asahi-gpu
23:32D-Spirits has quit [Quit: D-Spirits]
23:32D-Spirits has joined #asahi-gpu
23:37jhan has quit [Ping timeout: 480 seconds]
23:45jhan has joined #asahi-gpu
23:56jhan has quit [Ping timeout: 480 seconds]
…