Comment 2 for bug 1905228

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: DIsplay Rotates to Portrait Mode when Certain Apps Open

Interestingly Xwayland thinks the screen is portrait:

XWAYLAND2 connected 2160x3840+0+0 (0x3d3) normal (normal left inverted right x axis y axis) 190mm x 340mm

but the BIOS and Xorg think it is landscape:

[ 0.495406] efifb: mode is 3840x2160x32, linelength=15360, pages=1

[ 52.062] (II) modeset(0): Modeline "3840x2160"x60.0 533.25 3840 3888 3920 4000 2160 2163 2168 2222 -hsync -vsync (133.3 kHz eP)

so that makes me think it's just mutter/gnome-shell giving the wrong info to Xwayland and certain apps.

Do you find the same bug in Xorg sessions? Try logging into 'Ubuntu' instead of 'Ubuntu on Wayland'.