<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GPU Rendering (EGL) fails for Chromium on i.MX8M Plus in i.MX Graphics</title>
    <link>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1721984#M453</link>
    <description>&lt;P&gt;This is how I am starting Weston as a user (I also tried with root):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[Unit]&lt;/P&gt;&lt;P&gt;RequiresMountsFor=/run&lt;/P&gt;&lt;P&gt;After=dbus.socket systemd-user-sessions.service&lt;BR /&gt;Wants=dbus.socket&lt;/P&gt;&lt;P&gt;[Service]&lt;/P&gt;&lt;P&gt;PAMName=login&lt;/P&gt;&lt;P&gt;Environment=DISPLAY=:0&lt;/P&gt;&lt;P&gt;ExecStart=/usr/bin/weston-launch --tty /dev/tty7 --user myuser --&lt;/P&gt;&lt;P&gt;IgnoreSIGPIPE=no&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=default.target&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 13 Sep 2023 10:59:53 GMT</pubDate>
    <dc:creator>richardnardy</dc:creator>
    <dc:date>2023-09-13T10:59:53Z</dc:date>
    <item>
      <title>GPU Rendering (EGL) fails for Chromium on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1721949#M452</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we use a Variscite DART-MX8M-PLUS (NXP i.MX 8M Plus) on our Custom Board.&lt;/P&gt;&lt;P&gt;We have our own OS build based on Debian Bullseye and with Variscite / NXP Kernel 5.10.52 and related driver packages installed. We have Weston 9 build with NXP patches (provided by Variscite [1]) and XWayland from Bullseye main installed. Everything is working well (even GStreamer and VPU), however we need to run JxBrowser including Chromium (116.0.5845.140) and GPU rendering (EGL) fails. Debug output below, what is going wrong?&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://github.com/varigit/debian-var/tree/debian_bullseye_var01/variscite/deb" target="_blank"&gt;https://github.com/varigit/debian-var/tree/debian_bullseye_var01/variscite/deb&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;$ sudo find / -name libEGL.so&lt;BR /&gt;/usr/lib/aarch64-linux-gnu/libEGL.so&lt;BR /&gt;/usr/lib/aarch64-linux-gnu/vivante/libEGL.so&lt;BR /&gt;/path/to/chromium/engine/libEGL.so&lt;BR /&gt;&lt;BR /&gt;22:04:53.984 DEBUG Verifying /path/to/chromium/chromium/engine/libEGL.so...&lt;BR /&gt;22:04:53.984 DEBUG Verifying /path/to/chromium/chromium/engine/libEGL.so... [OK]&lt;BR /&gt;22:04:54.554 DEBUG libEGL.so...&lt;BR /&gt;22:04:57.208 DEBUG [Chromium] [121760:121760:0727/220457.207932:ERROR:gl_surface_egl.cc(831)] EGL Driver message (Critical) eglInitialize: Could not make the initialization pbuffer current.&lt;BR /&gt;22:04:57.209 DEBUG [Chromium] [121760:121760:0727/220457.209368:ERROR:gl_surface_egl.cc(1353)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type&lt;BR /&gt;22:04:57.214 DEBUG [Chromium] [121760:121760:0727/220457.214546:ERROR:gl_surface_egl.cc(831)] EGL Driver message (Critical) eglInitialize: Cannot create an OpenGL ES platform on GLX without the GLX_ARB_create_context extension.&lt;BR /&gt;22:04:57.215 DEBUG [Chromium] [121760:121760:0727/220457.215409:ERROR:gl_surface_egl.cc(1353)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED&lt;BR /&gt;22:04:57.216 DEBUG [Chromium] [121760:121760:0727/220457.216000:ERROR:gl_ozone_egl.cc(23)] GLSurfaceEGL::InitializeOneOff failed.&lt;BR /&gt;22:04:58.001 DEBUG [Chromium] [121785:121785:0727/220458.000481:ERROR:gl_surface_egl.cc(831)] EGL Driver message (Critical) eglInitialize: Could not make the initialization pbuffer current.&lt;BR /&gt;22:04:58.002 DEBUG [Chromium] [121785:121785:0727/220458.000516:ERROR:gl_surface_egl.cc(1353)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type&lt;BR /&gt;22:04:58.006 DEBUG [Chromium] [121785:121785:0727/220458.006168:ERROR:gl_surface_egl.cc(831)] EGL Driver message (Critical) eglInitialize: Cannot create an OpenGL ES platform on GLX without the GLX_ARB_create_context extension.&lt;BR /&gt;22:04:58.007 DEBUG [Chromium] [121785:121785:0727/220458.006228:ERROR:gl_surface_egl.cc(1353)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED&lt;BR /&gt;22:04:58.008 DEBUG [Chromium] [121785:121785:0727/220458.006257:ERROR:gl_ozone_egl.cc(23)] GLSurfaceEGL::InitializeOneOff failed.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 13 Sep 2023 10:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1721949#M452</guid>
      <dc:creator>richardnardy</dc:creator>
      <dc:date>2023-09-13T10:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: GPU Rendering (EGL) fails for Chromium on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1721984#M453</link>
      <description>&lt;P&gt;This is how I am starting Weston as a user (I also tried with root):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[Unit]&lt;/P&gt;&lt;P&gt;RequiresMountsFor=/run&lt;/P&gt;&lt;P&gt;After=dbus.socket systemd-user-sessions.service&lt;BR /&gt;Wants=dbus.socket&lt;/P&gt;&lt;P&gt;[Service]&lt;/P&gt;&lt;P&gt;PAMName=login&lt;/P&gt;&lt;P&gt;Environment=DISPLAY=:0&lt;/P&gt;&lt;P&gt;ExecStart=/usr/bin/weston-launch --tty /dev/tty7 --user myuser --&lt;/P&gt;&lt;P&gt;IgnoreSIGPIPE=no&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=default.target&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Sep 2023 10:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1721984#M453</guid>
      <dc:creator>richardnardy</dc:creator>
      <dc:date>2023-09-13T10:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: GPU Rendering (EGL) fails for Chromium on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1722249#M454</link>
      <description>&lt;P&gt;Where can I find the NXP Chromium patches for&amp;nbsp;&lt;SPAN&gt;DART-MX8M-PLUS (NXP i.MX 8M Plus) running 5.10.52 or 6.1.y kernel?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 17:56:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1722249#M454</guid>
      <dc:creator>richardnardy</dc:creator>
      <dc:date>2023-09-13T17:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: GPU Rendering (EGL) fails for Chromium on i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1729748#M463</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189364"&gt;@richardnardy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well&lt;/P&gt;
