https://bugs.kde.org/show_bug.cgi?id=513156

            Bug ID: 513156
           Summary: Display rotation and resolution names are wrong with
                    devices with panel orientation quirks.
    Classification: Plasma
           Product: kwin
      Version First 6.5.3
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Just take a device with panel orientation quirks
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/drm_panel_orientation_quirks.c?h=v6.18
and start KDE.

For example with a rightside_up device the display is rotated -90º.

If we rely in the accelerometer going to laptop mode the orientation is correct
according to the accelerometer values we get and we are fine with auto-rotation
but just when we return to laptop mode the display get rotated -90º.

If we set rotation manually the options are also bad, so -90º is indeed called
normal.

Also the resolution values are swapped and we only get few possible resolutions
to select and not all the ones we could use. For example a native resolution of
1920x1200 is shown as 1200x1920.

The resolution issue need to correct the resolutions swap, also filter out when
a resolution is not one we should select, for example one that makes the panel
to have black bands and to retrieve all the logical possible resolutions.

This issues were solved time ago in gnome, I don't know if a generic way to
deal with this issues should be done because now we are going to have the same
issues  to solve also with kmscon.

Forget to mention that I have done the orientation tests with Wayland but X11
should behave similar, perhaps the resolution values are not swapped, if I test
I comment it but I think the effort only worth for Wayland.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to