austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
chewitt_ is now known as chewitt
JohnnyonFlame has quit [Ping timeout: 256 seconds]
JohnnyonF has joined #etnaviv
<marex> austriancoder: mntmn: https://gitlab.freedesktop.org/marex/mesa/-/commits/stm32-texcoord-v3 I pushed updated pointcoord stuff here , it now uses nir_lower_texcoord_replace for NIR
<marex> neverball stars work, so does eglretrace pointcoord.trace
_whitelogger has joined #etnaviv
karolherbst has joined #etnaviv
JohnnyonF has quit [Read error: Connection reset by peer]
karolherbst has quit [Ping timeout: 264 seconds]
diverger has joined #etnaviv
Net147 has quit [Quit: Quit]
Net147 has joined #etnaviv
diverger has quit [K-Lined]
Chewi has quit [Quit: ZNC 1.7.5 - https://znc.in]
<agx_> Did someone already look at the etnaviv side of imx8mq DEC400D support?
pcercuei has joined #etnaviv
Chewi has joined #etnaviv
pdp7 has quit [Quit: Connection closed for inactivity]
karolherbst has joined #etnaviv
<austriancoder> agx_: I think flto did some work on this but maybe cphealy knows the best
Chewi has quit [Quit: ZNC 1.7.5 - https://znc.in]
<flto> there wasm
<flto> there wasn't a modifier to expose it with when I worked on it, but etnaviv already uses it internally
<flto> lynxeye should have a patch to add the missing parts
Chewi has joined #etnaviv
xexaxo1 has quit [Ping timeout: 272 seconds]
xexaxo1 has joined #etnaviv
Chewi has quit [Quit: ZNC 1.7.5 - https://znc.in]
<austriancoder> marex: I added some comments to your v3
<marex> austriancoder: thanks
<marex> austriancoder: there was some discussion in dri-devel, alyssa/kusma mentioned that just dropping the PIPE_CAP_POINT_SPRITE didnt work well and I ran into trouble with that too
<marex> austriancoder: also, I still need that for the TGSI part
<marex> ... or does the ST magically optimize the TGSI part too then ?
pcercuei has quit [Ping timeout: 276 seconds]
pcercuei has joined #etnaviv
<agx_> flto: thanks - lynxeye is that code around somewhere? Would be keen to check if it makes 4K@60Hz DCSS plug mxsfb 720x1440 workable.
<austriancoder> marex: nowadays the path is: glsl -> nir ->tgsi (if tgsi is preferred) so yes it does magically optimize the TGSI part too
<marex> austriancoder: is there still any reason why the etnaviv tgsi is in place ?
<marex> austriancoder: btw this is fixed pipeline stuff, so no glsl, right ?
<austriancoder> marex: there are reasons and I am working on them.. there are regressions, crashes and miss optimizations
<marex> austriancoder: is there a list or somesuch ?
<austriancoder> no..
<austriancoder> I tackled almost all but upstreaming takes longer
<marex> austriancoder: how come ?
<austriancoder> marex: I need several rounds to get stuff in: good example is https://cgit.freedesktop.org/mesa/mesa/commit/?id=9b6516ac249ee479b78e399e1a54a293e53e9676 - I tried different other approaches until it was accepted. First I tried to patch core nir but that was not quite successful and it took some time to find the correct/best solution
<austriancoder> currently I am reworking/moving rect_tex lowering into st
<marex> austriancoder: I saw the patch :)
<marex> austriancoder: I think with the help in dri-devel, I might even be getting somewhere too
<austriancoder> marex: with your point sprit work?
<marex> yes
<marex> austriancoder: util_varying_is_point_coord is nice
<marex> I have no idea how to eliminate the glTexCoord while keeping the glPointCoord in the compiled NIR shader
<cphealy> agx: I don't have any comment on the state of DEC400 patches for upstream. I've worked with various stacks that do have DEC400 enabled and can state that this does help with the 4K60 DCSS use case. For a demo I was working with, it was possible to hit 4K60 rendering (though this was with the GPU overclocked to 1GHz from 800MHz and a pretty optimal 2D GUI with embedded video.)
<cphealy> Due to the architecture of DEC400 compression (like with other vendor frame buffer compression algorithms, if you have tiles that are solid color, the compression ratio can be very efficient, like instead of any pixel data being transferred for a tile from DRAM to the display controller, it can be completely skipped and just the small amount of tile metadata shared between DRAM and display controller.
Chewi has joined #etnaviv
srk has quit [Ping timeout: 268 seconds]
srk has joined #etnaviv
JohnnyonFlame has joined #etnaviv
karolherbst has quit [Ping timeout: 264 seconds]