austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
sravn has quit [Quit: WeeChat 2.9]
sravn has joined #etnaviv
tlwoerner has quit [Remote host closed the connection]
Net147 has joined #etnaviv
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #etnaviv
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #etnaviv
karolherbst has quit [Quit: duh 🐧]
karolherbst has joined #etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
pcercuei has joined #etnaviv
<sravn> nir versus tgsi. Are there any performance benefits when using nit if the target is running gc880 or gc2000?
<sravn> And how far are we from using nir per default?
<sravn> s/nit/nir/ in the above - sorry
<cphealy> I've been using NIR with all three of GC2000, GC3000, and GC7000L. I can't comment on how far away we are with it being on by default and my use cases are not that complex though.
<cphealy> My use cases include relatively simple games, Qt GUIs, Weston, and a 3D map application. I don't have any rendering issues when running these with NIR enabled.
<sravn> cphealy: The use case I have in mind is an application running with Chromium as the browser.
<sravn> We have decent performance today (i.MX6 QuadCore) and was just wondering if I should persuade them to move to latest mesa and anable nir.
<sravn> We have also something running on i.MX6 SoloCore, hence the gc880 question - here the performance could be better.
<cphealy> sravn: I have run some browser based use cases in the past with NIR enabled on the GC3000 and GC7000L but I never tested with GC2000.
<cphealy> What version of Mesa are you on?
<austriancoder> sravn: shader-db on gc2000 with latest master
<austriancoder> sravn: total instructions in shared programs: 63628 -> 48944 (-23.08%)
<austriancoder> instructions in affected programs: 58996 -> 44312 (-24.89%)
<austriancoder> HURT: 1
<austriancoder> helped: 255
<austriancoder> helped stats (abs) min: 4 max: 316 x̄: 57.60 x̃: 36
austriancoder has quit [Excess Flood]
<sravn> cphealy: trying to dig it up, one minute
austriancoder has joined #etnaviv
pcercuei has quit [Quit: bbl]
<austriancoder> better that way :)
<sravn> cphealy: mesa 19.2.6
<sravn> austriancoder: Thanks, so if I tell them that we may see a 20% speed-up moving to latest mesa and enabling nir. For the GPU operations ofc
<sravn> Thats seems like a nice win and maybe if we hit something we (read: my work) could sponsor to get it fixed
* austriancoder is still working on making nir the default.. are are still some hacks and asserts I need to look into.. but I finally have a good feeling about it
<austriancoder> sravn: the actual speed-up depends on the workload/application but there is an improvement. I am always a little bit careful when providing general numbers
<sravn> Yeah, I will phrase it properly so people do not get too disappointed if there see less difference.
pcercuei has joined #etnaviv
<sravn> But I also need a little to sell them the idea to move to new mesa and enable nir. Your figures should do the trick.
<austriancoder> sravn: :)
sorki has joined #etnaviv
sorki has quit [Remote host closed the connection]
sorki has joined #etnaviv
sorki has quit [Remote host closed the connection]
sorki has joined #etnaviv
_whitelogger has joined #etnaviv
sorki has quit [Remote host closed the connection]
sorki has joined #etnaviv
<marex> sravn: note that chromium uses threaded rendering and the locking in etnaviv isn't particularly performant
<marex> sravn: that could be where you will hit performance problems
JohnnyonFlame has joined #etnaviv
<sravn> marex: thanks for the hint
<marex> sravn: do you plan to run chromium on WL or GBM ?
<sravn> marex: we are running Chromium on top of weston
<marex> sravn: OK, fine
<marex> sravn: Im running both that and qtwebengine directly on kms/gbm , but there is apparently the option of running chromium on ozone-gbm (without WL/weston), I wonder if that might be better suited to mx6
<sravn> marex: I think we are using what should be optimal. At least it was Pengutronix that did it back then and they should know.
<sravn> But maybe there are new, yet to be explored, possibilities