alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - https://gitlab.freedesktop.org/panfrost - Logs https://freenode.irclog.whitequark.org/panfrost - Discord Discard
NeuroScr has quit [Quit: NeuroScr]
TheCycoONE has quit [Quit: ZNC 1.7.1 - https://znc.in]
TheCycoONE has joined #panfrost
cwabbott_ has joined #panfrost
TheCycoONE has quit [Quit: ZNC 1.7.1 - https://znc.in]
cwabbott has quit [Ping timeout: 246 seconds]
cwabbott_ is now known as cwabbott
TheCycoONE has joined #panfrost
TheCycoONE has quit [Client Quit]
TheCycoONE has joined #panfrost
TheCycoONE has quit [Client Quit]
TheCycoONE has joined #panfrost
TheCycoONE has quit [Client Quit]
TheCycoONE has joined #panfrost
robert_ancell has quit [Read error: Connection reset by peer]
cwabbott has quit [Ping timeout: 252 seconds]
BenG83 has quit [Quit: Leaving]
BenG83 has joined #panfrost
anarsoul|2 has quit [Ping timeout: 268 seconds]
cwabbott has joined #panfrost
indy has quit [Read error: No route to host]
indy has joined #panfrost
cwabbott has quit [Ping timeout: 252 seconds]
cwabbott has joined #panfrost
TheCycoONE has quit [Quit: ZNC 1.7.1 - https://znc.in]
TheCycoONE has joined #panfrost
_whitelogger has joined #panfrost
sphalerite has quit [Ping timeout: 260 seconds]
klaxa has quit [Ping timeout: 246 seconds]
sphalerite has joined #panfrost
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
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
<alyssa> narmstrong: Maybe? I've never used apitrace with Panfrost, so I don't know what it requires.
<alyssa> tomeu: We do clear the whole FBO at the start, yeah
<narmstrong> Well it works fine but doesn’t give much info
<alyssa> There are ways to do partial rewrites like Weston wants, but it's tricky (lima ran into this)
<narmstrong> Yeah Lima solved this but it needs some work
<alyssa> (it requires implementing some additional GL extensions. It's nothing we couldn't do, but I haven't been focusing too much on perf yet)
<alyssa> For Weston-backed-by-X, it seems to disable those partial writes on panfrost
<narmstrong> alyssa: with apitrace you could replay kmscube (or other) calls with your setup
<alyssa> narmstrong: Oh, hm, that might be useful actually, thank you :)
<narmstrong> alyssa: I’ll regenerate a trace so you don’t need to bother building and running it ^^
<alyssa> Okey dokey!
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has quit [Quit: NeuroScr]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
anarsoul|2 has joined #panfrost
raster has joined #panfrost
NeuroScr has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
NeuroScr has quit [Ping timeout: 250 seconds]
NeuroScr has joined #panfrost
raster has quit [Read error: Connection reset by peer]
pH5 has quit [Quit: bye]
pH5 has joined #panfrost
NeuroScr has quit [Ping timeout: 240 seconds]
NeuroScr has joined #panfrost
* alyssa debates writing cmdstream validation system
<anarsoul|2> why do you need it?