robclark has quit [Read error: Connection reset by peer]
* tomeu
cannot wait to find out what narmstrong discovered with panwrap :)
chewitt has quit [Quit: Zzz..]
chewitt has joined #panfrost
* narmstrong
Too much pressure.
<narmstrong>
I’ll analyze the log more closely, but since I’m a total noob in OpenGL it won’t help
<narmstrong>
alyssa: apitrace should work right ?
<narmstrong>
At least to know what was submitted to Mesa
chewitt has quit [Quit: Adios!]
pH5 has joined #panfrost
<narmstrong>
Seems to be the first JOB_TYPE_TILER that fails for this frame, the only differences with the previous frame are the last words of the mali_uniform_buffer_meta ubuf, there are all at 0 instead of stuff like 0xbf800000, 0x3f800000, 0x3f800000, 0x3f800000 for all job types (VERTEX and TILER)
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<tomeu>
guess it would be cool to be able to just change that and rerun :)
robclark has joined #panfrost
<narmstrong>
well, I have no idea of what's wrong :-]
<tomeu>
maybe try changing those zeroes to the values you see in the other frames?
klaxa has joined #panfrost
TheCycoONE has quit [Ping timeout: 250 seconds]
raster has joined #panfrost
<tomeu>
narmstrong: here, fence is always NULL in drm_gem_fb_prepare_fb
<tomeu>
and the fence-related code doesn't seem to be run in kbase
<tomeu>
probably some config missing or such
<tomeu>
with MALI_DMA_FENCE=y in the config file, the code is at least being run :)
<tomeu>
with that, and a change in panfrost, I get a fence in drm_gem_fb_prepare_fb, but no visible difference
<tomeu>
fences seem to work fine, the rendering is very fast and when we submit the BO for display, the rendering has long finished
<tomeu>
wonder if something needs to happen before anything other than the GPU can access the rendered content
<tomeu>
some cache flushes, etc
<tomeu>
hmm, it's looking much better with BASE_JD_REQ_CF
<tomeu>
still not correct though
<tomeu>
that seemed to be a coincidence, now it looks as before
<tomeu>
ok, got it to display correctly now
<tomeu>
removing BASE_JD_REQ_SKIP_CACHE_END in the first atom gets the rendering right
<tomeu>
wonder why though, as the second atom didn't have it already
<tomeu>
beautiful cube :)
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<tomeu>
forcing has_egl_buffer_age to false in weston solves the cursor problem
<tomeu>
alyssa: any ideas of where could the problem be with weston's optimization to only render what has changed in a BO?
<tomeu>
could it be that we clear the whole FBO at the start of each render or so?
<tomeu>
have pushed two fixes to my winsys branch
<tomeu>
kmscube runs now without visible problems, and without warnings
<tomeu>
weston still has the problem with the buffer being blacked out any time we render anything
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<narmstrong>
tomeu: do you still have a gpu fault ?
<tomeu>
narmstrong: nope
<narmstrong>
tomeu: I will try your 2 fixes and look the diff with your winsys branch