[Mesa-dev] [PATCH 1/5] st/dri: simplify throttling code

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/state_trackers/dri/dri2.c | 4 +--- src/gallium/state_trackers/dri/dri_drawable.c | 2 +- src/gallium/state_trackers/dri/dri_screen.h | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/dri/dri2.c

[Mesa-dev] [PATCH 5/5] gallium: replace drm_driver_descriptor::configuration with driconf_xml

2019-04-22 Thread Marek Olšák
From: Marek Olšák PIPE_CAPs are better. --- .../auxiliary/pipe-loader/pipe_loader.c | 16 + .../auxiliary/pipe-loader/pipe_loader.h | 10 .../auxiliary/pipe-loader/pipe_loader_drm.c | 40 +++-- .../auxiliary/pipe-loader/pipe_loader_priv.h | 3 +-

[Mesa-dev] [PATCH 2/5] st/dri: flush before throttling in SwapBuffers

2019-04-22 Thread Marek Olšák
From: Marek Olšák for better CPU-GPU parallelism --- src/gallium/state_trackers/dri/dri_drawable.c | 20 +-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index

[Mesa-dev] [PATCH 4/5] gallium: replace DRM_CONF_SHARE_FD with PIPE_CAP_DMABUF

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/target-helpers/drm_helper.h | 11 --- src/gallium/auxiliary/util/u_screen.c | 7 +++ src/gallium/docs/source/screen.rst| 2 ++ src/gallium/include/pipe/p_defines.h | 1 +

[Mesa-dev] [PATCH 3/5] gallium: replace DRM_CONF_THROTTLE with PIPE_CAP_MAX_FRAMES_IN_FLIGHT

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/target-helpers/drm_helper.h | 7 --- src/gallium/auxiliary/util/u_screen.c | 1 + src/gallium/docs/source/screen.rst| 3 +++ src/gallium/drivers/freedreno/freedreno_screen.c | 3 +++

[Mesa-dev] [PATCH 4/5] gallium: replace DRM_CONF_SHARE_FD with PIPE_CAP_DMABUF

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/target-helpers/drm_helper.h | 11 --- src/gallium/auxiliary/util/u_screen.c | 7 +++ src/gallium/docs/source/screen.rst| 2 ++ src/gallium/include/pipe/p_defines.h | 1 +

[Mesa-dev] [PATCH 5/5] gallium: replace drm_driver_descriptor::configuration with driconf_xml

2019-04-22 Thread Marek Olšák
From: Marek Olšák The configuration callback duplicated the PIPE_CAP system. --- .../auxiliary/pipe-loader/pipe_loader.c | 16 + .../auxiliary/pipe-loader/pipe_loader.h | 10 .../auxiliary/pipe-loader/pipe_loader_drm.c | 40 +++--

[Mesa-dev] [PATCH 1/5] st/dri: simplify throttling code

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/state_trackers/dri/dri2.c | 4 +--- src/gallium/state_trackers/dri/dri_drawable.c | 2 +- src/gallium/state_trackers/dri/dri_screen.h | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/gallium/state_trackers/dri/dri2.c

[Mesa-dev] [PATCH 2/5] st/dri: flush before throttling in SwapBuffers

2019-04-22 Thread Marek Olšák
From: Marek Olšák for better CPU-GPU parallelism --- src/gallium/state_trackers/dri/dri_drawable.c | 20 +-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index

[Mesa-dev] [PATCH 3/5] gallium: replace DRM_CONF_THROTTLE with PIPE_CAP_MAX_FRAMES_IN_FLIGHT

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/target-helpers/drm_helper.h | 7 --- src/gallium/auxiliary/util/u_screen.c | 1 + src/gallium/docs/source/screen.rst| 3 +++ src/gallium/drivers/freedreno/freedreno_screen.c | 3 +++

[Mesa-dev] [Bug 110431] Please add support for GL_EXT_gpu_shader4 (including on non-core profiles)

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110431 --- Comment #2 from Timothy Arceri --- Merge request for this extension: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/667 -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the

[Mesa-dev] [Bug 110492] Mesa reports old GLSL version to programms using an older OpenGL version

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110492 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 110431] Please add support for GL_EXT_gpu_shader4 (including on non-core profiles)

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110431 Timothy Arceri changed: What|Removed |Added CC||com...@live.de --- Comment #1 from

[Mesa-dev] [Bug 110462] Epic Games Launcher renders nothing with "-opengl" option

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110462 --- Comment #5 from Timothy Arceri --- (In reply to Danylo from comment #3) > It creates several contexts (from apitrace): > > glXCreateContextAttribsARB(dpy = 0x7e1e57b0, config = 0x7e875070, > share_context = 0x7e9c0450, direct = True,

[Mesa-dev] [PATCH] s3tc-errors: Fix GCC unused-variable warning.

