glimagesink PIPE_FORMAT_B10G10R10A2_UNORM

Nicolas Dufresne nicolas at ndufresne.ca
Fri Dec 3 14:23:23 UTC 2021


In case anyone encounter this, reply from the issue tracker:

> Big thanks for your reply. I finished send the mail but It's worked when I
upgrade mesa from 21.2.2 to 21.3.0~rc5-1 by hand. I am very unexpected the
problem happed on Mesa because test glmark2 everything normal. And I don't know
how cancel the mail, Please ignore if you see. I am sorry to disturb you.

I also wonder if forcing a GL config would have allowed to workaround this:

GST_GL_CONFIG="gst-gl-context-config,red-size=8,green-size=8,blue-size=8,alpha-size=8"

Le jeudi 02 décembre 2021 à 02:03 +0000, d rq via gstreamer-devel a écrit :
> Excuse me everyone. I have a question about use glimagesink.
>  
> gst-launch-1.0 videotestsrc ! glimagesink
>  
> 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 printPIPE_FORMAT_B10G10R10A2_UNORM on build gst 1.19.3 source code,
> but change gst version to 1.18.5 deb package
> printPIPE_FORMAT_B10G10R10X2_UNORM.
> I check the mesa source code and maybe found print in
> there:https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/panfrost/util/pan_lower_framebuffer.c#L453
> Yes, panfrost isn't support PIPE_FORMAT_B10G10R10A2_UNORM now.
> I watch gst 1.19.3 source code about gl have a few days but no result. Someone
> known how solve it ?
> drq at opi4:~$ gst-launch-1.0 videotestsrc ! glimagesink -v
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Got context from element 'sink': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
> /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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstP
> roxyPad: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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gl
> uploadelement0.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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElem
> ent: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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glc
> olorbalance0.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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.G
> stPad: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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glc
> olorbalance0.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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElem
> ent: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
> /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gl
> uploadelement0.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
> /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
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> PIPE_FORMAT_B10G10R10A2_UNORM
> ^C
> drq at opi4:~$ ^C
>  



More information about the gstreamer-devel mailing list