News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Enabling Vsync

Started by gazlang, March 31, 2008, 12:25:03 AM

Previous topic - Next topic

gazlang

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?
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

tkmedia

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
My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

gazlang

Didn't work for me i'm affraid.

Is there any way to force vsync? eg. in the xorg.conf?
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

1audio

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?).

gazlang

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.
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

tkmedia

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

My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

colinjones

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...

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

tkmedia

My Setup [url="http://wiki.linuxmce.org/index.php/User:Tkmedia"]http://wiki.linuxmce.org/index.php/User:Tkmedia[/url]

For LinuxMce compatible  systems and accessories
[url="http://lmcecompatible.com/"]http://lmcecompatible.com/[/url]

gazlang

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?
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

colinjones

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....

totallymaxed

Quote from: 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....

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

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

colinjones

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!)

totallymaxed

Quote from: 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!)

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

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

gazlang

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.
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT