austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
rhyskidd has quit [Quit: rhyskidd]
lynxeye has joined #etnaviv
Jookia has quit [Remote host closed the connection]
pcercuei has joined #etnaviv
rhyskidd has joined #etnaviv
T_UNIX has joined #etnaviv
<lynxeye> mntmn: Do you remember what happened if you didn't set that second 1 bit in the 0x11000031 RA_EARLY_DEPTH config?
<mntmn> lynxeye: i think it looked like depth writes or tests not happening
<mntmn> lynxeye: i can check again real quick, but it might hang without toggling the ra-write-depth related bit
juanrubio_ has joined #etnaviv
Jookia has joined #etnaviv
<lynxeye> mntmn: cool, thanks! That's with RA_EARLY_DEPTH 0x10000031?
<mntmn> lynxeye: this is what happens with cs->RA_DEPTH_CONFIG = 0x10000031
<mntmn> yes
<mntmn> i'm not 100% sure how to interpret this though
<mntmn> ah i sent one link twice
<mntmn> lynxeye: any theories? it looks like depth testing goes wrong to me
<lynxeye> mntmn: I've had some time to think about this and I think my mental model of how those things work together in HW is finally getting somewhere. I may have a patch series for properly deriving the early Z states for you to test later.
<mntmn> lynxeye: oh cool, looking forward!
<mntmn> lynxeye: you're aware that GL_ALPHA_TEST also changed somehow with halti5 (?), right?
<lynxeye> mntmn: It looks like this bit controls some depth testing on a vertex basis instead of doing it on fragments.
<mntmn> interesting
<lynxeye> mntmn: Yep, alpha test is probably a related issue, as it won't work with early depth writes
<mntmn> yeah
<mntmn> i have another topic where i'm not sure with what tools to investigate. when i play minetest for a bit longer (several minutes up to half an hour) with NIR, i'll get a gpu hang/crash reliably, but not with TGSI.
<lynxeye> mntmn: for sporadic hangs it's very useful to look at the GPU state at the time of the hang. Etnaviv allows you to collect a devcoredump on a hang.
<mntmn> lynxeye: is that an option in the kernel module?
<lynxeye> mntmn: The kernel driver always includes the coredump functionality, you just need a bit of userspace helpers to collect the dump. Give me a minute to dig it up
<mntmn> ok, thanks!
<lynxeye> udev rule to trigger script when a coredump pops up and then just collect it and write it out compressed
<lynxeye> you can then use the etna-gpu-tools to dissect the dump and work backwards through the GPU states from the hang
<austriancoder> mntmn: you used this mechanism already :)
<mntmn> austriancoder: i have? :3
<mntmn> ah maybe a longer time ago!
_whitelogger has joined #etnaviv
<mntmn> ok devcoredump happened
<mntmn> here's my minetest crash. the application doesn't recover from it, it stays frozen with a corrupted screen. http://dump.mntmn.com/devcoredump-20200703125251.bin.gz
<mntmn> looks like this in crashed state: http://dump.mntmn.com/screenshot-2020-07-03-12-54-53.png
sravn has joined #etnaviv
berton has joined #etnaviv
gbisson has joined #etnaviv
adjtm has joined #etnaviv
ddevault has quit [Read error: Connection reset by peer]
ddevault has joined #etnaviv
adjtm has quit [Quit: Leaving]
T_UNIX has quit [Quit: Connection closed for inactivity]
<dos1> mntmn: FWIW I see something similar with mesa 20.1 and neverball. didn't happen on 20.0.x
<mntmn> dos1: hmm!
* dos1 notes the devcoredump thing :)
<mntmn> ah, neverball doesn't start for me now because of "Semantic value not found in vertex shader outputs"
<mntmn> how did i fix that last time...
lrusak has joined #etnaviv
<senquack> this is probably not your issue, but on an old port of Neverball I did for GC860 w/ much older Etnaviv+MESA, I had to disable its use of GL 'billboards'
<senquack> IIRC it uses those for the star effects at level completion
<mntmn> hmmm. i should have written that down, i'm pretty sure i'd fixed this problem before somehow
adjtm has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 264 seconds]
adjtm has quit [Remote host closed the connection]
adjtm has joined #etnaviv
<flto> mntmn: probably using NIR backend
adjtm has quit [Ping timeout: 264 seconds]
sravn has quit [Quit: WeeChat 2.8]
adjtm has joined #etnaviv
lynxeye has quit [Quit: lynxeye]
Jookia has quit [Ping timeout: 240 seconds]
sravn has joined #etnaviv
<mntmn> flto: no, with TGSI it's "Semantic 19 value 2 not found in vertex shader outputs"
JohnnyonFlame has joined #etnaviv
berton has quit [Remote host closed the connection]
Jookia has joined #etnaviv
Surkow|laptop has quit [Ping timeout: 258 seconds]
juanrubio_ has quit [Ping timeout: 260 seconds]