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
<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>
^ 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]