[Dev] Mesa will be updated to 10.1.2 from 9.2.1

Eoff, Ullysses A ullysses.a.eoff at intel.com
Mon May 19 17:09:31 GMT 2014


"The testing is very simple. Just run Weston-simple-egl after starting Weston."

The weston-simple-egl client has always been a part of our manual test suite and we've never seen any issue with it as you've described.

"Could you reproduce my issue reported?"

No.  In general, all of the testing we've executed to date has never detected an issue as you've described.

Furthermore, to try and reproduce your issue, I did my best to duplicate the Tizen IVI Weston S/W stack configuration.  The difference is that I'm using pristine source from upstream...

wayland (1.4) 1.4.0-0-g4b4cd00
                --disable-documentation --disable-static
drm (master) libdrm-2.4.52-0-g46d451c
                --enable-static=yes --enable-udev --enable-libkms
--disable-nouveau-experimental-api --disable-radeon
--disable-nouveau --enable-exynos-experimental-api
mesa (10.1) mesa-10.1.2-0-gbde3135
                --enable-gles1 --enable-gles2 --with-egl-platforms=drm,wayland
--disable-glx --enable-shared-glapi --enable-texture-float
--enable-gbm --enable-gallium-llvm
--with-dri-drivers=i915,i965,swrast
--with-gallium-drivers=swrast,svga
cairo (1.12) 1.12.16-0-g8e11a42
                --with-pic --enable-fc --enable-ft --enable-egl --enable-glesv2
--enable-ps --enable-pdf --enable-script --enable-svg
--enable-tee --disable-xlib --disable-xcb --disable-gtk-doc
--disable-static
weston (1.4) 1.4.0-0-g1811312
                --disable-static --disable-setuid-install --enable-simple-clients
--enable-clients
--disable-libunwind --disable-xwayland --disable-xwayland-test
--disable-x11-compositor --disable-rpi-compositor
--enable-demo-clients-install

....I tested 32-bit on the NDiS-166, yet, I still don't see any issues.

Therefore, I can only conclude that there is an integration issue in the IVI profile... perhaps it's caused by one of the custom IVI s/w patches.  That is beyond my scope.

----
U. Artie

From: Wang, Quanxian
Sent: Monday, May 19, 2014 5:12 AM
To: Eoff, Ullysses A; dev at lists.tizen.org
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D; Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

As suggested from Dominique. Cc to Tizen IVI dev mail list for discussion.

It will be appreciated if someone provides the help.

Thanks

Quanxian Wang


From: Wang, Quanxian
Sent: Monday, May 19, 2014 7:23 PM
To: Eoff, Ullysses A
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D; Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

Hi, U. Artie Eoff

Could you reproduce my issue reported?

Regards
Quanxian Wang

From: Wang, Quanxian
Sent: Monday, May 19, 2014 10:56 AM
To: Eoff, Ullysses A; Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

Hi, U. Artie Eoff

I am not sure you auto-run test case or manual-run test case. if run auto testing for Weston-simple-egl, it will still be shown as normal, but the window is black. At least from my view, you could not check the difference. The output is as normal.

Would you like to double check if 10.1.x has the same appearance with mesa-9.2.x?

The testing is very simple. Just run Weston-simple-egl after starting Weston.

About the bug https://bugs.freedesktop.org/show_bug.cgi?id=74689. It should be fixed in 10.1.2 and not reproduced by us until now.

Thanks

Regards

Quanxian Wang



From: Eoff, Ullysses A
Sent: Saturday, May 17, 2014 3:51 AM
To: Clark, Joel; Wang, Quanxian; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

Yes, if I remove x11 from --with-egl-platforms and add --disable-glx everything still works for me (except for the Weston x11-backend, of course).

From: Clark, Joel
Sent: Friday, May 16, 2014 12:39 PM
To: Eoff, Ullysses A; Wang, Quanxian; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

Does it work without x11?

From: Eoff, Ullysses A
Sent: Friday, May 16, 2014 11:38 AM
To: Wang, Quanxian; Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

You indicated in another email thread that you are seeing this error with the black rendering issues:

gbm: driver exports no extensions (/usr/lib/dri/i965_dri.so: undefined symbol: __driDriverExtensions)failed to load driver: i965
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory

How are you configuring Mesa?  My team tests with:

--enable-gles2 --disable-gallium-egl --with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi --with-dri-drivers=i915,i965,swrast --with-gallium-drivers=swrast --disable-dri3

...and that produces the __driDriverExtensions entry point for me.

----
U. Artie Eoff
Software Engineer - Test Lead
Visualization - Intel Open Source Technology Center
Hillsboro, Oregon, USA

From: Eoff, Ullysses A
Sent: Friday, May 16, 2014 10:39 AM
To: Wang, Quanxian; Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1

We test exactly this combination... that is, egl/gles2/wayland/weston.

We've just completed testing Wayland/Weston 1.4.91, 1.4.92, and 1.4.93 (i.e. 1.5 release candidates) against Mesa 10.1.x and we did not have any issues like this (see disclaimer below).

We also tested Wayland/Weston 1.4 against Mesa 10.1.x without issue (again, see disclaimer).

