Hello everyone, I need to rotate my screen 90 degrees and back to normal in xwayland on an iMX8 running gatesgarth distro.
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. 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? (Thanks Hans,) -dwd David Deyo [cid:image002.png@01D78535.F4D09430] Firmware Engineer TPI- Tire Profiles O: 214-396-3063 E: dd...@tireprofiles.com<mailto:dd...@tireprofiles.com> | W: www.tireprofiles.com<http://www.tireprofiles.com/> A: 3010 Story Rd W, Irving, TX 75038 From: Hans de Goede<mailto:hdego...@redhat.com> Sent: Friday, July 30, 2021 11:16 AM To: David Deyo<mailto:dd...@tireprofiles.com> Subject: Re: xrandr and xwayland 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. Hi, On 7/30/21 4:24 PM, David Deyo wrote: > Hello Hans, > > > > Please help. > > > > I found your name in a git log. > > > > Do you know if xrandr is expected to work in xwayland? We really need to > find some way to make it work. xrandr is not really expected to work in xwayland, monitor resolution configuration is done by the compositor under Wayland, not through xrandr. There is some emulation for when apps create a single fullscreen window and then call xrandr to change the resolution, in that case the apps window will be sized to the requested resoution and Xwayland will scale the window to fill the entire monitor. This does rely on the compositor implementing the viewport extension. I hope this helps, if you need more info please send any follow up emails to wayland-devel@lists.freedesktop.org so that the entire Wayland community sees the email and can help you. Regards, Hans