[Bug 755841]
The Arch Linux Wiki says that TearFree is no longer needed when using DRI3: https://wiki.archlinux.org/index.php/intel_graphics#Tear-free_video Is that correct? Does enabling TearFree actually do anything when using DRI3? Or is TearFree=True being ignored when using DRI3? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Changed in: xserver-xorg-video-intel (Fedora) Status: Unknown => Won't Fix ** Changed in: xserver-xorg-video-intel (Fedora) Importance: Unknown => Undecided -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Bug watch added: Red Hat Bugzilla #977391 https://bugzilla.redhat.com/show_bug.cgi?id=977391 ** Also affects: xserver-xorg-video-intel (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=977391 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
No. (Though there maybe some hardware which may require TearFree by default to function correctly, in which case it will be enabled automatically.) The problem is that it increases memory allocation considerably and reduces performance, giving you the same penalty as using a compositor. If you then use a compositor on top, you use even more memory to achieve the same effect. As such it is optional. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Will it be made default? Tx -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Changed in: xserver-xorg-video-intel Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I'm happy with TearFree now. Please report any issues you find as separate bugs, thanks everyone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
TearFree should be much improved as of: commit fa2687bdd5a4c8bc608dac8bb711035f0752a725 Author: Chris Wilson Date: Mon Oct 21 18:55:23 2013 +0100 sna: Eliminate the synchronous wait from inside TearFree Defer the actual wait until the next use of the screen pixmap, and then if needed replace the GPU bo with an alternative back buffer. Signed-off-by: Chris Wilson -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
*** Bug 67823 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Since I saw fbcompose mentioned above as a lightweight standalone compositor that can produce tear-free output working around this issue, I'd like to mention I've found another similar compositor that seems to be under more active development: Compton: https://github.com/chjj/compton Its a nice lightweight compositor that doesn't need to replace your window manager or anything, so it can easily be used to work around this issue and get tear-free output. In my testing its been very stable too. Using it with: compton --backend glx --paint-on-overlay --glx-no-stencil --vsync opengl-swc successfully completely removes tearing for me on both my intel machines (including in fullscreen video and with multiple displays), and performs better than using the TearFree xorg option :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
running ubuntu 13.04/kde 4.10 on my laptop (kernel 3.8/ ddx 2.21, ivybridge). kwin still tears at the top of the screen even with sna enabled and vsync on in kwin, but I assume thats just this bug: https://bugs.kde.org/show_bug.cgi?id=307965 So I tried disabling vsync in kwin and using the tearfree option which did remove all tearing, and seems to perform reasonably well for desktop usage and video playback (haven't tried anything else) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Bug watch added: KDE Bug Tracking System #307965 https://bugs.kde.org/show_bug.cgi?id=307965 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Works great now, no more tearing. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
The cause is that replies end up being blocked by the synchronous pageflip used for the tear free update of the scanout. The solution is obvious, but just tricky to implement in an efficient manner that also solves the unnecessary readbacks. If I get it right the extra complexity should help for normal rendering as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #113) > vsync seems to be fully working now on SNB/IVB with 2.21 and kernel 3.8, so > the remaining issue is to get TearFree solid and performant for all use > cases. Thanks for working on this. I have upgraded to Linux 3.8-rc7 and xf86-video-intel 2.21.2 on my ThinkPad X200 (Intel GM45) and on my workstation (Sandy Bridge GT2). On my X200, I can use the TearFree option without any side-effects. If I enable it on my workstation though, the result of terminal commands such as ls -hl or ps auxf often lags — the lines appear one after another, just like on a serial connection. Just wanted to let you know in case you were not aware of that yet. Let me know if you need any more details. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Changed in: xserver-xorg-video-intel Importance: High => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
vsync seems to be fully working now on SNB/IVB with 2.21 and kernel 3.8, so the remaining issue is to get TearFree solid and performant for all use cases. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #111) > I'm on Ubuntu 12.10 using SNA. > > Tear is still present on video playback (mainly with VLC) with compositor > enabled or disabled. (va-api enabled/disabled no changes as well) Which is expected as Ubuntu 12.10 doesn't carry the required kernel patches. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I'm on Ubuntu 12.10 using SNA. Tear is still present on video playback (mainly with VLC) with compositor enabled or disabled. (va-api enabled/disabled no changes as well) this is my xorg.conf video options: Option "AccelMethod" "sna" Option "SwapbuffersWait" "false" Option "TearFree" "true" Just want to add that TearFree option is not working as this command shows: :~$ cat /var/log/Xorg.0.log |grep free [ 5336.772] (**) intel(0): "Tear free" disabled -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
Did some test here and I thinks I find out the origin of the issue ( comment #19 gave me the right hint, about overlay ): Basically if you: - disable composite ( sorry till now I cannot find a better solution ) AND - [VLC] deselect this option: Video -> Display -> Accelerated video output (Overlay) OR - [VLC] select this video output: Video -> Output -> OpenGL GLX You will not have any Tearing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
This isn't fixed for ivybridge in 12.04 (with all updates), still tearing at the top of videos. It is fixed in 12.10's compiz though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I'm now on Kubuntu 12.10 and I enabled in xorg.conf both the tearfree option and the sna acceleration. It's definitely better: the xv output seems fine so far in mplayer, the gl output is however unusable as the video keep halting during the play (truthfully I don't really care about it as long as the xv output works). Watching youtube gives me less headache but it still isn't perfect: on some videos there's sometimes still tearing. One thing that I also noticed: after watching a youtube video in fullscreen the display gets somehow corrupted at the bottom of the kde screen (the sidebar containing the desktop shortcuts, the clock, the minimized windows). When I pass the mouse pointer on it everything gets fine again (as it is refreshed) but not for long... Should I expect some improvements in a more recent driver that the one provided in Kubuntu 12.10? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #108) > I don't understand the technical details, so please forgive > misunderstandings or stupid questions. > > Do I need SNA for the TearFree option? I get stuttering with SNA and > TearFree, and still get tearing with TearFree without SNA. > I created a xorg.conf with only the following: > Section "Device" >Identifier "Intel Graphics" >Driver "intel" >Option "AccelMethod" "sna" >Option "TearFree" "true" > EndSection > Is that the correct way to do it? > > Is there any chance of a fix in the foreseeable future? Or is buying a > graphics card a good idea at this point? The stuttering is more or less expected at this point (mostly depends upon a client stalling due to a readback) as TearFree is just a proof- of-principle, and only possible with SNA. I plan to finish the asynchronous implementation in the near future. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I don't understand the technical details, so please forgive misunderstandings or stupid questions. Do I need SNA for the TearFree option? I get stuttering with SNA and TearFree, and still get tearing with TearFree without SNA. I created a xorg.conf with only the following: Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "sna" Option "TearFree" "true" EndSection Is that the correct way to do it? Is there any chance of a fix in the foreseeable future? Or is buying a graphics card a good idea at this point? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Note in addition to using pageflipping via the TearFree option, there is a glimmer of light in the form of kernel commit d7d4eeddb8f72342f70621c4b3cb718af9361712 Author: Chris Wilson Date: Wed Oct 17 12:09:54 2012 +0100 drm/i915: Allow DRM_ROOT_ONLY|DRM_MASTER to submit privileged batchbuffers and xf86-video-intel commit 891bae4aa91e85542dcbe38f6ee92141e3efc801 Author: Chris Wilson Date: Wed Oct 17 11:29:10 2012 +0100 sna: Use the secure batches to program scanline waits on gen6+ to try and convince the hardware to do vsync'ed updates. (In terms of power efficiency, using pageflipping is the way forward as that is how the hardware is designed to operate. Also note that only the later steppings of SNB have scanline waits...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #105) > I still can see tearing even if driver option "TearFree" is enabled, when I > rotate display right or left (xorg monitor Option "Rotate"), so when the > axes are reversed. Yup, that's expected at this moment in time. To avoid tearing down will require another indirection which I haven't added just yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Forwarding a message from Axel Rohde Hi Chris, I just tested the standalone OpenGL compositor fbcompose from this site https://launchpad.net/~fluxbox-maintainers/+archive/nightly/+packages fluxbox-fbcompose_1.3.2+nightly+120311-1_amd64.deb ... on a i5-3550, Debian wheezy, xf86-video-intel-2.20.7 using SNA, fvwm2. By just starting fbcompose without any arguments I got rid of tearing in non-fullscreen(!) mplayer2, mplayer-vaapi, smplayer2, totem and vlc/rvlc windows. The latter three used to tear in fullscreen mode, too. Since I was too lazy to compile it, I faked the unmet dependency on libGLEW.so.1.6 by symlinks in /usr/lib/x86_64-linux-gnu ln -s libGLEW.so.1.7.0 libGLEW.so.1.6.0 ln -s libGLEW.so.1.7.0 libGLEW.so.1.6 This seems to be the home of the project: http://git.fluxbox.org/fluxbox_gediminas.git/ Before stumbling across fbcompose I tried Cairo-compmgr and dcompmgr, both are unusable as they simply screw up the display. The only side-effect of fbcompose I've spotted so far is upscaling instead of tiling of the background bitmap. This workaround can become a valueable comment to https://bugs.freedesktop.org/show_bug.cgi?id=37686 for all users of "vintage" window managers. -- Please note that this is the equivalent of Option "TearFree", with the extra latency of going through an external process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I still can see tearing even if driver option "TearFree" is enabled, when I rotate display right or left (xorg monitor Option "Rotate"), so when the axes are reversed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
The bug still present on the last kernel and Xorg. I have a tearing on the desktop and video players the only workaround to problem (enable Vsync) causes me mouse laggy on moviments of windows and all desktop objets icons, scroll bar, menus, etc... I have a Intel HD 2000 Chipset Intel® Celeron® Processor B800 (Sandy Bridge). Sorry for my bad English I am Spanish. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #92) > Reclaiming ownership, downgrading priority since this is impossible to fix > without compromise with the current hardware support. For the foolhardy, you > may like to try Option "TearFree" "true". It basically runs another compositor > layer between the framebuffer and the scanout, so a major waste of memory if > you are indeed using a pageflipping renderer (video player, game, compositor). > And it exposes a few bugs in the Damage layer, so not ready for prime time > just > yet. I tried Option "TearFree" "true" with intel driver git version 146959dd5ef28384a3db4fce4bf7840f2b3ec58c or Intel 2.20.2 (with SNA acceleration enabled) + kernel 3.4.7 + vlc 2.0.3 and I did not have tearing anymore even disabling vlc fullscreen option. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I checked the screenshots and in may case it is not tearing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I was redirected to this bug. In my case i have "tearing" only if i use mplayer with -vo xv. It plays fine with -vo gl2. No composite window manager used. I also can reproduce it with 2.20, but _can't_ reproduce it with 2.17 - it's why i call it regression. Cris, are you sure it is the same bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
*** Bug 52470 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #97) > (In reply to comment #96) > > If you have an unredirected fullscreen DRI2 application, then it will use > > pageflipping to update the scanout upon a SwapBuffers. So something as > > simple > > as 'mplayer -fs -vo gl' should be enough to achieve tear-free playback on > > most > > DE (you may have to tweak a few compositor settings if using one though). > Is this also true when you use multiple monitors (xrandr output follows)? > Because I use mplayer -fs -vo gl with xf86-video-intel > 8066bc33d78e78ce7c13833b08a7daaea2f3ed22 (AccelMethod SNA, TearFree not set) > and I do notice tearing. Same with UXA and vlc with glx output. No compositor here. I can clearly see tearing when I connect the laptop to an external monitor to watch movies. I think there's two bugs being discussed here. One is that compositors that don't unredirect fullscreen windows may give you tearing. Another is that even without using a compositor, and even if you render using OpenGL, you can still get tearing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #96) > If you have an unredirected fullscreen DRI2 application, then it will use > pageflipping to update the scanout upon a SwapBuffers. So something as simple > as 'mplayer -fs -vo gl' should be enough to achieve tear-free playback on most > DE (you may have to tweak a few compositor settings if using one though). Is this also true when you use multiple monitors (xrandr output follows)? Because I use mplayer -fs -vo gl with xf86-video-intel 8066bc33d78e78ce7c13833b08a7daaea2f3ed22 (AccelMethod SNA, TearFree not set) and I do notice tearing. Here’s my xrandr output: Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 32767 x 32767 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm x 275mm 1600x1200 60.0*+ 1280x1024 75.0 72.0 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 640x48072.8 75.0 66.7 60.0 720x40070.1 DP1 disconnected (normal left inverted right x axis y axis) HDMI2 connected 1920x1200+1600+0 (normal left inverted right x axis y axis) 474mm x 296mm 1920x1200 60.0*+ 1600x1200 60.0 1680x1050 60.0 1280x1024 75.0 60.0 1440x900 75.0 59.9 1024x768 75.1 70.1 60.0 800x60072.2 75.0 60.3 640x48072.8 75.0 60.0 720x40070.1 HDMI3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
If you have an unredirected fullscreen DRI2 application, then it will use pageflipping to update the scanout upon a SwapBuffers. So something as simple as 'mplayer -fs -vo gl' should be enough to achieve tear-free playback on most DE (you may have to tweak a few compositor settings if using one though). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #94) > By other OS, I presume you mean the ones that *only* support pageflipping > compositors? Which for the reasons highlighted above work just fine. > > IVB in theory supports vsync'ed writes to the scanout, give or take a few > hundred microseconds in signal latency between the display engine and the > render pipeline. When I get my hands on an IVB, I'll hook up the required > kernel/xf86-video-intel infrastructure and see if the claimed retrofit of > vsync > works... > > In the meantime, the only answer is take a leaf out of the other OSes playbook > and only use pageflipping. Sorry i'm about to buy an IVB to replace my GMA950. I've read that since v2.6.38 Linux handles page flipping and it also seems that DRI2 can handle it : am i wrong ? Therefore could it be solved using current stack ? Or is a new compositor like Wayland needed ? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
By other OS, I presume you mean the ones that *only* support pageflipping compositors? Which for the reasons highlighted above work just fine. IVB in theory supports vsync'ed writes to the scanout, give or take a few hundred microseconds in signal latency between the display engine and the render pipeline. When I get my hands on an IVB, I'll hook up the required kernel/xf86-video-intel infrastructure and see if the claimed retrofit of vsync works... In the meantime, the only answer is take a leaf out of the other OSes playbook and only use pageflipping. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
It is sad that Other OSes seem to have not problem with this basic functionality. Could you tell us if Ivy Bridge suffers from the same issue? If no, SNB and IVB are pin-compatible, so people affected could just upgrade CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Just wanted to report that I seem to have less problems when using the SNA driver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Reclaiming ownership, downgrading priority since this is impossible to fix without compromise with the current hardware support. For the foolhardy, you may like to try Option "TearFree" "true". It basically runs another compositor layer between the framebuffer and the scanout, so a major waste of memory if you are indeed using a pageflipping renderer (video player, game, compositor). And it exposes a few bugs in the Damage layer, so not ready for prime time just yet. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #89) > I have tearing using Vlc on Intel HD Chipset Intel® Celeron® Processor G530 > (Sandy Bridge), xf86-video-intel git version but even with 2.19.0 version, > linux kernel 3.4.4, xorg-server-1.12.2, mesa 8.0.3, libdrm-2.4.33. I use > openbox desktop manager, and the only workaround to avoid tearing is to use > Vlc > Opengl video output together with Vlc fullscreen option. I notice tearing > especially with 1920x1080 resolution video files. With intel driver GIT Commit ID: 2941a5fe15626730869a48a63bb088e8ae2c0549, I can avoid tearing without vlc Opengl video output, but I need Vlc fullscreen option enabled. Intel driver accel method I use is SNA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Also affects: ubutter Importance: Undecided Status: New ** Changed in: ubutter Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
I have tearing using Vlc on Intel HD Chipset Intel® Celeron® Processor G530 (Sandy Bridge), xf86-video-intel git version but even with 2.19.0 version, linux kernel 3.4.4, xorg-server-1.12.2, mesa 8.0.3, libdrm-2.4.33. I use openbox desktop manager, and the only workaround to avoid tearing is to use Vlc Opengl video output together with Vlc fullscreen option. I notice tearing especially with 1920x1080 resolution video files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #87) > (In reply to comment #85) > > I can still see tearing with GL rendering. It's much less noticeable, but > > it's > > there. I can see it clearly when I'm watching basketball games in a 1080p TV > > (using HDMI), specially during the fastbreak, when the camera pans quickly. > > But > > yea, it's much better than X11, Xv or anything like that. Is this expected? > > I > > tested both with mplayer and VLC (glx output). > > > You might be seeing the effect as shown in my attachment > (https://bugs.freedesktop.org/attachment.cgi?id=47585), which according to > daniel vetter is "probably unfixable". I think this is because possibly that > is > actually an artifact of capturing the screenshot. However something else which > happens for me is that in the vertical-bars video the bars don't move smoothly > across the screen. I don't know how to really explain it, but it is as if my > screen has a really slow switching time, so that the front of the bars (as > they > move) lights up, while the rear fades out. However this fading is not gradual, > but seems to happen with a lot of 'blinking'. I'm not sure what is causing > this > yet, but I think it might be some artifact of the screen (seems to happen with > some bars painted in the gimp, too), it looks quite weird. > Anyway make sure it's none of that, take a picture with a (decent) camera. Note though that I'm seeing this in video, I'm not trying to take screenshots. Just to be clear. > > I can't even test VAAPI. VLC supports it, but when I enable it, I get 100% > > CPU > > usage and less than 1 FPS for some reason. There's the mplayer patches for > > VAAPI support, but it seems in very bad shape. Is there a test program for > > VAAPI? > You can try the mplayer-vaapi branch at git://gitorious.org/vaapi/mplayer.git > , > which is maintained by Gwenole Beauchesne, who also works on intel's vaapi > support. The mplayer version it is based on is quite old, and it is based on > the original mplayer (not mplayer2), but it works fine nonetheless. I'll check that out, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #85) > (In reply to comment #72) > > Just as an update from the past post. > > Thanks for the update! > > > Unfortunately, all my attempts for fixing this properly have failed so far, > > the > > hardware does not wants to collaborate with the software for inter-ring > > synchronization. > > I have a couple questions if you don't mind. In a previous comment, you > mentioned that a fix would require work in the kernel, in libdrm and in the X > driver. So is a fix really viable within the SNB product cycle? Does it affect > Ivy Bridge as well? I ask because I may consider upgrading early to Ivy Bridge > if this is no longer a issue. > > > So the workaround I used previously still applies - I need to disable > > compositing and use either vaapi or gl rendering, which perform vsync'ed > > screen > > updates. This way, I see no tearing. > > I can still see tearing with GL rendering. It's much less noticeable, but it's > there. I can see it clearly when I'm watching basketball games in a 1080p TV > (using HDMI), specially during the fastbreak, when the camera pans quickly. > But > yea, it's much better than X11, Xv or anything like that. Is this expected? I > tested both with mplayer and VLC (glx output). > You might be seeing the effect as shown in my attachment (https://bugs.freedesktop.org/attachment.cgi?id=47585), which according to daniel vetter is "probably unfixable". I think this is because possibly that is actually an artifact of capturing the screenshot. However something else which happens for me is that in the vertical-bars video the bars don't move smoothly across the screen. I don't know how to really explain it, but it is as if my screen has a really slow switching time, so that the front of the bars (as they move) lights up, while the rear fades out. However this fading is not gradual, but seems to happen with a lot of 'blinking'. I'm not sure what is causing this yet, but I think it might be some artifact of the screen (seems to happen with some bars painted in the gimp, too), it looks quite weird. Anyway make sure it's none of that, take a picture with a (decent) camera. > I can't even test VAAPI. VLC supports it, but when I enable it, I get 100% CPU > usage and less than 1 FPS for some reason. There's the mplayer patches for > VAAPI support, but it seems in very bad shape. Is there a test program for > VAAPI? You can try the mplayer-vaapi branch at git://gitorious.org/vaapi/mplayer.git , which is maintained by Gwenole Beauchesne, who also works on intel's vaapi support. The mplayer version it is based on is quite old, and it is based on the original mplayer (not mplayer2), but it works fine nonetheless. > > For the record, I'm not running a composite manager. > > Thanks for looking into this Eugeni. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Using the GL tester, I get tearing in windowed mode when I have my TV hooked up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #72) > Just as an update from the past post. Thanks for the update! > Unfortunately, all my attempts for fixing this properly have failed so far, > the > hardware does not wants to collaborate with the software for inter-ring > synchronization. I have a couple questions if you don't mind. In a previous comment, you mentioned that a fix would require work in the kernel, in libdrm and in the X driver. So is a fix really viable within the SNB product cycle? Does it affect Ivy Bridge as well? I ask because I may consider upgrading early to Ivy Bridge if this is no longer a issue. > So the workaround I used previously still applies - I need to disable > compositing and use either vaapi or gl rendering, which perform vsync'ed > screen > updates. This way, I see no tearing. I can still see tearing with GL rendering. It's much less noticeable, but it's there. I can see it clearly when I'm watching basketball games in a 1080p TV (using HDMI), specially during the fastbreak, when the camera pans quickly. But yea, it's much better than X11, Xv or anything like that. Is this expected? I tested both with mplayer and VLC (glx output). I can't even test VAAPI. VLC supports it, but when I enable it, I get 100% CPU usage and less than 1 FPS for some reason. There's the mplayer patches for VAAPI support, but it seems in very bad shape. Is there a test program for VAAPI? For the record, I'm not running a composite manager. Thanks for looking into this Eugeni. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #83) > In other news, I just noticed something: for some reason my video's were > tearing even when using the vaapi and gl outputs just now. This was with > kernel-3.4+drm-intel-next-2012-05-20. > Toggling the resolution with xrandr fixed it. I don't know how or why it > stopped working, but now if/when this happens you should at least be able to > fix it without a reboot. I believe I saw this too. For example, code from Comment 76 gives me tearing and code from Comment 81 does not, because the first one sets resolution on by itself and in second one I set it myself using xrandr, and the code is basically the same. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #72) > So the workaround I used previously still applies - I need to disable > compositing and use either vaapi or gl rendering, which perform vsync'ed > screen > updates. This way, I see no tearing. This is only a very partial work-around though, only applicable to video, and only if played through a player supporting vaapi or gl output. - How do I tell my flash game to render with vaapi? - How do I tell firefox's html-5 video renderer to use gl? - How do I tell my window manager to render with either gl or vaapi (yet keeping compositing disabled)? (i.e. I'd like tear-free windows movements, too) There are more use-cases for basic v-sync support other than just being able to watch a simple video! In other news, I just noticed something: for some reason my video's were tearing even when using the vaapi and gl outputs just now. This was with kernel-3.4+drm-intel-next-2012-05-20. Toggling the resolution with xrandr fixed it. I don't know how or why it stopped working, but now if/when this happens you should at least be able to fix it without a reboot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #81) With this new version I have no tearing on 1366x768, 1024x768, 800x600 fullscreen. But, of course, still have in windowed mode. I have rc6 enabled, and there is tearing on top of the screen. With rc6=0 I have only one top pixel line tearing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Updated tester: #include #include #include #include int main(int argc, char **argv) { Uint32 i, mode, w, h; if (argc != 2) goto usage; SDL_Init(SDL_INIT_VIDEO); if (strcmp(argv[1], "w") == 0) { mode = SDL_OPENGL; w = 800; h = 600; } else if (strcmp(argv[1], "f") == 0) { mode = SDL_OPENGL | SDL_FULLSCREEN; const SDL_VideoInfo *info = SDL_GetVideoInfo(); w = info->current_w; h = info->current_h; printf("Setting %dx%d fullscreen mode\n", w, h); } else { goto usage; } SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1); SDL_SetVideoMode(w, h, 32, mode); for (i = 0; i < 100; i++) { glClearColor(1, 1, 1, 1); glClear(GL_COLOR_BUFFER_BIT); SDL_GL_SwapBuffers(); glClearColor(0, 0, 0, 1); glClear(GL_COLOR_BUFFER_BIT); SDL_GL_SwapBuffers(); } return EXIT_SUCCESS; usage: printf("Usage: %s [w|f]\n", argv[0]); return EXIT_FAILURE; } // Compile with gcc test-gl.c -o test-gl -lSDL -lGL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #79) > (In reply to comment #78) > > As I expected, then. > > > > I picked 800x600 because every laptop should be able to set that mode, but > > by > > all means switch it around. :-) > > There is tearing in fullscreen with 800x600. That's definitely 16:9 problem > for > me. > Interesting. In retrospect, when I last tried it in fullscreen on my laptop, I had manually set it to 1920x1200; I (re)wrote the program against an nvidia card, just now. (Which means no tearing anywhere. Love those nvidia cards.) > > In the meantime, maybe we should switch to using my program for testing? > > mplayer is a huge codebase, and it's hard to tell whether any tearing is the > > fault of the player or the environment, while it's perfectly obvious what > > the > > program is doing. > > Yes, that would be great. May I ask you to write some code to render something > not 16:9 and to stretch it to 16:9 in hardware, so act as you're watching > non-16:9 video in mplayer. The way opengl works, that isn't actually a coherent request. It uses a (0,0)-(1,1) geometry no matter what the resolution or aspect rate of the window is, and it's up to the application to map something sensible to that. Admittedly modern opengl has some texture->framebuffer blitting routines that do care about pixels, but I'm not using those, and I don't think mplayer is either. I suspect your tearing isn't caused by having a not 16:9 aspect ratio so much as not using your laptop screen's native resolution, but could you check that? Try setting some other 16:9 resolutions with SetVideoMode? What I *can* do is get it to check the maximum screen resolution and always use that for fullscreen mode. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #78) > As I expected, then. > > I picked 800x600 because every laptop should be able to set that mode, but by > all means switch it around. :-) There is tearing in fullscreen with 800x600. That's definitely 16:9 problem for me. > In the meantime, maybe we should switch to using my program for testing? > mplayer is a huge codebase, and it's hard to tell whether any tearing is the > fault of the player or the environment, while it's perfectly obvious what the > program is doing. Yes, that would be great. May I ask you to write some code to render something not 16:9 and to stretch it to 16:9 in hardware, so act as you're watching non-16:9 video in mplayer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
As I expected, then. I picked 800x600 because every laptop should be able to set that mode, but by all means switch it around. :-) In the meantime, maybe we should switch to using my program for testing? mplayer is a huge codebase, and it's hard to tell whether any tearing is the fault of the player or the environment, while it's perfectly obvious what the program is doing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #76) > Those are movies, and the test program I'm using that doesn't tear doesn't > play > any movies, it just does raw GL output. mplayer *does* tear in fullscreen, but > that's because it doesn't actually set the fullscreen bit. I have no tearing in mplayer in fullscreen if the resolution is 16:9, but when it's anamorphic or just not exactly 16:9 (1,(7)), there is tearing in mplayer. So I have no tearing when playing 1280x720 or 1920x1080 video files, but have tearing with 720x406 I've just compiled your code, changed SDL_SetVideoMode(800, 600, 32, mode); to SDL_SetVideoMode(1366, 768, 32, mode); and can't see any tearing, but there is tearing in window mode without compositing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #75) > (In reply to comment #74) > > I have no tearing on GL in fullscreen. > Please test it with tearing test 720x406 from > https://bugs.freedesktop.org/show_bug.cgi?id=43674 I can't do that. Those are movies, and the test program I'm using that doesn't tear doesn't play any movies, it just does raw GL output. mplayer *does* tear in fullscreen, but that's because it doesn't actually set the fullscreen bit. Here's the full code, so you can try it yourself: #include #include #include #include int main(int argc, char **argv) { Uint32 i, mode; if (argc != 2) goto usage; if (strcmp(argv[1], "w") == 0) mode = SDL_OPENGL; else if (strcmp(argv[1], "f") == 0) mode = SDL_OPENGL | SDL_FULLSCREEN; else goto usage; SDL_Init(SDL_INIT_VIDEO); SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1); SDL_SetVideoMode(800, 600, 32, mode); for (i = 0; i < 100; i++) { glClearColor(1, 1, 1, 1); glClear(GL_COLOR_BUFFER_BIT); SDL_GL_SwapBuffers(); glClearColor(0, 0, 0, 1); glClear(GL_COLOR_BUFFER_BIT); SDL_GL_SwapBuffers(); } return EXIT_SUCCESS; usage: printf("Usage: %s [w|f]\n", argv[0]); return EXIT_FAILURE; } // Compile with gcc test-gl.c -o test-gl -lSDL -lGL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #74) > I have no tearing on GL in fullscreen. Please test it with tearing test 720x406 from https://bugs.freedesktop.org/show_bug.cgi?id=43674 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #72) > Just as an update from the past post. > > Unfortunately, all my attempts for fixing this properly have failed so far, > the > hardware does not wants to collaborate with the software for inter-ring > synchronization. > > So the workaround I used previously still applies - I need to disable > compositing and use either vaapi or gl rendering, which perform vsync'ed > screen > updates. This way, I see no tearing. I have no tearing on GL in fullscreen. I do, however, have tearing for very simple GL code in windowed mode (fill window black, flip, fill screen white, flip - tearing is painfully obvious), mplayer -vo gl in both windowed and fullscreen mode (since its "fullscreen" is actually a screen-covering window and doesn't trigger the same mechanism), and mplayer -vo xv in all modes. This is with all compositing turned off *and* using a window manager that doesn't support in anyway, by the way. vaapi might possibly work, but mplayer doesn't support it. (I know about the mplayer-vaapi patch; it hasn't worked with modern mplayer(2) code for some time, sorry.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #72) > Just as an update from the past post. > > Unfortunately, all my attempts for fixing this properly have failed so far, > the > hardware does not wants to collaborate with the software for inter-ring > synchronization. > > So the workaround I used previously still applies - I need to disable > compositing and use either vaapi or gl rendering, which perform vsync'ed > screen > updates. > This way, I see no tearing. Please, see (In reply to comment #72) > Just as an update from the past post. > > Unfortunately, all my attempts for fixing this properly have failed so far, > the > hardware does not wants to collaborate with the software for inter-ring > synchronization. > > So the workaround I used previously still applies - I need to disable > compositing and use either vaapi or gl rendering, which perform vsync'ed > screen > updates. This way, I see no tearing. > This way, I see no tearing. Please, take a look at Comment 6 in this bug https://bugs.freedesktop.org/show_bug.cgi?id=43674 I have tearing on tearing test 720x406 video file both via vaapi and gl without compositing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Just as an update from the past post. Unfortunately, all my attempts for fixing this properly have failed so far, the hardware does not wants to collaborate with the software for inter-ring synchronization. So the workaround I used previously still applies - I need to disable compositing and use either vaapi or gl rendering, which perform vsync'ed screen updates. This way, I see no tearing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #70) > Even with SNA enabled, the only solution that has worked for me is the > workaround bord offered: > > CLUTTER_PAINT=disable-clipped-redraws:disable-culling Unfortunately that's an option to gnome-shell (it is, isn't it?), which means it's less than useful to those of us running other window managers. XMonad, in my case. It doesn't do any compositing whatsoever, and the compose extension is off, so it's not that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Even with SNA enabled, the only solution that has worked for me is the workaround bord offered: CLUTTER_PAINT=disable-clipped-redraws:disable-culling -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #68) > Hello, > > I was unable to reproduce the bug on Fedora 17 with Gnome Shell. Take a look https://bugs.freedesktop.org/show_bug.cgi?id=43674 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Hello, I was unable to reproduce the bug on Fedora 17 with Gnome Shell. On Wed, May 16, 2012 at 12:42 PM, wrote: > > https://bugs.freedesktop.org/show_bug.cgi?id=37686 > > --- Comment #67 from Svein Ove Aas 2012-05-16 02:42:42 > PDT --- > You never know, I might decide to break out my soldering iron. See, I look > at > it this way: Best case, a random god intervenes and it gets fixed; worst > case, > I get to tell the insurance company that a madman with a soldering iron > assaulted my laptop and I get a new, working one. > > Seriously, though. *Is* work ongoing? Is there anything I can do to help? > > I obviously don't know the API details here, so I doubt I can be much help > on > the programming side of things. I'm willing to test patches, of course, > and in > general I'd like to make myself useful. > > But if I knew this was going to take a year, I'd have sent the laptop back > and > found a working replacement. That's no longer feasible. I'd like to know > if I'm > going to wait *another* year, because finding a new one probably is. > > -- > Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email > --- You are receiving this mail because: --- > You are on the CC list for the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
You never know, I might decide to break out my soldering iron. See, I look at it this way: Best case, a random god intervenes and it gets fixed; worst case, I get to tell the insurance company that a madman with a soldering iron assaulted my laptop and I get a new, working one. Seriously, though. *Is* work ongoing? Is there anything I can do to help? I obviously don't know the API details here, so I doubt I can be much help on the programming side of things. I'm willing to test patches, of course, and in general I'd like to make myself useful. But if I knew this was going to take a year, I'd have sent the laptop back and found a working replacement. That's no longer feasible. I'd like to know if I'm going to wait *another* year, because finding a new one probably is. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #65) > Meanwhile, it's been a year and change without a solution. > > #52 mentions this being caused by new security rules. Considering that, by and > large, there won't be multiple users concurrently using the GPU *anyway* - is > there any possibility of backing out that change instead, even just locally? aahhh, I forgot to buy a present :( Happy (belated) bug-birthday still! Seriously though, I think the change though in comment #52 is a change to the *hardware*, so unless you have some mad soldering skills there is no way 'back out that change', even just locally. Some more frequent status updates would certainly be nice though, and at least serve to let people know that work on fixing this glaring omission is still ongoing (this was also promised in comment #52). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Meanwhile, it's been a year and change without a solution. #52 mentions this being caused by new security rules. Considering that, by and large, there won't be multiple users concurrently using the GPU *anyway* - is there any possibility of backing out that change instead, even just locally? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
Chun-Yu, if you still have such problems in 12.04 then please log a new bug because this one won't get much attention since it's now Fix Released. I assume you're using the intel graphics output on your i5? Please also try the workaround listed in the Bug Description at the top of this bug. And report your findings in a new bug. Thanks... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
I just tried Ubuntu 12.04 and this is definitely not fixed in the default Unity interface… there is still a lot of tearing when playing https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers/+bug/600178/+attachment/2134500/+files/teartest.mp4 on my i5-2540m. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
This bug was fixed in one of the other packages attached to this bug, closing ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
*** Bug 43674 has been marked as a duplicate of this bug. *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Changed in: compiz-core Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Bug watch added: freedesktop.org Bugzilla #43674 https://bugs.freedesktop.org/show_bug.cgi?id=43674 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Please take a look at this bug https://bugs.freedesktop.org/show_bug.cgi?id=43674 and confirm it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Branch linked: lp:ubuntu/compiz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
ebian/patches/fix-865863.patch - debian/patches/fix-866752.patch - debian/patches/fix-869316_869919.patch - debian/patches/fix-869967.patch - debian/patches/fix-886978.patch - debian/patches/fix_slow_vsync_lp763005.patch - debian/patches/rev_2821_fix_807487.patch - debian/patches/rev_2847_bug_796594.patch - debian/patches/rev_2878_bug_865696.patch - debian/patches/rev_2884_fix_874004.patch - debian/patches/rev_2890_fix_879253.patch * debian/rules: - the abi file is now renamed to core/abiversion.h - remove the .a - Remove -Bsymbolic-functions from LDFLAGS as it causes libcompiz_core to be loaded once per plugin when dlopened - don't run tests, they don't run on headless server anymore * debian/compiz-core.install: - contain new libcompiz-core lib * debian/compiz-kde.install: - do not ship kde part for now, it's broken upstream * debian/patches/ubuntu-config.patch: - default configuration is here now. * debian/patches/fix_gtk_w_d_crash.patch: - additional backport for gtk-w-d crash (LP: #930071) * debian/patches/fix_930412.patch: - backport to fix keybindings not working (LP: #930412) * debian/patches/fix_931283.patch: - trunk commit to fix a crash on shutdown (LP: #931283) * debian/patches/fix_924736.patch: - additional fix for getting the shadow active on maximized window (LP: #924736) [ Sam Spilsbury ] * Remove unused plugins, disable tests by default * debian/patches/ccp_plugin.patch : force load the cpp plugin if not specified * debian/patches/workaround_broken_drivers.patch : workaround broken drivers that do binary detection * debian/patches/default_drag_key.patch : add a default in case mutter isn't installed -- Didier RocheMon, 13 Feb 2012 15:28:06 +0100 ** Branch linked: lp:compiz ** Changed in: compiz (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Changed in: compiz-core Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #58) > (In reply to comment #55) > > With compositing enabled, I guess there is not much to do - the problem > > happens > > due to the nature of compositing itself. When it is used, the windows do not > > render directly to screen, but to an off-screen area. So the vsync is not > > helpful in any case - the off-screen does not synchronizes itself with it. > > Such > > tearing is not Intel-specific, it also happens on nvidia > > (http://www.nvnews.net/vbulletin/showthread.php?t=149276, > > http://nvnews.net/vbulletin/showthread.php?t=149776), and there is a nice > > description at https://bugzilla.gnome.org/show_bug.cgi?id=562669 as well. > > In such cirumstances,the compositor uses CopySubBuffer which is meant to be > vsync'ed.The caveat is that it is implemented inside an Xserver using a > function that is not specified to be either synchronous or asynchronous > (DRI2CopyRegion), and that same function is also used in a performance > sensitive path (vblank_mode=0!). For UXA, we actually do enable vsync so that > the compositor does not tear. I proposed > http://cgit.freedesktop.org/~ickle/xserver/commit/?id=9e92c256853fa29bddd27e41fdd24e0b140e7fd4 > to disambiguate that case and to permit even faster vblank_mode=0 swapping. I heard about that for full-screen opengl something called 'page flipping' is used, which is able to provide vsync on sandybridge (this is the work around with "mplayer -vo gl" discussed above). Q: Is there a way to modify the xrender compositor(s) so that it ensures that 1) rendering to the offscreen area is complete before calling CopySubBuffer (or equivalent), e.g. by using double buffering, 2) calling some equivalent of CopySubBuffer which can do page flipping for 2d xrender calls. I.e. the goal is to get the 2d xrender case to also use page flipping. I don't know to what extend this is the same as the idea that was proposed a few months back (which I also tried to discuss with the xfce developers, see http://mail.xfce.org/pipermail/xfce4-dev/2011-September/029051.html), and if it is now possible to implement any of this yet? (I think the idea there was to implement a vsync-wait call to xrender?) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
"You should not experience tearing if you disable compositing and use gl or vaapi output. Tearing still happens with xv/x11 due to vsync not working properly on Sandy Bridge yet, even with compositing disabled." - https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video- intel/+bug/755841/comments/89 I confirm that this workaround works on my system with Intel/ATI Hybrid graphics, using Intel graphics as active. I'm in KDE, before playing video I will switch off KDE compositing (Alt+Shift+F2) then play video using mplayer with gl output. No tearing at all! :-) Finally, I can watch movies in great shape on my 32" HDMI TV ^_^ Using VLC still tears, because when with VLC-GLX the video is corrupted, and with XV there's still video tearing even with compositing disabled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Bug watch added: Red Hat Bugzilla #747668 https://bugzilla.redhat.com/show_bug.cgi?id=747668 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Hello Dmitry, Please note that different permutations of the 'Sync to VBlank' option in the OpenGL plugin and the 'Don't wait for video sync' in the Workarounds plugin may affect positively or negatively the performance (I experienced stuttering in some configurations not sure which). There are no such issues with Gnome 3 even when playing 1080p video. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Hello all, I am using Gnome 3 for my desktop environment. I managed to work around this tearing issue by adding the following line to my /etc/environment file: CLUTTER_PAINT=disable-clipped-redraws:disable-culling I am not sure how much does this affect the overall performance, but now there is no visible tearing in gnome-shell. Somewhat similar workaround has been devised for Compiz as may be seen over at Ubuntu's Launchpad issue tracker. The tearing disappears when the 'Force full screen redraws on repaint' option in the Workaround plug-in is enabled. More info for my laptop is available at the RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=747668 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Thank you very much, Mr. Bordjukov. The workaround solves tearing issue in compiz without any noticible performance degradation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
If you would like to eliminate absolutely all tearing then the solution is in CCSM: Workarounds > "Force full screen redraw (buffer swap) on repaint" = ON And with Intel Sandy Bridge graphics I seem to get the best performance by combining that setting with: OpenGL > "Sync To VBlank" = OFF (this doesn't work with other drivers like NVIDIA) Keep using ppa:vanvugt/compiz for the best performance too. In my experience this config looks the nicest. But it's not enabled by default because it uses more CPU to redraw the whole screen every frame. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
Thanks Daniel, your compiz and unity updates in your PPA have much improved the tearing on playback on a system I have here. This system displays from integrated video on its i7-2630QM (sandy bridge) CPU. Previously I've seen really bad tearing while playing back h264/mp4 at 30 fps with vlc and mplayer (in various modes) within the Unity desktop. Now if only I could get directfb to stop tearing on this system ;-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Tags added: performance -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
OK, the fix is available for testing in ppa:vanvugt/compiz. But I highly recommend you also use ppa:vanvugt/unity because it contains a critical related performance fix. In my testing (with both PPAs) this resolves all tearing in 24-30 FPS video, and almost all tearing in 60 FPS video. It's really getting close to the limit of how many pixels compiz can push around :) ppa:vanvugt/compiz | https://launchpad.net/~vanvugt/+archive/compiz compiz (1:0.9.6+bzr20110929-0ubuntu6vv5) oneiric; urgency=low * Significantly reduced tearing even more. This now resolves the tearing seen during HD video playback (LP: #755841) This also dramatically improves GL benchmark results for those who like to measure framerates with sync-to-vblank disabled. -- Daniel van Vugt Wed, 07 Dec 2011 17:54:09 +0800 ppa:vanvugt/unity | https://launchpad.net/~vanvugt/+archive/unity unity (4.24.0-0ubuntu2b1vv4) oneiric; urgency=low * Fix major performance regressions due to unnecessary UnityFBO binding (LP: #861061) (LP: #880707) UnityFBO was being bound even when not required. This caused major lag in glPaintOutput, which slowed down all rendering. This was seen in reduced framerates in apps (LP: #861061) and significantly worse screen tearing with Unity 4.x compared to 3.x (LP: #880707). -- Daniel van Vugt Sat, 03 Dec 2011 14:34:01 +0800 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
** Branch linked: lp:~vanvugt/compiz-core/fix-880707.2 ** Changed in: compiz-core Milestone: None => 0.9.6 ** Changed in: compiz-core 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/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
Looks like I've got a compiz fix for this bug after all. It seems to eliminate all tearing when playing HD video on sandybridge under compiz/unity at least. Still testing the fix, but it looks good so far. Stay tuned for more news soon. ** Also affects: compiz (Ubuntu) Importance: Undecided Status: New ** Changed in: compiz (Ubuntu) Status: New => In Progress ** Changed in: compiz (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Also affects: compiz-core Importance: Undecided Status: New ** Changed in: compiz-core Status: New => In Progress ** Changed in: compiz-core Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] Graphics tearing when playing video
OK, it turns out the desktop tearing fix in bug 880707 is not enough to also fix this bug. This one seems to mostly be about tearing when playing video (usually HD) if I'm not mistaken. ** Summary changed: - [sandybridge] video tearing + [sandybridge] Graphics tearing when playing video ** Description changed: Binary package hint: xserver-xorg-video-intel Videos tear heavily. - WORKAROUND: See comment #28 + WORKAROUND: + Enable "Force full screen redraws (buffer swap) on repaint" in the + Workarounds section of ccsm. If you don't have ccsm installed, you can + get it by installing package "compizconfig-settings-manager". + + --- ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: xserver-xorg-video-intel 2:2.14.0-4ubuntu6 ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: compiz DRM.card0.DP.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.DP.2: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.HDMI.A.1: status: connected enabled: enabled dpms: On modes: 1920x1200 1600x1200 1280x1024 1280x1024 1280x960 1152x864 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400 edid-base64: AP///wBMLbYCNDJVSCQSAQOANCCgKlrRp1ZLmyQTUFS/74CpQIGAgUBxTwEBAQEBAQEBKDyAoHCwI0AwIDYABkQhAAAa/QA4Sx5REQAKICAgICAg/ABTeW5jTWFzdGVyCiAg/wBIOVhROTAxMjY0CiAgAJw= DRM.card0.HDMI.A.2: status: disconnected enabled: disabled dpms: Off modes: edid-base64: DRM.card0.VGA.1: status: disconnected enabled: disabled dpms: Off modes: edid-base64: Date: Sat Apr 9 23:52:32 2011 DistUpgraded: Log time: 2011-03-11 00:20:27.564047 DistroCodename: natty DistroVariant: ubuntu GraphicsCard: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:844d] InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100921.1) MachineType: System manufacturer System Product Name ProcEnviron: LANGUAGE=de_DE:en LANG=de_DE.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=782d30b2-7975-4d00-bf3e-de316d2b96f6 ro quiet splash vt.handoff=7 Renderer: Unknown SourcePackage: xserver-xorg-video-intel UpgradeStatus: Upgraded to natty on 2011-03-11 (29 days ago) dmi.bios.date: 02/11/2011 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0806 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8H67-M PRO dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0806:bd02/11/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8H67-MPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.4+bzr20110407-0ubuntu2 version.ia32-libs: ia32-libs 20090808ubuntu11 version.libdrm2: libdrm2 2.4.23-1ubuntu6 version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3 version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] Graphics tearing when playing video To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Well, I do experience tearing even with disabled compositing and GL output. Sure, it's much better than all the other options, and tearing happens exclusively in the top 50 pixels of the screen, but it does happen. It's clearly visible using the videos from youtube (downloaded using youtube-dl and played with mplayer -vo gl). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] video tearing
** Bug watch added: GNOME Bug Tracker #562669 https://bugzilla.gnome.org/show_bug.cgi?id=562669 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
(In reply to comment #55) > With compositing enabled, I guess there is not much to do - the problem > happens > due to the nature of compositing itself. When it is used, the windows do not > render directly to screen, but to an off-screen area. So the vsync is not > helpful in any case - the off-screen does not synchronizes itself with it. > Such > tearing is not Intel-specific, it also happens on nvidia > (http://www.nvnews.net/vbulletin/showthread.php?t=149276, > http://nvnews.net/vbulletin/showthread.php?t=149776), and there is a nice > description at https://bugzilla.gnome.org/show_bug.cgi?id=562669 as well. In such cirumstances,the compositor uses CopySubBuffer which is meant to be vsync'ed.The caveat is that it is implemented inside an Xserver using a function that is not specified to be either synchronous or asynchronous (DRI2CopyRegion), and that same function is also used in a performance sensitive path (vblank_mode=0!). For UXA, we actually do enable vsync so that the compositor does not tear. I proposed http://cgit.freedesktop.org/~ickle/xserver/commit/?id=9e92c256853fa29bddd27e41fdd24e0b140e7fd4 to disambiguate that case and to permit even faster vblank_mode=0 swapping. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
Thanks for the update, Eugeni I would like to mention that there's no OpenGL tearing (VSYNC works well) with NVIDIA. Moreover, some tearing problems with NVIDIA board while watching movies could be solved by disabling 'Redirect fullscreen windows' in compiz-settings which is equivalent to watching fullscreen movies with compositing disabled. This trick doesn't work on SandyBridge because video texture output doesn't sync to VBLANK. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841]
So, just as an update here while still working on a fix. You should not experience tearing if you disable compositing and use gl or vaapi output. Tearing still happens with xv/x11 due to vsync not working properly on Sandy Bridge yet, even with compositing disabled. With compositing enabled, I guess there is not much to do - the problem happens due to the nature of compositing itself. When it is used, the windows do not render directly to screen, but to an off-screen area. So the vsync is not helpful in any case - the off-screen does not synchronizes itself with it. Such tearing is not Intel-specific, it also happens on nvidia (http://www.nvnews.net/vbulletin/showthread.php?t=149276, http://nvnews.net/vbulletin/showthread.php?t=149776), and there is a nice description at https://bugzilla.gnome.org/show_bug.cgi?id=562669 as well. As for the vsync fix for making it work with xv/x11, I still don't have a working fix for it. I'll keep this bug updated when I'll have one. Thanks! Eugeni -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] video tearing
I'm still working on improving the general tearing problem (for all graphics hardware) running compiz/unity in bug 880707. I am not fixing gnome-shell right now. Tearing is almost always a bug in the application (compiz/unity or gnome-shell), and almost never a bug in the driver. If there is a driver issue then it's usually that the manufacturer has decided to turn off vsync support by default (which I think ATI did with fglrx and "Tear- free desktop"). However, Intel have the feature turned on by default and AFAIK you can't turn it off. So tearing with intel graphics will generally be resolved by fixing the application, and not the driver or X. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] video tearing
Running Kubuntu 11.10 I have tearing, lots of it, full screen (1920 x 1080) and windowed. Running Unity (installed in Kubuntu) I have no tearing but blurring. (Core i5 2405S + Asus P8H67-M EVO) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] video tearing
Fix from post #28 does not work for me. Am using Ubuntu 11.10 with i3 sandy bridge and gnome-shell dm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755841] Re: [sandybridge] video tearing
If indeed the problem this bug describes is the error "(WW) intel(0): first get vblank counter failed: Invalid argument" then I think my fix for bug 763005 will solve that. Because part of the fix for bug 763005 is to remove the need for compiz to get the vblank counter at all. If this bug doesn't become a duplicate of bug 763005, maybe it can be considered a duplicate of the more general tearing bug 880707 which affects any graphics chip and has an exact known cause. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755841 Title: [sandybridge] video tearing To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/755841/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs