* Tearing video on Sandy Bridge @ 2012-05-03 18:09 tino.keitel+xorg 2012-05-03 18:43 ` Daniel Vetter 0 siblings, 1 reply; 8+ messages in thread From: tino.keitel+xorg @ 2012-05-03 18:09 UTC (permalink / raw) To: intel-gfx Hi, the tearing video issue with XV output seemed to be fixed on my old computer with i945 graphics at some point. Last year I upgraded to a box with i5-2400, and got bitten again by tearing video. Currently I use kernel 3.4-rc5, Xserver 1.12 and xorg-intel 2.18. I use gnome3 and gnome-shell on my desktop, and tried several players (mplayer, vlc, mythtv). Am I just doing something wrong, or is smooth video playback not the scope of the Sandy Bridge development? Regards, Tino ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 18:09 Tearing video on Sandy Bridge tino.keitel+xorg @ 2012-05-03 18:43 ` Daniel Vetter 2012-05-03 19:34 ` Tino Keitel 0 siblings, 1 reply; 8+ messages in thread From: Daniel Vetter @ 2012-05-03 18:43 UTC (permalink / raw) To: intel-gfx On Thu, May 03, 2012 at 08:09:09PM +0200, tino.keitel+xorg@tikei.de wrote: > Hi, > > the tearing video issue with XV output seemed to be fixed on my old > computer with i945 graphics at some point. Last year I upgraded to a > box with i5-2400, and got bitten again by tearing video. Currently I > use kernel 3.4-rc5, Xserver 1.12 and xorg-intel 2.18. I use gnome3 and > gnome-shell on my desktop, and tried several players (mplayer, vlc, > mythtv). > > Am I just doing something wrong, or is smooth video playback not the > scope of the Sandy Bridge development? We used scanline waits embedded in the gpu command stream to achieve tear-free video. On snb hw designers killed that feature :( The only way to get tear-free screen updates on snb is with pageflips, which requires a opengl compositor (and wayland if you have more than one screen). -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 18:43 ` Daniel Vetter @ 2012-05-03 19:34 ` Tino Keitel 2012-05-03 19:46 ` Daniel Vetter 0 siblings, 1 reply; 8+ messages in thread From: Tino Keitel @ 2012-05-03 19:34 UTC (permalink / raw) To: Daniel Vetter; +Cc: intel-gfx On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: [...] > The only way to get tear-free screen updates on snb is with pageflips, > which requires a opengl compositor Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 desktop providing this? Regards, Tino ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 19:34 ` Tino Keitel @ 2012-05-03 19:46 ` Daniel Vetter 2012-05-03 19:51 ` tino.keitel+xorg 0 siblings, 1 reply; 8+ messages in thread From: Daniel Vetter @ 2012-05-03 19:46 UTC (permalink / raw) To: Daniel Vetter, intel-gfx On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote: > On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: > > [...] > > > The only way to get tear-free screen updates on snb is with pageflips, > > which requires a opengl compositor > > Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 > desktop providing this? Well, it needs to do vsync'ed updates, and to work correctly, the client also needs to do dri2 buffer swaps. Dunno where to set the former in gnome 3, for the later try a opengl output plugin (or libva). -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 19:46 ` Daniel Vetter @ 2012-05-03 19:51 ` tino.keitel+xorg 2012-05-03 20:32 ` Chun-Yu Shei 0 siblings, 1 reply; 8+ messages in thread From: tino.keitel+xorg @ 2012-05-03 19:51 UTC (permalink / raw) To: intel-gfx On Thu, May 03, 2012 at 21:46:37 +0200, Daniel Vetter wrote: > On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote: > > On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: > > > > [...] > > > > > The only way to get tear-free screen updates on snb is with pageflips, > > > which requires a opengl compositor > > > > Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 > > desktop providing this? > > Well, it needs to do vsync'ed updates, and to work correctly, the client Is this in the dri config file? Regards, Tino ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 19:51 ` tino.keitel+xorg @ 2012-05-03 20:32 ` Chun-Yu Shei 2012-05-04 5:56 ` tino.keitel+xorg 0 siblings, 1 reply; 8+ messages in thread From: Chun-Yu Shei @ 2012-05-03 20:32 UTC (permalink / raw) To: intel-gfx On 05/03/2012 03:51 PM, tino.keitel+xorg@tikei.de wrote: > On Thu, May 03, 2012 at 21:46:37 +0200, Daniel Vetter wrote: >> On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote: >>> On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: >>> >>> [...] >>> >>>> The only way to get tear-free screen updates on snb is with pageflips, >>>> which requires a opengl compositor >>> >>> Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 >>> desktop providing this? >> >> Well, it needs to do vsync'ed updates, and to work correctly, the client > > Is this in the dri config file? I've had tear-free video (finally!) in GNOME 3 for a while now, using the following in my ~/.xsession (and launching that from GDM instead of GNOME directly): CLUTTER_PAINT=disable-clipped-redraws:disable-culling /etc/X11/Sessions/Gnome You may have to adjust the "/etc/X11/Sessions/Gnome" depending on your distribution (I'm on Gentoo). Hope that helps, Chun-Yu ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-03 20:32 ` Chun-Yu Shei @ 2012-05-04 5:56 ` tino.keitel+xorg 2012-05-04 19:44 ` Tino Keitel 0 siblings, 1 reply; 8+ messages in thread From: tino.keitel+xorg @ 2012-05-04 5:56 UTC (permalink / raw) To: intel-gfx On Thu, May 03, 2012 at 16:32:47 -0400, Chun-Yu Shei wrote: > On 05/03/2012 03:51 PM, tino.keitel+xorg@tikei.de wrote: > >On Thu, May 03, 2012 at 21:46:37 +0200, Daniel Vetter wrote: > >>On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote: > >>>On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: > >>> > >>>[...] > >>> > >>>>The only way to get tear-free screen updates on snb is with pageflips, > >>>>which requires a opengl compositor > >>> > >>>Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 > >>>desktop providing this? > >> > >>Well, it needs to do vsync'ed updates, and to work correctly, the client > > > >Is this in the dri config file? > > I've had tear-free video (finally!) in GNOME 3 for a while now, > using the following in my ~/.xsession (and launching that from GDM > instead of GNOME directly): > > CLUTTER_PAINT=disable-clipped-redraws:disable-culling > /etc/X11/Sessions/Gnome Thanks, I'll try that. When I goggled for that, I also found people using CLUTTER_VBLANK=True. Regards, Tino ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tearing video on Sandy Bridge 2012-05-04 5:56 ` tino.keitel+xorg @ 2012-05-04 19:44 ` Tino Keitel 0 siblings, 0 replies; 8+ messages in thread From: Tino Keitel @ 2012-05-04 19:44 UTC (permalink / raw) To: intel-gfx On Fri, May 04, 2012 at 07:56:08 +0200, tino.keitel+xorg@tikei.de wrote: > On Thu, May 03, 2012 at 16:32:47 -0400, Chun-Yu Shei wrote: > > On 05/03/2012 03:51 PM, tino.keitel+xorg@tikei.de wrote: > > >On Thu, May 03, 2012 at 21:46:37 +0200, Daniel Vetter wrote: > > >>On Thu, May 03, 2012 at 09:34:28PM +0200, Tino Keitel wrote: > > >>>On Thu, May 03, 2012 at 20:43:01 +0200, Daniel Vetter wrote: > > >>> > > >>>[...] > > >>> > > >>>>The only way to get tear-free screen updates on snb is with pageflips, > > >>>>which requires a opengl compositor > > >>> > > >>>Thanks. What do you mean with "opengl compositor"? Isn't the Gnome3 > > >>>desktop providing this? > > >> > > >>Well, it needs to do vsync'ed updates, and to work correctly, the client > > > > > >Is this in the dri config file? > > > > I've had tear-free video (finally!) in GNOME 3 for a while now, > > using the following in my ~/.xsession (and launching that from GDM > > instead of GNOME directly): > > > > CLUTTER_PAINT=disable-clipped-redraws:disable-culling > > /etc/X11/Sessions/Gnome > > Thanks, I'll try that. When I goggled for that, I also found people > using CLUTTER_VBLANK=True. Thanks a lot, the CLUTTER_PAINT setting did the trick. The CLUTTER_VBLANK line had no effect. Regards, Tino ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-05-04 19:44 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-03 18:09 Tearing video on Sandy Bridge tino.keitel+xorg 2012-05-03 18:43 ` Daniel Vetter 2012-05-03 19:34 ` Tino Keitel 2012-05-03 19:46 ` Daniel Vetter 2012-05-03 19:51 ` tino.keitel+xorg 2012-05-03 20:32 ` Chun-Yu Shei 2012-05-04 5:56 ` tino.keitel+xorg 2012-05-04 19:44 ` Tino Keitel
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.