<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 21, 2020 at 7:35 PM Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</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">On Tue, 21 Jan 2020 18:54:51 +0530<br>
uday kiran pichika <<a href="mailto:udaykiran.pichika@gmail.com" target="_blank">udaykiran.pichika@gmail.com</a>> wrote:<br>
<br>
> Thanks Pekka for your reply.<br>
> <br>
> I work for an OEM company. We have given the support of Integer Scaling<br>
> though NN in Windows environment though System Settings.<br>
> So we are providing the similar support even in Linux environment as well.<br>
> This is the reason, I have chosen Weston compositor as a POC for Integer<br>
> Scaling through NN.<br>
<br>
Hi,<br>
<br>
alright.<br>
<br>
> And our Display hardware supports the Scaling with multiple scaling<br>
> filters. If we make the modifications to do the support with DRM planes, we<br>
> should consider the fallback option as well. So the default fallback is GPU<br>
> composition.<br>
<br>
Yes, indeed. Are you aware of the on-going work in the kernel or<br>
perhaps participating in it?<br>
<br>
<a href="https://patchwork.freedesktop.org/series/68378/" rel="noreferrer" target="_blank">https://patchwork.freedesktop.org/series/68378/</a> is one revision of it,<br>
I'm not sure if it is still the latest.<br></blockquote><div><br></div><div>I'm aware of these patches and some enhancements are being made on top of these. Changes are under validation. It may take some more time to float the patches on top of these.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> In order to provide the support to GPU composition, have started exploring<br>
> this Integer Scaling functionality in GL composition.<br>
> <br>
> As per your comments, App can't inform to the compositor about the Integer<br>
> Scaling for a specific window until and unless we should add an extra<br>
> variable or some request to the surface. I think this is very bad idea of<br>
> adding.<br>
<br>
Right. Expecting a compositor to show your window unchanged is somewhat<br>
reasonable, but adding protocol to control the details of how a<br>
compositor should composite your surfaces becomes awkward fast on the<br>
usual desktop.<br>
<br>
I say somewhat reasonable, because things like fractional scaling,<br>
referring to HiDPI support with non-integer scaling factors, is a thing<br>
and happens mostly behind the client's back.<br></blockquote><div><br></div><div>When referrring to fractional scaling for HiDPI screens, i think wayland is already providing the support as per the below link. Not very sure whether this is implemented in weston compositor. </div><div><a href="https://wiki.archlinux.org/index.php/HiDPI">https://wiki.archlinux.org/index.php/HiDPI</a></div><div><br></div><div>can you please elaborate on the below line from your comment "happens mostly behind the client's back" ? do you mean that the client does not aware how the scaling is happening down the line ?</div><div>  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> can you please suggest, any other compositor which we can chose for the<br>
> desktop functionality ?<br>
<br>
Pick any desktop environment on Linux that uses Wayland under the hood,<br>
and it will have its own compositor.<br>
<br>
Weston is fine if you want to experiment with new technology, if you<br>
need to prove a new kernel UAPI, or if you have an embedded system use<br>
case. But if you aim for end users' desktops, then Weston does not<br>
provide for that.<br></blockquote><div><br></div><div>Sure Pekka. I will check for other compositor which can helpful in the desktop environment. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div></div>