Bug 50567

Summary: [bug]weston report"failed to get plane resources: Invalid argument" with kernel "3.1.0-7.fc16.x86_64"
Product: Wayland Reporter: ZhaoShengyan <shengyanx.zhao>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description ZhaoShengyan 2012-05-31 19:34:45 UTC
System Environment:
--------------------------
Arch:    i386
Libdrm:  (master)2.4.34-2-g481234f2909c0506962a2f42da862da6a9b13fd8
Wayland: (master)d422a733b4c20a65748c8d9e811f672a2d744218
Mesa:    (master)6404095fbab74a6194081374bd56786d07c5d561
Xserver: (master)
xorg-server-1.12.0-193-g594b4a4f0601066d09e49a84c5af8c2eb6f07240
Xf86_video_intel: (master) 2.19.0-110-g55e6f5f220401318529e81f7c96fe0af3b893a0c
Cairo:   (master)dbc0efad7e565558a3abf7f69d7675efddc4688d
Cairo_gl:(master) f3ae8302072dbcee38be4e0a9397e5aaa4084ecf
Xkbcommon:(master) 8ca8f05aab86423c2495cd917489becfecca4632
Weston:   (master) 92a57db6f2fb54d70e5da00aaabc6af752ee07a2
Kernel_unstable: (drm-intel-next-queued)
eeafaaca763408c099d2ade3a69e0716f296a97b

Bug detailed description:
-----------------------------
Switch to kernel "3.1.0-7.fc16.x86_64" on Fedora, start weston with drm mode, it will inform:
"failed to get plane resources: Invalid argument."
However, We changed kernel to "3.4.0-rc6_unstable_20120530+", the failed info disappeared. 
This issue can be reproduced only under drm. It's normal under X mode.


Reproduce steps:
----------------------------
1. Switch to kernel "3.1.0-7.fc16.x86_64"
2. Start weston under drm mode
Comment 1 Ander Conselvan de Oliveira 2012-06-28 22:47:18 UTC
(In reply to comment #0)
> Bug detailed description:
> -----------------------------
> Switch to kernel "3.1.0-7.fc16.x86_64" on Fedora, start weston with drm mode,
> it will inform:
> "failed to get plane resources: Invalid argument."

That is not a bug. This happens because the drm plane support was introduced only in kernel 3.4. But maybe the message could be a little more informative.
Comment 2 ZhaoShengyan 2012-06-28 22:53:43 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Bug detailed description:
> > -----------------------------
> > Switch to kernel "3.1.0-7.fc16.x86_64" on Fedora, start weston with drm mode,
> > it will inform:
> > "failed to get plane resources: Invalid argument."
> That is not a bug. This happens because the drm plane support was introduced
> only in kernel 3.4. But maybe the message could be a little more informative.

Thanks for your reply. Then, we mark this issue as RESOLVED and NOTABUG.
Comment 3 ZhaoShengyan 2012-06-28 22:54:37 UTC
Mark this as VERIFIED and NOTABUG.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.