<?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>i.MX ProcessorsのトピックRe: imx8mp OpenGL without display</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2048433#M234290</link>
    <description>&lt;P&gt;so does they teach us anything? Do you have any other ideas what could be causing the issue?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 17:30:28 GMT</pubDate>
    <dc:creator>KobusGvid</dc:creator>
    <dc:date>2025-02-20T17:30:28Z</dc:date>
    <item>
      <title>imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047350#M234216</link>
      <description>&lt;P&gt;Is there a way to get OpenGL to work while running in headless mode (without connecting a display)?&lt;BR /&gt;I'm running a imx8mp with an fsl-xwayland based image. I know PGU et-al are configured correctly in my devicetree as I can get a display working when connected. If I try to run a simple gstreamer pipeline like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080 ! queue ! glupload ! glcolorconvert ! gldownload ! video/x-raw,format=RGB ! queue ! fakesink&lt;/LI-CODE&gt;&lt;P&gt;I get the following error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Got context from element 'gldownloadelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
ERROR: from element /GstPipeline:pipeline0/GstGLUploadElement:gluploadelement0: Failed to perform a wayland roundtrip&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My system is set up to use remote-x server via SSH, but even then I get nothing.&lt;/P&gt;&lt;P&gt;Is there some XDG variable to set? or is there a way to get a fake framebuffer or something?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047350#M234216</guid>
      <dc:creator>KobusGvid</dc:creator>
      <dc:date>2025-02-19T13:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047456#M234227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please try this again:&lt;/P&gt;
&lt;P&gt;$ DISPLAY=:0 gst-launch-1.0 videotestsrc ! video/x-raw(memory:NVMM),width=1920,height=1080, 'video/x-raw,width=1920, height=1080 ! xvimagesink sync=0 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 16:27:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047456#M234227</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-02-19T16:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047490#M234233</link>
      <description>&lt;P&gt;I get the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WARNING: erroneous pipeline: could not link videotestsrc0 to xvimagesink0, neither element can handle caps video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080&lt;/LI-CODE&gt;&lt;P&gt;Am I missing a kernel config?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 17:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047490#M234233</guid>
      <dc:creator>KobusGvid</dc:creator>
      <dc:date>2025-02-19T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047500#M234235</link>
      <description>&lt;P&gt;That's is not an error, your system should be running without display.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 17:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2047500#M234235</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-02-19T17:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2048433#M234290</link>
      <description>&lt;P&gt;so does they teach us anything? Do you have any other ideas what could be causing the issue?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 17:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2048433#M234290</guid>
      <dc:creator>KobusGvid</dc:creator>
      <dc:date>2025-02-20T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2056260#M234730</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi there, I&amp;nbsp;encountered the same issue on my i.MX8M board. What worked for me was adding the &lt;STRONG&gt;weston&lt;/STRONG&gt;, &lt;STRONG&gt;weston-init&lt;/STRONG&gt;, and &lt;STRONG&gt;weston-xwayland&lt;/STRONG&gt; packages to my Yocto image, which completely resolved the display errors. Additionally, I set the &lt;STRONG&gt;XDG_RUNTIME_DIR&lt;/STRONG&gt; environment variable using the following command:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;export&lt;/SPAN&gt; XDG_RUNTIME_DIR=/run/user/$(&lt;SPAN class=""&gt;id&lt;/SPAN&gt; -u)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you resolve your issue as well!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 12:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2056260#M234730</guid>
      <dc:creator>ugurkurt</dc:creator>
      <dc:date>2025-03-05T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2056407#M234739</link>
      <description>&lt;P&gt;thanks ugurkur, but that doesn't seem to help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I check `echo $XDG_RUNTIME_DIR` I get "/run/user/0", so that seems fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And according to my manifest I have all the packages you mentioned. Still I cant get OpenGL to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 15:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2056407#M234739</guid>
      <dc:creator>KobusGvid</dc:creator>
      <dc:date>2025-03-05T15:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mp OpenGL without display</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2149293#M239993</link>
      <description>&lt;P&gt;So to answer my own question for anyone else coming here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could get the GPU working and perform gstreamer glupload/glshader etc commands by:&amp;nbsp;&lt;BR /&gt;- Loading VKMS kernel module for a virtual display&lt;/P&gt;&lt;P&gt;- setting renderer=gl and disabling "g2d" in westom.ini.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these chnages weston starts up, and I have opngl commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly, I was able to verify that OpenCL works fine even when weston is offline. Unfortunately the performance of anything in OpenCV using UMat's and the T-API didn't improve vs a normal matrix. It does seem to be much faster than a simple element wise multiplication for example in C, so that's probably down to the ARM-Neon acceleration in OpenCV.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 15:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mp-OpenGL-without-display/m-p/2149293#M239993</guid>
      <dc:creator>KobusGvid</dc:creator>
      <dc:date>2025-08-08T15:22:32Z</dc:date>
    </item>
  </channel>
</rss>

