<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 8/16/2013 10:42 AM, Federico Leoni
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFe6bgVkTFSBgOFSJbbySuSMHvw4HwdN3ngJSUW49BDcQLoQbg@mail.gmail.com"
      type="cite">
      <p dir="ltr"><br>
        Em 16/08/2013 11:36, "John Hupp" <<a moz-do-not-send="true"
          href="mailto:lubuntu@prpcompany.com">lubuntu@prpcompany.com</a>>
        escreveu:<br>
        ><br>
        > On 8/14/2013 6:20 PM, John Hupp wrote:<br>
        >><br>
        >> On 8/13/2013 4:47 PM, Nio Wiklund wrote:<br>
        >>><br>
        >>> On 2013-08-13 20:46, John Hupp wrote:<br>
        >>>><br>
        >>>> Here is a fresh summary (with one new result)
        of the problem on machines<br>
        >>>> with integrated Intel graphics in which Adobe
        Flash Player 11.2 displays<br>
        >>>> only with shades of purple and green in a
        horizontally compressed window.<br>
        >>>><br>
        >>>> (My current example is a Dell Dimension 2400 on
        Raring.)<br>
        >>>><br>
        >>>> In my testing with the Intel driver using its
        default acceleration:<br>
        >>>> - Flash 11.2 works on Quantal with the 3.5
        kernel<br>
        >>>> - Flash 11.2 works on Raring with the 3.5
        kernel **<br>
        >>>> - Flash 11.8 works on Raring with the 3.8
        kernel (in Chrome)<br>
        >>>> - Flash 11.2 fails on Raring with the 3.8
        kernel<br>
        >>>> - Flash 11.2 fails on Saucy with its default
        kernel<br>
        >>>><br>
        >>>> Disabling Flash *hardware* acceleration
        altogether (via R-click in the<br>
        >>>> Flash display window: Settings: General tab)
        did not fix the problem.<br>
        >>>><br>
        >>>> Setting the Intel driver's acceleration method
        to UXA rather than its<br>
        >>>> default SNA *always* fixes the Flash problem,
        but causes a garbled login<br>
        >>>> screen under LightDM that so far has no
        workaround.<br>
        >>>><br>
        >>>> I also tried one possible fix for the default
        Intel SNA acceleration<br>
        >>>> using the TearFree option.   I created<br>
        >>>> /etc/X11/xorg.conf.d/20-intel.conf with
        contents:<br>
        >>>>      Section "Device"<br>
        >>>>         Identifier  "Intel Graphics"<br>
        >>>>         Driver      "intel"<br>
        >>>>         Option      "AccelMethod"  "sna"<br>
        >>>>         Option      "TearFree"    "true"<br>
        >>>>      EndSection<br>
        >>>> But this had no effect.<br>
        >>>><br>
        >>>> There was a helpful bug report on file at<br>
        >>>> <a moz-do-not-send="true"
          href="http://bugs.launchpad.net/ubuntu/+source/linux/+bug/1178982">http://bugs.launchpad.net/ubuntu/+source/linux/+bug/1178982</a>.
        (Note that<br>
        >>>> it was filed against Linux.)  Workarounds
        posted there were to change<br>
        >>>> the Xorg acceleration method to UXA, or boot
        with an older kernel.  The<br>
        >>>> bug was closed only because the original poster
        didn't have possession<br>
        >>>> of the machine anymore.<br>
        >>>><br>
        >>>>
        ------------------------------------------------------------------------
        <br>
        >>>><br>
        >>>> ** Flash sort of works in this case.  The
        colors and window dimensions<br>
        >>>> are normal.  But there were other odd
        display-related effects.  Raring<br>
        >>>> booting to a a low-resolution desktop with the
        mouse pointer locked.  I<br>
        >>>> started Chromium via the keyboard and the flash
        video played long enough<br>
        >>>> for me to see normal colors/dimensions, but
        then it locked up the browser.<br>
        >>>><br>
        >>>> In my interest in testing under Raring with an
        older kernel, I initially<br>
        >>>> tried to use a Live USB with persistence and
        follow the instructions at<br>
        >>>> <a moz-do-not-send="true"
          href="https://wiki.ubuntu.com/Kernel/MainlineBuilds">https://wiki.ubuntu.com/Kernel/MainlineBuilds</a>
        for installing older<br>
        >>>> Mainline kernels.  But this failed to
        install/run properly with the Live<br>
        >>>> USB.  And besides, I wanted to use Stock rather
        than Mainline kernels.<br>
        >>>> So I installed a different hard drive,
        installed Quantal, then upgraded<br>
        >>>> to Raring.  I suppose if I had run Software
        Update under Quantal, I<br>
        >>>> would have gotten a 3.6 kernel to test as well.
         As it was, Raring's<br>
        >>>> Software Update did not install a 3.6 kernel,
        but only the kernel<br>
        >>>> updates proper to Raring.<br>
        >>>><br>
        >>>>
        ------------------------------------------------------------------------
        <br>
        >>>><br>
        >>>> Looking at the above behavior of the "black
        box" without nearly enough<br>
        >>>> technical knowledge, all I can see at this
        point is that there is an<br>
        >>>> adverse interplay between certain versions of
        the kernel, the Intel<br>
        >>>> driver, and Flash.  (And I grant that I have
        not documented the versions<br>
        >>>> of the Intel driver in the various cases, but
        no one has given me any<br>
        >>>> indication that the Intel driver version is an
        issue here.)<br>
        >>>><br>
        >>>><br>
        >>>><br>
        >>> Hi John,<br>
        >>><br>
        >>> If I remember correctly, it does not work to
        install other kernels in<br>
        >>> persistent live systems. You can update and or
        install other program<br>
        >>> packages, but not kernels. An installed system on a
        USB drive will not<br>
        >>> suffer from such problems.<br>
        >>><br>
        >>> Were you able to use that method to update kernels
        in Raring?<br>
        >>><br>
        >>> Best regards<br>
        >>> Nio<br>
        >><br>
        >><br>
        >> Thanks, Nio.<br>
        >><br>
        >> Though I still haven't tried installing other kernels
        in an installed system on a flash drive, today I used the method
        at <a moz-do-not-send="true"
          href="http://wiki.ubuntu.com/Kernel/MainlineBuilds">http://wiki.ubuntu.com/Kernel/MainlineBuilds</a>
        to test other mainline kernels on the temporarily-installed hard
        drive I describe above.  (I'd still like to know if there is a
        similar archive of stock kernels somewhere, though perhaps all
        the stock kernels are right there, identified by <a
          moz-do-not-send="true"
href="http://kernel.ubuntu.com/%7Ekernel-ppa/info/kernel-version-map.html">http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html</a>
        <<a moz-do-not-send="true"
href="http://kernel.ubuntu.com/%7Ekernel-ppa/info/kernel-version-map.html">http://kernel.ubuntu.com/%7Ekernel-ppa/info/kernel-version-map.html</a>>.)<br>
        >><br>
        >> I found that Flash 11.2 works normally on Raring with
        the last 3.6 and 3.7 mainline kernels, but fails with the latest
        mainline kernel, 3.11.0-031100rc5.<br>
        >><br>
        >> Together with my earlier test results (above), this
        seemed to me to provide enough indications to file a bug against
        the kernel, which I have just done at <a moz-do-not-send="true"
href="http://bugs.launchpad.net/ubuntu/+source/linux/+bug/1212455">http://bugs.launchpad.net/ubuntu/+source/linux/+bug/1212455</a>.<br>
        >><br>
        ><br>
        > After a little back-and-forth concerning my bug report, one
        of the Buntu kernel maintainers suggested that I move the bug
        upstream.<br>
        ><br>
        > Step #1 in that process is to send a specifically formatted
        report to the email list of the team for the relevant kernel
        module.  So after a little research, it seemed that this would
        be the Intel DRM Driver.<br>
        ><br>
        > The online archive of the thread begins with my email at <a
          moz-do-not-send="true"
href="http://lists.freedesktop.org/archives/dri-devel/2013-August/043876.html">http://lists.freedesktop.org/archives/dri-devel/2013-August/043876.html</a><br>
        ><br>
        > Happily for me as regards my time investment on this
        problem, but perhaps unhappily as regards fixing the problem,
        Chris Wilson from the Intel Open Source Technology Centre
        rendered this summary judgment in a reply:<br>
        ><br>
        > "It's a flash bug. They ignore the format of the Window
        that they PutImage to. (Worse, they create an image of the right
        depth or else X would reject the PutImage with a BadMatch and
        then render incorrect pixel data into it.)"<br>
        ><br>
        > If his assessment is on the mark, and if you have a PC with
        affected Intel graphics that you want to display Flash content,
        it would seem that the only recourse is to install a supported
        non-Intel video card.<br>
        ><br>
        ><br>
        > -- <br>
        > Lubuntu-users mailing list<br>
        > <a moz-do-not-send="true"
          href="mailto:Lubuntu-users@lists.ubuntu.com">Lubuntu-users@lists.ubuntu.com</a><br>
        > Modify settings or unsubscribe at: <a
          moz-do-not-send="true"
          href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users">https://lists.ubuntu.com/mailman/listinfo/lubuntu-users</a></p>
      <p dir="ltr">John, <br>
        I'm just wondering... Did you test the closed driver for Intel
        integrated video? </p>
      <p dir="ltr"><a moz-do-not-send="true"
          href="https://01.org/linuxgraphics/">https://01.org/linuxgraphics/</a></p>
      <p dir="ltr">Just curious to see if it works better... </p>
      <p dir="ltr">F. </p>
    </blockquote>
    <br>
    No, I didn't have a clue about that option.  I may try it later
    today.<br>
    <br>
    Just after posting above, it occurred to me that there is another
    question to ask: What about the workaround for the workaround?<br>
    <br>
    That is, there is the workaround (setting the Intel driver to use
    UXA acceleration instead of the default SNA; this fixes the Flash
    problem but results in a garbled login screen).  But I have wondered
    if we can work around that with some configuration of LightDM or its
    GTK Greeter, or if it would be reasonable on affected PC's to
    replace LightDM with another display manager that might not suffer
    from the same effect.  (And how one would do any of the above.)<br>
    <br>
    Most people would have probably given up and gone a different route
    by now, but I have 4 of these Dell Dimension 2400's here, another
    couple Dell Dimension cousins that probably also have affected Intel
    graphics, and one wonders about other machines that may also have
    affected Intel graphics.<br>
  </body>
</html>