[Compiz] [Bug 755841]

2018-06-08 Thread N. W.
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2017-10-28 Thread Bug Watch Updater
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2015-02-10 Thread Chris Bainbridge
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-10-23 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2013-10-23 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-10-23 Thread Maxtin
Will it be made default? Tx

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-10-23 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-10-21 Thread Chris Wilson
TearFree should be much improved as of:

commit fa2687bdd5a4c8bc608dac8bb711035f0752a725
Author: Chris Wilson ch...@chris-wilson.co.uk
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 ch...@chris-wilson.co.uk

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-08-06 Thread Chris Wilson
*** Bug 67823 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-04-29 Thread bwat47
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2013-02-26 Thread Bug Watch Updater
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-02-26 Thread bwat47
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-02-16 Thread Michael+freedesktop
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-02-16 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2013-02-15 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2013-02-15 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Importance: High = Wishlist

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-12-22 Thread postadelmaga
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-12-01 Thread bwat47
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-11-26 Thread Chris Wilson
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 ch...@chris-wilson.co.uk
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 ch...@chris-wilson.co.uk
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-11-26 Thread Mariocortis
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-11-26 Thread Chris Wilson
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-11-26 Thread Usedasbugtracking
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-10-04 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-10-04 Thread taolab
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-10-04 Thread Chris Wilson
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread taolab
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Joelthelion
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Zdzichu
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread antistress
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Chris Wilson
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Michael+freedesktop
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Ryan Oram
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Chris Wilson
*** Bug 52470 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Oleksij Rempel
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Oleksij Rempel
I checked the screenshots and in may case it is not tearing.

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread taolab
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-08-06 Thread Jony akross
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-07-18 Thread Daniel van Vugt
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-07-05 Thread Da-fox
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-07-05 Thread Ryan Oram
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-07-05 Thread taolab
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-29 Thread Da-fox
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-29 Thread J-iam-3
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-29 Thread Eric Appleman
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Da-fox
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Petko Bordjukov
Hello,

I was unable to reproduce the bug on Fedora 17 with Gnome Shell.

On Wed, May 16, 2012 at 12:42 PM, bugzilla-dae...@freedesktop.org wrote:

 https://bugs.freedesktop.org/show_bug.cgi?id=37686

 --- Comment #67 from Svein Ove Aas sve...@gmail.com 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Eric Appleman
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread J-iam-3
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
(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 GL/gl.h
#include SDL/SDL.h
#include strings.h
#include stdio.h

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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread J-iam-3
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread J-iam-3
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread Baughn
Updated tester:


#include GL/gl.h
#include SDL/SDL.h
#include strings.h
#include stdio.h

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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-05-22 Thread J-iam-3
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-04-29 Thread Chun-Yu
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-04-29 Thread Daniel van Vugt
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-04-26 Thread JC Hulce
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-04-17 Thread Chris Wilson
*** Bug 43674 has been marked as a duplicate of this bug. ***

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-03-03 Thread Daniel van Vugt
** Changed in: compiz-core
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-02-16 Thread J-iam-3
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-02-16 Thread Bug Watch Updater
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-02-13 Thread Launchpad Bug Tracker
This bug was fixed in the package compiz - 1:0.9.7.0~bzr2995-0ubuntu1

---
compiz (1:0.9.7.0~bzr2995-0ubuntu1) precise; urgency=low

  [ Didier Roche ]
  * New upstream snapshot:
- Fix slow/stuttering display with fglrx (LP: #763005)
- Don't dynamically link to compiz_core
- Fix build failures with glib 2.30 (oneiric) (LP: #921406)
- Fix uninitialized variable warnings in valgrind (LP: #921451)
- Fixes up a bunch of boost::variant edge cases
- Fixes a race condition where the xig restart test would fail spuriously
- Incorrect (low/stuttering) refresh rate with NVIDIA driver (LP: #92599)
- Benchmark window slows the system and degrades graphics resources
  (LP: #254561)
- Windows that hide themselves when closed don't appear in any
  this workspace switcher  (LP: #684731)
- hang in g_spawn_sync and select()  (LP: #690239)
- word misspelled - bunding  (LP: #694169)
- sometimes, restored window placed too high.  (LP: #716521)
- Compiz clears the root window in the installer session  (LP: #720679)
- unity-window-decorator: When switching between windows, Orca does
  not speak the title of the focused window.  (LP: #724093)
- Cannot open a window that starts iconified  (LP: #732997)
- Minimize animation flickr when for maximized apps  (LP: #737125)
- Pixmap memory leak in gtk-window-decorator  (LP: #740258)
- Windows should not automatically be focused when opened if the
  focus is on another application  (LP: #748840)
- [sandybridge] Graphics tearing when playing video  (LP: #755841)
- Compiz's Sync to Vblank makes display stutter/slow with fglrx
  (LP: #763005)
- [regression] Moving windows lags behind the mouse by 1-2 seconds;
  appear to freeze when dragging.  (LP: #764330)
- Launcher - Spread should not affect the state of window  (LP: #764673)
- Clicking on a tweet/message link sometimes does not work  (LP: #790565)
- scrolling on top of a close animation switches viewports  (LP: #795065)
- unity video tearing when moving windows in oneiric with
  nvidia-current  (LP: #798868)
- dialogs really slow to be displayed since the compiz update (LP: #812711)
- It is possible to stack windows relative to windows that are
  destroyed  (LP: #837252
- Should keep list of windows last sent to server and last recv
  from server  (LP: #841727)
- compiz and X can disagree on the stacking order  (LP: #845719)
- A minimized window 'remains' behind on the desktop if
  /apps/compiz-1/plugins/unityshell/screen0/options/
  show_minimized_windows is set to true  (LP: #847967)
- maximized windows fail to update their input extents when
  undecorated  (LP: #853734)
- resizing bugs with xterm  (LP: #854725)
- crash on closing a window  (LP: #856015)
- Java application windows cut-off/truncated/not displayed properly
  (LP: #857201)
- compiz crashed with SIGSEGV in CompScreen::insertServerWindow()
  (LP: #857487)
- compiz crashed with SIGABRT in raise()  (LP: #857738)
- Applications which create multiple windows that are transients of
  each other can be given invalid stack positions  (LP: #858625)
- Windows move to 0,0 on compiz restarts  (LP: #858629)
- Crash when selecting Evolution in alt-tab  (LP: #859431)
- invisible window when a window is mapped but not yet drawn on by
  the process mapping it  (LP: #860286)
- race condition in configureXWindow causes unpredicatable window
  geometry changes  (LP: #860304)
- windows that are decorated while resizing can cause incorrect
  resize results  (LP: #860306)
- Moving a window while it is being resized by core caused
  unpredictable movement  (LP: #860309)
- Windows which are marked transients of docks should be treated
  like docks  (LP: #860397)
- can't maximize windows on second monitor and Qt windows displayed
  in wrong place  (LP: #861341)
  * debian/compiz-decorator, debian/compiz-gnome.install,
debian/compiz-plugins-default.install,
debian/compiz-plugins.install,
debian/compiz-gnome.gconf-defaults, debian/rules, debian/unity.ini:
- no more unity-window-decorator, switch back to gtk-window-decorator
- remove plugins that are not shipped anymore
- don't set in the default list plugins that are not shipped anymore
  * debian/libdecoration0.symbols:
- upated to latest
  * Removed cherry-picked patches:
- debian/patches/02_fix_autofocus_minimize_window.patch
- debian/patches/03_fix_configureframe.patch
- debian/patches/04_fix_insertServerWindow_crash.patch
- debian/patches/05_fix_reconfigureXWindow_crash.patch
- debian/patches/fix-748840.patch
- debian/patches/fix-832150.patch
- debian/patches/fix-863328.patch
- debian/patches/fix-864330.patch
- debian/patches/fix-864478.patch
- debian/patches/fix-865863.patch
- 

[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-02-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/compiz

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-01-18 Thread Daniel van Vugt
** Changed in: compiz-core
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2012-01-13 Thread Da-fox
(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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2012-01-12 Thread Hendy Irawan
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2011-12-25 Thread Petko Bordjukov
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2011-12-25 Thread Dmitry Savin
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841]

2011-12-25 Thread Petko Bordjukov
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-25 Thread Bug Watch Updater
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-15 Thread Mark Howell
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-15 Thread Daniel van Vugt
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-13 Thread Daniel van Vugt
** Tags added: performance

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-07 Thread Daniel van Vugt
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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-07 Thread Daniel van Vugt
** 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 compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp


[Compiz] [Bug 755841] Re: [sandybridge] Graphics tearing when playing video

2011-12-07 Thread Daniel van Vugt
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 vanv...@gmail.com  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 vanv...@gmail.com  Sat, 03 Dec 2011 14:34:01 +0800

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in 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

___
Mailing list: https://launchpad.net/~compiz
Post to : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp