Re: [Mesa-dev] [ANNOUNCE] Mesa 19.3.5

2020-03-10 Thread Erik Faye-Lund
On Mon, 2020-03-09 at 23:55 +0100, Eric Engestrom wrote:
> I'd like to announce the release of Mesa 19.3.5, final release of the
> 19.3.x series.
> You are encouraged to migrate to 20.0.1, released a few days ago, in
> order to obtain future fixes.
> 
> Most fixes in this release are for Intel, followed by AMD, and a few
> scattered fixes here and there.
> 
> Cheers,
>   Eric
> 
> ---
> 
> Andrii Simiklit (1):
>   Revert "glx: convert glx_config_create_list to one big calloc"
> 
> Arcady Goldmints-Orlov (1):
>   spirv: Remove outdated SPIR-V decoration warnings
> 
> Caio Marcelo de Oliveira Filho (1):
>   intel/gen12: Take into account opcode when decoding SWSB
> 
> Danylo Piliaiev (1):
>   i965: Do not generate D16 B5G6R5_UNORM configs on gen < 8
> 
> Dave Airlie (1):
>   gallivm/tgsi: fix stream id regression
> 
> Dylan Baker (7):
>   docs: Add SHA256 sum for 19.3.4
>   .pick_status.json: Update to
> 2a98cf3b2ecea43cea148df7f77d2abadfd1c9db
>   .pick_status.json: Update to
> 946eacbafb47c8b94d47e7c9d2a8b02fff5a22fa
>   .pick_status.json: Update to
> bee5c9b0dc13dbae0ccf124124eaccebf7f2a435
>   .pick_status.json: Update to
> 8291d728dc997e87b4d2e4e451692643a1dba881
>   .pick_status.json: Update to
> e4baff90812d799d586296fcad992ddcc553c359
>   .pick_status.json: Update to
> 01496e3d1ea0370af03e6645dbd2b864c2ace94c
> 
> Eric Engestrom (12):
>   .pick_status.json: Update to
> 74e4cda64b9d114321216eefe536f80644b0f0fd
>   .pick_status.json: Mark
> dba71de5c63617677fe44558f995d35fad643413 as denominated
>   .pick_status.json: Mark
> 5ea23ba659adc05ff75ca7a4c9d1bd01db889ddd as denominated
>   .pick_status.json: Mark
> 34fd894e42ae1ec9d35bf9c4f05364b03dd4a223 as denominated
>   .pick_status.json: Mark
> ddd767387f336ed1578f171a2af4ca33c564d7f3 as denominated
>   .pick_status.json: Mark
> b9773631d3e79e2310ed0eb274b4dd9426205066 as denominated
>   .pick_status.json: Mark
> 9fea90ad5170dd64376d22a14ac88c392813c96c as denominated
>   bin/gen_release_notes.py: fix commit list command
>   .pick_status.json: Update to
> 0103f02acb10dcdea23461ba214307a6827a7772
>   gitlab-ci: update template to fix container build issues
>   docs: add release notes for 19.3.5
>   VERSION: bump version to 19.3.5
> 
> Erik Faye-Lund (2):
>   util: promote u_debug_memory.c to src/util
>   .pick_status.json: Update to
> 74e4cda64b9d114321216eefe536f80644b0f0fd

Uhm, what? :-P


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] [ANNOUNCE] Mesa 19.3.5

