Can kmssink run with x11 or wayland which is based on drm/kms also?

Jacob Chen jacobchen110 at gmail.com
Thu Jul 13 10:11:45 UTC 2017


2017-07-13 13:32 GMT+08:00 jared Hu <jared.hu at nxp.com>:
> Hi Nicolas,
>
> I found kmssink can work with wayland by using control-node
> "/dev/dri/controlD64". What's the difference between controlD64 and cardx?
>
>

DRM don't allow multi user.
It's a trick that you can use controlD64, because drm don't check
permissions for controlD64.
It have been fixed in kernel 4.12.

You will also meet the double vsync problem when runing kmssink on
wayland, hope it could help you.
https://github.com/rockchip-linux/meta-rockchip-extra/blob/master/meta-demo/meta-player-qt/linux-rockchip/linux-0017-drm-skip-wait-on-vblank-for-set-plane.patch


waylandsink in gstreamer 1.12 have support dmabuf, and a collabora guy
have make weston support drm-atomic  .
I would recommend you to use waylandsink for your project.

>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-kmssink-run-with-x11-or-wayland-which-is-based-on-drm-kms-also-tp4683783p4683798.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list