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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-06-08, 08:25 PM   #1
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Unhappy Can't get rid of tearing; videos unwatchable

Instead of making a new post just changed this one.

Well I'm pretty ticked, I'm using 169.09 drivers and an 8800GT, and any video I play be it in VLC, Xine, Mplayer, etc. all have tearing, and in nvidia-settings checking synctoblank does absolutely nothing. It did with my 7600GS on my old box, but not now.

There has to be a way to fix this, or I will have to return this card as I primarily use my box to watch shows/movies.

My xorg.conf:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Fri Jan 11 15:06:57 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Jan 11 15:05:59 PST 2008

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
	# path to defoma fonts
    RgbPath         "/usr/share/X11/rgb"
    ModulePath	    "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/100dpi"  ##:unscaled goes at end
    FontPath        "/usr/share/fonts/75dpi" ##:unscaled at end too
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/TTF"
##    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "ddc"
    Load           "int10"
    Load           "vbe"
    Load           "dbe"
    Load           "extmod"
#    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver      "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL2616W"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    Option	   "NoLogo" "true"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP, CRT, TV"
    Option         "metamodes" "DFP-0: 1920x1200 +0+0, CRT-1: 1600x1200 +1920+0"
#    Option         "metamodes" "CRT: nvidia-auto-select +1920+0, DFP: nvidia-auto-select +0+0"
#    Option         "metamodes" "DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
I just can't get rid of it, please help
colbert is offline   Reply With Quote
Old 02-06-08, 08:45 PM   #2
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default Re: Can't get rid of tearing; videos unwatchable

Do those adjustments only affect the terminal you've run nvidia-settings from going forward? I think you'd have to run the problematic app from the same terminal or restart X and have nvidia-settings load it's config at X startup.

I've been watching DVDs and .avi files more than usual since getting my new 8800GT and haven't noticed anything.
logan is offline   Reply With Quote
Old 02-06-08, 08:52 PM   #3
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Default Re: Can't get rid of tearing; videos unwatchable

Hmm, not quite sure what you mean logan??

I run nvidia-settings from my flux menu and it always shows "Sync to VBlank" checked at startup. But even if I uncheck it and check it again, it makes no difference.

How would I have nvidia-settings load its config at X startup ??
colbert is offline   Reply With Quote
Old 02-06-08, 09:10 PM   #4
xbobmx
Registered User
 
Join Date: May 2003
Posts: 191
Default Re: Can't get rid of tearing; videos unwatchable

Which monitor are you watching the video on?

It might be syncing to vblank on the wrong one. Look under the "X Server XVideo Settings" section in nvidia-settings, for the "Sync to VBlank on display device" section. You should be able to pick which monitor to sync to.
xbobmx is offline   Reply With Quote
Old 02-06-08, 09:14 PM   #5
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Default Re: Can't get rid of tearing; videos unwatchable

I like to watch video on my LCD, the DFP-0. It's strange, on my 7600GS I could sync to whichever monitor, but now I do not have that option

colbert is offline   Reply With Quote
Old 02-06-08, 09:24 PM   #6
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Default Re: Can't get rid of tearing; videos unwatchable

I'm not sure if it's this card or my settings but I'm really thinking about exchanging this card tomorrow, the BFG, XFX and EVGA versions are all about $10 more and I'll fork out the "processing fee" crappola at the store if I need to.
colbert is offline   Reply With Quote
Old 02-06-08, 10:07 PM   #7
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default Re: Can't get rid of tearing; videos unwatchable

I meant that if you run nvidia-settings from an xterm, it may be setting environment variables which would only exist in that terminal and you'd have to start VLC/mplayer/other from that same xterm to see the changes.

nvidia-settings -h says you'd use -l or --load-config-only to load the configuration from a .xinitrc file when you start X.
logan is offline   Reply With Quote
Old 02-06-08, 10:25 PM   #8
xbobmx
Registered User
 
Join Date: May 2003
Posts: 191
Default Re: Can't get rid of tearing; videos unwatchable

Quote:
Originally Posted by colbert
I like to watch video on my LCD, the DFP-0. It's strange, on my 7600GS I could sync to whichever monitor, but now I do not have that option
Weird. Try this:
Code:
nvidia-settings -q XVideoSyncToDisplay
It should report a bitmask.
xbobmx is offline   Reply With Quote

Old 02-06-08, 10:27 PM   #9
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Default Re: Can't get rid of tearing; videos unwatchable

Okay, so I could add that to startup file in fluxbox session so it runs when I login, or right at startx?

Code:
bobby@dabox:~$ nvidia-settings -q XVideoSyncToDisplay

  Attribute 'XVideoSyncToDisplay' (dabox:0.0): 0x00000002.
    'XVideoSyncToDisplay' is a bitmask attribute.
    'XVideoSyncToDisplay' can use the following target types: X Screen.

bobby@dabox:~$
Worked or? What do I do with that?

And can I change this in xorg.conf?
colbert is offline   Reply With Quote
Old 02-06-08, 10:29 PM   #10
logan
Registered User
 
Join Date: Aug 2002
Posts: 492
Default Re: Can't get rid of tearing; videos unwatchable

Any time in the X startup should be fine - .xinitrc/.xsession, a window manager's startup file, etc. But unless you can figure out the right settings, doing this may not help..
logan is offline   Reply With Quote
Old 02-06-08, 10:39 PM   #11
xbobmx
Registered User
 
Join Date: May 2003
Posts: 191
Default Re: Can't get rid of tearing; videos unwatchable

Quote:
Originally Posted by colbert
Worked or? What do I do with that?
Not quite, that was just the query to make sure the property is there.

Try this to set it to DFP-0:
Code:
nvidia-settings -a XVideoSyncToDisplay=0x10000
(if that doesn't work, try changing the number from "0x10000" to "0x20000" or "0x40000"). It should take effect immediately to reduce tearing on your videos (on the DFP, anyway).

Quote:
Originally Posted by colbert
And can I change this in xorg.conf?
Unfortunately, I don't think you can. You can put it in ~/.xinitrc or similar though.
xbobmx is offline   Reply With Quote
Old 02-06-08, 10:47 PM   #12
colbert
Registered User
 
Join Date: Jan 2008
Posts: 33
Default Re: Can't get rid of tearing; videos unwatchable

Quote:
Originally Posted by xbobmx
Not quite, that was just the query to make sure the property is there.

Try this to set it to DFP-0:
Code:
nvidia-settings -a XVideoSyncToDisplay=0x10000
YEAH! Worked! Just ran 5 different videos to be sure I'm not mistaken, but it's good. I got this:

Code:
bobby@dabox:~$ nvidia-settings -a XVideoSyncToDisplay=0x10000

  Attribute 'XVideoSyncToDisplay' (dabox:0.0) assigned value 65536.

bobby@dabox:~$
EDIT: Made 2 keybindings, one for each display, and you can replace 0x10000 with the name identifier of the display, in my case DFP-0 and CRT-1, so this works:

Code:
nvidia-settings -a XVideoSyncToDisplay=DFP-0
I just added that to my ~/.fluxbox/startup file and it works great! Thanks so much xbobmx, this is such a huge help, I hope this thread helps others having this issue.
colbert 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
how to totally get rid of nvidia-settings configurations on login gfxdrone NVIDIA Linux 10 06-27-12 01:29 PM
I want to get rid of GATOR!!! Evil Panda General Software 36 06-10-05 05:24 PM

All times are GMT -5. The time now is 01:55 PM.


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