<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks for the hints on kmssink, sad it's not performant. Will consider.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Looking at the waylandsink - it doesn't like P010 pixels, and doesn't seem to want to negotiate NV12 pixels - so I'm concerned that it won't support HDR10 -</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">GST_DEBUG=way*:5 gst-launch-1.0 filesrc location=04_Tryptic_Right_UHD_HDR10_010522.mp4 ! qtdemux ! h265parse ! vaapih265dec ! video/x-raw,format=NV12 ! vaapipostproc ! waylandsink fullscreen=1</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Setting pipeline to PAUSED ...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Pipeline is PREROLLING ...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Got context from element 'vaapipostproc0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Got context from element 'vaapipostproc0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayEGL\)\ vaapidisplayegl0";</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.103692914<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.103860649<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.104163879<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.104282762<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.104418197<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.104696971<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.104808871<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.186018372<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x7f2270005b00 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:512:gst_wayland_sink_get_caps:<waylandsink0> display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Redistribute latency...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Additional debug info:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">../gst/isomp4/qtdemux.c(6545): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">streaming stopped, reason not-negotiated (-4)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ERROR: pipeline doesn't want to preroll.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Setting pipeline to NULL ...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing pipeline ...</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(59,35,34);background-color:rgb(215,211,183)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0:00:00.190220809<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(19,147,159)"> 6503</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> 0x5562d2c0c230 </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(159,159,159)">DEBUG<span class="gmail-Apple-converted-space"> </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>waylandsink gstwaylandsink.c:286:gst_wayland_sink_finalize:<waylandsink0> Finalizing the sink..</span></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 30, 2022 at 4:50 AM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 29 mars 2022 20 h 20, Bill Hofmann <<a href="mailto:bill.hofmann@gmail.com" target="_blank">bill.hofmann@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks for the very helpful feedback. I am able to connect to kmssink, and after specifying connector-id and (the correct, I think) plane-id, I get video out from the non-X view. Defaults don't work there, but that's manageable. Clearly not yet HDR (haven't made changes to kmssink yet). </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">HOWEVER, performance is exceptionally poor - whereas vaapisink is able to keep up with 4k30 P010 without a problem (in a window on the desktop), kmssink seems to run at about 15fps. As someone relatively new to this whole process, what's the best way to debug these performance issues? Looking at debug all the way up to 9, there isn't (of course) any helpful logged info at least that's helpful to me. I'll note autovideosink also has performance issues (but again isn't full screen or non-X).</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">There is poorly implemented vsync in kmssink, combined with DRM emulation of the legacy API kmssink uses, the frame rate get halved. The only solution I have for now is to comment out the legacy vsync code, the emulation will sync already.</div><div dir="auto"><br></div><div dir="auto">The use a queue before the sink, ensure the byte size is large enough for 4K.</div><div dir="auto"><br></div><div dir="auto">Long term solution is to move on to atomic API. There is a MR for that, but last time I checked it was of poor quality and the author wasn't replying.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">A little more context - this is an "embedded" Linux situation - will never be other than full screen video (likely no UI), so there is no need for interop with desktop functionality.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I would really like to see this type of use cases improve. This is common in NXP and Xilinx SDK, though they hold downstream patches to workaround this.</div><div dir="auto"><br></div><div dir="auto">Meanwhile, be aware that Weston + waylandsink works better, Weston automatically (and smartly) use HW layer. The limitation is that it only works in combination of a GPU, it's not supported by the pixman backend (yet?).</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">-Bill</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 27, 2022 at 6:05 AM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" rel="noreferrer" target="_blank">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Le sam. 26 mars 2022 21 h 45, Bill Hofmann via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_default" style="font-size:1rem;color:rgb(49,49,49);word-spacing:1px;font-family:verdana,sans-serif" dir="auto"><br></div><div class="gmail_default" style="color:rgb(49,49,49);word-spacing:1px;font-family:verdana,sans-serif" dir="auto"><div class="gmail_default"><div class="gmail_default" style="font-size:1rem">So. What's the next step here? Is this a big gap in kmssink? Is there another sink I should be trying?</div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">There is no mainline HDR10 support on Linux outside of vendors BSP (NXP to note one vendor). Vendors seems to want to compete on this feature, and don't really work very hard to come up with generic implementation.</div><div dir="auto"><br></div><div dir="auto">That being said, if the kmssink is sufficient for your use case, then its the smallest way forward, since you don't need a new Wayland protocol and compositors support. What I'm uncertain though is if this will work with the fact the kmssink code base have aged and isn't using the newest DRM API (atomic kms). But other then that, if you have done that in the past, this is plain C and mapping the caps field to the DRM properties is all you need. Unlike HDR10+, the metadata does not change every frames.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto">p.s. vaapipostproc have a HDR to SDR converter to help improve SDR output quality</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif">Bill Hofmann</span><br></div><div><span style="color:rgb(102,102,102);font-family:verdana,sans-serif">+1 510 387-0952</span><br></div></div></div></div></div></div>
</blockquote></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif">Bill Hofmann</span><br></div><div><span style="color:rgb(102,102,102);font-family:verdana,sans-serif">+1 510 387-0952</span><br></div></div></div></div></div></div>