<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello  everyone,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need to rotate  my screen 90 degrees and back to normal in xwayland on an iMX8 running gatesgarth distro.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone know if xrandr can be coerced/modified to make rotations work?  I’m in the middle of xserver, libX11, libxrandr and xrandr source.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How would a client communicating to Xwayland as the xserver request a rotation?  Does Xwayland listen to a unix socket and pass commands on to the kernel?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(Thanks Hans,)</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-dwd</p>
<p class="MsoNormal">                                                                        
<b><span style="color:red">David Deyo</span><o:p></o:p></b></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:.15in;border-collapse:collapse">
<tbody>
<tr>
<td width="150" valign="top" style="width:112.5pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><img width="170" height="82" style="width:1.7708in;height:.8541in" id="Picture_x0020_3" src="cid:image002.png@01D78535.F4D09430"><span style="font-size:1.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
</td>
<td width="474" valign="top" style="width:355.5pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Times New Roman",serif"> </span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00;text-transform:uppercase"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:10.5pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#121145">Firmware Engineer
<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:10.5pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00;text-transform:uppercase">TPI- Tire Profiles<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:10.5pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00">O:
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif">214-396-3063<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.5pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00">E:</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#121145">  
</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif"><a href="mailto:ddeyo@tireprofiles.com">ddeyo@tireprofiles.com</a></span><span style="font-size:9.0pt;color:#121145">
</span><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00">| W:
</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#121145"> </span><a href="http://www.tireprofiles.com/" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0563C1">www.tireprofiles.com</span></a><span style="font-size:9.0pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.5pt"><b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#F52D00">A:</span></b><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#121145"> 3010 Story Rd W, Irving, TX 75038</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:hdegoede@redhat.com">Hans de Goede</a><br>
<b>Sent: </b>Friday, July 30, 2021 11:16 AM<br>
<b>To: </b><a href="mailto:ddeyo@tireprofiles.com">David Deyo</a><br>
<b>Subject: </b>Re: xrandr and xwayland</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.<br>
<br>
<br>
Hi,<br>
<br>
On 7/30/21 4:24 PM, David Deyo wrote:<br>
> Hello Hans,<br>
><br>
><br>
><br>
> Please help.<br>
><br>
><br>
><br>
> I found your name in a git log.<br>
><br>
><br>
><br>
> Do you know if xrandr is expected to work in xwayland?  We really need to find some way to make it work.<br>
<br>
xrandr is not really expected to work in xwayland, monitor resolution<br>
configuration is done by the compositor under Wayland, not through xrandr.<br>
<br>
There is some emulation for when apps create a single fullscreen window<br>
and then call xrandr to change the resolution, in that case the apps<br>
window will be sized to the requested resoution and Xwayland will<br>
scale the window to fill the entire monitor. This does rely on<br>
the compositor implementing the viewport extension.<br>
<br>
I hope this helps, if you need more info please send any<br>
follow up emails to wayland-devel@lists.freedesktop.org<br>
so that the entire Wayland community sees the email and can<br>
help you.<br>
<br>
Regards,<br>
<br>
Hans<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>