[Nouveau] [Bug 104441] New: drm/nouveau: drm_hwcomposer cannot get rotation property/does not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 1 23:45:51 UTC 2018


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

            Bug ID: 104441
           Summary: drm/nouveau: drm_hwcomposer cannot get rotation
                    property/does not work
           Product: xorg
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau at lists.freedesktop.org
          Reporter: issor.oruam at gmail.com
        QA Contact: xorg-team at lists.x.org

Created attachment 136475
  --> https://bugs.freedesktop.org/attachment.cgi?id=136475&action=edit
logcat showing hwc errors

Hi,

while testing drm_hwcomposer (hwc v1),

having enabled atomic ioctl for drm/nouveau a series of properties can be
enquired, but rotation property returns an error in drmplane.cpp:123

01-02 00:05:42.626  2300  2300 E hwc-drm-plane: Could not get rotation property
01-02 00:05:42.626  2300  2300 I hwc-drm-plane: Could not get alpha property

Since ALOGE() is used, an error is signalled,
could you please check why rotation property not available and why
drm_hwcomposer is not working with drm/nouveau?

01-02 00:05:42.628  2300  2300 E hwc-drm-resources: Could not find a suitable
encoder/crtc for display 2
01-02 00:05:42.628  2300  2300 E hwc-drm-resources: Failed CreateDisplayPipe 49
with -19
01-02 00:05:42.628  2300  2300 E hwcomposer-drm: Can't initialize Drm object
-19
01-02 00:05:42.629  2300  2300 E SurfaceFlinger: composer device failed to
initialize (No such device)
01-02 00:05:42.629  2300  2300 E SurfaceFlinger: ERROR: failed to open
framebuffer (Invalid argument), aborting
--------- beginning of crash
01-02 00:05:42.629  2300  2300 F libc    : Fatal signal 6 (SIGABRT), code -6 in
tid 2300 (surfaceflinger), pid 2300 (surfaceflinger)


Another question is about alpha property,
is it correct/safe to assume that being only logged as info, with ALOGI()
it is not preventing drm_hwcomposer from working properly?

Full logcat attached
Mauro

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180101/2fddf77e/attachment.html>


More information about the Nouveau mailing list