All of lore.kernel.org
 help / color / mirror / Atom feed
* vsync + vaapi question
@ 2015-12-18 18:08 Lukas Hejtmanek
  2015-12-22 20:54 ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-18 18:08 UTC (permalink / raw)
  To: intel-gfx

Hello,

is it possible to switch vsync from internal LCD (laptop) to external monitor
when playing movie via VA-API? I can drop vsync with internal LCD and keep
vsync only with external monitor. I tried to use --primary for excernal
monitor when enabling output but no luck. 

Is there any way to sync with external monitor? Chris once told me that
anything is possible. So? :)

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-18 18:08 vsync + vaapi question Lukas Hejtmanek
@ 2015-12-22 20:54 ` Chris Wilson
  2015-12-22 22:25   ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-22 20:54 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Fri, Dec 18, 2015 at 07:08:11PM +0100, Lukas Hejtmanek wrote:
> Hello,
> 
> is it possible to switch vsync from internal LCD (laptop) to external monitor
> when playing movie via VA-API? I can drop vsync with internal LCD and keep
> vsync only with external monitor. I tried to use --primary for excernal
> monitor when enabling output but no luck. 

Not really. The Primary output will be used as the vsync so long as a
single pixel of the Window is upon it. Fundamentally, we need to use the
output that the Window is on in order to driver the vblank update.
 
> Is there any way to sync with external monitor? Chris once told me that
> anything is possible. So? :)

Ville once upon a time mentioned plans to try and synchronise the
vblanks on matched outputs, i.e. start two 60Hz monitors at precisely
the same time so they remain reasonably in sync.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-22 20:54 ` Chris Wilson
@ 2015-12-22 22:25   ` Lukas Hejtmanek
  2015-12-23 12:01     ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-22 22:25 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Tue, Dec 22, 2015 at 08:54:08PM +0000, Chris Wilson wrote:
> Not really. The Primary output will be used as the vsync so long as a
> single pixel of the Window is upon it. Fundamentally, we need to use the
> output that the Window is on in order to driver the vblank update.

Which window? Any window or the va-api window? In the latter case, it would be
quite ok to setup left-of instead of clone and move mplayer window solely to
the external monitor. Do I understand it correctly?

> Ville once upon a time mentioned plans to try and synchronise the
> vblanks on matched outputs, i.e. start two 60Hz monitors at precisely
> the same time so they remain reasonably in sync.

hmm, well, right now, LVDS is running on 60Hz while HDMI2 runs at 30Hz.

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-22 22:25   ` Lukas Hejtmanek
@ 2015-12-23 12:01     ` Chris Wilson
  2015-12-23 12:13       ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-23 12:01 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Tue, Dec 22, 2015 at 11:25:53PM +0100, Lukas Hejtmanek wrote:
> On Tue, Dec 22, 2015 at 08:54:08PM +0000, Chris Wilson wrote:
> > Not really. The Primary output will be used as the vsync so long as a
> > single pixel of the Window is upon it. Fundamentally, we need to use the
> > output that the Window is on in order to driver the vblank update.
> 
> Which window? Any window or the va-api window? In the latter case, it would be
> quite ok to setup left-of instead of clone and move mplayer window solely to
> the external monitor. Do I understand it correctly?

The clipped extents of the va-api Window is used to determine which CRTC
to use as the vblank source. Hmm, the Primary Output is used as the
preference (i.e. if any part of that Window is on the Primary, it is
used as the CRTC - the idea being that Primary is important and this
should share the vblank source for more Windows and prevent arbitrary
jumps between vblank sources as the Window moves).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-23 12:01     ` Chris Wilson
@ 2015-12-23 12:13       ` Lukas Hejtmanek
  2015-12-23 13:38         ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-23 12:13 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Wed, Dec 23, 2015 at 12:01:44PM +0000, Chris Wilson wrote:
> The clipped extents of the va-api Window is used to determine which CRTC
> to use as the vblank source. Hmm, the Primary Output is used as the
> preference (i.e. if any part of that Window is on the Primary, it is
> used as the CRTC - the idea being that Primary is important and this
> should share the vblank source for more Windows and prevent arbitrary
> jumps between vblank sources as the Window moves).

just tested, with xv output, vsync seems to be quite ok. however, with va-api
it not ok on both LVDS and HDMI. HDMI seems to be far worse with va-api (i.e.
out of sync). Maybe a bug in va-api sync code?

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-23 12:13       ` Lukas Hejtmanek
@ 2015-12-23 13:38         ` Chris Wilson
  2015-12-24  9:44           ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-23 13:38 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Wed, Dec 23, 2015 at 01:13:46PM +0100, Lukas Hejtmanek wrote:
> On Wed, Dec 23, 2015 at 12:01:44PM +0000, Chris Wilson wrote:
> > The clipped extents of the va-api Window is used to determine which CRTC
> > to use as the vblank source. Hmm, the Primary Output is used as the
> > preference (i.e. if any part of that Window is on the Primary, it is
> > used as the CRTC - the idea being that Primary is important and this
> > should share the vblank source for more Windows and prevent arbitrary
> > jumps between vblank sources as the Window moves).
> 
> just tested, with xv output, vsync seems to be quite ok. however, with va-api
> it not ok on both LVDS and HDMI. HDMI seems to be far worse with va-api (i.e.
> out of sync). Maybe a bug in va-api sync code?

Try (libva):

diff --git a/va/x11/dri2_util.c b/va/x11/dri2_util.c
index d076fb3..9ff5e95 100644
--- a/va/x11/dri2_util.c
+++ b/va/x11/dri2_util.c
@@ -95,8 +95,9 @@ dri2SwapBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable)
     if (dri2_drawable->has_backbuffer) {
         if (gsDRI2SwapAvailable) {
             CARD64 ret;
-            VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable, 0, 0,
-                               0, &ret);
+            VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable,
+                              0, 1, 0,
+                              &ret);
         } else {
             xrect.x = 0;
             xrect.y = 0;

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-23 13:38         ` Chris Wilson
@ 2015-12-24  9:44           ` Lukas Hejtmanek
  2015-12-24 15:50             ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24  9:44 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Wed, Dec 23, 2015 at 01:38:26PM +0000, Chris Wilson wrote:
> Try (libva):

seems to be much better. I got one lockup though but it may be unrelated.
Thanks, hope you push it into mainstream.
 
> diff --git a/va/x11/dri2_util.c b/va/x11/dri2_util.c
> index d076fb3..9ff5e95 100644
> --- a/va/x11/dri2_util.c
> +++ b/va/x11/dri2_util.c
> @@ -95,8 +95,9 @@ dri2SwapBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable)
>      if (dri2_drawable->has_backbuffer) {
>          if (gsDRI2SwapAvailable) {
>              CARD64 ret;
> -            VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable, 0, 0,
> -                               0, &ret);
> +            VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable,
> +                              0, 1, 0,
> +                              &ret);
>          } else {
>              xrect.x = 0;
>              xrect.y = 0;
> 
> -- 
> Chris Wilson, Intel Open Source Technology Centre

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24  9:44           ` Lukas Hejtmanek
@ 2015-12-24 15:50             ` Chris Wilson
  2015-12-24 19:28               ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-24 15:50 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 10:44:46AM +0100, Lukas Hejtmanek wrote:
> On Wed, Dec 23, 2015 at 01:38:26PM +0000, Chris Wilson wrote:
> > Try (libva):
> 
> seems to be much better. I got one lockup though but it may be unrelated.

Unfortunately probably related, since we now enforce synchronisation to
vblank there are a few more bit and pieces involved. 

> Thanks, hope you push it into mainstream.

Patch sent.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 15:50             ` Chris Wilson
@ 2015-12-24 19:28               ` Lukas Hejtmanek
  2015-12-24 19:37                 ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24 19:28 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Thu, Dec 24, 2015 at 03:50:17PM +0000, Chris Wilson wrote:
> On Thu, Dec 24, 2015 at 10:44:46AM +0100, Lukas Hejtmanek wrote:
> > On Wed, Dec 23, 2015 at 01:38:26PM +0000, Chris Wilson wrote:
> > > Try (libva):
> > 
> > seems to be much better. I got one lockup though but it may be unrelated.
> 
> Unfortunately probably related, since we now enforce synchronisation to
> vblank there are a few more bit and pieces involved. 
> 
> > Thanks, hope you push it into mainstream.
> 
> Patch sent.

huh, maybe it is not good idea. Had to revert it because of number of hard 
lockups :(

or are there any patches I can try to fix those lockups?

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:28               ` Lukas Hejtmanek
@ 2015-12-24 19:37                 ` Chris Wilson
  2015-12-24 19:42                   ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-24 19:37 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 08:28:25PM +0100, Lukas Hejtmanek wrote:
> On Thu, Dec 24, 2015 at 03:50:17PM +0000, Chris Wilson wrote:
> > On Thu, Dec 24, 2015 at 10:44:46AM +0100, Lukas Hejtmanek wrote:
> > > On Wed, Dec 23, 2015 at 01:38:26PM +0000, Chris Wilson wrote:
> > > > Try (libva):
> > > 
> > > seems to be much better. I got one lockup though but it may be unrelated.
> > 
> > Unfortunately probably related, since we now enforce synchronisation to
> > vblank there are a few more bit and pieces involved. 
> > 
> > > Thanks, hope you push it into mainstream.
> > 
> > Patch sent.
> 
> huh, maybe it is not good idea. Had to revert it because of number of hard 
> lockups :(
> 
> or are there any patches I can try to fix those lockups?

Hard? The fault isn't in libva this time at least.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:37                 ` Chris Wilson
@ 2015-12-24 19:42                   ` Lukas Hejtmanek
  2015-12-24 19:55                     ` Chris Wilson
  2016-01-13 13:12                     ` Lukas Hejtmanek
  0 siblings, 2 replies; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24 19:42 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Thu, Dec 24, 2015 at 07:37:18PM +0000, Chris Wilson wrote:
> > huh, maybe it is not good idea. Had to revert it because of number of hard 
> > lockups :(
> > 
> > or are there any patches I can try to fix those lockups?
> 
> Hard? The fault isn't in libva this time at least.

applied patch results in hard lockup when playing a movie (short sound loop
and even sysrq keys are not working). I thought that driver would reset gpu
eventualy but it seems to be completely dead. 

So I reverted the patch and it seems lockups are gone.

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:42                   ` Lukas Hejtmanek
@ 2015-12-24 19:55                     ` Chris Wilson
  2015-12-24 19:59                       ` Lukas Hejtmanek
  2016-01-13 13:12                     ` Lukas Hejtmanek
  1 sibling, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-24 19:55 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 08:42:01PM +0100, Lukas Hejtmanek wrote:
> On Thu, Dec 24, 2015 at 07:37:18PM +0000, Chris Wilson wrote:
> > > huh, maybe it is not good idea. Had to revert it because of number of hard 
> > > lockups :(
> > > 
> > > or are there any patches I can try to fix those lockups?
> > 
> > Hard? The fault isn't in libva this time at least.
> 
> applied patch results in hard lockup when playing a movie (short sound loop
> and even sysrq keys are not working). I thought that driver would reset gpu
> eventualy but it seems to be completely dead. 

That's a kernel panic or total machine lockup. Do you have a few
different kernels you can try? Hopefully it's a recent regression.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:55                     ` Chris Wilson
@ 2015-12-24 19:59                       ` Lukas Hejtmanek
  2015-12-24 20:05                         ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24 19:59 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Thu, Dec 24, 2015 at 07:55:42PM +0000, Chris Wilson wrote:
> That's a kernel panic or total machine lockup. Do you have a few
> different kernels you can try? Hopefully it's a recent regression.

the same for ubuntu's kernel 4.2.0 and 4.3.0. 

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:59                       ` Lukas Hejtmanek
@ 2015-12-24 20:05                         ` Chris Wilson
  2015-12-24 22:15                           ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-24 20:05 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 08:59:49PM +0100, Lukas Hejtmanek wrote:
> On Thu, Dec 24, 2015 at 07:55:42PM +0000, Chris Wilson wrote:
> > That's a kernel panic or total machine lockup. Do you have a few
> > different kernels you can try? Hopefully it's a recent regression.
> 
> the same for ubuntu's kernel 4.2.0 and 4.3.0. 

Keep going... Jump to about 3.19
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 20:05                         ` Chris Wilson
@ 2015-12-24 22:15                           ` Lukas Hejtmanek
  2015-12-24 22:22                             ` Chris Wilson
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24 22:15 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Thu, Dec 24, 2015 at 08:05:33PM +0000, Chris Wilson wrote:
> On Thu, Dec 24, 2015 at 08:59:49PM +0100, Lukas Hejtmanek wrote:
> > On Thu, Dec 24, 2015 at 07:55:42PM +0000, Chris Wilson wrote:
> > > That's a kernel panic or total machine lockup. Do you have a few
> > > different kernels you can try? Hopefully it's a recent regression.
> > 
> > the same for ubuntu's kernel 4.2.0 and 4.3.0. 
> 
> Keep going... Jump to about 3.19

tried 3.19.0-42 from ubuntu. lockup as well it just took more time..

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 22:15                           ` Lukas Hejtmanek
@ 2015-12-24 22:22                             ` Chris Wilson
  2015-12-24 22:25                               ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Chris Wilson @ 2015-12-24 22:22 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 11:15:57PM +0100, Lukas Hejtmanek wrote:
> On Thu, Dec 24, 2015 at 08:05:33PM +0000, Chris Wilson wrote:
> > On Thu, Dec 24, 2015 at 08:59:49PM +0100, Lukas Hejtmanek wrote:
> > > On Thu, Dec 24, 2015 at 07:55:42PM +0000, Chris Wilson wrote:
> > > > That's a kernel panic or total machine lockup. Do you have a few
> > > > different kernels you can try? Hopefully it's a recent regression.
> > > 
> > > the same for ubuntu's kernel 4.2.0 and 4.3.0. 
> > 
> > Keep going... Jump to about 3.19
> 
> tried 3.19.0-42 from ubuntu. lockup as well it just took more time..

Hmm. What hardware? Baytrail?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 22:22                             ` Chris Wilson
@ 2015-12-24 22:25                               ` Lukas Hejtmanek
  2015-12-24 23:54                                 ` Robert Hooker
  0 siblings, 1 reply; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-24 22:25 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On Thu, Dec 24, 2015 at 10:22:24PM +0000, Chris Wilson wrote:
> > tried 3.19.0-42 from ubuntu. lockup as well it just took more time..
> 
> Hmm. What hardware? Baytrail?

Lenovo X1 Carbon 2015. Intel(R) HD Graphics 5500 (according to log) 
pci id 8086:1616 (rev 09)

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 22:25                               ` Lukas Hejtmanek
@ 2015-12-24 23:54                                 ` Robert Hooker
  2015-12-26 15:40                                   ` Lukas Hejtmanek
  0 siblings, 1 reply; 20+ messages in thread
