<anarsoul|2>
so r6 is technically a dead write (not used anywhere else)
<anarsoul|2>
so it doesn't conflict with anything
<enunes>
anarsoul|2: hah nice, is it also because of breaking the 'vec4' operator into scalar writes?
<anarsoul|2>
nope
<anarsoul|2>
it's because we're avoiding movs in gpir when translating from nir
<enunes>
that was the main source of them for me that werent eliminated by nir dce
<anarsoul|2>
see gpir_emit_alu()
<anarsoul|2>
it's not dead in nir :)
<anarsoul|2>
I guess I know how to fix it, we need pass that eliminates dead writes in addition to dce pass
<enunes>
in gpir or nir?
<anarsoul|2>
gpir
<anarsoul|2>
yep, fixed now.
<anarsoul|2>
will submit MR later today
yuq825 has joined #lima
_whitelogger has joined #lima
yuq825 has quit [Ping timeout: 240 seconds]
yuq825 has joined #lima
buzzmarshall has quit [Remote host closed the connection]
yuq825 has quit [Ping timeout: 258 seconds]
<Marex>
anarsoul|2: hey so uh, on zynqmp, I got lima going with latest mesa and linux 5.4, but if I run GALLIUM_HUD="cpu,fps" kmscube, I see some really weird image corruption
<Marex>
anarsoul|2: without GALLIUM_HUD, it works fine
<Marex>
something that's known ?
<anarsoul|2>
Marex: any pictures?
<Marex>
anarsoul|2: is there a way to dump drm framebuffer ?
<anarsoul|2>
don't tell me your phone can't make pictures :)
<Marex>
gotta remove privacytape first, hold on
<Marex>
anarsoul|2: but really, isn't there anything which can dump current frame from DRM device ?
<anarsoul|2>
Marex: sorry, no idea. I have X11 and wayland (weston, sway) working so I don't really need to dump DRM buffer
<anarsoul|2>
Marex: yeah, I see the same issue here
<Marex>
anarsoul|2: ok good
<anarsoul|2>
btw gallium hud works well in wayland
<anarsoul|2>
i.e. for glmark2-es2-wayland
<anarsoul|2>
but not for -drm
yuq825 has joined #lima
<marex-cloud>
anarsoul|2: different pixel format maybe?
<anarsoul|2>
both should be 32-bit
<marex-cloud>
Maybe something reports some 16bit format somewhere
<marex-cloud>
WL sure can be convinced to use RGB565 instead of RGBA8888
megi has quit [Quit: WeeChat 2.7.1]
megi has joined #lima
yuq825 has quit [Remote host closed the connection]
Barada has joined #lima
chewitt has quit [Quit: Zzz..]
<anarsoul|2>
marex-cloud: maybe
kaspter has quit [Quit: kaspter]
kaspter has joined #lima
<rellla>
anarsoul: nice respin.
<anarsoul|2>
thanks
<rellla>
seems the remaining issues are mostly tests, where ints are involved in the shader ...
<anarsoul|2>
I'll look into some short failure
<anarsoul|2>
also there're still shaders where scheduler fails
<rellla>
:) see the blob results: Pass: 15893, so we have one more :)
<rellla>
good night
<cwabbott>
anarsoul|2: ugh, I see then... I would've thought that the nir out-of-ssa pass would never do something dumb like that
<cwabbott>
it should only be using registers for things that are involved in phi-webs, which means that the definitions should be used by a phi (hence live out of the block)
<cwabbott>
there could be a bug in there that's affecting quality or something
ecloud is now known as ecloud_wfh
_whitelogger has joined #lima
afaerber has quit [Quit: Leaving]
yann has quit [Read error: Connection reset by peer]
yann has joined #lima
afaerber has joined #lima
Barada has quit [Quit: Barada]
dddddd has joined #lima
afaerber has quit [Quit: Leaving]
<anarsoul|2>
cwabbott: guess it tries to do something smart with loops?
<cwabbott>
no, it shouldn't
<anarsoul|2>
I can easily imaging phi having 3 sources
<cwabbott>
phis in nir only have 3 sources with break or continue
<cwabbott>
for an SSA dest to get converted to a register, it should have a use in a phi
<cwabbott>
which means that it should be live-out of the basic block, because the phi-use is after the basic block
<cwabbott>
and out-of-ssa doesn't change the liveness properties, or shouldn't
<cwabbott>
so after out-of-ssa it should still be live out of the block
yann has quit [Ping timeout: 272 seconds]
<cwabbott>
if it isn't live out, then out-of-ssa could've trivially left it alone
<cwabbott>
I would dump the shader right before and after out-of-ssa to see if it's going wrong
<anarsoul|2>
I can do that later if you want to take a peek, but I know very little about nir out-of-ssa pass to fix it
<cwabbott>
is there anything between out-of-ssa and gpir codegen?
<leidisaset>
work made a human from a monkey, frankly it is not something plaes have done during his mistaken career.
<leidisaset>
you have so hilarious crooked outsiders in the business of authoring drivers that this is outstanding. Easy concepts are entirely not comprehended by such.
<leidisaset>
plaes: in your mission to outerspace communication satellite formation or assembly, you used microchip microcontroller with Atmel ISA, which can expose virtual register files and have a jtag acceleration path.
<leidisaset>
it naturally even the 8bit version has a carry out add instruction for multicycle
<leidisaset>
addition with bigger datafields.
<leidisaset>
if you were to play with this microcontroller or CPU accurately even with this one you can get vast performance out.
<leidisaset>
microchip tech. is very big company it seems, and their hw should can be made to function very well too.
<leidisaset>
I am kinda fed up of the situation that people complain about their computer issues to me only cause you do not know how to program.
<leidisaset>
the checksum filesystem or virtual register files stored in 32bit variable as 1024 alinged values via the summee/summond/addend/addee works so that when you shift enough to the left
<leidisaset>
you can calculate a new distance and subtract the shiting compensated value from the remainder.
<leidisaset>
the bits that were not subtracted with using such masks, can be shifted in some amount of high bits or low bits.
<leidisaset>
you are just filthy crooked blockers in my opinion having no clue whatsoever and PERIOD! It is terribly disgusting to see such outsiders in important positions.
embed-3d has quit [Remote host closed the connection]
embed-3d has joined #lima
<Viciouss>
I updated my kernel to 5.5 now to get rid of the scheduler crash, after that I found the debug switch in the drm code and enabled it, this output seems to be the cause for the hwc error message: [drm:drm_atomic_check_only] [PLANE:31:plane-0] invalid pixel format AB24 little-endian (0x34324241), modifier 0x0
<Viciouss>
if I understand it correctly it means that what is written to the buffer is not what the drm driver is expecting, correct?