Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-23 Thread Martin Andersson
On Sun, Jun 23, 2013 at 11:56 PM, Alex Deucher wrote: > On Sun, Jun 23, 2013 at 2:24 PM, Marek Olšák wrote: >> Hi Alex, >> >> rctx->framebuffer.state.nr_cbufs might not contain what you think it >> does, because the framebuffer that needs flushing may have been >> replaced by a new framebuffer an

[Mesa-dev] [PATCH] r600g/compute: disable unused colorbuffer slots

2013-06-23 Thread Marek Olšák
This might fix the lockups caused by colorbuffer flushes and it's generally the right thing to do. Untested. --- src/gallium/drivers/r600/evergreen_compute.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/galliu

[Mesa-dev] [PATCH] st/mesa: handle SNORM formats in generic CopyPixels path

2013-06-23 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_format.c | 14 ++ src/gallium/auxiliary/util/u_format.h | 3 +++ src/mesa/state_tracker/st_cb_drawpixels.c | 6 ++ 3 files changed, 23 insertions(+) diff --git a/src/gallium/auxiliary/util/u_format.c b/src/gallium/auxiliary/util/u_format

Re: [Mesa-dev] [PATCH] vl/mpeg12: implement inverse scan/quantization steps

2013-06-23 Thread Ilia Mirkin
On Sun, Jun 23, 2013 at 5:47 PM, Andy Furniss wrote: > Ilia Mirkin wrote: >> >> Signed-off-by: Ilia Mirkin >> --- >> >> These changes make MPEG2 I-frames generate the correct macroblock data (as >> compared to mplayer via xvmc). Other MPEG2 frames are still misparsed, and >> MPEG1 I-frames have s

Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-23 Thread Alex Deucher
On Sun, Jun 23, 2013 at 2:24 PM, Marek Olšák wrote: > Hi Alex, > > rctx->framebuffer.state.nr_cbufs might not contain what you think it > does, because the framebuffer that needs flushing may have been > replaced by a new framebuffer and the cache flushing of the old > framebuffer usually takes pl

Re: [Mesa-dev] [PATCH] vl/mpeg12: implement inverse scan/quantization steps

2013-06-23 Thread Andy Furniss
Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- These changes make MPEG2 I-frames generate the correct macroblock data (as compared to mplayer via xvmc). Other MPEG2 frames are still misparsed, and MPEG1 I-frames have some errors (but largely match up). This messes up mpeg2 vdpau decode for

Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-23 Thread Martin Andersson
On Sun, Jun 23, 2013 at 7:41 PM, Alex Deucher wrote: > On Sat, Jun 22, 2013 at 11:53 AM, Martin Andersson wrote: >> On Sat, Jun 22, 2013 at 12:22 PM, Marek Olšák wrote: >>> Reviewed-by: Marek Olšák >>> >>> BTW, SMX is a write cache, to maybe it shouldn't be part of this patch. >> >> I made a li

Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-23 Thread Marek Olšák
Hi Alex, rctx->framebuffer.state.nr_cbufs might not contain what you think it does, because the framebuffer that needs flushing may have been replaced by a new framebuffer and the cache flushing of the old framebuffer usually takes place before the first draw to the new framebuffer. To solve this,

Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-23 Thread Alex Deucher
On Sat, Jun 22, 2013 at 11:53 AM, Martin Andersson wrote: > On Sat, Jun 22, 2013 at 12:22 PM, Marek Olšák wrote: >> Reviewed-by: Marek Olšák >> >> BTW, SMX is a write cache, to maybe it shouldn't be part of this patch. > > I made a little experiment where i ran > "ext_framebuffer_multisample-una

[Mesa-dev] [PATCH] vl/mpeg12: implement inverse scan/quantization steps

2013-06-23 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- These changes make MPEG2 I-frames generate the correct macroblock data (as compared to mplayer via xvmc). Other MPEG2 frames are still misparsed, and MPEG1 I-frames have some errors (but largely match up). src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c | 84 ++

[Mesa-dev] [PATCH] targets/xvmc-nouveau: add in missing nv30 lib

2013-06-23 Thread Ilia Mirkin
Currently libXvMCnouveau.so is missing nv30_screen_create. Add it in so that it may be dlopen'd. Signed-off-by: Ilia Mirkin --- MPEG1/2 bitstream decoding is nowhere near working in vl. XvMC appears to work flawlessly though, so let's make sure it's usable. src/gallium/targets/xvmc-nouveau/Mak

[Mesa-dev] [Bug 65898] Low(er) FPS in Half-Life 2 on Arch Linux

2013-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65898 --- Comment #4 from Mike Higgins --- Eric: Thanks for the links, a little over my head, but was reassured to see the graphics card was doing something :) intel_gpu_top output: render clock: 500 Mhz sampler clock: 533 Mhz r