From: Robert Hooker @ 2015-12-24 23:54 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 5:25 PM, Lukas Hejtmanek <xhejtman@ics.muni.cz> wrote:
> On Thu, Dec 24, 2015 at 10:22:24PM +0000, Chris Wilson wrote:
>> > tried 3.19.0-42 from ubuntu. lockup as well it just took more time..
>>
>> Hmm. What hardware? Baytrail?
>
> Lenovo X1 Carbon 2015. Intel(R) HD Graphics 5500 (according to log)
> pci id 8086:1616 (rev 09)
>
> --
> Lukáš Hejtmánek
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

The 3.19 distro kernel in ubuntu is using 4.2-ish drm backported on broadwell,
try http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.8-ckt12-vivid/
instead which is stock upstream.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 23:54                                 ` Robert Hooker
@ 2015-12-26 15:40                                   ` Lukas Hejtmanek
  0 siblings, 0 replies; 20+ messages in thread
From: Lukas Hejtmanek @ 2015-12-26 15:40 UTC (permalink / raw)
  To: Robert Hooker; +Cc: intel-gfx

On Thu, Dec 24, 2015 at 06:54:44PM -0500, Robert Hooker wrote:
> The 3.19 distro kernel in ubuntu is using 4.2-ish drm backported on broadwell,
> try http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.8-ckt12-vivid/
> instead which is stock upstream.

