HQ OpenGL HW (GPU) upscalers from Bobo1on1? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: HQ OpenGL HW (GPU) upscalers from Bobo1on1? (/showthread.php?tid=67486)
- finite3 - 2010-01-22 23:46
This is a bit of a cross-post from http://forum.xbmc.org/showthread.php?tid=67538 which is a related thread.
In testing on my Asrock ION 330,
a) I had to turn on the sync audio to gpu option
b) Only bilinear, bicubic and nearest neighbour work without video lag and audio sync issues :-(
c) unoptimized Lanczos 3 drops way too many frames
I'll try overclocking, and check GPU is set to 512MB, but maybe the GPU is just underpowered for this.
- bobo1on1 - 2010-01-23 01:07
You don't really need lanczos3, lanczos3 optimized looks pretty much the same and it's even slightly better because it rings a little less.
- finite3 - 2010-01-23 14:08
Yes, it does do a great job. But the audio is out of sync with the xvids I have tried so far. Bilinear doesn't have a problem.
- bobo1on1 - 2010-01-23 18:17
Do you have dual channel memory in that machine?
- finite3 - 2010-01-24 00:22
I believe so. ddr2-800.
The GPU is integrated and has 512MB ram allocated.
Optical out to AV amp. HDMI to TV.
1080p/24 etc all play fine. Basic scaling options are fine. It's just these advanced settings.
After testing against a lot of files, with lanczos3 optimized, audio sync is stable and OK once you find the right offset. It is usually -.1s. It doesn't matter which audio sync option is chosen in the menu.
- bobo1on1 - 2010-01-24 00:33
If you want to know if your pc can handle these scalers, disable vsync in xbmc, play a video (dvd is fine), set the scaler to which you want to use, pause the video, press 'o' and look at the fps.
If you get less than 60 fps I'd say your machine is too slow, I know the ions reach 100 fps (which is the artificial limit in xbmc) with lanczos3 optimized so your machine doesn't need to be very fast.
These scalers however should not cause a/v sync issues, unless your machine is too slow, but then xbmc will start dropping frames.
- alanwww1 - 2010-01-24 00:59
finite3 Wrote:I believe so. ddr2-800.
It does not mean it is in dual channel configuration. This could be checked in Bios or the initial info screen after power up.
- finite3 - 2010-01-24 13:08
I've turned off vsync (I had it on driver decides) - fps sits at 25fps, or 23.98, depending on file. My xbmc is set to 1920*1080*50Hz. But I do have match refresh rate turned on - with an xorg.conf set to use edid.
Dropped frames is always minimal (16 or below) - which only occurs at the very beginning of the file.
It's not dropping frames once started.. and the video isn't slow, and audio sync doesn't drift. It's just weird that with the higher scalers set, audio offset has to be set to -.1s for "normal" xvids.
This is new to Lancosz and above.. it's incorrect for the simpler scalers.
It's also 100% reproducible.
I'm on optical audio out.. maybe I'll try updating alsa (I only have the version that came with live RC.) I'm on nvidia 190.53 gfx drivers.
I don't think this indicates CPU or GPU slowness. It just seems to be a sync flaw.
- bobo1on1 - 2010-01-24 16:09
Are you sure you paused the video during the test?
- finite3 - 2010-01-25 00:13
Ahem. No I didn't.
720p file = 99fps (nearest neighbour)
xvid1 = 43.65 fps (tvshow) (lancosz3 optimised)
xvid2 = 51.13 (dvdrip) ""
xvid3 = 37.51 (tvshow) ""
weird. I'm going to play around in bios - although i'm pretty much at the defaults.
Does anyone else have an asrock they can test with?
There's nothing in google about having to change GPU settings.
- Although I guess this is now bleeding edge. At least for xbmc.