<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142877</bug_id>
          
          <creation_ts>2015-03-19 13:16:49 -0700</creation_ts>
          <short_desc>[GTK] Disable accelerated compositing on Wayland</short_desc>
          <delta_ts>2019-02-23 05:42:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Zan Dobersek">zan</assigned_to>
          <cc>bakalaka675</cc>
    
    <cc>berto</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1078604</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2015-03-19 13:16:49 -0700</bug_when>
    <thetext>[GTK] Disable accelerated compositing on Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078607</commentid>
    <comment_count>1</comment_count>
      <attachid>249056</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2015-03-19 13:19:35 -0700</bug_when>
    <thetext>Created attachment 249056
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078610</commentid>
    <comment_count>2</comment_count>
      <attachid>249056</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-03-19 13:21:50 -0700</bug_when>
    <thetext>Comment on attachment 249056
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=249056&amp;action=review

Looks good. One tiny question...

&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:66
&gt; -#if defined(GDK_WINDOWING_X11)
&gt; +#if PLATFORM(X11)
&gt;  #include &lt;gdk/gdkx.h&gt;
&gt;  #endif
&gt; +#if PLATFORM(WAYLAND)
&gt; +#include &lt;gdk/gdkwayland.h&gt;
&gt; +#endif

Can these move past the end of the first include block?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078611</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-03-19 13:22:40 -0700</bug_when>
    <thetext>Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078772</commentid>
    <comment_count>4</comment_count>
      <attachid>249056</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-03-20 00:27:46 -0700</bug_when>
    <thetext>Comment on attachment 249056
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=249056&amp;action=review

I think my patch in bug #142865 already does this, by only enabling the redirected xcomposite window for X11 target.

&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:63
&gt; -#if defined(GDK_WINDOWING_X11)
&gt; +#if PLATFORM(X11)
&gt;  #include &lt;gdk/gdkx.h&gt;
&gt;  #endif

I think this is only needed by the redireted xcomposite window, so we can make it more obvious by including it only when redirected window is enabled (assuming my patch lands at some point), since it&apos;s possible to disable it even for X11 platform.

&gt;&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:66
&gt;&gt; +#if PLATFORM(WAYLAND)
&gt;&gt; +#include &lt;gdk/gdkwayland.h&gt;
&gt;&gt; +#endif
&gt; 
&gt; Can these move past the end of the first include block?

What&apos;s gdkwayland.h needed for?

&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:342
&gt; +#if PLATFORM(WAYLAND)
&gt; +    if (GDK_IS_WAYLAND_DISPLAY(display))
&gt; +        priv-&gt;pageProxy-&gt;preferences().setAcceleratedCompositingEnabled(false);
&gt; +#endif
&gt; +#endif

Ah, I see now why gdkwayland was needed. I think we should make this more generic, since it should be possible to have AC disabled for X11 as well, if opengl is not found, for example, no? Would it be possible to do this unconditionally when TEXTURE_MAPPER_GL is disabled? And then we would disable it at configure time for wayland. If we have to keep this here, I would add a comment explaining that we disable AC in wayland because it&apos;s not yet supported, with a FIXME and a bug url.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078808</commentid>
    <comment_count>5</comment_count>
      <attachid>249056</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2015-03-20 02:18:05 -0700</bug_when>
    <thetext>Comment on attachment 249056
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=249056&amp;action=review

&gt;&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:342
&gt;&gt; +#endif
&gt; 
&gt; Ah, I see now why gdkwayland was needed. I think we should make this more generic, since it should be possible to have AC disabled for X11 as well, if opengl is not found, for example, no? Would it be possible to do this unconditionally when TEXTURE_MAPPER_GL is disabled? And then we would disable it at configure time for wayland. If we have to keep this here, I would add a comment explaining that we disable AC in wayland because it&apos;s not yet supported, with a FIXME and a bug url.

