It looks like there is a subset of Lumix DMC-LX100 II images that are coming out magenta. I intercepted the Bayer pattern outside of LibRaw and it is coming out as:
if I manually change it to
then the image is demosaiced correctly. It looks like the pattern is off by one.
I should mention FastRawViewer is also showing the incorrect color.
Is this a known issue? Is there a patch or could you point me to where in LibRaw it could be fixed?