<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div id="ydpb427a98ayahoo_quoted_3858970474" class="ydpb427a98ayahoo_quoted">
<div>> > However, I would have expected that VLC would produce a lot<br clear="none"></div><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div dir="ltr">> > GPU/iGPU accesses even without drawing anything, because it would<br clear="none"><div>> > try to use GPU decoder.</div><div><br></div><div dir="ltr" data-setdir="false">For the discrete GPU, the turned off screen requires much smaller bandwidth in any benchmark (reduces from 2GB/s to several KB/s). The same seems to be true with iGPU. Of course, there might exist some DRAM accesses originating from the GPU/iGPU. But the main traffic seems to fade. These assumptions are based on my experiments and I could be wrong.<br></div><div dir="ltr" data-setdir="false">(P.S.: <span>VLC seems to be aware of the screen state. The rendering thread will stop when the screen is off (mentioned here:<span>https://stackoverflow.com/q/76891645/6661026</span>).</span>)<br></div><div><br></div><div>> > Displaying video is also often done using GL or Xvideo - plain X is</div>> > too slow for this.<br clear="none"></div><div dir="ltr"><div dir="ltr" data-setdir="false">I'm looking for a simpler solution. I'm not familiar with these Xorg-related concepts! It seems a bit strange that turning off screen requires so much effort! If `xset dpms force off` would not cause screen activation with user input or `xrandr --output...` wouldn't cause segfault, everything would be fine.<br></div><br clear="none">>edit to add: google suggests another candidate might be something<br clear="none">>called pin-instat<div class="ydpb427a98ayqt6399543574" id="ydpb427a98ayqtfd10005" dir="ltr" data-setdir="false"><div>Pin works at the source code level. It counts source-level accesses which might not reach DRAM (e.g., services by caches).<br></div><br clear="none">> > best<br clear="none">> > <br clear="none">> > Vladimir Dergachev <br clear="none"></div></div></div>
</div>
</div></div></body></html>