|
|
#1 | |
|
Registered User
Join Date: Sep 2006
Posts: 17
|
Hi all,
Since the 170 series I've been having terrible problems with tearing. I run Compiz Fusion, and whenever I rotate the desktop cube it looks terrible. Watching videos isn't great either. I thought enabling Sync to VBlank was meant to fix this, but it doesn't seem to help - I have these options enabled: ccsm | General Options | Display Settings | Sync To VBlank - ticked nvidia-settings | OpenGL Settings | Sync to VBlank - ticked (also "Allow Flipping" is ticked) I have this same problem with different Compiz versions (0.7.6 and latest git) on both a GeForce Quadro (sorry, don't have the model handy) and an 8600GT. Any ideas how to stop the tearing?? If it helps, here's my nvidia-bug-report.log. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Sep 2006
Posts: 17
|
Hmm, just discovered something interesting. Although I always used to have this problem with one monitor, now that I have two (set up as separate X screens) it seems that the primary monitor is actually syncing to the refresh rate of the second one!
If I disable sync to vblank on the primary screen then the cube rotation gets *much* smoother, but of course still tears. According to the Compiz benchmark plugin I'm getting 60fps with vblank sync off, but as soon as I enable vblank sync it drops to ~30fps (and becomes very jerky, but still tears.) With the old drivers (before 170) and one monitor, I used to get 60fps with vblank enabled and no tearing. (The second monitor only appeared a couple of weeks ago, before then I didn't have any dual monitors configured in xorg.conf and for months it has been tearing.) Looks like there's something funky going on with that. Interestingly on the Quadro both monitors are running @ 60Hz in Twinview, and it's very smooth (60fps) but still tears badly. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2004
Posts: 711
|
Disable detect refresh rate in compiz and set it to 60
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2006
Posts: 17
|
Thanks for the suggestion - I've tried that, but unfortunately it doesn't make any difference :-( With a single monitor it increases the framerate, with dual monitors it doesn't make a difference. Plus it still tears either way.
|
|
|
|
|
|
|
#5 | |
|
Linux kernel hacker
Join Date: Feb 2009
Location: Ottawa, Canada
Posts: 173
|
Quote:
Cheers |
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Sep 2006
Posts: 17
|
Well I think I figured this one out. None of the sync to vblank options work through the GUI, but if I put the command "export __GL_SYNC_TO_VBLANK=1" in my ~/.xsession file (so that it runs before Compiz loads) then sync to vblank is actually enabled, and I don't get tearing any more! Unfortunately it only works on the primary monitor, the second monitor still tears but because I don't use that for watching video I can live with it...
|
|
|
|
|
|
|
#7 | |
|
Registered User
Join Date: May 2008
Posts: 113
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Dec 2008
Posts: 55
|
Can I sync both monitors?
2 LCD with 60Hz refresh... I'm using the 2nd for view video/movie on fullscreen... |
|
|
|
|
|
#9 | |
|
Registered User
Join Date: May 2008
Posts: 113
|
Quote:
#!/bin/bash export __GL_SYNC_TO_VBLANK=1 export __GL_SYNC_DISPLAY_DEVICE=TV-0 mythfrontend |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OpenGL book | Airstrip1 | Software Development | 2 | 08-12-12 08:55 AM |
| Major WineX prob... I think it has to do with the vidcard... | Linewbie | NVIDIA Linux | 20 | 10-09-02 09:58 PM |
| Refresh rate fix for opengl? | Zarich | NVIDIA Windows Graphics Drivers | 1 | 08-29-02 02:47 PM |
| linux opengl extension | chijacky | NVIDIA Linux | 5 | 08-23-02 11:16 AM |
| Slow OpenGL on 7.3 | kl899 | NVIDIA Linux | 1 | 08-04-02 07:58 PM |