From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 104441] New: drm/nouveau: drm_hwcomposer cannot get rotation property/does not work Date: Mon, 01 Jan 2018 23:45:51 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2139475882==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2139475882== Content-Type: multipart/alternative; boundary="15148503511.a3eb.1093"; charset="UTF-8" --15148503511.a3eb.1093 Date: Mon, 1 Jan 2018 23:45:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104441 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-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: issor.oruam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 136475 --> https://bugs.freedesktop.org/attachment.cgi?id=3D136475&action=3Dedit 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 prop= erty 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 suitab= le encoder/crtc for display 2 01-02 00:05:42.628 2300 2300 E hwc-drm-resources: Failed CreateDisplayPip= e 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 --=20 You are receiving this mail because: You are the assignee for the bug.= --15148503511.a3eb.1093 Date: Mon, 1 Jan 2018 23:45:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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@lists.freedesktop.org
Reporter issor.oruam@gmail.com
QA Contact xorg-team@lists.x.org

Created attachment 136=
475 [details]
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 prop=
erty
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 suitab=
le
encoder/crtc for display 2
01-02 00:05:42.628  2300  2300 E hwc-drm-resources: Failed CreateDisplayPip=
e 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.
= --15148503511.a3eb.1093-- --===============2139475882== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============2139475882==--