ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
adjtm has quit [Remote host closed the connection]
adjtm has joined #etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #etnaviv
JohnnyonFlame has quit [Remote host closed the connection]
karolherbst has quit [Quit: Konversation terminated!]
karolherbst has joined #etnaviv
agx has quit [Read error: Connection reset by peer]
agx has joined #etnaviv
karolherbst has quit [Quit: Konversation terminated!]
karolherbst has joined #etnaviv
<marex> austriancoder: it seems I still keep running into
<marex> [ 480.305964] etnaviv-gpu 59000000.gpu: MMU fault status 0x00000002
<marex> [ 480.316294] etnaviv-gpu 59000000.gpu: MMU 0 fault addr 0xff680000
<marex> this crap
<marex> seems like this bug has been showing up a lot more and on various hardware too
<marex> and obviously, stm32mp1, too
<marex> so that would imply something is actually botched in the mmuv2 code ?
<marex> because all those GPUs are MMUv2
<marex> mwalle: mntmn: laanwj: ^
<mntmn> we got mmu faults on ls1028a for sure
<marex> oh right, that one too
<mntmn> btw is there a reason why NIR is still not the default for etnaviv?
<marex> mntmn: ask austriancoder
<marex> mntmn: btw did you try enabling devcoredump on the LS ?
<mntmn> no, IIRC it was quite usable in the end
<mntmn> hope to get back to ls1028a shenanigans soon
<mntmn> marex: fwiw we discovered that qtwebengine runs very well now on imx8mq... on par with chromium/angle
<mntmn> also wayland native which is nice
<marex> mntmn: for me it fails in rather nasty ways
<marex> mntmn: every once in a while, there is texture corruption, which makes it unusable
<mntmn> on imx8mq?
<marex> mntmn: stm32mp1, mx6qp, and also on mx8mq
<marex> I wonder if the GPU might be fetching data which the CPU didn't write to DRAM yet
<mntmn> hmmm ok
<mntmn> i can tell you that in chromium/blink, it never happens
<mntmn> like, it's perfect
<mntmn> but i can try to use qtwebengine browser for a few days...
<marex> mntmn: stm32mp1 triggers it with stress-ng --cpu 2 in the background (it is dual-core CPU) , iperf3 -P 4, and glmark2-es2-wayland
<marex> mntmn: look at this
cockroach has joined #etnaviv
<mntmn> marex: what am i looking at
<marex> say ... if I call etnaviv_iommuv2_map with entry which is not in either MTLB and STLB
<marex> then etnaviv_iommuv2_ensure_stlb will allocate new STLB page, memset it, and plug it into MTLB
<marex> so now, MTLB is aware of this new page, which is all EXCEPTION
<marex> and only then the new STLB entry is inserted into that new STLB page
<marex> I wonder if the FE might suck in this intermediate state somehow, and that is what causes the exception
<mntmn> hm, i am not familiar with mmu workings, but if there is some non atomic creation of state surely it could cause weird effects if the timing is exactly right
<marex> mntmn: the code is rather cryptic