ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
chewitt has joined #etnaviv
cphealy has quit [Ping timeout: 480 seconds]
mvlad has joined #etnaviv
lynxeye has joined #etnaviv
chewitt has quit [Ping timeout: 480 seconds]
f_ has joined #etnaviv
pcercuei has joined #etnaviv
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
alarumbe has quit [Remote host closed the connection]
alarumbe has joined #etnaviv
alarumbe has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
alarumbe has joined #etnaviv
f_ has joined #etnaviv
cmeissl[m] has joined #etnaviv
CoLa[m] has joined #etnaviv
disastroustwitch[m] has joined #etnaviv
jwillikers[m] has joined #etnaviv
matrix638[m] has joined #etnaviv
sergi has joined #etnaviv
sythemeta847[m] has joined #etnaviv
T_UNIX has joined #etnaviv
underpantsgnome[m] has joined #etnaviv
tomeu has joined #etnaviv
wv[m] has joined #etnaviv
lynxeye has quit [Quit: Leaving.]
<austriancoder> bl4ckb0ne: I might have some time today. I will be on holiday for the next 5 weeks and had to prep some stuff.
<bl4ckb0ne> ive sent a mail to the ML with all of the infos, i'd happily provide any file
<bl4ckb0ne> we've also noticed that the DMA address changes if it's dumped earlier rather than later
<austriancoder> DMA address will change as FE is not idel
<austriancoder> idle
<austriancoder> bl4ckb0ne: I will try my luck with your dump
<bl4ckb0ne> ty
<austriancoder> bl4ckb0ne: can you do a re-upload - https://litter.catbox.moe/agmpcv.gz is dead
<bl4ckb0ne> yup give me a minute i'll boot 6.1
<bl4ckb0ne> darn i removed the archive locally
<ManMower> I have several from the same test, I can tar one up quickly if that's useful
<bl4ckb0ne> im packing one clean from 5.15
<ManMower> I'll just sit over here and eat popcorn then. :)
<bl4ckb0ne> wanna get both desktop and terrain for the mmu fault
<bl4ckb0ne> ManMower: pack them, I was on the stock partition without the mesa cmdstream dump :(
<bl4ckb0ne> https://litter.catbox.moe/eck44w.gz and here's one on 5.15 for both terrain and desktop glmark
<bl4ckb0ne> former causes a mmu fault, latter doesnt but both hang
<austriancoder> thx
<bl4ckb0ne> ManMower and I are both investigating the same issue on the same platform
<bl4ckb0ne> hang with terrain confirmed on 6.6
<bl4ckb0ne> but the mmu fault is not there
<bl4ckb0ne> wait no its there, nevermind
<bl4ckb0ne> > [ 78.849647] etnaviv-gpu 53100000.gpu: MMU 0 fault (page not present) addr 0x00000000
<austriancoder> k
<ManMower> is that address really what the gpu is trying to read from?
<austriancoder> yes .. and there is no entry in the iommu
<ManMower> is 0 a special address that we avoid, or is there usually something mapped there?
<austriancoder> 0 is not special - the etnaviv stack is used on gpus with mmuv2 (even mesa ci has them) maybe I should fire up glmark2 on my gc7000 sitting in front of me :)
* austriancoder looks into adding support for mmuv2 in viv-unpack
<ManMower> we're working with gc7000 6009. unsure if this problem is specific to that variant or not. :)
<ManMower> oh, I guess that 6009 is in the register dump already.
f_ has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
Surkow|laptop has quit [Remote host closed the connection]
<austriancoder> bl4ckb0ne: ManMower: the iommu v2 looks okay - I have a started on a very hacky validation code for viv-unpack but this does not help for the no-mmu fault but gpu hang case. so lets focus on the gpu hang. I looked at the cmd stream you provided for the terrain and it looks sane. Can you try to run you gpu hanger with ETNA_MESA_DEBUG=draw_stall?
Surkow|laptop has joined #etnaviv
<austriancoder> glmark2-drm -b terrain --run-forever - is running for 15 minutes without a hang
<austriancoder> mesa 24.2.0-devel with kernel 6.7.12
<bl4ckb0ne> hangs/fault immediately with 6.6
<bl4ckb0ne> anything to share yet for the viv-unpack?
<austriancoder> bl4ckb0ne: the iommu v2 code I am working on is not needed to find the bad part in the dump - it just verifies that every bo is actually mapped in the iommu
<austriancoder> a devcoredump with ETNA_MESA_DEBUG=draw_stall would be nice
<bl4ckb0ne> ill send you that in a few minutes
<austriancoder> great
<bl4ckb0ne> with or without mesa cmd stream?
<austriancoder> without
<austriancoder> the devcoredump includes the cmd stream of the job that hangs
<bl4ckb0ne> a preference on terrain or desktop?
<bl4ckb0ne> or both
<ManMower> does it always? I've seen devcoredumps where it looked like the dma address pointed at a previous command buffer. (or even in the ring buffer) is the dma address not particularly useful?
<austriancoder> it does not matter which one
<austriancoder> ManMower: the FE can either be in the kernel ring buffer or in a user provided command buffer
<bl4ckb0ne> https://litter.catbox.moe/assl57.gz there you go
<austriancoder> ETNA_MESA_DEBUG=draw_stall adds a sync between FE and PE (start and end of the pipeline) so we can easier pinpoint which draw command is the bad one
* austriancoder grabs something to drink
<bl4ckb0ne> how are you able to find the 905/903 address in all of this?
* austriancoder ohh.. I have such a problematic i.MX8 Quad Max (model: 7000 revision: 6009 product: 70008 eco: 0) here.. but not sure how upstream support regarding dts is.
<ManMower> haven't been able to light up display on 6.1 yet, testing with glmark2 --off-screen there
matrix638[m] has quit []
sythemeta847[m] has quit []
agx has quit []
underpantsgnome[m] has quit []