[Bug 726902] Re: Loss of vsync when using Metacity.
** Description changed: Binary package hint: xserver-xorg-video-intel Screenshot of tearing: http://i.imgur.com/J2YWn.jpg Tearing is visible whenever a video plays. Doesn't matter whether it's in a media player or Flash, Xv or GL. Using an external screen does not help. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: xserver-xorg-video-intel 2:2.14.0-1ubuntu11 ProcVersionSignature: Ubuntu 2.6.38-5.32-genusername 2.6.38-rc6 Uname: Linux 2.6.38-5-generic i686 Architecture: i386 CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,grid,compiztoolbox,snap,resize,vpswitch,gnomecompat,move,place,regex,wall,session,animation,expo,ezoom,staticswitcher,workarounds,fade,scale] CompositorRunning: None DRM.card0.LVDS.1: status: connected enabled: enabled dpms: On modes: 1440x900 edid-base64: AP///wBMo1dEAAAQAQOAHhN4Cof1lFdPjCcnUFQBAQEBAQEBAQEBAQEBAQEBSCWgMFGEDDBAIDMAL74QAAAZDwAAAHjmAiMA/gBDRzAwMgExNDFXRAog/gAXNkJKbo60/wIBCiAgAB8= DRM.card0.VGA.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: Date: Mon Feb 28 20:03:23 2011 DistUpgraded: Fresh install DistroCodename: natty DistroVariant: ubuntu DkmsStatus: vboxhost, 4.0.4, 2.6.38-5-generic, i686: installed vboxhost, 4.0.4, 2.6.38-4-generic, i686: installed GraphicsCard: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03) (prog-if 00 [VGA controller]) Subsystem: Dell Device [1028:01d8] Subsystem: Dell Device [1028:01d8] InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101229) MachineType: Dell Inc. MXC061 ProcEnviron: LANGUAGE=en_US:en LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-genusername root=UUID=6962d6df-ace0-470e-8518-44affc4c8716 ro quiet splash vt.handoff=7 Renderer: Unknown SourcePackage: xserver-xorg-video-intel UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/10/2007 dmi.bios.vendor: Dell Inc. dmi.bios.version: A11 dmi.board.vendor: Dell Inc. dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA11:bd07/10/2007:svnDellInc.:pnMXC061:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr: dmi.product.name: MXC061 dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.4-0ubuntu1 version.libdrm2: libdrm2 2.4.23-1ubuntu3 version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2 version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu8 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu11 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5 + + [lspci] + Nux: lspci: 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controlle -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Incomplete => Confirmed ** Changed in: xserver-xorg-video-intel (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
I'm getting video tearing on an Asus EEE PC 901 using compiz+unity. I've tried xv, gl, gl2 as video outputs for mplayer which all result in video tearing. There is no video tearing if I use xv:adaptor=1 (video overlay) as video output. I have "sync to vblank" set in ccsm/opengl. Let me know what else I can do to help fix this bug. Thanks. Some info: shock@shock-901:~$ dpkg -l xserver-xorg-video-intel Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii xserver-xorg-video-intel 2:2.14.0-4ubuntu7 X.Org X server -- Intel i8xx, i9xx display driver shock@shock-901:~$ sudo lshw -c video [sudo] password for shock: *-display:0 description: VGA compatible controller product: Mobile 945GME Express Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@:00:02.0 version: 03 width: 32 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:16 memory:f7f0-f7f7 ioport:dc80(size=8) memory:d000-dfff memory:f7ec-f7ef *-display:1 UNCLAIMED description: Display controller product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller vendor: Intel Corporation physical id: 2.1 bus info: pci@:00:02.1 version: 03 width: 32 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: latency=0 resources: memory:f7f8-f7ff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
Sorry for the delay. Outputs like xv non-overlay and gl both do not achieve vsync. Only xv overlay. ** Attachment added: "Xorg.0.log" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/726902/+attachment/2077768/+files/Xorg.0.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
@Marius, no, since I'm having trouble getting testing feedback from folks, I have not made plans to fix it at this time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
I can confirm this bug is still an issue on Intel (core i3) last updated 4/19/11. It works fine in Compiz, but tears in Metacity. Are there plans to fix this or do we need to hack around for a proper xorg.conf? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
@Eric, does fiddling with Xv settings as per comment #6 make the tearing stop? If not, see my q's in comment #3. ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
I noticed the same thing in Natty with Xv textured video on Intel i945GM. The tearing seems to disappear when using Xv video overlay. You can try this in mplayer with the following command: $ mplayer -vo xv:adaptor=1 Or by setting XvPreferOverlay to true in xorg.conf, the intel man page says the following about XvPreferOverlay: "Make hardware overlay be the first XV adaptor. The overlay behaves incorrectly in the presence of compositing, but some prefer it due to it syncing to vblank in the absence of compositing. While most XV- using applications have options to select which XV adaptor to use, this option can be used to place the overlay first for applications which don't have options for selecting adaptors. Default: Textured video adaptor is preferred." i'm not sure I had this problem in Maverick as the man page says that textured video does not sync to vblank. I really did notice the tearing after upgrading to Natty though. I can't try with the OpenGL output as it is broken over here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
@Geert, well, vsync/tearing issues are such a generic symptom that two drivers could have essentially the same problem with no common code involved at all. In any case, these types of issues are best handled as per-driver since even if there was shared code it'd probably require a driver developer to implement a fix. So, for this bug we'll focus on the -intel issue; if you want it analyzed on the proprietary driver you should file a new bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
This probably isn't an Intel specific bug, because I'm on NVIDIA graphics (proprietary drivers) and I'm having the same problem. BTW, I've never been able to get vsyncing right with Compiz, but Metacity has always worked perfectly for me (Maverick and before). With Natty I can't get vsync to work on Metacity though. (Also still not on Compiz, but that is not a regression) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 726902] Re: Loss of vsync when using Metacity.
Interesting. A few random troubleshooting ideas. Try moving aside your .drirc. Run a video player with its --debug option and look through its output for any noteworthy error messages. I notice a fb tiling warning in your Xorg.0.log. Do a 'tail -f /var/log/Xorg.0.log' in a console window and then reproduce the issue and see if any messages get printed in the log. I assume by the title that you also tested with compiz running and found it did not happen in that case? If so, you could also try comparing dmesg, Xorg.0.log, etc. for the two cases and look for differences. (my guess would be vblank syncing is set differently.) ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/726902 Title: Loss of vsync when using Metacity. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs