You are not logged in.

#1 2011-11-23 00:38:36

Devotedfollower
Member
Registered: 2010-09-26
Posts: 48

horizontal video tearing in xfce and ion graphics (nvidia)

Hello all,

I have arch + xfce running no problems, but there is significant horizontal video tearing when I play videos (in vlc or firefox/flash). I have already enabled 'Sync to VBlank' within the nvidia-utils control panel. I think the problem arises from the xfce monitor settings window that only allows the frequency output to the monitor to be 50Hz. Can someone confirm this and/or offer advice?

Thanks again,
DF

Offline

#2 2011-11-25 06:38:54

M4he
Member
Registered: 2011-08-11
Posts: 75

Re: horizontal video tearing in xfce and ion graphics (nvidia)

Turn off compositing in xfce
Install and use mplayer for playback (you can install smplayer for GUI)
Set the video output in mplayer/smplayer to vdpau


Arch - makes me feel right at /home

Offline

#3 2011-11-25 11:32:25

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: horizontal video tearing in xfce and ion graphics (nvidia)

I would try what M4he posted first, but if you still have problems...

I found oddly enough with the Intel HD3000 graphics on my laptop that tearing goes away when I run compiz.  The desktop cube has to work, not just some of the desktop effects.  Not that you need to necessarily enable the desktop cube, just verify that it works to verify that compiz is working correctly.  Apparently compiz enables 'sync to vblank' to work.  There is also a different (bug) fix if you are running Gnome 3 with the mutter/clutter window manager to enable 'sync to vblank' to work.

Offline

#4 2011-11-26 00:40:42

Devotedfollower
Member
Registered: 2010-09-26
Posts: 48

Re: horizontal video tearing in xfce and ion graphics (nvidia)

thanks very much for your posts, I will try them and get back to you smile

Offline

#5 2011-11-26 09:11:58

M4he
Member
Registered: 2011-08-11
Posts: 75

Re: horizontal video tearing in xfce and ion graphics (nvidia)

Since Devotedfollower is using a nvidia ion card he will get the best results without compositing at all.

If you want to use a nvidia card along with compiz without tearing, I found these additional steps to be necessary:

  • put

    Option "TripleBuffer" "True"

    under Section "Device" in your /etc/X11/xorg.conf (if you don't have one, run "nvidia-xconfig" once as root)

  • put "nvidia-settings -l" into your startup applications

  • install and launch ccsm, open up the general options and look for a tick called "Sync to VBlank" and activate it

  • within these general options there is a tick called "recognize refresh rate" (or something alike); deactivate it

  • try playing around with the refresh rate slider (I got the best results when using the exact refresh rate for my display or something higher)

Note that these steps are only necessary if you really want to use compiz on nvidia cards. They worked with several GTX cards for me. Don't know about your ION though.
My netbook has an ION but it was one of the first ones. As far as I can remember it had no tearing on xfce without compositing but on compiz it had a bit tearing at the top of screen even with all the steps above.

Nevertheless I wish you best luck!

P.S. Tearing has always been a huge problem on Linux for me. After a lot research I found compiz being the only compositor able to almost eliminate tearing. So the only choice for nvidia users to get rid of video tearing is either to use no compositing at all (which results in teary desktop graphics) or to use compiz along with vdpau...


Arch - makes me feel right at /home

Offline

Board footer

Powered by FluxBB