2019-04-22 Thread Vinson Lee
s3tc-errors.c: In function ‘test_format’: s3tc-errors.c:175:9: warning: unused variable ‘format2’ [-Wunused-variable] GLenum format2; ^~~ Fixes: d433792407e7 ("s3tc-errors: port to gles31") Signed-off-by: Vinson Lee --- tests/texturing/s3tc-errors.c | 2 +- 1 file changed, 1

Re: [Mesa-dev] Add an ASSERTED macro to use in place of MAYBE_UNUSED?

2019-04-22 Thread Kristian Høgsberg
On Mon, Apr 22, 2019 at 3:11 PM Matt Turner wrote: > > On Mon, Apr 22, 2019 at 1:09 PM Kristian Høgsberg wrote: > > > > On Mon, Apr 22, 2019 at 12:11 PM Jason Ekstrand > > wrote: > > > > > > All, > > > > > > I've seen discussions come up several times lately about whether you > > > should use

Re: [Mesa-dev] Add an ASSERTED macro to use in place of MAYBE_UNUSED?

2019-04-22 Thread Eric Anholt
Jason Ekstrand writes: > All, > > I've seen discussions come up several times lately about whether you should > use MAYBE_UNUSED or UNUSED in what scenario and why do we have two of them > anyway. That got me thinking a bit. Maybe what we actually want instead > of MAYBE_UNUSED is something

Re: [Mesa-dev] Add an ASSERTED macro to use in place of MAYBE_UNUSED?

2019-04-22 Thread Matt Turner
On Mon, Apr 22, 2019 at 1:09 PM Kristian Høgsberg wrote: > > On Mon, Apr 22, 2019 at 12:11 PM Jason Ekstrand wrote: > > > > All, > > > > I've seen discussions come up several times lately about whether you should > > use MAYBE_UNUSED or UNUSED in what scenario and why do we have two of them >

Re: [Mesa-dev] [Mesa-stable] [PATCH v2] st: require compatible driver in autotools

2019-04-22 Thread Dylan Baker
Emil, I'll pull this if you want, 100% up to you. Dylan Quoting Alyssa Ross (2019-04-19 11:53:24) > The meson build system already has these checks. I've just copied them > to autotools. > > Without this, state trackers could be enabled when building with the > following set of options, which

[Mesa-dev] [Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 --- Comment #10 from b...@besd.de --- Just to make extra sure its most likely a problem with clover I installed the AMD legacy opencl driver in parallel (works fine): DEVICE="opencl1:0" python3 -c "import pygpu;pygpu.test()" pygpu is installed

Re: [Mesa-dev] [PATCH v2 2/2] radeon/vcn: fix width alignment for hevc encoding

2019-04-22 Thread Zhang, Boyuan
Both patches are Reviewed-by: Boyuan Zhang Thanks, Boyuan -Original Message- From: mesa-dev On Behalf Of Lei Zhou Sent: April 18, 2019 12:14 PM To: mesa-dev@lists.freedesktop.org Subject: [Mesa-dev] [PATCH v2 2/2] radeon/vcn: fix width alignment for hevc encoding The width alignment

[Mesa-dev] [Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 --- Comment #9 from b...@besd.de --- Just in case it is of any importance: clinfo Number of platforms 1 Platform Name Clover Platform Vendor

[Mesa-dev] [Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 --- Comment #8 from b...@besd.de --- I'm using mesa and linux master git on ubuntu 18.04.2 Theano and libgpuarray are installed from git as well. The changes you have made in the past are still there. Any idea what could be wrong now? -- You

[Mesa-dev] [Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 --- Comment #7 from b...@besd.de --- Running https://github.com/ZVK/sampleRNN_ICLR2017 fails with: Traceback (most recent call last): File "models/two_tier/two_tier32k.py", line 429, in on_unused_input='warn' File

[Mesa-dev] [Bug 100105] Make Theano OpenCL support work on Clover and RadeonSI

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100105 --- Comment #6 from b...@besd.de --- Seems the error is still there: CLOVER_DEVICE_VERSION_OVERRIDE=1.2 CLOVER_DEVICE_CLC_VERSION_OVERRIDE=1.2 DEVICE="opencl0:0" python3 -c "import pygpu;pygpu.test()" fails with: pygpu is installed in

Re: [Mesa-dev] Add an ASSERTED macro to use in place of MAYBE_UNUSED?

2019-04-22 Thread Kristian Høgsberg
On Mon, Apr 22, 2019 at 12:11 PM Jason Ekstrand wrote: > > All, > > I've seen discussions come up several times lately about whether you should > use MAYBE_UNUSED or UNUSED in what scenario and why do we have two of them > anyway. That got me thinking a bit. Maybe what we actually want

Re: [Mesa-dev] [PATCH] glsl: fix shader_storage_blocks_write_access for SSBO block arrays (v2)

2019-04-22 Thread Marek Olšák
Ping. Thanks. On Tue, Apr 16, 2019 at 10:16 AM Marek Olšák wrote: > From: Marek Olšák > > This fixes KHR-GL45.compute_shader.resources-max on radeonsi. > > Fixes: 4e1e8f684bf "glsl: remember which SSBOs are not read-only and pass > it to gallium" > > v2: use is_interface_array, protect again

[Mesa-dev] [Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Bug 99553 depends on bug 108879, which changed state. Bug 108879 Summary: [CIK] [regression] All opencl apps hangs indefinitely in si_create_context https://bugs.freedesktop.org/show_bug.cgi?id=108879 What|Removed

[Mesa-dev] [Bug 110462] Epic Games Launcher renders nothing with "-opengl" option

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110462 Marek Olšák changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] Add an ASSERTED macro to use in place of MAYBE_UNUSED?

2019-04-22 Thread Jason Ekstrand
All, I've seen discussions come up several times lately about whether you should use MAYBE_UNUSED or UNUSED in what scenario and why do we have two of them anyway. That got me thinking a bit. Maybe what we actually want instead of MAYBE_UNUSED is something like this: #ifdef NDEBUG #define

[Mesa-dev] [PATCH] gallium: document conservative rasterization flags

2019-04-22 Thread Marek Olšák
From: Marek Olšák --- src/gallium/docs/source/screen.rst | 5 + src/gallium/include/pipe/p_defines.h | 11 +++ 2 files changed, 16 insertions(+) diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index b7b5f3504b2..41008816ee2 100644 ---

Re: [Mesa-dev] [PATCH 1/3] ac/nir: only use the new raw/struct image atomic intrinsics with LLVM 9+

2019-04-22 Thread Marek Olšák
Is "XXX" in the comment really necessary? Marek On Thu, Apr 18, 2019 at 3:20 AM Samuel Pitoiset wrote: > They are buggy with LLVM 8 because they weren't marked as source > of divergence, see r358579. > > Fixes: dd0172e865f ("radv: Use structured intrinsics instead of indexing > workaround for

[Mesa-dev] [Bug 110479] AddressSanitizer:DEADLYSIGNAL in src/egl/drivers/dri2/platform_surfaceless.c:139

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110479 --- Comment #1 from Gustaw Smolarczyk --- I have looked at the trace. The source code line and struct offset imply that dri2_egl_display::image_driver is NULL in dri2_surfaceless_create_surface function. Of note is also the fact that a software

[Mesa-dev] [AppVeyor] mesa master #10831 completed

2019-04-22 Thread AppVeyor
Build mesa 10831 completed Commit b3e3440c87 by Samuel Pitoiset on 4/19/2019 10:40 AM: radv: add VK_NV_compute_shader_derivates support\n\nOnly computeDerivativeGroupLinear is supported for now.\n\nAll crucible tests pass.\n\nSigned-off-by: Samuel Pitoiset

[Mesa-dev] [Bug 110495] checkitbrp

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110495 Vsw23 changed: What|Removed |Added QA Contact|mesa-dev@lists.freedesktop. |vswadeya...@gmail.com |org

[Mesa-dev] [Bug 110495] checkitbrp

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110495 Bug ID: 110495 Summary: checkitbrp Product: Mesa Version: 18.3 Hardware: x86 (IA32) OS: BSD (Others) Status: NEW Severity: major Priority:

[Mesa-dev] [Bug 110492] Mesa reports old GLSL version to programms using an older OpenGL version

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110492 Bug ID: 110492 Summary: Mesa reports old GLSL version to programms using an older OpenGL version Product: Mesa Version: 19.0 Hardware: x86-64 (AMD64) OS:

Re: [Mesa-dev] [PATCH v2] radv: only load 2-dwords for vertex buffers when robustness is disabled

2019-04-22 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Tue, Mar 19, 2019 at 9:42 AM Samuel Pitoiset wrote: > > This patch requires the typed vertex fetches series. > > Totals from affected shaders: > SGPRS: 445574 -> 452638 (1.59 %) > VGPRS: 373392 -> 370436 (-0.79 %) > Spilled SGPRs: 77 -> 14 (-81.82 %) > Spilled

Re: [Mesa-dev] [PATCH] radv: add VK_NV_compute_shader_derivates support

2019-04-22 Thread Bas Nieuwenhuizen
On Fri, Apr 19, 2019 at 12:37 PM Samuel Pitoiset wrote: > > Only computeDerivativeGroupLinear is supported for now. Reviewed-by: Bas Nieuwenhuizen > > All crucible tests pass. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_device.c | 7 +++ >

[Mesa-dev] [Bug 109183] GPU Hangs randomly with GTA V

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109183 soredake changed: What|Removed |Added CC||fds...@krutt.org -- You are receiving this