nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   vsync, compiz, tearing, oh my! (http://www.nvnews.net/vbulletin/showthread.php?t=73027)

quickkk 07-07-06 01:02 AM

vsync, compiz, tearing, oh my!
 
Hi everyone,

I've just installed suse 10.1 and was very eager to try out the compiz 3D desktop. I download and installed the newest nvidia linux drivers, and finally got the 3D desktop working. It's really nice, except for one thing that is really bothering me...

For some reason, whenever I drag a window around horizontally, I notice that there seems to be some "tearing" like I would see in some 3d game running in windows if I didn't enable vsync. It's not a big thing, it's just that I'm going crazy trying to find a solution to the problem. I don't even know if there is a solution! Is this normal behaviour? Am I asking too much?

I spent hours searching this forum and the internet in general, and have tried these following things:

*** disclaimer: I'm really new to linux, and don't understand most things! ***

1) I tried using nvidia-settings. It wasn't working, and eventually I discovered that this doesn't work in conjunction with the 3D desktop.

2) I tried using nvidia-xconfig. I really don't understand how this works. From the Nvidia site http://tinyurl.com/o5t4b there seems to be a whole bunch of options, like "TripleBuffer", but I can't see how to enable them using the nvidia-xconfig utility. All that happens when I type "nvidia-xconfig" is this

Code:

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

when I type nvidia-xconfig --help, I don't even see most of the options that are stated in the X Config Options appendix file (at the link above)!

3) After searching this board, I've seen a lot of reference to the magical "__GL_SYNC_TO_VBLANC=1" option. I've tried exporting this like so "export __GL_SYNC_TO_VBLANC=1" and I don't see any changes. There is still tearing when I drag any windows around. I tried putting the export command at the end of my .bashrc file, and rebooted the computer, but I still don't see any changes. Furturmore, I'm not even sure if this setting will only apply to things like games, or if it will affect how the desktop is drawn. I think that it should, since the desktop is 3D (using compiz).

Anyway, I really tired of trying to figure this out. Any help would be greatly appreciated! Thanks,

Sincerely,

Alexis

System specs:

suse 10.1, using the gnome desktop
geforce 6800 128Mb
1GB ram
athlon X2 3800

fozner 07-07-06 03:59 PM

Re: vsync, compiz, tearing, oh my!
 
I tried with a LCD monitor and didn't notice any tearing no matter the setting.

lexius_java 07-14-06 01:11 PM

Re: vsync, compiz, tearing, oh my!
 
I have the same problem.

Chalnoth 07-14-06 03:30 PM

Re: vsync, compiz, tearing, oh my!
 
If the environment variable __GL_SYNC_TO_VBLANK=1 is to have any effect, it has to be set before XGL starts. This means you would have to place it in one of the system init scripts (typically rc.local).

Edit: By the way, you can see all of the environment variable settings in Appendix E of the readme:
http://download.nvidia.com/XFree86/L...ppendix-e.html

lexius_java 07-17-06 08:35 AM

Re: vsync, compiz, tearing, oh my!
 
Quote:

Originally Posted by Chalnoth
If the environment variable __GL_SYNC_TO_VBLANK=1 is to have any effect, it has to be set before XGL starts. This means you would have to place it in one of the system init scripts (typically rc.local).

Edit: By the way, you can see all of the environment variable settings in Appendix E of the readme:
http://download.nvidia.com/XFree86/L...ppendix-e.html

but it works in xorg and not in xgl.


All times are GMT -5. The time now is 01:42 AM.

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