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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-31-09, 05:35 PM   #1
mbobak
Registered User
 
Join Date: Jan 2009
Posts: 32
Default Image tearing/image artifacts during video playback

Hi all,

I'm running Ubuntu 8.10, MythTV 0.21+vdpau patches, and NVidia driver 180.29.

When I play recorded content on MythTv (or in mplayer, for that matter), I get image "tearing". My guess is that the picture isn't syncing correctly? The condition was quite severe, until it was suggested I disable compositing. I did so, and the situation improved notably, but I do still see artifacts and tearing, particularly when there's a scene with fast motion.

Anyone have any thoughts/ideas as to what can be done to prevent or minimize this problem?

Thanks,

-Mark
mbobak is offline   Reply With Quote
Old 03-31-09, 06:13 PM   #2
cthulhu
Great Old One
 
cthulhu's Avatar
 
Join Date: Sep 2002
Posts: 124
Default Re: Image tearing/image artifacts during video playback

I've experienced tearing with mplayer if I had mythtv running in the background. Killing mythtv eliminated the tearing. If the tearing also happens when you're only running mythtv, I'd suggest trying not to use OpenGL for mythtv, though this is just a guess/hunch.
__________________
Desktop: Asus P5B Deluxe, Core2Duo E8500, 2GB Corsair 800MHz CL4, Gigabyte GTX460 1024MB
HTPC: Asus P5B-E, Core2Duo 6300, 1GB Corsair 533MHz, Asus 9500GT w/ 512MB DDR3
Server: Gigabyte D510UD, Atom D510, 2GB Corsair 800MHz, Hauppauge NOVA-T500 dual DVB-T tuner, 4x 2TB Samsung F3EG (RAID5)
Laptop: Asus U6V, Core2Duo P8400, 3GB DDR2, 9300M GS
OS on all: Gentoo Linux

Bought a computer bundled with windows? Don't want to use windows? Demand a refund!
cthulhu is offline   Reply With Quote
Old 03-31-09, 06:51 PM   #3
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Image tearing/image artifacts during video playback

Did the situation improve when you
a) Turned of a compositing manager, but kept the X composite extension enabled
b) Disable the X composite extension

From your description, it sounds like you did (a), but you need to do (b) to get tear-free video at present. This will be resolved soon.

If you did in fact do (b), please see the driver README for a description of cases where overlay v.s. blit is used. Something is still forcing you into the blit path, if you are still getting tearing.
Stephen Warren is offline   Reply With Quote
Old 03-31-09, 07:41 PM   #4
mbobak
Registered User
 
Join Date: Jan 2009
Posts: 32
Default Re: Image tearing/image artifacts during video playback

Stephen,

I think you nailed it in one try. I had disabled a compositing manager, but not the composite extension.

I did:
sudo nvidia-xconfig --no-composite

to disable the compositing extension. I've just done it, and started watching again, and so far, I see no artifacts or tearing.

On a related note, I found some info on ubuntuforums advocating setting OpenGL VSync to Blank and enabling the TripleBuffer option. I'm wondering if those options will help/hurt the situation?

Also, I look forward to the issue w/ compositing being resolved. It's only eye candy, for the most part, but it'd be nice to have compositing enabled and still have good quality video.

Thanks for your help!

-Mark
mbobak is offline   Reply With Quote
Old 03-31-09, 09:31 PM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Image tearing/image artifacts during video playback

There are two issues when a compositing manager is enabled:

a) The compositing manager must sync its own rendering to VBlank. Most compositing managers render using OpenGL, so the OpenGL sync to VBlank setting will help here.

b) There's an issue in the damage events spec and interaction with GLX_EXT_texture_from_pixmap, such that it's not possible for the compositing manager to atomically pick up rendering to redirected windows. This could cause tearing too, and unfortunately it can't be worked around at present. This may/may-not affect you depending on all manner of system timing issues.
Stephen Warren is offline   Reply With Quote
Old 04-01-09, 06:41 AM   #6
mbobak
Registered User
 
Join Date: Jan 2009
Posts: 32
Default Re: Image tearing/image artifacts during video playback

Stephen,

Again, thanks for the help. It's been several hours since I totally disabled compositing, and no signs of tearing.


-Mark
mbobak 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOGEAR 3D Complete+ 4-Port HDMI Switcher with 2D/3D Video Processor News Archived News Items 0 06-28-12 06:40 PM
can i only use TV for video playback gulo NVIDIA Windows Graphics Drivers 4 09-13-05 06:21 PM

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


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