You are not logged in.
Pages: 1
Good afternoon everyone!
Been trying to tackle this problem for a while. Basically, I get screen tearing under Openbox and while watching videos/movies in VLC.
I'm running the latest CK edition of the Nvidia drivers on a GTX 460.
I use compton (fork of xcompmgr) for composition but still get tearing without it. There seems to be a few posts about this but not a single one helps.
I would love smooth video and desktop.
Thanks in advance!
Last edited by Toxcity (2012-02-26 14:33:01)
Offline
You won't get rid of tearing with compton. It's just how it is, it's a downside of xrender-based compositors. Too bad, compton would be quite awesome otherwise.
You should not get tearing without compton, so it's possible VLC is doing something screwy. Check with nvidia-settings that vsync is turned on for xv. Then try a different player and/or a different output method in VLC.
Last edited by Gusar (2012-02-26 12:54:43)
Offline
Where's the option to turn on vsync for xv? I have every "sync to vblank" enabled. What should I turn the VLC video output to so it takes advantage of that option?
So there is no way to have composition without tearing under Openbox? Hmmm
Edit: Compton is the issue. This is getting silly, there seems to be no way to get simple eye candy without compromise somewhere. There should not be compromise!! How do I take advantage of my hardware supply pretty composition on my Openbox desktop? Windows can do it why can't Openbox?!
Edit2: Doesn't seem to be a way to use composition and not get tearing so I have decided to sacrifice the eye candy for smooth video. Thanks for the help mate!
Last edited by Toxcity (2012-02-26 14:32:46)
Offline
I use Compiz to eliminate tearing in XFCE and KDE. I get tearing when I don't use Compiz.
Offline
Yeah, Compiz is an opengl compositor, it can properly vsync. But if you go with Compiz, you lose the lightness of Openbox and it's awesome features (pipe menus FTW! ). I know there's compiz-boxmenu, but if I look at it's dependencies, and combined with the whole Compiz...
Offline
It's a pain. Do you think one day we will have some sort of Opengl option for Openbox? Would be nice.
Offline
mplayer or vlc --> opengl output (1 or 2 or such) renderer -> nvidia option sync to vblank.
or; have you tried how vdpau output works with your card?
Otherwize, there should be synchro-settings in the video player, i know mplayer has them atleast,
if going XV or such. (because it believe the nvidia sync to vblank is for GL)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
@PReP, no matter how much you play with those settings, you won't get rid of tearing. xrender simply doesn't provide vsync. An opengl compositor is the only way. But there is no simple, standalone opengl compositor. There's just Compiz, Kwin and Mutter, which are combined compositor/window manager. Ok, there's dcompmgr, but it hasn't seen development since 2008, and when I tried it, it didn't work very well.
Offline
On the same hardware, even kwin did not eliminate video tearing for me in Mageia KDE. Perhaps a configuration issue?
I did get mutter vsync to work in Fedora 16 Gnome 3 by putting the following environment variable in /etc/environment
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
Offline
For now I have just left composition off. Not only has tearing stopped in all my videos but the screen seems far clearer. Text is sharper and icons are crisp.
It's a real shame that a stand alone Opengl rendered composite manager hasn't been developed yet, also kinda surprising! Hardware is getting better and better, we have huge amounts of memory so it's quite easy to spare a little for composition even on a netbook.
Offline
Well, there's wayland, which supposedly comes with true transparency and compositing, but AFAIK it's under heavy development right now, and it needs KMS (meaning you'll have to use nouveau). According to wikipedia, "This is a simpler and more efficient approach than using a compositing window manager with the X Window System."
Edit: It also says there the stable version was released 16 days ago (9 February 2012). Hmm, interesting.
ArchWiki article here: https://wiki.archlinux.org/index.php/Wayland
Last edited by DSpider (2012-02-28 08:08:34)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
@PReP, no matter how much you play with those settings, you won't get rid of tearing. xrender simply doesn't provide vsync. An opengl compositor is the only way. But there is no simple, standalone opengl compositor. There's just Compiz, Kwin and Mutter, which are combined compositor/window manager. Ok, there's dcompmgr, but it hasn't seen development since 2008, and when I tried it, it didn't work very well.
That might be true for xrender, but i were aiming at the nvidia driver vsync for GL, and setting OpenGL as output renderer in the video player.
But, anyways, it's nice that the poster got his problem solved in any fashion.
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
Pages: 1