View Full Version : Hardware-acceleration question.
bastik
09-13-2009, 02:07 AM
Currently I have a system that can play FullHD files well. It can happen if postprocessing or deinterlacing is enabled that audio and video lose sync.
As I consider switching to Win7 (instead of sticking to XP) along with a hardware upgrade. I thought about an AMD Dual Core (like my current) or AMD Quad Core plus an ATI HD video card.
My question now: Is there anything that makes use of all cores (2 or 4) and the video card? For me Quad core doesn't make sense as I wouldn't need it.. ( no time for video-games)
DVXA uses the video card, but what's about the CPU (and all it's cores)?
Thanks in advance.
I would recommend the new intel cpu as a CPU - i5 750 (2.66 GHz)
It has 4 cores, but when you are using just one core, it overclocks the one to 3.20 GHz if you need it and shuts off the rest. Tests here ([Only registered and activated users can see links] 50+and+Core+i7+870+Edition/article16187.htm). Btw. the power consumption (Leistungsafnahme) is very low.
As for the graphic card, I would wait for the new DirectX 11 AMD/Ati cards.
These are my recommendations (I would buy this hardware).
But of course I don´t know your budget, or maybe you have a AMD2(+) socket, so you could upgrade more easily...
santaklaus
09-13-2009, 04:41 AM
ffdshow-mt or CoreAVC share the load between all your cores, and so do Avisynth scripts in ffdshow(LSF is very very nice, so is GrainFactory3 ;))
and you can use CoreAVC CUDA on top of it, so h264 is decoded by your GPU, and post-processing runs on 4 threads in ffdshow :)
DXVA has far too many limitations(ref frames number, no post-processing, etc) to be any useful IMO..
bastik
09-13-2009, 04:43 AM
Thank you, mad.
What I need help with is software like MPC-Video-Decoder (or similar) that uses as much hardware as possible. CPU (all cores) and GPU.
Thank you santaklaus.
I have an old C2D 6400 (2.13 GHz) and it has no problem decoding 1080p without CUDA or DXVA. So if you upgrade your PC, you don´t need to worry too much about it.
For Windows, I have and extremely underclocked 8800GTS and it runs madVR without lagging (well, there are other bugs..but the renderer is still pretty young).
So as already said, don´t worry about video playback much.
bastik
09-13-2009, 04:54 AM
I have an old C2D 6400 (2.13 GHz) and it has no problem decoding 1080p without CUDA or DXVA. So if you upgrade your PC, you don´t need to worry too much about it.
OK, thank you. I don't have problems (with Video_TransformFilter) only sometimes when I enable deinterlacing on some files (that are not HD) and forget to disable it I notice desyncing.
BTW: I think I will stick to AMD. Through the years (and woods) I switched from Intel to AMD and back, then to AMD again. I simply wanna support AMD as far as I can...
I think I will stick to AMD. Through the years (and woods) I switched from Intel to AMD and back, then to AMD again. I simply wanna support AMD as far as I can...
I was in a similar situation. I loved AMD processors (especially through times Athlon64 vs Pentium 4). But now, I look at the CPU properties, price...etc and then decide. I looked at the posted test and I love the new Intel CPU.
But I respect you decision. If you want a AMD processor, go for either Phenom II X2 or Athlon II X2 (2xx range; the Phenom ones do have L3 cache, the Athlon ones don´t). If you would like a X3 go for the 720 model.
bastik
09-13-2009, 05:08 AM
I was an Intel freak. First CPU was an Intel the following next too. Tried AMD liked it.. tried Intel again, then AMD.. sticked to AMD until now.
Damn AMD is in trouble and needs money. The last thing I want is a world where I have no other choice as to buy an Intel processor. Sure I look at price vs power (and power consumption).
santaklaus
09-13-2009, 05:48 AM
np bastik ;)
you can also try the freeware DivX h264 decoder, it works better than CoreAVC to me...very low latency and very good multi-threading :)
and I really would advise against using the KMP Video Transform Filter because it does not support RGB32HQ...so you get very ugly chroma upsampling...red is blocky as hell(kyh fixed the "glitch" in PotPlayer ;))
VirtualManPL
09-13-2009, 06:04 AM
CoreAVC (max 4), DivX, ffdshow-mt and MPC-HC (max 8) support more than 1 threads ;)
CUDA > DxVA, because of less limitations in encoded steam...
IMO you should choose if you want to buy now nVidia GPU, because of CUDA...
impleanting OpenCL in CoreAVC will be after release 2.0, IMO about more than half year or more... and firstly we need compatible driver and cards will be the same like in CUDA for nVidia, dunno for ATI... ;D
and post some info about your current PC and you budget and we will see what to do about this xD
@santaklaus - try this PS script ;P
with MPC-HC I didnt see any ugly upsampling anymore, odd xD
/*
YV12 chroma upsampling fixer
by Kurt Bernhard 'Leak' Pruenner
Use with YV12 output if the half-resolution chroma
gets upsampled in hardware by doubling the values
instead of interpolating between them.
(i.e. if you're getting blocky red edges on dark
backgrounds...)
*/
sampler s0 : register(s0);
float4 p0 : register(c0);
float4 p1 : register(c1);
#define width (p0[0])
#define height (p0[1])
float4 getPixel(float2 tex, float dx, float dy)
{
tex.x+=dx;
tex.y+=dy;
return tex2D(s0, tex);
}
float4 rgb2yuv(float4 rgb)
{
float4x4 coeffs=
{
0.299, 0.587, 0.114, 0.000,
-0.147,-0.289, 0.436, 0.000,
0.615,-0.515,-0.100, 0.000,
0.000, 0.000, 0.000, 0.000
};
return mul(coeffs,rgb);
}
float4 yuv2rgb(float4 yuv)
{
float4x4 coeffs=
{
1.000, 0.000, 1.140, 0.000,
1.000,-0.395,-0.581, 0.000,
1.000, 2.032, 0.000, 0.000,
0.000, 0.000, 0.000, 0.000
};
return mul(coeffs,yuv);
}
float4 main(float2 tex : TEXCOORD0) : COLOR
{
float dx=1/width;
float dy=1/height;
float4 yuv00=rgb2yuv(getPixel(tex,-dx,-dy));
float4 yuv01=rgb2yuv(getPixel(tex,-dx, 0));
float4 yuv02=rgb2yuv(getPixel(tex,-dx, dy));
float4 yuv10=rgb2yuv(getPixel(tex, 0,-dy));
float4 yuv11=rgb2yuv(getPixel(tex, 0, 0));
float4 yuv12=rgb2yuv(getPixel(tex, 0, dy));
float4 yuv20=rgb2yuv(getPixel(tex, dx,-dy));
float4 yuv21=rgb2yuv(getPixel(tex, dx, 0));
float4 yuv22=rgb2yuv(getPixel(tex, dx, dy));
float4 yuv=
(yuv00*1+yuv01*2+yuv02*1+
yuv10*2+yuv11*4+yuv12*2+
yuv20*1+yuv21*2+yuv22*1)/16;
yuv.r=yuv11.r;
return yuv2rgb(yuv);
}
santaklaus
09-13-2009, 08:53 AM
@santaklaus - try this PS script ;P
with MPC-HC I didnt see any ugly upsampling anymore, odd xD
maybe coz it doesn't have a Video Transform Filter? anyway this problem only occurs on ATi cards...they don't convert YV12 to RGB32 w/ progressively upsampled chroma, they do point resize. nvidia does it fine.
also, you don't get "ghost" lines when resizing w/ a PS 2.0 scaler...coz I asked Casimir if he could fix it ;)
but MPC HC is not stable w/ Reclock, and the GUI is butt ugly...this PS script from Leak is indeed very good! as good as what madVR does actually :cool:
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.