<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xf86-video-ati has flawed drawing straight lines operation"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85421">85421</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xf86-video-ati has flawed drawing straight lines operation
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.5 (2009.10)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zb@jabster.pl
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I tried even newest 7.5.0 driver (with glamor module) - but it seems the
problem still's here. At first I blamed Tk for the problem - but it turned out
(after final comparison with NVidia), that the driver is flawed.

It seems, that (while using your radeon driver) Tk's canvas has about 5x more
work with drawing "line" type objects than with drawing the same object (say:
pentagram) as filled "polygon". The same can be noticed, when polygon is drawn
with "-outline" option. It's easy to reproduce: just compare CPU load during
execution of "Polyhedra" demo (from <a href="http://wiki.tcl.tk/14283">http://wiki.tcl.tk/14283</a> ), when drawing
filled and wireframe corpses. Yes, I can see that wireframes are created there
as polygons filled with black - but even when replacing relevant part of the
code to create them as "line" objects - the huge difference in CPU load still
remains (which can be seen especially on weaker machine, not strong modern
multicore).

I don't use xorg.conf presently, just 2 lines in $HOME/.xinitrc

 xrandr --output DVI-0 --mode 1280x800 --panning 1680x1050
 /etc/X11/xinit/xinitrc.icewm

(apart of a few keyboard-related ones)

When I ran the script on NVidia machine (with NVidia's proprietary drivers),
the CPU load difference between the two "display modes" ("shaded" and
"wireframe") was marginal, as expected.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>