05:36 MoeIcenowy: karolherbst: I think it's quite difficult to find someone resposible for pipe-loader now, my !38810 also struggled on FD lifetime problem
08:01 austriancoder: karolherbst: done
14:03 mripard: daniels: since the series changed so much, I dropped your Rb from some patches, so I'd really appreciate a look at https://lore.kernel.org/r/20261120-drm-reset-state-flag-v12-0-42d63d7417fc@kernel.org and https://lore.kernel.org/r/20261112162147.766264-1-mripard@kernel.org
14:20 bl4ckb0ne: is there any igt developers around here? I have some questions regarding CRC for greyscale
16:48 Company: do desktop GPUs care much how often you change framebuffers?
16:50 Company: because I'm looking at designs where people use Wayland ext-background-blur on every window and that kinda means if you have stacked windows you need to blur parts of the target framebuffer after every window you painted in preparation for the next one
16:50 Company: and blurs are separable so you have 2 framebuffers for each blur
16:50 Company: so you end up with 3 framebuffer switches for each window you draw if you implement it the simple way
16:51 Company: and I know tilers are gonna hate you for that, but no clue about desktops
17:14 karolherbst: austriancoder: thanks!
17:53 sarbes: Company: for Kodi, I've tried a bunch of ways to incorporate blur. Pretty quickly, I came to the conclusion that dynamic blurring is just not feasible on low-end systems. You'd need to make sure to render the whole UI stack at reasonable performance, since each underlying window could be dynamic (e.g. playing a video).
17:55 sarbes: On modern systems, I think I would try a compute pass, making sure that the intermediate result of the first pass stays in cache.
17:57 Company: I didn't even consider compute yet
17:58 sarbes: If you don't value accuracy too much, I'd mip the underlying framebuffers, and sample in one go (no convolution pass). This is possible even on GLES 2.0.
18:00 sarbes: The cool thing about that is your kernel size doesn't grow if you want a stronger blur.
18:00 Company: you know https://aras-p.info/blog/2026/10/01/Fast-blur-with-animated-radius/
18:00 Company: ?
18:01 Company: not necessarily the post itself, but the 3-step process of downsampling, small convolution, upsampling using cubic filter
18:04 Company: the quality is pretty impressive, and I used a blur radius of up to 1000 I think (where the blockiness from the downsampling did become visible)
18:05 sarbes: Yeah, I've read a bunch of those papers. Down- and up-sampling seems to be the way to go.
18:06 Company: I'm mostly worried about 2 things: designers stacking blurs and then testing the result on their powerful desktop machines
18:06 Company: and then after release it all falls apart when people with less powerful machines get a laggy mess
18:07 Company: and the 2nd thing is overuse of blur, like blurring every button
18:07 Company: (in a UI, not a compositor)
18:08 Company: and then I have to somehow figure out how to detect that so I can batch process things
18:08 Company: if that's too bad
18:08 Company: and again same problem: works fine on modern desktop, breaks down on old and/or non-desktop
18:09 Company: but if framebuffer switches are at least somewhat bad on modern desktops, then the designers might notice and not overdo it
18:10 sarbes: I know this all to well. Some Kodi skin designers are treating the UI engine as Photoshop, layering 5+ vignette effects on top of each other.
18:14 Company: and they don't notice that everything lags?
18:15 Company: I'd imagine with kodi you are primed to play a video
18:15 sarbes: Not on their heavy rigs.
18:15 Company: oh well
18:22 sarbes: The UI engine is actually fairly capable, for what it is. Unfortunately, it is not uncommon that skin designers are wasting resources left and right. My last major change to it would have to be rendering opaque objects front to back, occluding lower layers to combat at least some waste.
18:31 sarbes: Back to the topic at hand. For Utgard, you have three writeback units, which can downscale the tilebuffer on writeout (not wired up atm). This could be used to efficiently write two more mips with no additional computing cost. I believe that this is similar for newer Mali devices.
18:32 sarbes: This would make down- and up-scale scenarios pretty efficient (at least as much as it can be on such hardware).
18:34 Company: oh, that's why the DirectX demos do that
18:34 Company: I had wondered why they made the mipmap demo more complicated
18:42 jenatali: Hm? Do what?
18:58 Company: store multiple mipmap layers per invocation
19:40 jenatali: Ah yeah the SPD, single-pass downsampler
21:05 linkmauve: sarbes, are the registers to do that already documented somewhere?
21:36 sarbes: Utgards writeback units? The Zynq Ultrascale register reference documents it pretty well. I have a private branch which moves the registers to genxml, but I have yet to test the changes.