<avaf>
I am trying to run Kodi but it crashes. Do i need any patch to be applied in order to build Kodi?
<avaf>
kmscube run fine on my setup. RK3399 with GBM
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
cowsay has joined #panfrost
maccraft has quit [Quit: WeeChat 2.6]
<avaf>
alyssa: can you give some advice on these? Anything special to build kodi with panfrost?
avaf has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 268 seconds]
kaspter has quit [Quit: kaspter]
kaspter has joined #panfrost
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #panfrost
camus has joined #panfrost
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
camus has joined #panfrost
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
camus has joined #panfrost
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
davidlt has joined #panfrost
camus has joined #panfrost
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
megi has quit [Ping timeout: 246 seconds]
chewitt has quit [Quit: Adios!]
suihkulokki has quit [*.net *.split]
grw has quit [*.net *.split]
Marex has quit [*.net *.split]
hopetech has quit [*.net *.split]
samueldr has quit [*.net *.split]
grw has joined #panfrost
samueldr has joined #panfrost
Marex has joined #panfrost
suihkulokki has joined #panfrost
hopetech has joined #panfrost
vstehle has joined #panfrost
maccraft123 has joined #panfrost
guillaume_g has joined #panfrost
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
maccraft123 has quit [Ping timeout: 265 seconds]
maccraft123 has joined #panfrost
davidlt has quit [Remote host closed the connection]
davidlt has joined #panfrost
<HdkR>
Nice, T720 whitelisting
<tomeu>
\o/
<dhewg>
woot!
<dhewg>
so you got your T720s set up for CI?
karolherbst has quit [Ping timeout: 276 seconds]
raster has joined #panfrost
<bbrezillon>
tomeu, robher: I think panfrost_ioctl_madvise() is racy
<bbrezillon>
if you have 2 threads calling this ioctl on the same handle with different MADV vals, you're not guaranteed that the BO will be queued/dequeued as expected
<bbrezillon>
taking the shrinker lock before the drm_gem_shmem_madvise() should solve that
karolherbst has joined #panfrost
<tomeu>
bbrezillon: ooc: have you seen this in real life?
<bbrezillon>
tomeu: nope, I was chasing another race and noticed that one
<bbrezillon>
but it's still racy
<tomeu>
sure, just curious
<bbrezillon>
I thing I figured out the pagefaults we had on T760
<bbrezillon>
I wonder how it could work on T860
* tomeu
opens ears
<bbrezillon>
and the mesa BO cache did great in hiding the problem :)
<bbrezillon>
tomeu: GPU mappings are teared down when the GEM handle is closed
<bbrezillon>
but the GPU might be using those BOs
<bbrezillon>
*might still be
<bbrezillon>
if you keep BOs around in the mesa cache you won't notice the problem
<tomeu>
right
<bbrezillon>
but as soon as you disable the cache, it's the pagefault party
<tomeu>
sounds like the kind of stuff we should be testing in igt :/
<bbrezillon>
same kind of issues with the shrinker
<tomeu>
evil cache papering bugs over
<bbrezillon>
it might start reclaiming BOs that are still used
<warpme_>
team: FYI: finally we (mythtv team) got nicely working s905 video hw decode via v4l2 m2m with EGL_LINUX_DMA_BUF_EXT rendering on current panforst. 1080i playback CPU load is approx 5% so this is fantastic result. All team (especially Maxime, Neil, at all) - You done miracles here. (FYI: my s912 beelink box is practically fully usable mythtv appliance. All works: audio, USB, IR remote). As minimyth2 is zero-touch
<warpme_>
provisioning appliance - i'm almost with target where: user can just get tvbox, plug SD card, power and enjoy mythtv world). Dears: million thx for Yours work!
<narmstrong>
\o/
<narmstrong>
warpme_: with my last vdec serie ?
<warpme_>
ehh: I typed "especially Maxime, Neil, at all". Geez: copy-paste thing :( I was meant Alyssa et.all of course. SSSOOORRYY for that!
<warpme_>
narmstrong: yes sir!
<narmstrong>
warpme_: are you using ffmpeg as backend for mythtv ?
<warpme_>
yes. this is a bit modified copy (for CC support in TV recordings etc).
<bbrezillon>
tomeu, robher: do we have some guarantee that panfrost_file_priv will live longer that the BOs attached to it?
TheKit has quit [Read error: Connection reset by peer]
<bbrezillon>
actually, I'm not sure the panfrost implementation is safe for globally visible GEMs (GEM_OPEN) where the same drm_gem_object can be shared by different FDs (drm_file/panfrost_file_priv)
<tomeu>
narmstrong: if you know of someone who would like to get the readpixels req test fixed on t820, I can give support
eballetbo[m] has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
TheCycoONE1 has quit [Read error: Connection reset by peer]
flacks has quit [Read error: Connection reset by peer]
EmilKarlson has quit [Remote host closed the connection]
<narmstrong>
nobody is specifically interested yet, but maybe @lvrp16 soon will be
<alyssa>
Nothing like not being able to access a web browser because mesa is recompiling and the old version is broken
<alyssa>
#justgfxdevthings
<alyssa>
warpme_: Glad to see things are coming together for you :)
<urjaman>
i've set up to have one mesa build (different prefixes and ld.so.conf) for Xorg and an another one i LD_LIBRARY_PATH apps with for testing mesa ...
<urjaman>
also yeah finally decided to use a prefix other than /usr for the backup/Xorg mesa so it's not fighting with the package manager :)
<alyssa>
urjaman: Sadly sometimes I'm debuggin xorg ;)
maccraft123 has joined #panfrost
<alyssa>
tomeu: Ohhhhhh
<alyssa>
I think the clamps are supposed to work like
<alyssa>
MAX2(MIN2(best_w, ALIGN_POT(width)), 8)
<alyssa>
I.e.
maccraft123 has quit [Ping timeout: 252 seconds]
<alyssa>
"the tile size should be no larger than the framebuffer, unless the framebuffer is like 4 pixels in which case it should just default to 8x8"
<alyssa>
Could you try doing that for panfrost_choose_tile_size?
<alyssa>
It shouldn't affect the results, but it should make the code a lot more uniform / eliminates special cases.
<urjaman>
alyssa: yeah i had a plan to make an ld.so.conf-manipulating script for testing Xorg with the other mesa and then restoring the "stable" configuration but hadnt done that yet
<urjaman>
... i got a bit interrupted by life :/
karolherbst has quit [Ping timeout: 240 seconds]
<alyssa>
tomeu: yes, but you do *also* need the (1 << (util_logbase2_ceil(height) - 7) clamp, I think
<alyssa>
Also, I now notice that (util_logbase2_ceil(height) - 7) may be negative
<alyssa>
in which case you invoke undefined behaviour in the shift
<alyssa>
so that shift should be clamped positive (MAX2(, 0))
<daniels>
don't change the commit message, it's perfect as is
<anarsoul>
:)
rhyskidd has quit [Ping timeout: 276 seconds]
<bbrezillon>
daniels: I didn't intend to change that part of the commit :)
rhyskidd has joined #panfrost
raster has joined #panfrost
maccraft has joined #panfrost
maccraft123 has quit [Ping timeout: 240 seconds]
<urjaman>
oooh interesting (gotta give this a spin on top of my 5.4)
maccraft has quit [Quit: WeeChat 2.6]
<alyssa>
bbrezillon: FWIW, generally `base` fields should always be first
<alyssa>
That goes everywhere in mesa (gallium anyway)
maccraft123 has joined #panfrost
maccraft123 has quit [Ping timeout: 265 seconds]
maccraft123 has joined #panfrost
maccraft123 has quit [Ping timeout: 250 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
maccraft123 has joined #panfrost
<urjaman>
bbrezillon: this is nice o/
<urjaman>
changing the size of a video (or using the firefox url suggestion bar thingy) is no longer a scary situation that could lead to a fault-loop-for-a-while :P