buzzmarshall has quit [Quit: Konversation terminated!]
jkl has quit [Quit: Gone.]
jkl has joined #linux-amlogic
leah has quit [Ping timeout: 255 seconds]
leah has joined #linux-amlogic
psydroid has joined #linux-amlogic
ungeskriptet4 has joined #linux-amlogic
Rond has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 264 seconds]
ungeskriptet4 is now known as ungeskriptet
<Rond>
hi! anyone here happens to know offhand the current state of mali drivers in mainline? last I checked mesa still didn't support opencl, is that still the case?
<f_>
Rond: Which amlogic SoC?
<Rond>
I've got an a311d, that's g52 iirc
djrscally has joined #linux-amlogic
<linkmauve>
Rond, rusticl should be supported by panfrost I think.
<linkmauve>
I’ve never tested that, but I also have a G52 in another board.
GNUtoo has joined #linux-amlogic
<CounterPillow>
panfrost is one of the drivers that rusticl explicitly supports, but it seems you still have to set the env variable RUSTICL_ENABLE=panfrost to enable rusticl support.
<CounterPillow>
With how many of the extensions/features are marked as supported since 2024, I'd say you'll need a pretty recent mesa :)
buzzmarshall has joined #linux-amlogic
JohnnyonFlame has quit [Read error: Connection reset by peer]
<linkmauve>
I do get OpenCL 3.0 on Mesa master built a few minutes ago, on a G52 on a RK3568.
<linkmauve>
I’ve only tested clinfo, if you have other CL programs you want to test I can do it.
<linkmauve>
But tbh it’s only a matter of passing -Dgallium-rusticl=true to meson while building Mesa.
<f_>
Time to do some Amlogic GXBB hacking.
camus has quit [Remote host closed the connection]
JohnnyonFlame has joined #linux-amlogic
<minute>
linkmauve: what kind of software did you try with opencl on panfrost? i.e. what can benefit from opencl? (curious to try it)
adamg_ has joined #linux-amlogic
<linkmauve>
minute, as I said I only tested that clinfo returned correct-looking values.
<minute>
linkmauve: ah ok
<linkmauve>
I think Darktable could benefit from it, but my PinePhone’s camera is so terrible that no matter what I try it doesn’t improve the quality much. ^^'
<linkmauve>
No idea how much better it is than the CPU code though.
<CounterPillow>
On the majority of low-cost ARM SoCs like this the memory bandwidth is usually the bottleneck I've heard, so offloading computations through OpenCL to some mali GPU isn't going to do much
<linkmauve>
> Total Installed Size: 590.47 MiB
<linkmauve>
Just for darktable. x_x
<linkmauve>
I should migrate my btrfs partition to the NVMe instead of staying with the microsd.