<Kayden>
only the .x component of the txf's vec4 is used, too
<Kayden>
which... I don't know that the buffer texture is a single component format. but if it is...that's a zillion back to back reads of literally adjacent memory, 1 scalar at a time
<Kayden>
or if it's 4 components, it's at least just a load with a stride...
epoch101 has joined #dri-devel
OftenTimeConsuming is now known as Guest2250
OftenTimeConsuming has joined #dri-devel
Guest2250 has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
Guest2235 has quit []
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
davispuh has joined #dri-devel
nerdopolis has joined #dri-devel
feaneron_ has joined #dri-devel
fuel has joined #dri-devel
<fuel>
hey, does anybody here know if there's an irc channel for llvmpipe/lavapipe? thanks :p
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #dri-devel
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
feaneron has quit []
feaneron has joined #dri-devel
kts has quit [Quit: Leaving]
glennk has joined #dri-devel
rgallaispou1 has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
rgallaispou has quit [Remote host closed the connection]
rasterman has joined #dri-devel
phasta has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
kts has joined #dri-devel
riteo has quit [Ping timeout: 480 seconds]
inthwindfix has joined #dri-devel
inthwindfix has quit [Remote host closed the connection]
mripard has quit [Quit: WeeChat 4.4.3]
riteo has joined #dri-devel
karinoplenor has joined #dri-devel
coldfeet has joined #dri-devel
<llyyr>
that would be this channel I believe
mlankhorst has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
<fuel>
ah okay lol
vliaskov__ has quit [Ping timeout: 480 seconds]
warpme has quit []
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
karinoplenor has quit [Ping timeout: 480 seconds]
bolson has joined #dri-devel
karinoplenor has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
i-garrison has quit []
fab has joined #dri-devel
i-garrison has joined #dri-devel
rgallaispou1 has quit [Read error: Connection reset by peer]
<hikiko>
hello :) I have a question probably for Collabora people... I have a rock5 (RK3588) with a Mali-G610 MC4 gpu (according to the datasheet), and some movies and videos are very slow so I wonder if there's currently any open source driver for it that could improve a bit the performance?
<hikiko>
I see an article about panthor, is it still early WIP? or it might work well if I build it?
frankbinns has quit [Ping timeout: 480 seconds]
<linkmauve>
hikiko, the GPU is unlikely to be used for decoding videos, instead make sure you are on a recent kernel with the video blocks enabled.
<linkmauve>
Note also that only AV1, VP8, H.264 and MPEG2 are currently supported on this board.
karinoplenor has quit [Remote host closed the connection]
karinoplenor has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
coldfeet has joined #dri-devel
coldfeet has quit []
<hikiko>
thanks linkmauve :)
<hikiko>
I will take a look
<linkmauve>
hikiko, make sure also to actually use hardware decoding, ffmpeg still doesn’t support it, you’ll have to use Gstreamer.
<hikiko>
I wasn't using any hardware acceleration so far and I only tried to play videos using kodi and vlc plugins with llvmpipe, I am not very familiar with hardware decoding, I am googling it :) maybe that's enough to speed it up!
feaneron_ has quit [Ping timeout: 480 seconds]
<fuel>
btw, is llvmpipe/lavapipe using avx-512 at all yet?
<linkmauve>
hikiko, something like that (for an AV1 video in a WebM container running without any compositor) should give you the best performances you can expect from this board: gst-launch-1.0 filesrc location=video.webm ! matroskademux ! v4l2slav1dec ! kmssink
rgallaispou has joined #dri-devel
<fuel>
i've got avx-512-capable hardware, so if it's not used yet, i could take a look at avx-512 optimizations :3
<linkmauve>
fuel, you could have a look at perf, for determining which functions use which instructions.
<fuel>
what do you mean?
<fuel>
like the perf command line tool?
<linkmauve>
Yeah.
<linkmauve>
To see which instructions llvmpipe generated for your CPU.
<fuel>
ah okay
<fuel>
i mean, i know rpcs3 also uses llvm, but they still needed to specifically optimize for avx-512 :p
<fuel>
it apparently requires llvm instrinics to do, but yea lol
karinoplenor has quit [Remote host closed the connection]
karinoplenor has joined #dri-devel
warpme has joined #dri-devel
<hikiko>
linkmauve, my initial goal was to have an easy to use media pc, start kodi automatically and select videos using my mobile as tv control so ideally I'd like to find something equally "easy" or a way to speed up the video but still watch it through kodi (or something similar), do you think that might be possible with rock5B/bullseye? gstreamer might be a good solution for movies if I create some sort of interface to access it but kodi can play
<hikiko>
videos from youtube and other services too. (youtube on firefox is not so slow though so it's not only a software rendering/decoding issue :s)
<linkmauve>
I’ve never used Kodi, you’ll have to read their documentation or get in touh with them I guess.
<linkmauve>
hikiko, but also you mentioned you use llvmpipe, why not panthor?
<fuel>
is gitlab.freedesktop.org slow at cloning for anybody else right now?
<linkmauve>
Although, Debian Bullseye is from 2021, that’s unlikely to support your SoC in any good way.
<hikiko>
because I didn't know about panthor :) when I saw videos are so slow my first question was if I can use any hw driver :)
<alyssa>
Kayden: that's... entertaining.
<hikiko>
is panthor working well enough to be used as a driver?
<alyssa>
image robustness makes that one even spicier
<alyssa>
given how txf is defined I highly doubt there's anything (sane) we can or should do to optimize that
<alyssa>
but yeah, shame on the app.
<alyssa>
note that lots of hardware texture instructions have a write mask so it's slightly less bad
<hikiko>
linkmauve, yes it's old and unfortunately it's the most recent debian supported I think :/
<linkmauve>
hikiko, I get about 2000 fps in my game engine, so I’d say yes. :)
<hikiko>
wow :)
<linkmauve>
hikiko, I run ArchLinuxARM and have no problem with it whatsoever.
<alyssa>
hikiko: panthor + panfrost's GL/GLES is "ready"
<linkmauve>
hikiko, although, supported by who?
<alyssa>
panthor + panvk for Vulkan, less so.
<alyssa>
but it's getting really close now!
<hikiko>
great then I will try it :) is it part of mesa?
<fuel>
linkmauve, wtf??? is your game engine open source????
<hikiko>
can I build it locally to try running kodi on it?
<linkmauve>
fuel, no, the backgrounds are all 3D.
<hikiko>
my current kernel: 5.10.110-37-rockchip-g74457be0716d
<linkmauve>
hikiko, yes, panfrost is part of Mesa.
<linkmauve>
hikiko, but it won’t work on such an old kernel, I would recommend mainline instead.
<linkmauve>
This sounds like a vendor kernel.
<fuel>
linkmauve, oh wow lol
<hikiko>
yes I was too afraid to replace the vendor's repositories :)
<hikiko>
do you use a rock5b?
<hikiko>
I wonder what I might break by switching to an official debian
<linkmauve>
Yes I do.
<linkmauve>
But I don’t use Debian.
<linkmauve>
As long as it’s up to date, it should work. The kernel being the most important part.
<hikiko>
did you have to install any additional drivers etc? or everything was working well with the official repositories?
<hikiko>
arch repos but still
kts has quit [Quit: Leaving]
<hikiko>
I guess there won't be such a big difference
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
<linkmauve>
Everything is in the kernel and in Mesa and in Gstreamer, so no I didn’t need to build anything extra.
sukuna has joined #dri-devel
<hikiko>
that's great :)
<linkmauve>
I generally build my own kernel from mainline though, according to the document I linked above this brought HDMI support recently.
tobiasjakobi has joined #dri-devel
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
<hikiko>
maybe the "vendor" kernel adds just that: support for HDMI
<linkmauve>
It “adds” a whole bunch of stuff, but usually in a way that upstream wouldn’t accept, so various people have to rewrite them to make them acceptable.
tobiasjakobi has quit []
epoch101 has joined #dri-devel
tejasupa_ has joined #dri-devel
phasta has joined #dri-devel
warpme has quit []
<hikiko>
yes I am looking at it now so that I won't completely break it :)
karinoplenor has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
a-865 has joined #dri-devel
feaneron has quit []
feaneron has joined #dri-devel
hostilereptile has joined #dri-devel
jfalempe has quit [Quit: jfalempe]
hostilereptile has quit [Remote host closed the connection]
hikiko has quit [Quit: Leaving!]
jfalempe has joined #dri-devel
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
NiGaR has quit [Ping timeout: 480 seconds]
NiGaR has joined #dri-devel
hikiko has joined #dri-devel
jeanneporly has joined #dri-devel
jeanneporly has quit [Remote host closed the connection]
<agd5f>
airlied, sima I just resent my PR for this week. Seems it didn't make it to the mailing list when I sent it on Wednesday
vendornameX has joined #dri-devel
vendornameX has quit [Remote host closed the connection]
<agd5f>
looks like it went out when fdo was out of disk space
frankbinns has joined #dri-devel
<linkmauve>
fuel, I’m not well-versed in LLVM, and I’ve never had any CPU with AVX512 yet, sorry. :(
<fuel>
oof :/
<fuel>
yeah, both of my machines have avx512
<fuel>
linkmauve, how should i go about testing this though?
<linkmauve>
My most recent x86 computer is Kaby Lake.
<fuel>
ah
<fuel>
it at least builds
tejasupa_ has quit [Remote host closed the connection]
<linkmauve>
fuel, find a shader which makes use of this pattern, add it to shaderdb if it isn’t already there, then test whether this improves things, either wrt codegen, or performances-wise.
<fuel>
how do i find that kind of shader?
<linkmauve>
Easiest way is to write it yourself.
<fuel>
sorry, i'm kinda new to mesa development lol
<fuel>
fair :p
<fuel>
idk how i'd trigger this code tho
<linkmauve>
But usually instead of blindly adding new instructions in the hope they will improve things, it’s better to pick existing shaders, profile them, find whether some parts are inefficient, and improve that.
<fuel>
fair :p
<fuel>
where can i find shaderdb?
<fuel>
nvm, found it lol
<fuel>
oof, shaderdb doesn't seem to support llvmpipe or lavapipe :c
vliaskov_ has joined #dri-devel
bolson has quit []
anujp has quit [Ping timeout: 480 seconds]
freeeditnot has joined #dri-devel
freeeditnot has quit [Remote host closed the connection]
vliaskov__ has quit [Ping timeout: 480 seconds]
anujp has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
worldisfullof has joined #dri-devel
worldisfullof has quit [Remote host closed the connection]
jsa1 has quit [Ping timeout: 480 seconds]
colorfreeze has joined #dri-devel
jfalempe has quit [Quit: jfalempe]
colorfreeze has quit [Remote host closed the connection]
feaneron has quit [Read error: Connection reset by peer]
feaneron has joined #dri-devel
warpme has joined #dri-devel
phasta has quit [Quit: Leaving]
epoch101 has quit []
<sima>
agd5f, airlied I'll take care of it
feaneron has quit [Remote host closed the connection]
feaneron has joined #dri-devel
<agd5f>
sima, thanks!
oneforall2 has quit [Remote host closed the connection]
colorfreeze has joined #dri-devel
oneforall2 has joined #dri-devel
fab has quit [Quit: fab]
Calandracas_ has quit [Ping timeout: 480 seconds]
cyrinux has quit []
cyrinux has joined #dri-devel
colorfreeze has quit [Remote host closed the connection]
feaneron has quit [Quit: feaneron]
feaneron has joined #dri-devel
<airlied>
agd5f: anything urgent in it?
Calandracas has joined #dri-devel
<sima>
airlied, I just hit send ...
jkrzyszt has quit [Ping timeout: 480 seconds]
<airlied>
cool :-)
<airlied>
sima: thx!
benjaminl has quit [Read error: Connection reset by peer]