<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Buffer not flushed when drawing R plots"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59085">59085</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Buffer not flushed when drawing R plots
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nalimilan@club.fr
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.8
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xlib backend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This bug appeared somewhere between Cairo 1.10.2 and 1.12.4, as I could check
by downgrading my packages. It has been experienced on Fedora [1] and Arch [2],
at least.

Using the R statistical framework, plots are not drawn until one resizes the
plot window. Disabling buffered rendering using X11.options(type="nbcairo")
fixes the problem. If you are interested in reproducing the bug, calling
plot(1:10) is enough.

The problem has been reported by people with Intel GPUs (i915 driver) and with
ATI GPUs (Catalyst driver). So it seems to be a Cairo bug, or at least a change
in Cairo unveiled a bug in these drivers.

If you have any suspicion of the commit that may have introduced this, I can
test that version.



1: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=891983">https://bugzilla.redhat.com/show_bug.cgi?id=891983</a>
2: <a href="https://bugs.archlinux.org/task/32597">https://bugs.archlinux.org/task/32597</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>