<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Apr 4, 2017 11:26, "Julien Isorce" <<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I noticed that GALLIUM_HUD does not write hud values into files properly.</div><div><br></div><div>The destination files look empty at least for 5 min and then are filed in with some burst. I wonder if it could be a problem with the GALLIUM_HUD_PERIOD which would be wrong when writing values into files. Or write is not committed or not flushed.</div><div><br></div><div>I can see these values properly updated in the pane on screen but destination files are empty for some minutes.</div><div><br></div><div>This is happening with various recent version of mesa + radeonsi. With older mesa like 12.0.6, it is even worst, the destinations are not created at all.</div><div><br></div><div>Does it happen for anybody else before I fill in a bug ?</div><div>TEST:  GALLIUM_HUD=fps+VRAM-usage+<wbr>temperature GALLIUM_HUD_DUMP_DIR=/tmp glxgears</div><div><br></div><div>-</div><div>Julien</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Hi Julien</div><div dir="auto"><br></div><div dir="auto">I think this could be a buffering issue.</div><div dir="auto">The values are printed with fprintf, I'm using default</div><div dir="auto">buffer sizes and never explicitly flushing.</div><div dir="auto">This evening I'll try to make it more reliable.</div><div dir="auto"><br></div><div dir="auto">Btw. the dump functionality is not implemented in Mesa 12.</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">edmondo</div><div dir="auto"><br></div><div dir="auto"></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></div></div>