Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-21-09, 01:56 PM   #1
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Thumbs down Tearing, Tearing and again TEARING!!

Hello everybody!

I just installed the brand new Ubuntu 9.04 hoping it would fix some graphics problems, due to a new version (0.8.2) of compiz and x-server included.
I was pretty disappointed to see that nearly nothing became better.

When I enable compiz I got tearing in all OpenGL applications, In some it's more obvious on some it is less. Surprisingly when watching videos, I can't see any tearing.

When I disable compiz and use metacity as window manager instead, I don't see any tearing in OpenGL apps but when watching a video in vlc it appears again. Totem seems to work ok, so the vlc video output might cause it this time.

Sync to VBlank is enable in both Nvidia-settings and compiz-settings. Changing these options doesn't help, setting the refresh rate in compiz from automatic to manual doesn't help either.

My specs:
Geforce 8600M GT, Kernel 2.6.28.11, tried several driver versions with no luck from 180.xx to 185.19, right now I've got 180.51 installed.

Am I doing something wrong?

Thanks in advance!
Lemmiwinks is offline   Reply With Quote
Old 04-21-09, 03:03 PM   #2
Jupiter1tx
Old User
 
Jupiter1tx's Avatar
 
Join Date: May 2007
Posts: 43
Default Re: Tearing, Tearing and again TEARING!!

In order for your nvidia settings to be effective when using Compiz,
you must load the nvidia settings BEFORE compiz is started.
__________________
Core i7 920 | Asus P6TD | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Nautilus 500/Swiftech GTZ
GCC 4.3.3 | 2.6.29-zenx | Xorg-7.4 | KDE-4.2 | Compiz-Fusion
Jupiter1tx is offline   Reply With Quote
Old 04-21-09, 04:28 PM   #3
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: Tearing, Tearing and again TEARING!!

nv-settings is loaded at system startup, as it is registered as an startup application.
That's the default setting in Ubuntu, so I hope it works correctly.

Does it still work when I return from suspend?
Lemmiwinks is offline   Reply With Quote
Old 04-21-09, 05:31 PM   #4
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: Tearing, Tearing and again TEARING!!

I restarted the whole machine which did not improve anything.
I also found out, that disabling Vsync to blank in nv-settings while leaving it enabled in compiz helped.
In my opinion this stuff really needs to be cleaned up, as it all seems to be pretty weird and does not work out of the box...

In general, performance with compiz enabled is not very good
Lemmiwinks is offline   Reply With Quote
Old 04-22-09, 06:34 AM   #5
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: Tearing, Tearing and again TEARING!!

I confirm that there IS still tearing in OpenGL apps/games etc.
I'm playing OpenArena extensively and tried every fix out there (here on forums, other different Linux distribution related forums, and just google). All in vain. In Windoze it's perfect, but not in Linux unfortunately. I've enabled/disabed Sync to VBlank, played with different options in my xorg.conf, etc, etc, etc. Nothing helps.

Btw, my config:

Ubuntu 8.10 (2.6.27)
GeForce 7600 GT
Always the latest stable NVidia driver
No compiz

P.S. The only thing that reduced tearing was when I set 'maxfps' variable equal to my monitor's refresh rate (in the OpenArena config file). But still it's not syncing as it is in Windoze.
gonzo_s is offline   Reply With Quote
Old 04-22-09, 02:42 PM   #6
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: Tearing, Tearing and again TEARING!!

Using the the current driver provided by Ubuntu (180.44) does not fix tearing problems for me. It also seems to be application specific, i.e. x-moto, a small 2D game shows heavy tearing while many others don't have tearing at all, i.e. Cooliris Piclens...

I also noticed, that notification events, like from libnotify can induce tearing for the period of time they show up.

Any more people with similar experiences here, please complain
Lemmiwinks is offline   Reply With Quote
Old 04-22-09, 03:14 PM   #7
mbobak
Registered User
 
Join Date: Jan 2009
Posts: 32
Default Re: Tearing, Tearing and again TEARING!!

Note that disabling compiz is NOT good enough to eliminate tearing.

You *must* disable the compositing extension!

Code:
sudo nvidia-xconfig --no-composite
ctrl-alt-backspace
That should eliminate tearing, at the expense of no eye candy. This is a known issue.

-Mark

PS Note that ctrl-alt-backspace will restart the X server, so, make sure you close out apps and save changes in all windows where you don't want to lose data.
mbobak is offline   Reply With Quote
Old 04-22-09, 03:40 PM   #8
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: Tearing, Tearing and again TEARING!!

I use "Compiz Fusion Icon" to switch between window managers and it works great for me.
As described in my first post disabling compiz removes any tearing except for vlc...

I' just wondering why there is still no fix either from nvidia or compiz for these issues, as they already seem to persist for a pretty long time...
Lemmiwinks is offline   Reply With Quote

Old 04-22-09, 05:35 PM   #9
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing, Tearing and again TEARING!!

The 185.19 drivers fix tearing with the blit-based presentation queue. Still, if you're using a compositing window manager, a) You need to make sure it syncs to vblank when rendering, and b) there are some issues with the way GLX_EXT_texture_from_pixmap was design that make it practically impossible to prevent tearing when the window manager reads from the pixmap.
Stephen Warren is offline   Reply With Quote
Old 04-22-09, 06:35 PM   #10
psychok9
Registered User
 
Join Date: Dec 2008
Posts: 55
Default Re: Tearing, Tearing and again TEARING!!

I've fixed my videos+twinview tearing problem with VDPAU output, mplayer and last nvidia driver 185.19.
With OpenGL apps, I don't have problem (World of Warcraft, OGL), if i type "nvidia-settings -l" and I've saved the "VSYNC on" setting.
psychok9 is offline   Reply With Quote
Old 04-24-09, 11:04 AM   #11
Lemmiwinks
Registered User
 
Join Date: Apr 2009
Location: Germany
Posts: 75
Default Re: Tearing, Tearing and again TEARING!!

I have completely removed and reinstalled compiz today, which made overall performance better. Tearing also seem to be less worse.
In general it seems to be recommended to completely uninstall compiz (including config files) when upgrading to a newer version/release...
Lemmiwinks is offline   Reply With Quote
Old 04-27-09, 03:12 AM   #12
Sky777
Registered User
 
Join Date: May 2007
Posts: 65
Default Re: Tearing, Tearing and again TEARING!!

I would like to clarify the question - what's "tearing" ???

does it tearing ?
http://www.forum.free-x.de/wbb/index...=5069#post5069
http://www.forum.free-x.de/wbb/index...=5068#post5068
__________________
PCI Sparkle GeForce 8400 GPU G98 A2 512 MB + AMD Sempron(tm) Processor 2800+ + svn Mplayer + xine-vdpau rev. 279 + vdr 1.7.9 & Nvidia 190.25 + XBMC
Sky777 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:06 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.