alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
vstehle has quit [Ping timeout: 245 seconds]
megi has quit [Ping timeout: 245 seconds]
NeuroScr has quit [Quit: NeuroScr]
_whitelogger has joined #panfrost
NeuroScr has joined #panfrost
vstehle has joined #panfrost
yann|work has quit [Ping timeout: 276 seconds]
guillaume_g has joined #panfrost
warpme_ has joined #panfrost
<warpme_> hi *
<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
<bbrezillon> tomeu: I'm testing drm-misc-next-fixes
<bbrezillon> on a rockpi
<tomeu> oh, that has way few stuff, right?
<bbrezillon> and I get timeouts
<tomeu> bbrezillon: can I see them?
<bbrezillon> and weston is just a black screen
<bbrezillon> tomeu: drm-misc-next includes robher's AS fixes
<bbrezillon> sorry, drm-misc-next-fixes
<bbrezillon> too many drm-misc- branches
megi has quit [Ping timeout: 246 seconds]
<bbrezillon> tomeu: and drm-misc-next didn't work for me
<bbrezillon> I had GPU page faults in the middle of a deqp run
<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
xdarklight has quit [Quit: ZNC - http://znc.in]
xdarklight has joined #panfrost
<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?
alyssa has quit [Quit: ZNC 1.7.2+deb2 - https://znc.in]
<shadeslayer> tomeu: well, I'm also going patch the panfrost driver to display the label when a page fault occurs
<bbrezillon> shadeslayer: and I guess there's an ioctl to retrieve the label attached to a BO
* robmur01 would expect most 'interesting' page faults to be accesses to places that *aren't* valid BOs :P
<shadeslayer> bbrezillon: I'm sure we can add one
<shadeslayer> I'm working on the patch
adjtm has quit [Ping timeout: 245 seconds]
megi has quit [Ping timeout: 265 seconds]
adjtm has joined #panfrost
alyssa has joined #panfrost
<alyssa> robmur01: Often page faults are from buffer overruns
<alyssa> So it can be helpful to see the label of the BO that was, say, exactly 1 page before the fault
<robmur01> alyssa: yup, that could be handy. Might also be possible to do something similar for use-after-free by poking at the BO cache
<alyssa> Mm, yeah
<narmstrong> Almost ! But timeout occurs too early...
davidlt has joined #panfrost
mjourdan has quit [Ping timeout: 246 seconds]
davidlt has quit [Ping timeout: 246 seconds]
raster has quit [Remote host closed the connection]
yann|work has quit [Ping timeout: 245 seconds]
alyssa_ has joined #panfrost
alyssa is now known as alyssa__
alyssa_ is now known as alyssa
alyssa__ has left #panfrost [#panfrost]
<alyssa> Okay, hullo again
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #panfrost
stikonas has joined #panfrost
warpme_ has quit [Quit: warpme_]
adjtm has quit [Ping timeout: 276 seconds]
megi has joined #panfrost
warpme_ has joined #panfrost
warpme_ has quit [Quit: warpme_]
guillaume_g has quit [Quit: Konversation terminated!]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
megi has quit [Quit: WeeChat 2.6]
megi has joined #panfrost
stikonas has quit [Remote host closed the connection]
adjtm has joined #panfrost
eballetbo[m] has quit [Read error: Connection reset by peer]
sphalerit has quit [Write error: Connection reset by peer]
TheCycoTWO has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
EmilKarlson has quit [Write error: Connection reset by peer]
sphalerit has joined #panfrost
stikonas has joined #panfrost
TheCycoTWO has joined #panfrost
eballetbo[m] has joined #panfrost
EmilKarlson has joined #panfrost
thefloweringash has joined #panfrost
warpme_ has joined #panfrost
yann|work has joined #panfrost
warpme_ has quit [Quit: warpme_]
NeuroScr has joined #panfrost
stikonas has quit [Remote host closed the connection]