LinuxMCE Forums

General => Installation issues => Topic started by: gazlang on March 31, 2008, 12:25:03 am

Title: Enabling Vsync
Post by: gazlang on March 31, 2008, 12:25:03 am
Hi,

I have a nVidia xfx 7300 gt and cannot seem to get rid of video tearing.

I have ticked all the boxes in nvidia settings relating to vsync and ticked the vsync box in the mythtv playback setings, I have also tried the latest envy driver but still get quite bad tearing.

I have been using the UI2 with alpha blending so (as suggested on this forum) changed to UI2 masked, but still I get bad tearing. I also closed the orbiter and tried running myth from KDE, but still no improvement.

Is there a special way to prevent tearing? Or is it just that my hardware isn't up to perfect vsync (see below for full list)?

Anybody not getting tearing with their setup?
Title: Re: Enabling Vsync
Post by: tkmedia on March 31, 2008, 02:48:14 am
install http://www.nvidia.com/object/linux_display_ia32_169.12.html enable all vsync options and useevents=true ot xorg

works great w my 7050 alphablending no tearing at 1080p low xorg cpu usage
Title: Re: Enabling Vsync
Post by: gazlang on April 03, 2008, 02:34:11 pm
Didn't work for me i'm affraid.

Is there any way to force vsync? eg. in the xorg.conf?
Title: Re: Enabling Vsync
Post by: 1audio on April 03, 2008, 03:49:45 pm
Is your content interlaced or progressive? Or "mixed" (interlaced SD in 720P HD) content. Progressive content seems to work pretty well The interlaced content is more troublesome. And the mixed stuff may be a lost cause. What mode is your display running in? (720p, 1080p, 1080i or something else?).
Title: Re: Enabling Vsync
Post by: gazlang on April 03, 2008, 04:00:13 pm
Not sure how to tell whether i'm using interlaced or progressive.

I can say that i'm displaying 1080p @60hz and UI2 on a 40" 1080p LCD screen using a dvi to hdmi cable.
Title: Re: Enabling Vsync
Post by: tkmedia on April 03, 2008, 11:22:44 pm
gazlang

follow this guide http://wiki.linuxmce.org/index.php/Nvidia_Card_Tweaks_For_Better_MythTV_and_UI_Performance
Excpet:

1. make sure you use nvidia 169.12 driver
2. Enable all vblank options
3. add Option "UseEvents" "true"  to screen section of xorg.conf

Works for me

YMMV

Title: Re: Enabling Vsync
Post by: colinjones on April 04, 2008, 01:56:49 am
Gazlang

If its any consolation, I am still getting jerky video and some tearing running 1080p with UI2Masking even after trying all the options that tk suggested and I'm using the exact same mobo as him! I'm stumped as to what to do...
Title: Re: Enabling Vsync
Post by: hari on April 04, 2008, 11:14:21 pm
me 2
Title: Re: Enabling Vsync
Post by: tkmedia on April 04, 2008, 11:32:43 pm
look here for hints, this how I determined my settings

http://www.mythtv.org/wiki/index.php/NVidiaProprietaryDriver
Title: Re: Enabling Vsync
Post by: gazlang on April 09, 2008, 02:28:21 pm
No luck with this still.
Somehow the tearing doesn't seem to be as bad as it was now, but still very noticable when the video includes flashing lights / high speed action.

I am suprised to get any tearing at all since some users have lower graphics cards and no tearing probs.

One last question -
Do I need to have specific video settings on the media director page on LMCE admin?
Currently, the graphics card is set to generic and with high deinterlacing using xv - if I change the card to nvidia 7xxx series the x-server won't start on reboot and I have to re-install the nvidia driver using envy in the kernel recovery mode.

Anyone else seen this?
Title: Re: Enabling Vsync
Post by: colinjones on April 10, 2008, 12:28:58 am
High deinterlacing could suck up all your CPU, default is off and that is what I use but still get the same issues. I'm set to xv most of the time and generic, and changing these doesn't seem to make any difference. I have asked the same questions but nobody seems to want to be pinned down on that, also there really isn't anything in the wiki on it either....
Title: Re: Enabling Vsync
Post by: totallymaxed on April 10, 2008, 12:45:01 am
High deinterlacing could suck up all your CPU, default is off and that is what I use but still get the same issues. I'm set to xv most of the time and generic, and changing these doesn't seem to make any difference. I have asked the same questions but nobody seems to want to be pinned down on that, also there really isn't anything in the wiki on it either....

We usually use 'xv' and 'high' or 'higher' de-interlacing.

Andrew
Title: Re: Enabling Vsync
Post by: colinjones on April 11, 2008, 12:50:05 am
What about the graphics card, Andrew? Does it make any difference? Should I set it to GeForce/NVidia (although it doesn't seem to make any difference!)
Title: Re: Enabling Vsync
Post by: totallymaxed on April 11, 2008, 01:11:49 am
What about the graphics card, Andrew? Does it make any difference? Should I set it to GeForce/NVidia (although it doesn't seem to make any difference!)

No there is no need to use that setting in Web Admin at all... i never touch it at all.

Andrew
Title: Re: Enabling Vsync
Post by: gazlang on April 13, 2008, 10:38:55 am
ok, i tried setting th ui to basic ui1 with s-video out - result! No tearing! My card must be strugglin with th ui. Suprising though as said before, as i don't see the 7300gt as a weak card for video.
Title: Re: Enabling Vsync
Post by: totallymaxed on April 13, 2008, 11:07:52 am
ok, i tried setting th ui to basic ui1 with s-video out - result! No tearing! My card must be strugglin with th ui. Suprising though as said before, as i don't see the 7300gt as a weak card for video.

That is surprising... we have a couple of 7300LE's that we use in testing sometimes and they seem to perform well and without tearing in UI2 with Overlay. Getting the display hardware right is a bit of a 'black art' and sometimes what looks 'right' on papaer just does not work as well as expected. This is particularly true of video cards - often more basic cards work better and are much easier to configure.

Andrew
Title: Re: Enabling Vsync
Post by: Emiku on August 07, 2008, 02:19:10 pm
I am beginning to think this is a 64bit issue, i will try a 32bit install with 32bit drivers from nvidia.

Any one running 32bit and having problems?

- Emiku