ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel has landed in mainline, userspace driver is part of mesa - Logs at https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=lima and https://freenode.irclog.whitequark.org/lima - Contact ARM for binary driver support!
megi has quit [Ping timeout: 276 seconds]
jbrown has quit [Read error: Connection reset by peer]
jrmuizel has joined #lima
<bshah|matrix> MoeIcenowy: re blending, seems to me https://gitlab.freedesktop.org/lima/mesa/issues/101 would also be possibly same issue?
<anarsoul> MoeIcenowy: well, add traces to lima_create_blend_state(), lima_bind_blend_state() and into lima_pack_render_state() for case then rt->blend_enable is true
<bshah|matrix> I need to test that also, just got home yesterday. So hopefully today or tomorrow I'll be able to test this
jrmuizel has quit [Remote host closed the connection]
<MoeIcenowy> oops GLES ver is not good for tracing, although the bug keeps
<MoeIcenowy> will switch back to GL ver
kaspter has joined #lima
dddddd has quit [Remote host closed the connection]
camus has joined #lima
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #lima
<anarsoul> bshah|matrix: MoeIcenowy: can you try this patch? https://gist.github.com/anarsoul/a48f348b7e2275379be324a5232c6db0
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
Barada has joined #lima
Barada has quit [Client Quit]
Elpaulo has joined #lima
cp has quit [Ping timeout: 245 seconds]
Barada has joined #lima
Barada has quit [Client Quit]
<MoeIcenowy> anarsoul: tried to make a single-frame apitrace that triggers this bug
nerdboy has quit [Ping timeout: 240 seconds]
nerdboy has joined #lima
smaeul has quit [Remote host closed the connection]
<anarsoul> MoeIcenowy: please try if patch above fixes the issue for you
smaeul has joined #lima
<MoeIcenowy> anarsoul: where is the patch above?
<MoeIcenowy> oh looks like not blend issue
<anarsoul> it is
<MoeIcenowy> I tried to trim glEnable(GL_BLEND)
<anarsoul> probably
<anarsoul> oh, OK :(
<MoeIcenowy> but the string is still not rendered
<MoeIcenowy> and the rendered list has black background
<MoeIcenowy> of course it's possible that the first draw cleaned sth
<anarsoul> that's something with command stream
<anarsoul> MoeIcenowy: so it renders black rectangle if you disable blending?
<MoeIcenowy> char on a black background
<anarsoul> I see
<MoeIcenowy> the zone that originally not get rendered is still nothing
<MoeIcenowy> no black at there
<anarsoul> probably you didn't get to this draw?
<MoeIcenowy> ?
<MoeIcenowy> I think this draw did totally nothing...
<anarsoul> try to describe what you found in https://gitlab.freedesktop.org/lima/mesa/issues/101 ?
<MoeIcenowy> your patch didn't fix it
<anarsoul> maybe Qiang will have some idea
<anarsoul> I haven't dug deep yet into command stream stuff
camus has joined #lima
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
<Tofe> Very interesting, MoeIcenowy's issue quite matches what I observe too
<Tofe> anarsoul: I'll also try your little patch, just in case
cp has joined #lima
kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
Tofe has quit [Quit: Tofe'IRC Machine]
Tofe has joined #lima
afaerber has quit [Quit: Leaving]
Tofe has quit [Client Quit]
Tofe has joined #lima
paulk-leonov has quit [Quit: Leaving]
paulk-leonov has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
mardestan has quit [Quit: Leaving]
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
adjtm has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
jbrown has joined #lima
<narmstrong> guys, I managed to run the same dEQP test as Panfrost on a Mali-450 device via gitlab-ci and our lava lab: https://gitlab.freedesktop.org/narmstrong/mesa/-/jobs/610661
<narmstrong> TL:DR `2019-09-16T09:32:13 ok: 3393, warn: 38, bad: 13664, skip: 376, total: 16975`
megi has joined #lima
xHire has left #lima ["Goodbye, everypony!"]
adjtm has joined #lima
camus has joined #lima
<rellla> fixed my issue with broken mesa btw.
dddddd has joined #lima
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
<rellla> LIBGL_DRIVERS_PATH was set to ".../lib/aarch64-linux-gnu" but should point to ".../lib/aarch64-linux-gnu/dri"
<rellla> though i wonder, why the issue never occured before ...
camus has joined #lima
kaspter has quit [Ping timeout: 245 seconds]
camus is now known as kaspter
camus has joined #lima
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
camus has joined #lima
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
camus has joined #lima
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
jrmuizel has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
jrmuizel has quit [Remote host closed the connection]
kaspter has joined #lima
jrmuizel has joined #lima
camus has quit [Ping timeout: 245 seconds]
jrmuizel has quit [Remote host closed the connection]
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #lima
kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
jrmuizel has joined #lima
<anarsoul> narmstrong: nice!
kaspter has quit [Ping timeout: 276 seconds]
kaspter has joined #lima
<MoeIcenowy> anarsoul: I got it!
<anarsoul> MoeIcenowy: yay!
<MoeIcenowy> we didn't reset scissor to no scissor if glDisable(GL_SCISSOR_TEST)
<anarsoul> ouch
<anarsoul> doesn't sound right
<MoeIcenowy> I added code to judge scissor test
<anarsoul> send an MR?
<MoeIcenowy> and if scissor test is disabled, add PLBU command to set scissor to no scissor (full screen)
<anarsoul> nice work
<anarsoul> are you an expert in command stream now? :)
<MoeIcenowy> no
<MoeIcenowy> I still do my experiments based on looking at apitrace
<MoeIcenowy> Qt does some strange no-op: when rendering the correctly rendered text, it enables SCISSOR_TEST, set a scissor and disabled SCISSOR_TEST
<MoeIcenowy> but this no-op didn't appear when rendering the incorrectly rendered text
kaspter has quit [Ping timeout: 240 seconds]
camus has joined #lima
camus is now known as kaspter
adjtm has quit [Ping timeout: 246 seconds]
<Tofe> MoeIcenowy: I'm completely interested in testing that patch on my side too :)
<Tofe> I was getting ready to analyze my own apitrace (once I learn how to enable them)
<Tofe> great! on it
<Tofe> MoeIcenowy: btw, I quite didn't understand some parts of your commits for control flow flattening
<Tofe> (w.r.t. without the patch)
* Tofe rebuilds Mesa with great hope
<Tofe> *\o/* it works !
<Tofe> However, when I start one app, the animation gets stuck and I have https://paste.ubuntu.com/p/m9TQ5RHwBt/
camus has joined #lima
<Tofe> (well it's not for all apps)
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
drod has joined #lima
<MoeIcenowy> Tofe: this patch is based on the former one
<MoeIcenowy> Tofe: GP error looks beyond what I can analyze
<MoeIcenowy> Tofe: consider drop my cf flatten branch and use cwabbott's gp cf branch instead
<Tofe> MoeIcenowy: I just applied the scissor commit, nothing more
<MoeIcenowy> oh do it break before applying it?
<Tofe> what do you mean? I only mean that I'm using master + your scissor commit
<Tofe> And it fixed 70% of my issues
<MoeIcenowy> I mean the GP error
<MoeIcenowy> I don't hope it's a regression
<Tofe> well, I didn't have it before, it's true; but maybe it was just a problem waiting to be revealed, I can't really say
drod has quit [Ping timeout: 240 seconds]
camus has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
camus is now known as kaspter
<Tofe> Now this is what I'm able to do: https://www.youtube.com/watch?v=0YnfXtAbEfk
<MoeIcenowy> Tofe: oh you're from LunaOS
drod has joined #lima
<anarsoul> MoeIcenowy: if error is 0x400000 it's not a regression
<bshah|matrix> MoeIcenowy: with your chance, have you tried to load qtvirtualkeyboard?
<anarsoul> MoeIcenowy: I'll review your MR later today
* anarsoul is at work for next 8h
<bshah|matrix> *change
camus has joined #lima
<anarsoul> Tofe: that looks promising :)
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
<Tofe> anarsoul: yes, quite so :) I still have some issues, mainly with QML apps, but otherwise it mostly works well
<anarsoul> Tofe: I suspect that cwabbott's MR to add branching support into gpir compiler should fix most of QML apps issues
<Tofe> anarsoul: I'll try that too, on top of MoeIcenowy's fix
<anarsoul> we still have an issue with GP error 0x400000
camus has joined #lima
<Tofe> anarsoul: what is the usual way of debugging such errors? easier use-case combined with try and guess?
kaspter has quit [Ping timeout: 265 seconds]
<anarsoul> Tofe: yeah, minimal reproducer, staring at command stream, comparing it with what blob does if there's nothing suspicious
<anarsoul> Tofe: you may want to add my MR with BO cache on top of Icenowy's changes
kaspter has joined #lima
<anarsoul> otherwise you'll see out of memory errors eventually
<anarsoul> just make sure that you're running latest 5.2 or 5.3 kernel
<anarsoul> otherwise it'll OOM faster :)
<Tofe> unfortunately the second MR didn't help much; and I still have these "lima 1c40000.gpu: gp error irq state=4000 status=3" error when the issue happens
<Tofe> ah, one of my qml apps is now crashing on startup, maybe I could get a useful stack here
<anarsoul> oh, 4000 is different
<anarsoul> it's LIMA_GP_IRQ_PLB_INVALID_CMD
camus has quit [Ping timeout: 265 seconds]
<anarsoul> Tofe: likely it crashes due to assertion failure
<Tofe> oh ok
<anarsoul> GP cf support is still WIP
<Tofe> for my crash it's deep down sun4i-drm_dri.so, let me see if I can get a stack...
<MoeIcenowy> anarsoul: where is the definitions?
<anarsoul> linux/drivers/gpu/drm/lima/lima_regs.h
<anarsoul> see LIMA_GP_IRQ_* bits
<Tofe> yup, bt gives me this: https://paste.ubuntu.com/p/Zhqs34bDZh/ (I didn't analyze it yet)
kaspter has quit [Ping timeout: 245 seconds]
<anarsoul> likely you compiled it without debug enabled
jbrown has quit [Ping timeout: 276 seconds]
<anarsoul> otherwise it'd throw an assertion failure
<Tofe> right
jbrown has joined #lima
kaspter has joined #lima
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #lima
nerdboy has quit [Ping timeout: 240 seconds]
nerdboy has joined #lima
nerdboy has quit [Changing host]
nerdboy has joined #lima
adjtm has joined #lima
jrmuizel has quit [Remote host closed the connection]
nerdboy has quit [Ping timeout: 245 seconds]
jrmuizel has joined #lima
jrmuizel has quit [Ping timeout: 276 seconds]
camus has joined #lima
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
<anarsoul> Tofe: btw, are you going to share your video on #pinephone channel? :)
<Tofe> oh, yes, sure :)
<bshah|matrix> Tofe: you posted wrong link
<Tofe> huh
<Tofe> oh sh*t
drod has quit [Read error: Connection reset by peer]
drod has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #lima
jrmuizel has joined #lima
<anarsoul> narmstrong: are you planning to submit an MR to add CI support for lima?
jrmuizel has quit [Remote host closed the connection]
drod has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
camus has joined #lima
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
_whitelogger has joined #lima