ChanServ changed the topic of #asahi-gpu to: Asahi Linux GPU development (no user support, NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
ourdumbfuture has joined #asahi-gpu
alyssa has joined #asahi-gpu
<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
<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..
<alyssa> worth checking a profiler (I like sysprof) to see what's going wrong
<alyssa> might be worth fiddling with PIPE_CAP_TEXTURE_TRANSFER_MODES
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zalyx0 has quit [Quit: later alligator]
alyssa has quit [Quit: alyssa]
c10l has joined #asahi-gpu
jeisom has quit [Ping timeout: 480 seconds]
cylm_ has quit [Ping timeout: 480 seconds]
zalyx0 has joined #asahi-gpu
zalyx0 has quit []
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-gpu
zalyx0 has joined #asahi-gpu
zalyx0 has quit [Read error: Connection reset by peer]
zalyx0 has joined #asahi-gpu
zalyx0 has quit []
zalyx0 has joined #asahi-gpu
zalyx0 has quit []
zalyx0 has joined #asahi-gpu
zalyx0 has quit [Quit: later alligator]
zalyx0 has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
alexanderh has joined #asahi-gpu
alexanderh is now known as alexanderh_
alexanderh_ has quit []
yeetbiscuit has joined #asahi-gpu
yeetbiscuit is now known as alexanderh__
alexanderh__ is now known as yeetbiscuit
yeetbiscuit has quit []
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
possiblemeatball has quit [Quit: Quit]
WindowPa- has joined #asahi-gpu
WindowPain has quit [Ping timeout: 480 seconds]
nepeat has quit [Quit: ZNC - https://znc.in]
nepeat has joined #asahi-gpu
crabbedhaloablut has joined #asahi-gpu
barrowsx has joined #asahi-gpu
barrowsx has quit [Remote host closed the connection]
WindowPain has joined #asahi-gpu
WindowPa- has quit [Ping timeout: 480 seconds]
maria has quit [Remote host closed the connection]
maria has joined #asahi-gpu
maria has quit [Remote host closed the connection]
maria has joined #asahi-gpu
hailey has quit [Quit: Ping timeout (120 seconds)]
hailey has joined #asahi-gpu
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-gpu
ChaosPrincess has quit [Quit: ChaosPrincess]
ChaosPrincess has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jannau> hmm, it's not kpipewire but kwin causing the high cpu load
<jannau> util_format_b10g10r10x2_unorm_unpack_rgba_8unorm() called from _mesa_GetTexImage
ourdumbfuture has joined #asahi-gpu
i509vcb has quit [Quit: Connection closed for inactivity]
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-gpu
fredmb has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
possiblemeatball has joined #asahi-gpu
cylm has joined #asahi-gpu
ourdumbfuture has joined #asahi-gpu
cylm has quit [Read error: Connection reset by peer]
amarioguy has quit [Remote host closed the connection]
cylm has joined #asahi-gpu
alyssa has joined #asahi-gpu
<alyssa> jannau: that would indeed be CPU format conversion :|
<alyssa> ideally, the format conversion would happen as part of the blit on the GPU
<alyssa> off hand i'm not 100% sure why that isn't happening / how to make it happen
jeisom has joined #asahi-gpu
<alyssa> see st_getTexSubImage
<alyssa> jannau: oh, hmm
<alyssa> can you try building asahi/mesa:main and seeing if it still reproduces?
<alyssa> I'm wondering if the fast path needs GLES3.1
<alyssa> I don't /think/ so, but..
<alyssa> otherwise, I guess try to figure out why st_GetTexSubImage is bailing to software
possiblemeatball has quit [Quit: Quit]
<jannau> alyssa: I'll try, building asahi/main right now
<alyssa> :+1:
fredmb has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
<jannau> alyssa: better but still bad with llvmpipe. I forgot/missed the uapi bump
<alyssa> jannau: ..Right, I also forgot the uapi bump. Uff.
<alyssa> ok, umm
<jannau> not a problem, kernel build is underway
<alyssa> meanwhile i'm trying to figure out the fastest way for AGX assembly to divide/modulo a small integer by 3
<alyssa> the two obvious approaches are multiply-and-shift (2 IC operations) or convert-multiply-convert (2 SCIB + 1 F16)
<alyssa> which is actually faster? who knows
<alyssa> this is not relevant :~)
<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
<alyssa> oh no apple's compiler strongly disagrees with that
cylm_ has joined #asahi-gpu
cylm has quit [Ping timeout: 480 seconds]
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-gpu
amarioguy has joined #asahi-gpu
<jannau> alyssa: still terrible with asahi/main, still _mesa_GetTexSubImage_sw/util_format_b10g10r10x2_unorm_unpack_rgba_8unorm
<alyssa> jannau: Alright. Worth looking into why mesa/st is falling down into software, I guess.
ourdumbfuture has joined #asahi-gpu
i509vcb has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-gpu
possiblemeatball has joined #asahi-gpu
flom84 has joined #asahi-gpu
Z750 has quit [Quit: Ping timeout (120 seconds)]
Z750 has joined #asahi-gpu
alyssa has quit [Quit: alyssa]
crabbedhaloablut has quit []
ATiltedTree has quit [Remote host closed the connection]
ATiltedTree has joined #asahi-gpu
flom84 has quit [Quit: Leaving]
flom84 has joined #asahi-gpu
flom84 has quit [Quit: Leaving]
flom84 has joined #asahi-gpu
jeisom has quit [Ping timeout: 480 seconds]
flom84 has quit [Quit: Leaving]
cylm has joined #asahi-gpu
cylm_ has quit [Ping timeout: 480 seconds]
amarioguy has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
cylm_ has joined #asahi-gpu
cylm has quit [Ping timeout: 480 seconds]
alyssa has joined #asahi-gpu
alyssa has quit []
possiblemeatball has joined #asahi-gpu