&lt;P&gt;Q: Where can I find the NXP Chromium patches for DART-MX8M-PLUS (NXP i.MX 8M Plus) running 5.10.52 or 6.1.y kernel?&lt;BR /&gt;=&amp;gt; We can build the Chromium into the Yocto easily. We can reference to UG of "i.MX_Yocto_Project_User's_Guide.pdf" of 6.1.1 to add the chromium into the system.&lt;/P&gt;
&lt;P&gt;5.6.5 Chromium Browser on XWayland, and Wayland&lt;BR /&gt;The Yocto Project community has Chromium recipes for the Wayland version Chromium Browser for i.MX SoC&lt;BR /&gt;with GPU hardware. NXP does not support or test the patches from the community. This section describes how&lt;BR /&gt;to integrate Chromium into your rootfs and enable hardware accelerated rendering of WebGL. The Chromium&lt;BR /&gt;browser requires additional layers such as meta-browser added in the imx-release-setup.sh script&lt;BR /&gt;automatically.&lt;BR /&gt;In local.conf for XWayland or Wayland, add Chromium into your image.&lt;BR /&gt;CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland"&lt;/P&gt;
&lt;P&gt;Q: About the issue run JxBrowser including Chromium (116.0.5845.140) and GPU rendering (EGL) fails.&lt;BR /&gt;=&amp;gt;Can you try to use 6.1.1 BSP to test it? Customers can build Chromium into BSP following the previous introduction. I also have built the Chromium into the 6.1.1BSP. So, you can get it form&amp;nbsp;&lt;A href="https://nxp1-my.sharepoint.com/:u:/g/personal/yuhao_ning_nxp_com/Eee8mIG5apFHnbHHntPs5fQBYoH3_Gld1Y-OYurgsE1jmw?e=Ki22HY" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 12:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Graphics/GPU-Rendering-EGL-fails-for-Chromium-on-i-MX8M-Plus/m-p/1729748#M463</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-09-26T12:13:17Z</dc:date>
    </item>
  </channel>
</rss>

