Use hardware sprite plane as overlay
Cao Duc Quan
caoducquan at gmail.com
Fri Jan 1 18:06:45 PST 2016
But I could run it!
There is a trick for this: first I stop xorg by running this command:
service xserver-nodm stop
Than I run my tool
./modetest_x11 -s 9:XR24 -P 9:1280x720 at XR24
After that I start xorg again
service xserver-nodm start
And it seems xserver start successful. And I have both xserver render to
primary buffer and modetest render to Sprite Plane
It is a bug in kernel ?
On Fri, Jan 1, 2016 at 5:04 AM, Jasper St. Pierre <jstpierre at mecheye.net>
> You can't. The only client that is allowed to do modesets, either on
> planes or on the primary buffer, is the DRM master, which in this case
> is the Xorg server. It would be much easier and better to use Wayland
> On Thu, Dec 31, 2015 at 12:16 AM, Cao Duc Quan <caoducquan at gmail.com>
> > Thanks Jasper.
> > I plan to hook to QT embedded to make it use sprite plane buffer.
> > I could make a tool (customized from modetest.c of libdrm) to render to
> > sprite plane which are running in xorg.
> > Thanks and Happy New Year.
> > cdq
> > On Wed, Dec 30, 2015 at 2:52 AM, Jasper St. Pierre <
> jstpierre at mecheye.net>
> > wrote:
> >> The only currently supported mechanism for using hardware overlays is
> >> video planes through VDPAU / VA-API.
> >> Xorg does not have any other supported mechanism for using hardware
> >> overlays. Try looking at Wayland, which can have support for hardware
> >> planes.
> >> On Fri, Dec 25, 2015 at 8:29 AM, Cao Duc Quan <caoducquan at gmail.com>
> >> wrote:
> >> > Dear all,
> >> > I am studying the Graphics stack in linux.
> >> > I found that the Intel Baytrail E38xx support 2 pipe display and each
> >> > pipe
> >> > has
> >> > - 1 x primary plane
> >> > - 2 x sprite plane
> >> > - 1 x cursor plane
> >> >
> >> > Is it possible to use sprite plane as overlay plane which means we can
> >> > render UI to sprite plane (for example QT could render Widget to
> >> > plane) ? If so, could any one point me to some a sample code or any
> >> > documents ?
> >> >
> >> > Many Thanks,
> >> > --
> >> > Quan Cao
> >> > 0976574864
> >> >
> >> > _______________________________________________
> >> > xorg-devel at lists.x.org: X.Org development
> >> > Archives: http://lists.x.org/archives/xorg-devel
> >> > Info: http://lists.x.org/mailman/listinfo/xorg-devel
> >> --
> >> Jasper
> > --
> > Quan Cao
> > 0976574864
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg-devel