There is one known bug introduced in mesa >= 10.1.x which breaks Weston that could be causing this.  It is easy to work around.  See https://bugs.freedesktop.org/show_bug.cgi?id=74689.  The problem is when background-image or background-color are specified in weston.ini and the image does not exist, then the desktop shell crashes and you get a black display and corrupted rendering of all clients after that.  After applying the work around (e.g. don't use the settings) everything works good on our end.  If that doesn't fix it for you... then we should compare the differences between the IVI build config vs. our build configs.  Unfortunately, this doesn't explain why 10.0.x doesn't work for you either since bug 74689 doesn't show up there.

----
U. Artie Eoff
Software Engineer - Test Lead
Visualization - Intel Open Source Technology Center
Hillsboro, Oregon, USA

From: Wang, Quanxian
Sent: Friday, May 16, 2014 3:27 AM
To: Clark, Joel; Ylinen, Mikko; Le Foll, Dominique
Cc: Liu, Bingwei; Zhu, Peter J; 'Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)'; Eoff, Ullysses A; Kristensen, Kristian H; Anholt, Eric; 'Carl Worth'; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1
Importance: High

This issue will block all apps/packages which use egl/glesv2 mechanism. I have filed a bug in upstream to track it. https://bugs.freedesktop.org/show_bug.cgi?id=78771

>From 9.2.15 to 10.1.x, there is a big change is from libdricore to megadriver(A common mesa driver, mesa_dri_drivers.so).

If this issue is not fixed, I suggest not to upgrade mesa to 10.1.x or 10.0.x. Because it will bring disaster to Tizen IVI which affect all applications/packages use egl/glesv2 for rendering.

By the way, it should affect all intel i965/i915 platform, not sure if we have QA to do the testing on egl/gles2/wayland/weston.

Cc to all mesa upstream owner.

If I miss something, please reminder me.

Thanks

Regards

Quanxian Wang


From: Wang, Quanxian
Sent: Thursday, May 15, 2014 9:45 AM
To: Clark, Joel; Ylinen, Mikko; Le Foll, Dominique; Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)
Cc: Carl Worth; Romanick, Ian D
Subject: RE: Mesa will be updated to 10.1.2 from 9.2.1



From: Clark, Joel
Sent: Wednesday, May 14, 2014 6:11 PM
To: Wang, Quanxian; Ylinen, Mikko; Le Foll, Dominique; Stéphane Desneux (stephane.desneux at open.eurogiciel.org<mailto:stephane.desneux at open.eurogiciel.org>)
Subject: FW: Mesa will be updated to 10.1.2 from 9.2.1

I think the sooner we do this the better, even if M14.2 includes it and ico-uxf-homescreen does not work
[Wang, Quanxian] I agree with your. But I have found another serious regression for egl. I am investigating what the problem is. Before I push mesa-10.1.2 into gerrit, I need a solution to fix that.
This issue will affect other apps include crosswalk. Some weston application is also affected. Just keep tune.

The issue is about black screen when use egl to draw the picture. I am doubt it is glsl shader program issue.
CC to Carl and Ian for more comments.

Regards
Joel


From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Wang, Quanxian
Sent: Tuesday, May 13, 2014 7:52 PM
To: dev at lists.tizen.org<mailto:dev at lists.tizen.org>
Subject: [Dev] Mesa will be updated to 10.1.2 from 9.2.1

Hi, All

Mesa will be upgraded to 10.1.2 from 9.2.1. Any concern or comment, please let me know.

I have tried it in latest tizen-ivi image with a smoke test, and not find regression. But for ico-uxf-homescreen, seems there needs more changes to make it work.

I will be waiting for your comments and concern until next week.

Here are the notes, changes, and features of 10.0.x and 10.1.x. It is a big step.
10.1.X Notes
Mesa 10.1 implements the OpenGL 3.3 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 3.3. OpenGL 3.3 is only available if requested at context creation because compatibility contexts are not supported.
10.1.x Changes

  *   Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension.
10.1.x New features
Note: some of the new features are only available with certain drivers.

  *   GL_ARB_draw_indirect on i965.
  *   GL_ARB_clear_buffer_object
  *   GL_ARB_viewport_array on i965.
  *   GL_ARB_map_buffer_alignment on all drivers that did not previously support it.
  *   GL_AMD_shader_trinary_minmax.
  *   GL_EXT_framebuffer_blit on r200 and radeon.
  *   Reduced memory usage for display lists.
  *   OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi
10.0.X Notes

Mesa 10.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 10.0.1.

Mesa 10.0 implements the OpenGL 3.3 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 3.3. OpenGL 3.3 is only available if requested at context creation because compatibility contexts are not supported.
10.0.X Changes

  *   Removed X.Org state tracker (unmaintained and broken)
  *   Removed the video-accel r300 targets
  *   Removed the video-accel softpipe targets
10.0.x New features
Note: some of the new features are only available with certain drivers.

  *   GL_AMD_seamless_cubemap_per_texture on i965.
  *   GL_ARB_conservative_depth on i965.
  *   GL_ARB_texture_gather on i965.
  *   GL_ARB_texture_query_levels on i965.
  *   GL_ARB_texture_mirror_clamp_to_edge.
  *   GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support).
  *   GL_ARB_sample_shading on i965.
  *   GL_ARB_shader_atomic_counters on i965.
  *   GL_ARB_vertex_attrib_binding
  *   GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g
  *   GL_KHR_debug
  *   GLX_MESA_query_renderer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140519/055f9b03/attachment-0001.html>


More information about the Dev mailing list