Why does Java (XWayland / Weston) resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)
ppaalanen at gmail.com
Thu Jun 8 13:28:10 UTC 2023
On Thu, 8 Jun 2023 14:49:37 +0200
Martin Petzold <martin.petzold at tavla.de> wrote:
> Am 08.06.23 um 14:45 schrieb Martin Petzold:
> > Hi Pekka,
> > Am 08.06.23 um 14:37 schrieb Pekka Paalanen:
> >> On Thu, 8 Jun 2023 14:21:31 +0200
> >> Martin Petzold <martin.petzold at tavla.de> wrote:
> >>> I am fixed to this Kernel, will be hard to get Weston 12 running.
> >> Hi,
> >> why would you say that? Did you try? Or do you mean that building
> >> Weston and a few dependencies (not kernel, not Mesa) from source is too
> >> much?
> > We are compiling our own kernel version for embedded i.MX8. Also the
> > Debian is our custom build and we are able to adjust to other packages
> > or compile parts. We know how to do that. However, we are fixed to
> > 5.10.52 for several reasons. And I need to cross-compile Weston then,
> > which is maybe challenging?
Upstream Weston has very little to no dependencies on kernel version.
> > I can try to compile on device and test. But which dependencies also
> > need to be compiled then? XWayland? Wayland? Libraries?
wayland-protocols, wayland, libdrm. Those are the most likely
dependencies. All really tiny and safe to upgrade from upstream version
to upstream version.
Upgrading Xwayland alone could be a try.
Xwayland has no configuration at all.
xrandr does work read-only with Xwayland. It can report the monitor
layout, but it cannot modify it. I was interested in what it reports
after that unplug, not as a workaround.
> btw. we are using a Weston 9 package from NXP and there may be important
> fixes for our i.MX8 platform in there.
Oh. We cannot support modified Weston, sorry. Significant vendor
modifications tend to break things, and we have no idea what they do or
why. Maybe this problem is not because of that, maybe it is, hard to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel