Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-12 Thread John Cox
>> Raspberry Pi displaying video with subtitles or other controls. I was >> thinking of the fullscreen case but if zero copy video can be made to >> work to the main desktop then that would even better. >> >> If displaying 4k video the Pi does not have enough bandwidth left for a >> single frame c

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Simon Ser
On Wednesday, August 11th, 2021 at 13:40, John Cox wrote: > Raspberry Pi displaying video with subtitles or other controls. I was > thinking of the fullscreen case but if zero copy video can be made to > work to the main desktop then that would even better. > > If displaying 4k video the Pi does

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
Hi >On Wednesday, August 11th, 2021 at 11:43, Daniel Vetter >wrote: > >> For wayland this is still in the works, so might be good if you check >> there that your use-case is properly supported. Protocol MR is here: >> >> https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/6

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Simon Ser
On Wednesday, August 11th, 2021 at 12:19, John Cox wrote: > That MR seems to be done so is probably an inappropriate > place to ask - where would you recommend as an appropriate forum? For Wayland related questions, you can ask on IRC or on the wayland-devel mailing list.

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Simon Ser
On Wednesday, August 11th, 2021 at 11:43, Daniel Vetter wrote: > For wayland this is still in the works, so might be good if you check > there that your use-case is properly supported. Protocol MR is here: > > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/67 The clien

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
>On Tue, Aug 10, 2021 at 05:57:31PM +0100, John Cox wrote: >> Hi all >> >> I am on a Raspberry Pi, I want to display fullscreen video and have a >> couple of overlay planes to display controls / subtitles etc. The h/w >> can certainly do this. I need to be able to do this from a starting >> point

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 05:57:31PM +0100, John Cox wrote: > Hi all > > I am on a Raspberry Pi, I want to display fullscreen video and have a > couple of overlay planes to display controls / subtitles etc. The h/w > can certainly do this. I need to be able to do this from a starting > point where

How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-10 Thread John Cox
Hi all I am on a Raspberry Pi, I want to display fullscreen video and have a couple of overlay planes to display controls / subtitles etc. The h/w can certainly do this. I need to be able to do this from a starting point where X is running. I can successfully find X's output & crtc and grab that