[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

--- Comment #4 from Daniel Stone dan...@fooishbar.org ---
(In reply to Boyan Ding from comment #3)
 Created attachment 114500 [details] [review]
 dri/i965: Add XRGB to dri config
 
 I hacked the i965 driver and wrote this patch. After applying this to mesa,
 weston seems to work.
 
 I'm not familiar with mesa and I don't know what I'm doing is actually right.

Thanks for looking into this. Adding the format to intel_screen_make_configs()
definitely seems like the right thing to do to me, but I don't think the
depth/stencil changes are required. Have you tried just adding XRGB to the list
without modifying depth/stencil?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

--- Comment #5 from Boyan Ding stu_...@126.com ---
(In reply to Daniel Stone from comment #4)
 Have you tried just adding XRGB to the list without modifying depth/stencil?

I tried just now and it also works.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

Michel Dänzer mic...@daenzer.net changed:

   What|Removed |Added

  Component|EGL |Drivers/DRI/i965
   Assignee|mesa-dev@lists.freedesktop. |i...@freedesktop.org
   |org |
 QA Contact|mesa-dev@lists.freedesktop. |intel-3d-bugs@lists.freedes
   |org |ktop.org

--- Comment #6 from Michel Dänzer mic...@daenzer.net ---
This problem doesn't occur with the radeonsi driver.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

--- Comment #3 from Boyan Ding stu_...@126.com ---
Created attachment 114500
  -- https://bugs.freedesktop.org/attachment.cgi?id=114500action=edit
dri/i965: Add XRGB to dri config

I hacked the i965 driver and wrote this patch. After applying this to mesa,
weston seems to work.

I'm not familiar with mesa and I don't know what I'm doing is actually right.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

Bug ID: 89689
   Summary: [Regression] Weston on DRM backend won't start with
new version of mesa
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: EGL
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: stu_...@126.com
QA Contact: mesa-dev@lists.freedesktop.org

With mesa 10.5.1 and on, weston won't start with DRM backend, saying that it
can't find EGL config. I looked into it a little, weston attempts to find
XRGB but it only gets ARGB and RGB565.

Reverting commit 65c8965d033cf9ade5e6f3c88bda6d247d46af9d: egl: Take alpha bits
into account when selecting GBM formats, which has been backported to 10.5 and
10.4 branches eliminates the problem.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

Pekka Paalanen ppaala...@gmail.com changed:

   What|Removed |Added

 CC||dan...@fooishbar.org,
   ||der...@osg.samsung.com,
   ||ppaala...@gmail.com

--- Comment #1 from Pekka Paalanen ppaala...@gmail.com ---
There is a workaround patch proposed for Weston:
http://patchwork.freedesktop.org/patch/45123/

Still, ARGB for a framebuffer format is a bit funny. XRGB is what we'd want,
since the alpha is not supposed to be interpreted by scanout.

Should Weston just take the ARGB from Mesa/GBM and tell KMS it's XRGB?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 89689] [Regression] Weston on DRM backend won't start with new version of mesa

2015-03-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89689

--- Comment #2 from Boyan Ding stu_...@126.com ---
It seems that commit 65c8965d is doing nothing wrong and the problem lies in
the i965 dri driver.

The function intel_screen_make_config in
src/mesa/drivers/dri/i965/intel_screen.c only adds ARGB and RGB565 configs.
Before commit 65c8965d, the drm platform of EGL wrongly recognizes ARGB as
XRGB so weston works okay. Now EGL recognizes things correctly so weston
won't find the config it wants.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev