Re: [Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-18 Thread Marek Olšák
It looks like there is a deadlock in LLVM when 2 shaders are compiled at the same time. I don't know why it doesn't happen with OpenGL. Marek On Thu, Oct 18, 2018 at 3:32 AM Michel Dänzer wrote: > On 2018-10-17 6:43 p.m., Marek Olšák wrote: > > Can you test the attached patch? > > Doesn't

Re: [Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-18 Thread Jan Vesely
On Thu, 2018-10-18 at 09:32 +0200, Michel Dänzer wrote: > On 2018-10-17 6:43 p.m., Marek Olšák wrote: > > Can you test the attached patch? > > Doesn't help, unfortunately. Backtraces with the patch attached. > > FWIW, this is on Bonaire. Hi, fwiw, I don't see this hang on my carrizo/iceland

Re: [Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-18 Thread Michel Dänzer
On 2018-10-17 6:43 p.m., Marek Olšák wrote: > Can you test the attached patch? Doesn't help, unfortunately. Backtraces with the patch attached. FWIW, this is on Bonaire. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast |

Re: [Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-17 Thread Marek Olšák
Can you test the attached patch? Marek On Wed, Oct 17, 2018 at 9:31 AM Michel Dänzer wrote: > On 2018-10-07 9:05 a.m., Marek Olšák wrote: > > From: Marek Olšák > > > > Fast color clears should be much faster. Also, fast color clears on > > evicted buffers should be 200x faster on GFX8 and

Re: [Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-17 Thread Michel Dänzer
On 2018-10-07 9:05 a.m., Marek Olšák wrote: > From: Marek Olšák > > Fast color clears should be much faster. Also, fast color clears on > evicted buffers should be 200x faster on GFX8 and older. Nice! Unfortunately, this broke clover with radeonsi. Everything using OpenCL seems to hang, see

[Mesa-dev] [PATCH 2/4] radeonsi: use compute shaders for clear_buffer & copy_buffer

2018-10-07 Thread Marek Olšák
From: Marek Olšák Fast color clears should be much faster. Also, fast color clears on evicted buffers should be 200x faster on GFX8 and older. --- src/gallium/drivers/radeonsi/Makefile.sources | 1 + src/gallium/drivers/radeonsi/meson.build | 1 +