tried, lockup as well..

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: vsync + vaapi question
  2015-12-24 19:42                   ` Lukas Hejtmanek
  2015-12-24 19:55                     ` Chris Wilson
@ 2016-01-13 13:12                     ` Lukas Hejtmanek
  1 sibling, 0 replies; 20+ messages in thread
From: Lukas Hejtmanek @ 2016-01-13 13:12 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

Hi,

On Thu, Dec 24, 2015 at 08:42:01PM +0100, Lukas Hejtmanek wrote:
> > Hard? The fault isn't in libva this time at least.
> 
> applied patch results in hard lockup when playing a movie (short sound loop
> and even sysrq keys are not working). I thought that driver would reset gpu
> eventualy but it seems to be completely dead. 
> 
> So I reverted the patch and it seems lockups are gone.

For ubuntu, that vaapi sync patch just landed. Had to switch to xv from vaapi
to avoid frequent lockup. Anything out there I can try to fix lockups?

-- 
Lukáš Hejtmánek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-01-13 13:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 18:08 vsync + vaapi question Lukas Hejtmanek
2015-12-22 20:54 ` Chris Wilson
2015-12-22 22:25   ` Lukas Hejtmanek
2015-12-23 12:01     ` Chris Wilson
2015-12-23 12:13       ` Lukas Hejtmanek
2015-12-23 13:38         ` Chris Wilson
2015-12-24  9:44           ` Lukas Hejtmanek
2015-12-24 15:50             ` Chris Wilson
2015-12-24 19:28               ` Lukas Hejtmanek
2015-12-24 19:37                 ` Chris Wilson
2015-12-24 19:42                   ` Lukas Hejtmanek
2015-12-24 19:55                     ` Chris Wilson
2015-12-24 19:59                       ` Lukas Hejtmanek
2015-12-24 20:05                         ` Chris Wilson
2015-12-24 22:15                           ` Lukas Hejtmanek
2015-12-24 22:22                             ` Chris Wilson
2015-12-24 22:25                               ` Lukas Hejtmanek
2015-12-24 23:54                                 ` Robert Hooker
2015-12-26 15:40                                   ` Lukas Hejtmanek
2016-01-13 13:12                     ` Lukas Hejtmanek

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.