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
fysa has quit [Ping timeout: 265 seconds]
<alyssa> mifritscher is right, we just need to remarket T820 as a hardware RNG
<anarsoul> :)
<alyssa> anarsoul: Oh, no, I haven't done gl_FragDepth yet
<alyssa> Isn't that ES3...?
megi has quit [Ping timeout: 276 seconds]
<anarsoul> yes
<anarsoul> or ES2 extension
<narmstrong> seems quite en expensive RNG
_whitelogger has joined #panfrost
davidlt has joined #panfrost
_whitelogger has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
jernej has quit [Read error: Connection reset by peer]
jernej has joined #panfrost
adjtm has quit [Read error: Connection reset by peer]
adjtm has joined #panfrost
adjtm_ has joined #panfrost
adjtm has quit [Read error: Connection reset by peer]
<urjaman> openscad throws a segfault (and this later part is my understanding from reading the backtrace and source) trying to read the result of an Occlusion query
<urjaman> points at line 2533 of pan_context.c ... the transfer.cpu address is not a null (and doesnt immediately look bad to me, 0xa89da080) but gdb confirms to me that that is not accessible :/
rcf has quit [Quit: WeeChat 2.4]
rcf has joined #panfrost
* urjaman feels like the thing somehow got unmapped too early ... but that's just my feels
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
megi has joined #panfrost
chewitt has joined #panfrost
AreaScout_ has joined #panfrost
BenG83 has joined #panfrost
jailbox has quit [Ping timeout: 265 seconds]
raster has joined #panfrost
jailbox has joined #panfrost
<alyssa> urjaman: That's quite likely
<alyssa> occlusion queries are not uh
<alyssa> very tested
<urjaman> yeah i've been trying to figure out what the correct logic would be for this, but the piece of memory for the query is allocated with panfrost_allocate_transient, which to me seems ... maybe not optimal?
<alyssa> Oh
<alyssa> Yes that is
<alyssa> probably wrong :p
<urjaman> i mean atleast i cant immediately find another example of it being used for GPU->CPU, only for CPU->GPU stuff
<alyssa> Yeah
<alyssa> Hey uh
<alyssa> urjaman: Replace that allocate transient with allocating a BO
<alyssa> panfrost_bo_create(screen, size, flags)
<alyssa> Er
<alyssa> panfrost_batch_create_bo actually
<alyssa> that way it gets bound appropriately methinks....?
<urjaman> okay i'll look that up and try to do it (after i get food tho, so i'll be back)
<alyssa> foood
<alyssa> Okay, I need to stop putting off tableizing load/store
<alyssa> Oh that was easier than I expected ;p
paulk-leonov has quit [Ping timeout: 264 seconds]
paulk-leonov has joined #panfrost
<urjaman> tableizing? o.O
jernej has quit [Ping timeout: 246 seconds]
jernej has joined #panfrost
<alyssa> You know
<alyssa> putting it in a table
* alyssa just went through and collected type info on all the ld/st ops we know
<alyssa> Tedious, but it will come in handy
<robmur01> as distinct from tabling, which is to put *on* a table :P
<urjaman> i'm not quite sure the batch_create_bo is right for this
<urjaman> my first attempt came up with a segfault with the cpu pointer being 0 and the bo reference having a count of 0
<urjaman> i'm more thinking allocate on either create (or begin, but even that sounds like lazy allocation right as it is needed) of the query, and get rid of it when the query is destroyed
<urjaman> (or read the value and "get rid of it" (the bo cache will help with this :P) on the query end, and just present the value on the get result
* urjaman will read more code to be maybe either more sure or more confused :P
enunes has joined #panfrost
<narmstrong> ok I nailed a skips file for t820, but it's pretty brutal
<urjaman> alyssa: https://urja.dev/query_fix_test.patch this one avoids the occlusion query segfaulting
<urjaman> i'm still not sure if it's working correctly, especially as openscad doesnt render properly, but it could also be something else
<urjaman> found the first bug in my solution :P
<urjaman> btw alyssa, specifically in the use-case of the start and end values for the computed queries, overflow doesnt matter
<urjaman> unsigned overflow is defined, and the result = end - start will always work, so it's a bit funny how they're 64-bit to avoid overflow
<urjaman> ^ there's a little reference to see how it misrenders (the inside of the cut cube disappears, and the axis lines on the negative side are not dotted for some reason...)
<urjaman> re: the cube-minus-cube: i just wrote some random code until i could see it misbehaving (my actual project disappears entirely for some reason)
raster has quit [Quit: Gettin' stinky!]
pH5 has joined #panfrost
warpme_ has quit [Quit: Connection closed for inactivity]
pH5 has quit [Quit: -_-]
davidlt has quit [Ping timeout: 240 seconds]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]