How do I vsync in bash (or the Linux framebuffer)? Announcing the arrival of Valued Associate...

Should I discuss the type of campaign with my players?

Gastric acid as a weapon

Is it true to say that an hosting provider's DNS server is what links the entire hosting environment to ICANN?

Should I call the interviewer directly, if HR aren't responding?

How do I stop a creek from eroding my steep embankment?

Why did the IBM 650 use bi-quinary?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

When is phishing education going too far?

When -s is used with third person singular. What's its use in this context?

"Seemed to had" is it correct?

Java 8 stream max() function argument type Comparator vs Comparable

Is 1 ppb equal to 1 μg/kg?

Is it possible to boil a liquid by just mixing many immiscible liquids together?

3 doors, three guards, one stone

If Jon Snow became King of the Seven Kingdoms what would his regnal number be?

How can I make names more distinctive without making them longer?

Why is "Captain Marvel" translated as male in Portugal?

What are the motives behind Cersei's orders given to Bronn?

How to draw this diagram using TikZ package?

Should I use Javascript Classes or Apex Classes in Lightning Web Components?

Are my PIs rude or am I just being too sensitive?

How do I mention the quality of my school without bragging

What would be the ideal power source for a cybernetic eye?

What makes black pepper strong or mild?



How do I vsync in bash (or the Linux framebuffer)?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to redirect and use the framebuffer?How can I add an additional framebuffer device in Linux?re-initialize the framebuffer when program crashesadd monitor to linux tty framebufferHow to create the framebuffer file node?Setting the video output for the framebuffer deviceHow does bash print to the screen if not with a framebuffer?Linux framebuffer not reverting to text console when netsurf crashesHow can I run (start) a framebuffer application via SSH?Embedded linux - USB framebuffer device mounting





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I was trying to see how fast I could fill/swap on /dev/fb0 with something to the effect of:



while :; do head -c $SIZE /dev/erg > /dev/fb0; head -c $SIZE /dev/zero > /dev/fb0; done


(Where /dev/erg is a character device that provides a constant stream of "erg".)



It tore quite a bit--clearly, this doesn't actually respect vsync settings.



The question might be a bit evocative; I'm aware this isn't the normal use case for /dev/fb0 or the framebuffer devices in general (and also that they're really old and not favorable compared to drm, etc.), but what was more surprising is that I can't see any way of detecting/doing vsync with the framebuffer devices in general. Does one exist, and how might one use it? (I wouldn't be disappointed if the answer is "no".)



For at least this case, the display driver is i915, if that matters.










share|improve this question







New contributor




p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    I was trying to see how fast I could fill/swap on /dev/fb0 with something to the effect of:



    while :; do head -c $SIZE /dev/erg > /dev/fb0; head -c $SIZE /dev/zero > /dev/fb0; done


    (Where /dev/erg is a character device that provides a constant stream of "erg".)



    It tore quite a bit--clearly, this doesn't actually respect vsync settings.



    The question might be a bit evocative; I'm aware this isn't the normal use case for /dev/fb0 or the framebuffer devices in general (and also that they're really old and not favorable compared to drm, etc.), but what was more surprising is that I can't see any way of detecting/doing vsync with the framebuffer devices in general. Does one exist, and how might one use it? (I wouldn't be disappointed if the answer is "no".)



    For at least this case, the display driver is i915, if that matters.










    share|improve this question







    New contributor




    p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I was trying to see how fast I could fill/swap on /dev/fb0 with something to the effect of:



      while :; do head -c $SIZE /dev/erg > /dev/fb0; head -c $SIZE /dev/zero > /dev/fb0; done


      (Where /dev/erg is a character device that provides a constant stream of "erg".)



      It tore quite a bit--clearly, this doesn't actually respect vsync settings.



      The question might be a bit evocative; I'm aware this isn't the normal use case for /dev/fb0 or the framebuffer devices in general (and also that they're really old and not favorable compared to drm, etc.), but what was more surprising is that I can't see any way of detecting/doing vsync with the framebuffer devices in general. Does one exist, and how might one use it? (I wouldn't be disappointed if the answer is "no".)



      For at least this case, the display driver is i915, if that matters.










      share|improve this question







      New contributor




      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I was trying to see how fast I could fill/swap on /dev/fb0 with something to the effect of:



      while :; do head -c $SIZE /dev/erg > /dev/fb0; head -c $SIZE /dev/zero > /dev/fb0; done


      (Where /dev/erg is a character device that provides a constant stream of "erg".)



      It tore quite a bit--clearly, this doesn't actually respect vsync settings.



      The question might be a bit evocative; I'm aware this isn't the normal use case for /dev/fb0 or the framebuffer devices in general (and also that they're really old and not favorable compared to drm, etc.), but what was more surprising is that I can't see any way of detecting/doing vsync with the framebuffer devices in general. Does one exist, and how might one use it? (I wouldn't be disappointed if the answer is "no".)



      For at least this case, the display driver is i915, if that matters.







      linux bash framebuffer






      share|improve this question







      New contributor




      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 hours ago









      p-valentinep-valentine

      61




      61




      New contributor




      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      p-valentine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          p-valentine is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512655%2fhow-do-i-vsync-in-bash-or-the-linux-framebuffer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          p-valentine is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          p-valentine is a new contributor. Be nice, and check out our Code of Conduct.













          p-valentine is a new contributor. Be nice, and check out our Code of Conduct.












          p-valentine is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512655%2fhow-do-i-vsync-in-bash-or-the-linux-framebuffer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...