<warpme_>
just quick Q: playing with t720 (allwinner h6) current mesa master and xorg 1.20.5 I see in xorg log: (EE) AIGLX error: sun4i-drm does not export required DRI extension. May this explain black screen on h6. (exactly the same software not show such error on amlogic/rockchip and works ok on panfrost t820 (s912).
NeuroScr has quit [Quit: NeuroScr]
<HdkR>
I think this is more that older Mali midgard is currently broken
<warpme_>
HdkR: I’m a bit confused about „older Mali midgard” - i’m using current mesa master.
<HdkR>
t720 is an older Midgard. ARM made multiple generations of midgard
<HdkR>
t720 is SFBD while t820 is MFBD
<HdkR>
SFBD is currently broken
<warpme_>
ah ok - so this falls into current state of things where mesa not yet supports mali hw with SFBD (like t720)?
<HdkR>
It was implemented, just became broken once everyonw was looking at MFBD
megi has joined #panfrost
yann|work has joined #panfrost
raster has joined #panfrost
<robmur01>
SFBD is actually sort-of-mostly-working ATM (at least for my T620)
<robmur01>
most of glmark2 runs OK - primarily, 'shadow' fails an assert and blows up, while 'desktop' and 'refract' run but don't render properly
<tomeu>
sounds pretty good already
<bbrezillon>
tomeu: did you find a drm-sched regression or was it something else?
<robmur01>
and even those are actually regressions rather than missing functionality - they were working OK a while ago
<bbrezillon>
I'm testing some of my changes on top of drm-misc-next and deqp-volt hangs
<bbrezillon>
was working fine with v5.3-rc8
<warpme_>
robmur01: regarding SFBD - do You have working it with xorg?
mardestan has joined #panfrost
<robmur01>
nope - my dev board doesn't have a desktop set up, I just use glmark2-es2-drm from the console
<mardestan>
HdkR: maybe at some point with grown up men like karolherbst you will find that only knowing Ohm's law ain't gonna be enough to be allround brilliant programmer.
<warpme_>
ok. thx. I’m asking as i’m trying to fing root cause of „(EE) AIGLX error: sun4i-drm does not export required DRI extension” in my xorg. it looks like this is because of current state of things in mesa for SFBD….
mardestan was banned on #panfrost by HdkR [*!*renderuss@2001:1530:1000:a893:7e76:76a:9d49:*]
mardestan was kicked from #panfrost by HdkR [mardestan]
<tomeu>
bbrezillon: on the veyron?
<tomeu>
bbrezillon: I tested on drm-misc-next a few days ago and it worked fine on the kevin
<tomeu>
bbrezillon: the timeouts with 0x0 values in them means that the GPU isn't pwoered up
<tomeu>
there's some regulator commits in there that seem to be causing problems
<tomeu>
would be gret if you could find out which and report it so it gets reverted (or fixed)
<tomeu>
bbrezillon: about the page faults, no idea
<tomeu>
robher, robmur01 ^
<bbrezillon>
tomeu: I guess that's what robher patches were fixing
<tomeu>
could be, not sure
<robmur01>
that "(GPU VA = 100000000)" looks a bit suspect
megi has joined #panfrost
<robmur01>
the actual fault addresses look reasonable, so how the round trip through addr_to_drm_mm_node() manages to resolve to a node apparently past the top of the mm is troubling
<robher>
bbrezillon: Steven posted a fix a few days ago that might be the same.
<shadeslayer>
bbrezillon: yay, everyone seems to like the idea of a common IOCTL to label gem bo's
<bbrezillon>
shadeslayer: great!
<bbrezillon>
robher: a fix for the timeouts or the page faults?
<bbrezillon>
guess we're talking about " drm/panfrost: Prevent race when handling page fault"
<alyssa>
shadeslayer: If we're doing common, what about common for non-GEM, too?
<alyssa>
Or does that not make sense?
<alyssa>
(Thinking about V4L integration, etc)
<bbrezillon>
alyssa: yes, could be attached to a dma-buf too
<bbrezillon>
though, a GEM does not necessarily have a dma-buf attached to it
<bbrezillon>
so I guess we'd need the label in both places
<alyssa>
bbrezillon: Mm, I'm just thinking about trying for a generic thing if we're going to muck with the common UABI
<alyssa>
So we want to think about not just non-Panfrost but also non-GPU use cases, since potentially this sort of thing could be useful to media people and maybe others
<alyssa>
On one hand feature creep, otoh changing the UABI is hard so you want to get it right the first time :p
<bbrezillon>
it can't really be the same ioctl since they will target different objects (a GEM, a DMABUF or a V4L2 buffer), but we can probably try to make the API similar
<shadeslayer>
^^ this is getting pretty broad in scope tbh, and what I'd suggest is, we do GEM labelling first, learn our lessons there, then extend to others
<bbrezillon>
shadeslayer: yes, I also think it's the right strategy
<bbrezillon>
as I said, it can't be the same ioctl anyway
<bbrezillon>
but if we provide that works fine for DRM, there's chances it will be applied to V4L/DMABUF at some point
<bbrezillon>
*provide something
<tomeu>
so the ioctl will be per allocator, but the debugfs file will display all labeled BOs regardless of how it was allocated?
<bbrezillon>
tomeu: are we discussing the debugfs interface already?
<bbrezillon>
sorry, haven't followed the discussed on the ML
<shadeslayer>
nah, debugfs interface comes after
<tomeu>
hmm, are the labels useful without a way to display them?