Raw JPG 8 bit
Raw OpenXR 32 bit
So, you can see here that this two bar charts is different.
When u saved Jpg from max frame buffer right after rendering, you immediately lose some colors, light and shadows.
Save it in openxr 32 bit then convert in 8 bit jpg in PS.