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: 245 seconds]
_whitelogger has joined #lima
jrmuizel has joined #lima
yuq825 has joined #lima
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Da_Coynul has joined #lima
<enunes> anarsoul: for the sin/cos constant creation, I see that panfrost has a solution for it as its own opt_algebraic at https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/panfrost/midgard/midgard_nir_algebraic.py#L70
<enunes> we should probably move that to src/panfrost/shared and also use it
<anarsoul> yeah
<anarsoul> I'd prefer it do be "'fmul', a, 1 / math.pi" though
<enunes> yeah I thought the same
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
Net147 has quit [Ping timeout: 258 seconds]
Net147 has joined #lima
jrmuizel has quit [Remote host closed the connection]
_whitelogger has joined #lima
dddddd has quit [Remote host closed the connection]
monstr has joined #lima
Barada has joined #lima
Elpaulo has quit [Remote host closed the connection]
Elpaulo has joined #lima
Elpaulo has quit [Ping timeout: 245 seconds]
Elpaulo has joined #lima
chewitt has joined #lima
maciejjo has quit [Quit: leaving]
deesix has quit [Ping timeout: 245 seconds]
adjtm_ has quit [Remote host closed the connection]
maciejjo has joined #lima
adjtm has joined #lima
megi has joined #lima
adjtm has quit [Ping timeout: 268 seconds]
Da_Coynul has joined #lima
yuq825 has quit [Remote host closed the connection]
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dddddd has joined #lima
Da_Coynul has joined #lima
deesix has joined #lima
Da_Coynul has quit [Client Quit]
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #lima
adjtm has joined #lima
_whitelogger has joined #lima
hellsenberg is now known as googleberg
googleberg is now known as hellsenberg
jrmuizel has joined #lima
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
Barada has quit [Quit: Barada]
<MoeIcenowy> could lima kernel driver allocate some contingous memory for a scanout buffer?
<enunes> MoeIcenowy: no, lima used to have that but it was removed. if you need a contiguous memory buffer for scanout, it is allocated in the display driver and imported in lima
<MoeIcenowy> but on Android allocating scanout buffer is done by GPU's render node
<MoeIcenowy> if use gbm_gralloc
<enunes> that seems strange, can't you make it allocate in the display driver node?
jrmuizel has quit [Remote host closed the connection]
<enunes> it seems that all drivers using kmsro do the same, so it surprises me that android would have such a hard requirement
<enunes> well vc4 does it differently, but I guess it doesn't have an mmu anyway
jrmuizel has joined #lima
<MoeIcenowy> enunes: yes, nearly all drivers w/ kmsro fail under Android
<MoeIcenowy> because it's doing process isolation now
<MoeIcenowy> the buffer allocator is in a different process w/ display
afaerber has quit [Quit: Leaving]
jrmuizel has quit [Remote host closed the connection]
<enunes> MoeIcenowy: I have no idea about android status so now mostly curious, did you ever have any kind of success with lima and android? is it any close to working at all?
jrmuizel has joined #lima
<MoeIcenowy> no
jrmuizel has quit [Remote host closed the connection]
monstr has quit [Remote host closed the connection]
<bshah> Hi there, so I have been debugging plasma mobile with the Lima, and with git master I had huge success overall. Although with one exception of keyboard behaving weird : namely Text items are not showing up. It is only issue keeping whole thing from being somewhat usable. : https://bshah.in/virt-keyboard-qmlscene.trace is the apitrace I captured.
<bshah> earlier i had case of gpir error : "gpir: if nir_cf_node not support" but i removed the component which caused that, and I no longer see that
jrmuizel has joined #lima
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
jrmuizel has quit [Remote host closed the connection]
<anarsoul> bshah: does it render correctly on llvmpipe with modified shader?
<bshah|matrix> anarsoul: I didn't modify the shader which was causing gpir error. I removed usage of it completely. And it works fine without yes.
jrmuizel has joined #lima
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
adjtm has quit [Quit: Leaving]
<anarsoul> enunes: lima and panfrost use different scaling constants
<anarsoul> so I think it's not reasonable to move it into common pass
<enunes> anarsoul: yeah I just asked in panfrost, hadn't realized that the constant is different
<anarsoul> btw I'm almost done with it
<anarsoul> (own algebraic pass)
<enunes> cool
<enunes> I hope we can move more and more stuff to something like that
<enunes> anarsoul: I tried nir_opt_vectorize (before vec_to_scalar with the ops we want), looks like it significantly improves ppir shaders and causes no piglit regressions
<anarsoul> nice
<anarsoul> btw, I tried running q3a on lima
<anarsoul> it's able to render menu but it's *very* slow
<enunes> cool, on X?
<anarsoul> yes
<anarsoul> we have a bottlneck somewhere
<anarsoul> it's easy to reproduce with mpv
<anarsoul> mpv stutters
<anarsoul> same with q3a
<enunes> maybe some profiling tool?
<anarsoul> yeah, will try
piggz_ has joined #lima
<piggz_> enunes: lo ... i started bisecting, and got stuck......
<piggz_> telling bisect that mesa-19.1.3 was good, and master was bad
<piggz_> after about 2 bisects, it gives up and says the merge base is bad
jrmuizel has quit [Remote host closed the connection]
<enunes> piggz_: hmm I don't remember what was the bisect about? I think 19.1 would be easier to try the bisect on. we didn't backport anything to a stable branch as far as I know, so it doesn't make much sense that a stable branch fixes a bug in lima I guess...
piggz_ has quit [Ping timeout: 246 seconds]
jrmuizel has joined #lima
piggz_ has joined #lima
<anarsoul> rellla: ^^
<anarsoul> I verified that glsl-sin and glsl-cos now pass
<rellla> anarsoul: yeah, noticed it already. much more clearer implementation ;)
<rellla> *more elegant
<enunes> anarsoul: in https://gitlab.freedesktop.org/mesa/mesa/merge_requests/914 I'm introducing another optimization loop after lowering ints to floats, I wonder if the new pass for sincos shouldn't just go at the end of lima_program_optimize_fs_nir ?
adjtm has joined #lima
afaerber has joined #lima
<anarsoul> enunes: I think it should go after your second optimization loop
<enunes> anarsoul: seems good to me too, if you ack 914 we could try to merge it now and then you rebase on top? :)
<anarsoul> sure
piggz_ has quit [Ping timeout: 272 seconds]
<enunes> hmm I think I stumbled on another bug with this vectorizing change
<anarsoul> ?
<anarsoul> I thought there were not piglit regressions?
<enunes> looks like vec4 fcsel from nir assumes that each component of the condition will be used to select the same component from the two options
<enunes> but lima can't implement that since we only have 1 component condition
<enunes> so we proably need to add fcsel to be turned into scalars
<enunes> and this fixes a few tests that were failing because of that even before I tried vectorize
<enunes> yeah there weren't regressions running vectorize 1 time, I turned it into a progress loop and it caused... 1 regression, which I was investigating
<anarsoul> I see
jrmuizel has quit [Remote host closed the connection]
jrmuizel has joined #lima
Da_Coynul has joined #lima