2020-03-10 Thread Eric Engestrom
On 2020-03-10 at 10:32, Erik Faye-Lund  wrote:
> On Mon, 2020-03-09 at 23:55 +0100, Eric Engestrom wrote:
> > I'd like to announce the release of Mesa 19.3.5, final release of the
> > 19.3.x series.
> > You are encouraged to migrate to 20.0.1, released a few days ago, in
> > order to obtain future fixes.
> > 
> > Most fixes in this release are for Intel, followed by AMD, and a few
> > scattered fixes here and there.
> > 
> > Cheers,
> >   Eric
> > 
> > ---
> > 
> > Andrii Simiklit (1):
> >   Revert "glx: convert glx_config_create_list to one big calloc"
> > 
> > Arcady Goldmints-Orlov (1):
> >   spirv: Remove outdated SPIR-V decoration warnings
> > 
> > Caio Marcelo de Oliveira Filho (1):
> >   intel/gen12: Take into account opcode when decoding SWSB
> > 
> > Danylo Piliaiev (1):
> >   i965: Do not generate D16 B5G6R5_UNORM configs on gen < 8
> > 
> > Dave Airlie (1):
> >   gallivm/tgsi: fix stream id regression
> > 
> > Dylan Baker (7):
> >   docs: Add SHA256 sum for 19.3.4
> >   .pick_status.json: Update to
> > 2a98cf3b2ecea43cea148df7f77d2abadfd1c9db
> >   .pick_status.json: Update to
> > 946eacbafb47c8b94d47e7c9d2a8b02fff5a22fa
> >   .pick_status.json: Update to
> > bee5c9b0dc13dbae0ccf124124eaccebf7f2a435
> >   .pick_status.json: Update to
> > 8291d728dc997e87b4d2e4e451692643a1dba881
> >   .pick_status.json: Update to
> > e4baff90812d799d586296fcad992ddcc553c359
> >   .pick_status.json: Update to
> > 01496e3d1ea0370af03e6645dbd2b864c2ace94c
> > 
> > Eric Engestrom (12):
> >   .pick_status.json: Update to
> > 74e4cda64b9d114321216eefe536f80644b0f0fd
> >   .pick_status.json: Mark
> > dba71de5c63617677fe44558f995d35fad643413 as denominated
> >   .pick_status.json: Mark
> > 5ea23ba659adc05ff75ca7a4c9d1bd01db889ddd as denominated
> >   .pick_status.json: Mark
> > 34fd894e42ae1ec9d35bf9c4f05364b03dd4a223 as denominated
> >   .pick_status.json: Mark
> > ddd767387f336ed1578f171a2af4ca33c564d7f3 as denominated
> >   .pick_status.json: Mark
> > b9773631d3e79e2310ed0eb274b4dd9426205066 as denominated
> >   .pick_status.json: Mark
> > 9fea90ad5170dd64376d22a14ac88c392813c96c as denominated
> >   bin/gen_release_notes.py: fix commit list command
> >   .pick_status.json: Update to
> > 0103f02acb10dcdea23461ba214307a6827a7772
> >   gitlab-ci: update template to fix container build issues
> >   docs: add release notes for 19.3.5
> >   VERSION: bump version to 19.3.5
> > 
> > Erik Faye-Lund (2):
> >   util: promote u_debug_memory.c to src/util
> >   .pick_status.json: Update to
> > 74e4cda64b9d114321216eefe536f80644b0f0fd
> 
> Uhm, what? :-P

Err... not sure what happened there...

That's the backport of 0c1ba69a27090d3ef000, and the proper commit message 
should've been:

Revert "nir: Add a couple trivial abs optimizations"

These were already added in 9fdaeb7776c ("nir: add min/max optimisation"),
and there's no point in doing them twice.

This reverts commit e4d346c86db0ae332fcdf55eac0e075cfb99a7eb.

Fixes: e4d346c86db ("nir: Add a couple trivial abs optimizations")
Reviewed-by: Jason Ekstrand 
Reviewed-by: Ian Romanick 
Tested-by: Marge Bot 

Part-of: 
(cherry picked from commit 0c1ba69a27090d3ef000943b47468705fe0454c4)

Apologies for the commit message mess, but I double-checked and I think the 
commit itself is correct, so there's that :]
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Meson links with duplicate symbols

