[Bug 98148] New: applying rotate-90/270 transform properties fails with "Invalid argument" on Skylake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 7 15:14:25 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98148

            Bug ID: 98148
           Summary: applying rotate-90/270 transform properties fails with
                    "Invalid argument" on Skylake
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: carlosg at gnome.org
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Mutter/gnome-shell on wayland implement output rotation through DRM properties,
this method is preferred over the fallback code that performs output rotation
through an intermediate offscreen framebuffer.

This however seems to fail on Skylake hardware for rotate-90 and rotate-270,
the drmModeObjectSetProperty() call at [1] trying to set the "rotation"
property fails with "Invalid argument" despite the two modes being previously
obtained by parsing the properties at [2].

I filed https://bugzilla.gnome.org/show_bug.cgi?id=772512 to mutter in order to
handle this more gracefully, there still seems to be something fishy about the
"Invalid argument" errors.

[1]
https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-monitor-manager-kms.c#n1360
[2]
https://git.gnome.org/browse/mutter/tree/src/backends/native/meta-monitor-manager-kms.c#n564

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20161007/3c93143c/attachment-0001.html>


More information about the intel-gfx-bugs mailing list