<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:SimSun;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        margin:0cm;
        font-size:12.0pt;
        font-family:SimSun;}
span.HTML
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F \5B57\7B26";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:SimSun;}
span.line
        {mso-style-name:line;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="ZH-CN" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Excuse me everyone. I have a question about use glimagesink.</span><span lang="EN-US" style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">gst-launch-1.0 videotestsrc ! glimagesink<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">I use rk3399 sbc (Linux opi4 5.15.5-rockchip64 #trunk SMP PREEMPT Sun Nov 28 03:22:48 CST 2021 aarch64 aarch64 aarch64 GNU/Linux) test this no video show and crazy print
</span><code><span lang="EN-US" style="font-size:12.0pt">PIPE_FORMAT_B10G10R10A2_UNORM</span></code><span lang="EN-US"> on build gst 1.19.3 source code, but change gst version to 1.18.5 deb package print
</span><code><span lang="EN-US" style="font-size:12.0pt">PIPE_FORMAT_B10G10R10X2_UNORM.</span></code><code><b><span lang="EN-US" style="font-family:DengXian"><o:p></o:p></span></b></code></p>
<p><span lang="EN-US">I check the mesa source code and maybe found print in there:
<a href="https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/panfrost/util/pan_lower_framebuffer.c#L453">
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/panfrost/util/pan_lower_framebuffer.c#L453</a></span></p>
<p><span lang="EN-US">Yes, panfrost isn't support <code>PIPE_FORMAT_B10G10R10A2_UNORM now</code>.</span></p>
<p><span lang="EN-US">I watch gst 1.19.3 source code about gl have a few days but no result. Someone known how solve it ?<code><o:p></o:p></code></span></p>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">drq@opi4:~$ gst-launch-1.0 videotestsrc ! glimagesink -v</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">Setting pipeline to PAUSED ...</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">Pipeline is PREROLLING ...</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:sink: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">PIPE_FORMAT_B10G10R10A2_UNORM</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">^C</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<pre><span class="line"><span lang="EN-US" style="color:#44546A">drq@opi4:~$ ^C</span></span><span lang="EN-US" style="color:#44546A"><o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>