It&apos;s possible to end up with a configuration on X11 that disables the texture mapper if OpenGL isn&apos;t found. I think it shouldn&apos;t be possible as it&apos;s about time we make hardware acceleration a hard dependency. And I don&apos;t think anybody is hitting this problem at all, since AC is enabled by default and not dependent on TextureMapper, meaning we would enter AC mode with nothing to actually render the AC output, which would result in a blank screen (much like what&apos;s happening under Wayland at the moment -- see bug #142334).

Disabling TextureMapper might not work (I don&apos;t know of anyone that is covering this), and is just one more configuration option that should be removed ASAP, in parallel with switching to hardware acceleration as a hard dep. On top of that AC doesn&apos;t depend on TextureMapper being enabled. That&apos;s why I prefer disabling AC under Wayland at runtime. It would be technically correct to do this outside of the USE(TEXTURE_MAPPER_GL) guards, but like I said, these are pretty much always enabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078810</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-03-20 02:34:50 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Comment on attachment 249056 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=249056&amp;action=review
&gt; 
&gt; &gt;&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:342
&gt; &gt;&gt; +#endif
&gt; &gt; 
&gt; &gt; Ah, I see now why gdkwayland was needed. I think we should make this more generic, since it should be possible to have AC disabled for X11 as well, if opengl is not found, for example, no? Would it be possible to do this unconditionally when TEXTURE_MAPPER_GL is disabled? And then we would disable it at configure time for wayland. If we have to keep this here, I would add a comment explaining that we disable AC in wayland because it&apos;s not yet supported, with a FIXME and a bug url.
&gt; 
&gt; It&apos;s possible to end up with a configuration on X11 that disables the
&gt; texture mapper if OpenGL isn&apos;t found. I think it shouldn&apos;t be possible as
&gt; it&apos;s about time we make hardware acceleration a hard dependency. And I don&apos;t
&gt; think anybody is hitting this problem at all, since AC is enabled by default
&gt; and not dependent on TextureMapper, meaning we would enter AC mode with
&gt; nothing to actually render the AC output, which would result in a blank
&gt; screen (much like what&apos;s happening under Wayland at the moment -- see bug
&gt; #142334).
&gt; 
&gt; Disabling TextureMapper might not work (I don&apos;t know of anyone that is
&gt; covering this), and is just one more configuration option that should be
&gt; removed ASAP, in parallel with switching to hardware acceleration as a hard
&gt; dep. On top of that AC doesn&apos;t depend on TextureMapper being enabled. That&apos;s
&gt; why I prefer disabling AC under Wayland at runtime. It would be technically
&gt; correct to do this outside of the USE(TEXTURE_MAPPER_GL) guards, but like I
&gt; said, these are pretty much always enabled.

Ok, let&apos;s add the comment then :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078816</commentid>
    <comment_count>7</comment_count>
      <attachid>249101</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2015-03-20 02:50:32 -0700</bug_when>
    <thetext>Created attachment 249101
Patch

Doesn&apos;t yet deploy USE(REDIRECTED_XCOMPOSITE_WINDOW).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078821</commentid>
    <comment_count>8</comment_count>
      <attachid>249101</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-03-20 03:13:08 -0700</bug_when>
    <thetext>Comment on attachment 249101
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=249101&amp;action=review

Sure, I&apos;ll update my patch to use USE and apply on top of this one.

&gt; Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:345
&gt; +#if PLATFORM(WAYLAND)
&gt; +    // FIXME: Accelerated compositing under Wayland is not yet supported.
&gt; +    // https://bugs.webkit.org/show_bug.cgi?id=115803
&gt; +    if (GDK_IS_WAYLAND_DISPLAY(display))
&gt; +        priv-&gt;pageProxy-&gt;preferences().setAcceleratedCompositingEnabled(false);
&gt; +#endif
&gt; +#endif

We don&apos;t need to wait until the web view is realized to disable AC since we only need the display. In fact this can be problematic, because at this point the web process can be in AC mode already. Please move this to webkitWebViewBaseCreateWebPage, setting this to false in the initial settings we pass to the web process when it&apos;s created. That way we also avoid sending a message only for this. I&apos;m sorry that I didn&apos;t notice this in my previous review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1078823</commentid>
    <comment_count>9</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2015-03-20 03:38:58 -0700</bug_when>
    <thetext>Committed r181798: &lt;http://trac.webkit.org/changeset/181798&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>249056</attachid>
            <date>2015-03-19 13:19:35 -0700</date>
            <delta_ts>2015-03-20 02:50:24 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-142877-20150319132211.patch</filename>
            <type>text/plain</type>
            <size>2172</size>
            <attacher name="Zan Dobersek">zan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4MTc1NCkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE1LTAzLTE5ICBaYW4gRG9i
ZXJzZWsgIDx6ZG9iZXJzZWtAaWdhbGlhLmNvbT4KKworICAgICAgICBbR1RLXSBEaXNhYmxlIGFj
Y2VsZXJhdGVkIGNvbXBvc2l0aW5nIG9uIFdheWxhbmQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0Mjg3NworCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgICogVUlQcm9jZXNzL0FQSS9ndGsvV2ViS2l0V2ViVmll
d0Jhc2UuY3BwOgorICAgICAgICAod2Via2l0V2ViVmlld0Jhc2VSZWFsaXplKTogQXMgd2FzIGRv
bmUgaW4gdGhlIHBhc3QsIHdlIHNob3VsZCBkaXNhYmxlCisgICAgICAgIGFjY2VsZXJhdGVkIGNv
bXBvc2l0aW5nIG9uIFdheWxhbmQgdW50aWwgdGhlIHByb3BlciBzdXBwb3J0IGZvciBpdCBsYW5k
cy4KKw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Ql9WSUVXX0JBU0Uod2lkZ2V0KTsKICAgICBXZWJLaXRXZWJWaWV3QmFzZVByaXZhdGUqIHBy
aXYgPSB3ZWJWaWV3LT5wcml2OwogCi0jaWYgVVNFKFRFWFRVUkVfTUFQUEVSX0dMKSAmJiBQTEFU
Rk9STShYMTEpCisjaWYgVVNFKFRFWFRVUkVfTUFQUEVSX0dMKQogICAgIEdka0Rpc3BsYXkqIGRp
c3BsYXkgPSBnZGtfZGlzcGxheV9tYW5hZ2VyX2dldF9kZWZhdWx0X2Rpc3BsYXkoZ2RrX2Rpc3Bs
YXlfbWFuYWdlcl9nZXQoKSk7CisjaWYgUExBVEZPUk0oWDExKQogICAgIGlmIChHREtfSVNfWDEx
X0RJU1BMQVkoZGlzcGxheSkpIHsKICAgICAgICAgcHJpdi0+cmVkaXJlY3RlZFdpbmRvdyA9IFJl
ZGlyZWN0ZWRYQ29tcG9zaXRlV2luZG93OjpjcmVhdGUoCiAgICAgICAgICAgICBndGtfd2lkZ2V0
X2dldF9wYXJlbnRfd2luZG93KHdpZGdldCksCkBAIC0zMzEsNiArMzM1LDEyIEBAIHN0YXRpYyB2
b2lkIHdlYmtpdFdlYlZpZXdCYXNlUmVhbGl6ZShHdGsKICAgICB9CiAjZW5kaWYKIAorI2lmIFBM
QVRGT1JNKFdBWUxBTkQpCisgICAgaWYgKEdES19JU19XQVlMQU5EX0RJU1BMQVkoZGlzcGxheSkp
CisgICAgICAgIHByaXYtPnBhZ2VQcm94eS0+cHJlZmVyZW5jZXMoKS5zZXRBY2NlbGVyYXRlZENv
bXBvc2l0aW5nRW5hYmxlZChmYWxzZSk7CisjZW5kaWYKKyNlbmRpZgorCiAgICAgZ3RrX3dpZGdl
dF9zZXRfcmVhbGl6ZWQod2lkZ2V0LCBUUlVFKTsKIAogICAgIEd0a0FsbG9jYXRpb24gYWxsb2Nh
dGlvbjsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>249101</attachid>
            <date>2015-03-20 02:50:32 -0700</date>
            <delta_ts>2015-03-20 03:13:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-142877-20150320025308.patch</filename>
            <type>text/plain</type>
            <size>2673</size>
            <attacher name="Zan Dobersek">zan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4MTc5NSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE1LTAzLTIwICBaYW4gRG9i
ZXJzZWsgIDx6ZG9iZXJzZWtAaWdhbGlhLmNvbT4KKworICAgICAgICBbR1RLXSBEaXNhYmxlIGFj
Y2VsZXJhdGVkIGNvbXBvc2l0aW5nIG9uIFdheWxhbmQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0Mjg3NworCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgICogVUlQcm9jZXNzL0FQSS9ndGsvV2ViS2l0V2ViVmll
d0Jhc2UuY3BwOgorICAgICAgICAod2Via2l0V2ViVmlld0Jhc2VSZWFsaXplKTogQXMgd2FzIGRv
bmUgaW4gdGhlIHBhc3QsIHdlIHNob3VsZCBkaXNhYmxlCisgICAgICAgIGFjY2VsZXJhdGVkIGNv
bXBvc2l0aW5nIG9uIFdheWxhbmQgdW50aWwgdGhlIHByb3BlciBzdXBwb3J0IGZvciBpdCBsYW5k
cy4KKwogMjAxNS0wMy0xOSAgQW5keSBFc3RlcyAgPGFlc3Rlc0BhcHBsZS5jb20+CiAKICAgICAg
ICAgW0NvbnRlbn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lld0Jhc2VSZWFsaXpl
KEd0awogICAgIH0KICNlbmRpZgogCisjaWYgUExBVEZPUk0oV0FZTEFORCkKKyAgICAvLyBGSVhN
RTogQWNjZWxlcmF0ZWQgY29tcG9zaXRpbmcgdW5kZXIgV2F5bGFuZCBpcyBub3QgeWV0IHN1cHBv
cnRlZC4KKyAgICAvLyBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTE1
ODAzCisgICAgaWYgKEdES19JU19XQVlMQU5EX0RJU1BMQVkoZGlzcGxheSkpCisgICAgICAgIHBy
aXYtPnBhZ2VQcm94eS0+cHJlZmVyZW5jZXMoKS5zZXRBY2NlbGVyYXRlZENvbXBvc2l0aW5nRW5h
YmxlZChmYWxzZSk7CisjZW5kaWYKKyNlbmRpZgorCiAgICAgZ3RrX3dpZGdldF9zZXRfcmVhbGl6
ZWQod2lkZ2V0LCBUUlVFKTsKIAogICAgIEd0a0FsbG9jYXRpb24gYWxsb2NhdGlvbjsK
</data>
<flag name="review"
          id="273943"
          type_id="1"
          status="+"
          setter="cgarcia"
    />
          </attachment>
      

    </bug>

</bugzilla>