2020-03-10 Thread Jose Fonseca
I figured out enough of Meson to workout a fix.  I'll post it for review 
tomorrow (after I figure out what's the exact process for a MR.)

Jose


From: Jose Fonseca
Sent: Friday, March 6, 2020 15:08
To: ML mesa-dev ; Dylan Baker 

Cc: Neha Bhende 
Subject: Meson links with duplicate symbols

While reviewing my colleagues efforts to consume Meson for Windows I stumbled 
across two issues.

First is that even though we added the "WARNING: Scons support is in the 
process of being deprecated on on windows platforms (including mingw). If you 
haven't already please try using meson for windows builds. Be sure to report 
any issues you run into" to scons, we didn't update mesa/docs/install.html with 
instructions on how to build Meson w/ Mingw for windows, so it's not obvious to 
a newbie how to do it.  It took me quite a while to reverse engineer the stuff 
in .gitlab-ci/... till I figured out the way to do it.  I think that adding 
example command lines would go a long way.

Second and most important is that Meson is actually linking with duplicate 
symbols.  This was being hidden because meson doesn't use whole linking for 
everything, whereas SCons does.  It's easy to repro:

$ git diff
diff --git a/src/gallium/targets/libgl-gdi/meson.build 
b/src/gallium/targets/libgl-gdi/meson.build
index cd4e02d1fa9..fb8a42439c8 100644
--- a/src/gallium/targets/libgl-gdi/meson.build
+++ b/src/gallium/targets/libgl-gdi/meson.build
@@ -33,10 +33,8 @@ libopengl32 = shared_library(
   include_directories : [
 inc_common, inc_wgl, inc_gallium_winsys_sw, inc_gallium_drivers,
   ],
-  link_whole : [libwgl],
-  link_with : [
-libgallium, libglsl, libmesa_gallium, libwsgdi, libglapi_static, libglapi
-  ],
+  link_whole : [libwgl, libgallium, libglsl, libmesa_gallium, libwsgdi, 
libglapi_static, libglapi],
+  link_with : [],
   dependencies : [
 dep_ws2_32, idep_nir, idep_mesautil, driver_swrast, driver_swr,
   ],
$ meson --cross .gitlab-ci/x86_64-w64-mingw32 . build/meson-windows-x86_64-debug
$ ninja -C build/meson-windows-x86_64-debug/
ninja: Entering directory `build/meson-windows-x86_64-debug/'
[2/2] Linking target src/gallium/targets/libgl-gdi/opengl32.dll.
FAILED: src/gallium/targets/libgl-gdi/opengl32.dll
x86_64-w64-mingw32-g++  -o src/gallium/targets/libgl-gdi/opengl32.dll 
'src/gallium/targets/libgl-gdi/c96d1e6@@opengl32@sha/libgl_gdi.c.obj' 
-Wl,--allow-shlib-undefined -shared 
../../src/gallium/targets/libgl-gdi/../../state_trackers/wgl/opengl32.def 
-Wl,--start-group -Wl,--out-implib=src/gallium/targets/libgl-gdi/opengl32.dll.a 
-Wl,--whole-archive src/gallium/state_trackers/wgl/libwgl.a 
src/gallium/auxiliary/libgallium.a src/compiler/glsl/libglsl.a 
src/mesa/libmesa_gallium.a src/gallium/winsys/sw/gdi/libwsgdi.a 
src/mapi/glapi/libglapi_static.a -Wl,--no-whole-archive -Wl,--nxcompat 
-Wl,--dynamicbase -static-libgcc -static-libstdc++ src/compiler/nir/libnir.a 
src/compiler/libcompiler.a src/util/libmesa_util.a 
src/util/format/libmesa_format.a subprojects/zlib-1.2.11/libz.dll.a 
src/gallium/drivers/softpipe/libsoftpipe.a src/compiler/glsl/glcpp/libglcpp.a 
src/mesa/libmesa_common.a src/mesa/libmesa_sse41.a -lws2_32 -pthread -lm 
-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid 
-lcomdlg32 -ladvapi32 -Wl,--end-group
src/mesa/libmesa_common.a(main_shaderapi.c.obj): In function 
`_mesa_get_shader_include_cursor':
/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/mesa/main/shaderapi.c:3185:
 multiple definition of `_mesa_get_shader_include_cursor'
src/compiler/glsl/glcpp/libglcpp.a(pp_standalone_scaffolding.c.obj):/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/compiler/glsl/glcpp/pp_standalone_scaffolding.c:49:
 first defined here
src/mesa/libmesa_common.a(main_shaderapi.c.obj): In function 
`_mesa_set_shader_include_cursor':
/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/mesa/main/shaderapi.c:3191:
 multiple definition of `_mesa_set_shader_include_cursor'
src/compiler/glsl/glcpp/libglcpp.a(pp_standalone_scaffolding.c.obj):/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/compiler/glsl/glcpp/pp_standalone_scaffolding.c:57:
 first defined here
src/mesa/libmesa_common.a(main_shaderapi.c.obj): In function 
`_mesa_lookup_shader_include':
/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/mesa/main/shaderapi.c:3404:
 multiple definition of `_mesa_lookup_shader_include'
src/compiler/glsl/glcpp/libglcpp.a(pp_standalone_scaffolding.c.obj):/home/jfonseca/work/vmware/opengl/mesa/build/meson-windows-x86_64-debug/../../src/compiler/glsl/glcpp/pp_standalone_scaffolding.c:41:
 first defined here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I think this is wrong.  We shouldn't be relying on carefully crafting the order 
of linker arguments to pick the right symbol. 

[Mesa-dev] X.Org GSoC 2020 - call for project ideas and mentors

2020-03-10 Thread Trevor Woerner
Hello!

Once again X.Org has been fortunate to have been chosen to be part of GSoC!

Starting March 16 (this Monday) students will be able to register and
submit their applications for GSoC.

If you can spare a moment, please take a look at our current "idea"
page which help students to start thinking about potential project
ideas: https://www.x.org/wiki/SummerOfCodeIdeas/

If you have any project ideas that might suit a post-secondary
student, please add them to the list, or email me the details and I'll
be happy to update the list on your behalf. Conversely, if there are
projects on that list that are no longer relevant, please let me know
and I'll take them down.

Also, if you are considering being a mentor, please get in touch so I
can add you to the list.

If you have any thoughts or questions, please don't hesitate to get in touch.

Best regards,
Trevor
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev