<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [Regression][[i945] Crashes and bad performance on Lenovo X60 with coreboot and native graphics init"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79038#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [Regression][[i945] Crashes and bad performance on Lenovo X60 with coreboot and native graphics init"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79038">bug 79038</a>
              from <span class="vcard"><a class="email" href="mailto:info@gluglug.org.uk" title="info@gluglug.org.uk">info@gluglug.org.uk</a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=99547" name="attach_99547" title="debugging results">attachment 99547</a> <a href="attachment.cgi?id=99547&action=edit" title="debugging results">[details]</a></span>
debugging results

Note, this bug report as listed in the main description is about a regression
in linux since 3.12 and beyond which causes graphical instability
(glitches/crashes)
on the ThinnkPad X60 and ThinkPad T60 when running "native graphics
initialization"
in coreboot, instead of Intel's proprietary Video BIOS or VBIOS ROM.

Before linux 3.12, no issues existed, the code worked (3D worked, no
instability).

Here I have some debugging results:
 - dmesg output
 - xorg log
 - kernel log
 - uname output

Distro: Trisquel 6 
<a href="http://trisquel.info/">http://trisquel.info/</a>
--

linux-image-gnu-3.14.4-gnuowen_1_i386.deb
has 17fec8a (kernel git) as-is

linux-image-gnu-3e14-gnu-stolenmem-owen_1_i386.deb
has 17fec8a (kernel git) reverted

When booting with the one that has 17fec8a, gdm won't start desktop.
Restarting gdm makes desktop appear.

now see the debugging output in both directories below this one.

As per the bug report, these issues were not seen until regression
after kernel 3.12. As per above, there are two sets of debugging results:
 * with 17fec8a in kernel (as-is)
 * without (17fec8a reverted)

These kernels were shared with me, compiled for Trisquel 6.0 (distribution).
Link:
 * <a href="http://samnoble.org/thinkpad/kernel/linux-image-3.14.4-gnuowen_1_i386.deb">http://samnoble.org/thinkpad/kernel/linux-image-3.14.4-gnuowen_1_i386.deb</a>
 *
<a href="http://samnoble.org/thinkpad/kernel/linux-image-3.14.4-gnu-stolenmem-owen_1_i386.deb">http://samnoble.org/thinkpad/kernel/linux-image-3.14.4-gnu-stolenmem-owen_1_i386.deb</a>
(the 2nd one reverts 17fec8a, which removes the issues introduced in 3.12+)

--

For both kernels, I am booting with "drm.debug=0x06" kernel parameter in GRUB.

I am using coreboot as per <a href="http://libreboot.org/howto.html#x60_native_notes">http://libreboot.org/howto.html#x60_native_notes</a>

How to find the code to see how coreboot is initializing the GPU:

You can see the i915 init code at <a href="http://review.coreboot.org/#/c/5320">http://review.coreboot.org/#/c/5320</a>
under (using that patch):
 * src/northbridge/intel/i945/gma.c
 * src/mainboard/lenovo/x60/devicetreee.cb

Those are modified in the patch. New files are added:
 * src/northbridge/intel/i945/chip.h

To get the full source, git clone coreboot with:
$ git clone <a href="http://review.coreboot.org/coreboot">http://review.coreboot.org/coreboot</a>
$ git fetch <a href="http://review.coreboot.org/coreboot">http://review.coreboot.org/coreboot</a> refs/changes/20/5320/6 && git
checkout FETCH_HEAD

And look at those files (patched) listed in the source, as per list at
<a href="http://review.coreboot.org/#/c/5320">http://review.coreboot.org/#/c/5320</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>