00:12
ourdumbfuture has joined #asahi-gpu
00:18
alyssa has joined #asahi-gpu
00:19
<
alyssa >
jannau: that 'should' be implemented by a blit on the GPU to a writeback buffer and then a CPU read from the writeback buffer, which is b/w heavy but should not cause unusable slowness on m1-class hardware
00:19
<
alyssa >
I thought we did that properly, but it's possible we're going down a slow path somewhere deep in mesa .. CPU format conversion directly from write-combine memory, for ex, would cause unusable slow..
00:20
<
alyssa >
worth checking a profiler (I like sysprof) to see what's going wrong
00:20
<
alyssa >
might be worth fiddling with PIPE_CAP_TEXTURE_TRANSFER_MODES
00:22
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:57
zalyx0 has quit [Quit: later alligator]
01:10
alyssa has quit [Quit: alyssa]
01:23
c10l has joined #asahi-gpu
01:31
jeisom has quit [Ping timeout: 480 seconds]
01:38
cylm_ has quit [Ping timeout: 480 seconds]
02:03
zalyx0 has joined #asahi-gpu
02:06
chadmed has quit [Quit: Konversation terminated!]
02:06
chadmed has joined #asahi-gpu
02:11
zalyx0 has joined #asahi-gpu
02:14
zalyx0 has quit [Read error: Connection reset by peer]
02:14
zalyx0 has joined #asahi-gpu
02:19
zalyx0 has joined #asahi-gpu
02:26
zalyx0 has joined #asahi-gpu
02:37
zalyx0 has quit [Quit: later alligator]
02:40
zalyx0 has joined #asahi-gpu
03:04
ourdumbfuture has joined #asahi-gpu
03:38
alexanderh has joined #asahi-gpu
03:38
alexanderh is now known as alexanderh_
03:39
alexanderh_ has quit []
03:40
yeetbiscuit has joined #asahi-gpu
03:42
yeetbiscuit is now known as alexanderh__
03:42
alexanderh__ is now known as yeetbiscuit
03:42
yeetbiscuit has quit []
03:46
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
04:10
possiblemeatball has quit [Quit: Quit]
04:52
WindowPa- has joined #asahi-gpu
04:57
WindowPain has quit [Ping timeout: 480 seconds]
05:01
nepeat has joined #asahi-gpu
05:17
crabbedhaloablut has joined #asahi-gpu
05:19
barrowsx has joined #asahi-gpu
05:22
barrowsx has quit [Remote host closed the connection]
05:43
WindowPain has joined #asahi-gpu
05:48
WindowPa- has quit [Ping timeout: 480 seconds]
06:26
maria has quit [Remote host closed the connection]
06:37
maria has joined #asahi-gpu
06:38
maria has quit [Remote host closed the connection]
06:38
maria has joined #asahi-gpu
07:17
hailey has quit [Quit: Ping timeout (120 seconds)]
07:17
hailey has joined #asahi-gpu
09:12
chadmed has quit [Remote host closed the connection]
09:21
chadmed has joined #asahi-gpu
10:13
ChaosPrincess has quit [Quit: ChaosPrincess]
10:13
ChaosPrincess has joined #asahi-gpu
10:18
ourdumbfuture has joined #asahi-gpu
10:39
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
10:47
<
jannau >
hmm, it's not kpipewire but kwin causing the high cpu load
10:48
<
jannau >
util_format_b10g10r10x2_unorm_unpack_rgba_8unorm() called from _mesa_GetTexImage
10:53
ourdumbfuture has joined #asahi-gpu
11:02
i509vcb has quit [Quit: Connection closed for inactivity]
11:25
chadmed has quit [Ping timeout: 480 seconds]
11:31
chadmed has joined #asahi-gpu
11:53
fredmb has quit [Remote host closed the connection]
12:07
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:16
ourdumbfuture has joined #asahi-gpu
12:38
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:49
possiblemeatball has joined #asahi-gpu
12:57
cylm has joined #asahi-gpu
13:05
ourdumbfuture has joined #asahi-gpu
13:07
cylm has quit [Read error: Connection reset by peer]
13:07
amarioguy has quit [Remote host closed the connection]
13:09
cylm has joined #asahi-gpu
13:11
alyssa has joined #asahi-gpu
13:11
<
alyssa >
jannau: that would indeed be CPU format conversion :|
13:11
<
alyssa >
ideally, the format conversion would happen as part of the blit on the GPU
13:12
<
alyssa >
off hand i'm not 100% sure why that isn't happening / how to make it happen
13:13
jeisom has joined #asahi-gpu
13:14
<
alyssa >
see st_getTexSubImage
13:14
<
alyssa >
jannau: oh, hmm
13:14
<
alyssa >
can you try building asahi/mesa:main and seeing if it still reproduces?
13:15
<
alyssa >
I'm wondering if the fast path needs GLES3.1
13:15
<
alyssa >
I don't /think/ so, but..
13:15
<
alyssa >
otherwise, I guess try to figure out why st_GetTexSubImage is bailing to software
13:35
possiblemeatball has quit [Quit: Quit]
13:36
<
jannau >
alyssa: I'll try, building asahi/main right now
13:38
fredmb has joined #asahi-gpu
13:40
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:47
ourdumbfuture has joined #asahi-gpu
13:54
<
jannau >
alyssa: better but still bad with llvmpipe. I forgot/missed the uapi bump
13:58
<
alyssa >
jannau: ..Right, I also forgot the uapi bump. Uff.
14:00
<
jannau >
not a problem, kernel build is underway
14:04
<
alyssa >
meanwhile i'm trying to figure out the fastest way for AGX assembly to divide/modulo a small integer by 3
14:04
<
alyssa >
the two obvious approaches are multiply-and-shift (2 IC operations) or convert-multiply-convert (2 SCIB + 1 F16)
14:04
<
alyssa >
which is actually faster? who knows
14:07
<
alyssa >
this is not relevant :~)
14:08
<
alyssa >
ooh, for the specific range of [0, 31) it might be doable in 1 IC + 1 SCIB with the `extr` instruction and some magic constants
14:16
<
alyssa >
oh no apple's compiler strongly disagrees with that
14:33
cylm_ has joined #asahi-gpu
14:40
cylm has quit [Ping timeout: 480 seconds]
14:43
Z750 has quit [Quit: Ping timeout (120 seconds)]
14:45
Z750 has joined #asahi-gpu
14:48
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:16
jeisom has quit [Quit: Leaving]
15:17
jeisom has joined #asahi-gpu
15:24
amarioguy has joined #asahi-gpu
15:32
<
jannau >
alyssa: still terrible with asahi/main, still _mesa_GetTexSubImage_sw/util_format_b10g10r10x2_unorm_unpack_rgba_8unorm
15:35
<
alyssa >
jannau: Alright. Worth looking into why mesa/st is falling down into software, I guess.
16:19
ourdumbfuture has joined #asahi-gpu
16:45
i509vcb has joined #asahi-gpu
17:01
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:28
ourdumbfuture has joined #asahi-gpu
17:45
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:49
ourdumbfuture has joined #asahi-gpu
17:51
possiblemeatball has joined #asahi-gpu
18:18
flom84 has joined #asahi-gpu
18:27
Z750 has quit [Quit: Ping timeout (120 seconds)]
18:28
Z750 has joined #asahi-gpu
18:35
alyssa has quit [Quit: alyssa]
18:36
crabbedhaloablut has quit []
19:14
ATiltedTree has quit [Remote host closed the connection]
19:15
ATiltedTree has joined #asahi-gpu
19:20
flom84 has quit [Quit: Leaving]
19:34
flom84 has joined #asahi-gpu
19:45
flom84 has quit [Quit: Leaving]
19:46
flom84 has joined #asahi-gpu
19:53
jeisom has quit [Ping timeout: 480 seconds]
20:03
flom84 has quit [Quit: Leaving]
20:56
cylm has joined #asahi-gpu
21:02
cylm_ has quit [Ping timeout: 480 seconds]
21:22
amarioguy has quit [Remote host closed the connection]
22:18
possiblemeatball has quit [Quit: Quit]
22:35
cylm_ has joined #asahi-gpu
22:37
cylm has quit [Ping timeout: 480 seconds]
23:30
alyssa has joined #asahi-gpu
23:58
possiblemeatball has joined #asahi-gpu