You are not logged in.

#1 2009-02-04 21:44:27

speng
Member
Registered: 2009-01-17
Posts: 136

Are videos meant to tear with Metacity compositing?

Videos work great without composite, but when I enable metacity, videos tear slightly. I also notice a tearing line going from down up to.

It's quite hard to explain, the problem is that it's not syncing to VBlank!
Isn't there any way of enabling it? Will I have more luck with compiz?

Offline

#2 2009-02-11 00:36:45

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Are videos meant to tear with Metacity compositing?

Bumping after a week or so? I want to try using the compositing manager again, I have enabled VBlank syncing for videos/OpenGL but it still tears.

I see a line tearing from down to up, and the occasional normal tearing when things are moving quickly.

Same thing happens in ZSnes.
Am I doing something wrong?
xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder62)  Tue Jan  6 09:44:34 PST 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Jan  6 09:43:54 PST 2009

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

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/TTF"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
#    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load           "ddc"
    Load           "i2c"
EndSection

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

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "7"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "Emulate3Buttons" "true"
    Option         "Resolution" "1600"
EndSection

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG M2294D-PZ"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "NoRenderExtension" "False"
    Option         "TripleBuffer" "True"
    Option         "NvAGP" "0"
    Option         "AddARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "1680x1050_60.00"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Offline

#3 2009-02-11 19:36:52

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Are videos meant to tear with Metacity compositing?

Bump. sad

Offline

#4 2009-02-11 20:11:45

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: Are videos meant to tear with Metacity compositing?

Thanks, now I see this tearing too under metacity with composite enabled. Couldn't see it with compiz or no composite. Maybe you will try it out and report.

gna, this is probably the worst english I could write hmm

Last edited by bwalk (2009-02-11 20:12:12)

Offline

#5 2009-02-11 22:11:51

speng
Member
Registered: 2009-01-17
Posts: 136

Re: Are videos meant to tear with Metacity compositing?

No tearing with Compiz Fusion, I had to uninstall it within 5 minutes to stop myself from vomiting though.

Any ideas on how to fix the Metacity tearing problem?

Offline

#6 2009-02-11 22:36:13

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Are videos meant to tear with Metacity compositing?

I have the same, issue, to be honest I don't think the nvidia driver is able to prevent tearing with regular composite, the compiz fusion stuff is rendered with opengl.


Use the Source, Luke!

Offline

#7 2009-02-11 22:40:36

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: Are videos meant to tear with Metacity compositing?

Offline

#8 2009-02-12 00:08:33

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Are videos meant to tear with Metacity compositing?

When I remove the compositing, video playback with mplayer dont tear. Vsync=yes is in my mplayer config.


Use the Source, Luke!

Offline

#9 2009-02-12 03:54:45

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Are videos meant to tear with Metacity compositing?

speng wrote:

No tearing with Compiz Fusion, I had to uninstall it within 5 minutes to stop myself from vomiting though.

Compiz Fusion can be made to look identical to any Metacity theme with some work (and there's lots of pre-made themes), and you _can_ disable most of the effects. Why not do that?

Does Metacity with Xcompmgr work?

Do other video players work (VLC, Xine-based, ffmpeg-based, etc.)?

Last edited by Ranguvar (2009-02-12 03:55:18)

Offline

Board footer

Powered by FluxBB