public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "Jörg Otte" <jrg.otte@gmail.com>
Cc: David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Dave Airlie <airlied@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [3.14.0-rc4] regression: drm FIFO underruns
Date: Mon, 12 May 2014 21:03:00 +0200	[thread overview]
Message-ID: <20140512190300.GF25056@phenom.ffwll.local> (raw)
In-Reply-To: <CADDKRnCzHQw7_Cr2jpZ7qC50hrdmr0XRaYyMxaOSaqihNGccDA@mail.gmail.com>

On Mon, May 12, 2014 at 01:25:24PM +0200, Jörg Otte wrote:
> 2014-05-11 18:49 GMT+02:00 Daniel Vetter <daniel.vetter@ffwll.ch>:
> > On Sat, May 10, 2014 at 10:52 AM, Jörg Otte <jrg.otte@gmail.com> wrote:
> >>> On Fri, May 09, 2014 at 05:14:38PM +0100, Damien Lespiau wrote:
> >>>> On Fri, May 09, 2014 at 06:11:37PM +0200, Jörg Otte wrote:
> >>>> > > Jörg, can you please boot with drm.debug=0xe, reproduce the issue and
> >>>> > > then attach the complete dmesg? Please make sure that the dmesg
> >>>> > > contains the boot-up stuff too.
> >>>> > >
> >>>> > > Thanks, Daniel
> >>>> > Here it is. I should mention it only happens at boot-up.
> >>>>
> >>>> [    0.374095] [drm] Wrong MCH_SSKPD value: 0x20100406
> >>>> [    0.374096] [drm] This can cause pipe underruns and display issues.
> >>>> [    0.374097] [drm] Please upgrade your BIOS to fix this.
> >>>
> >>> That can be a factor, but I think we may have some more general issue
> >>> in the modeset sequence which causes these to get reported. I'm getting
> >>> some on my machine as well where SSKPD looks more sane. Maybe we turn on
> >>> the error reporting too early or something.
> >>>
> >>> But I'm not going to spend time worrying about these before my previous
> >>> watermark stuff gets merged. Also the underrun reporting code itself
> >>> would need some kind of rewrite to be really useful.
> >>>
> >>> If the display doesn't blank out during use everything is more or less
> >>> fine and you can ignore these errors. It's quite likely that the
> >>> errors were always present and you didn't know it. We just made them
> >>> more prominent recently.
> >>>
> >>> --
> >>> Ville Syrjälä
> >>> Intel OTC
> >>
> >> It comes out on the boot-up screen which is normally clean. So it becomes
> >> highly visible for anyone.
> >
> > To make sure that you're only seeing this at boot up and not elseplace
> > please check that it doesn't show up when you do anything of the
> > below:
> > a) suspend/resume
> > b) changing the output mode (e.g. with xrandr --mode)
> > c) changing the output pipe (e.g. with xrandr --crtc)
> > d) all of the above but with heavy system load, e.g. compile kernels
> > with make -j <num-cores*2>
> >
> > Also please test the latest drm-intel-nightly branch from
> > http://cgit.freedesktop.org/drm-intel to make sure we haven't yet
> > fixed this in our -next branch.
> >
> 
> Ok, that was a lot of homework ;)
> 
> I checked a,b,d):  All worked without FIFO underruns.
> 
> For c): I must admit I don't know what --crtc is good for and
> the man page isn't very useful. I can't enter a meaningful command.

$ xrandr --output <output> --auto --crtc 0

and 

$ xrandr --output <output> --auto --crtc 1

should do the trick, presuming you only have one output in total. Then
switch a bit between them.

> Branch drm-intel-nightly as of
> ed60c27 drm-intel-nightly: 2014y-05m-09d-21h-51m-45s integration manifest
> looks badly:
>    - KDE splash screen on boot-up is not visible
>    - x-windows don't have title and menu bars
>    - KDE system menu is not visible
>    - moving windows around destroys its content

Ugh, that's ugly. Nothing else change like e.g. the version of
xfree-video-intel?

> apart from that: Via control key I can open a terminal and I checked
> a,b), both worked without FIFO underruns.

And what about at boot? If -nightly regresses even on that that's pretty
awful.

Also please test

http://patchwork.freedesktop.org/patch/25568/

it might help for your case. If it doesn't we need to look into what
exactly goes wrong on driver load and where we need to adjust the logic a
bit.

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2014-05-12 19:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CADDKRnCwxmJ8RonvZaizTT9R1jPU++tPPSQAH5OKD5=h9bQhMA@mail.gmail.com>
2014-05-09 12:22 ` [3.14.0-rc4] regression: drm FIFO underruns Daniel Vetter
2014-05-09 16:11   ` Jörg Otte
2014-05-09 16:14     ` Damien Lespiau
2014-05-09 17:03       ` Ville Syrjälä
2014-05-09 21:18         ` Dave Airlie
2014-05-11 16:45           ` Daniel Vetter
2014-05-10  8:52         ` Jörg Otte
2014-05-11 16:49           ` Daniel Vetter
2014-05-12 11:25             ` Jörg Otte
2014-05-12 19:03               ` Daniel Vetter [this message]
2014-05-13 10:29                 ` Jörg Otte
2014-05-13 10:38                   ` Daniel Vetter
2014-05-13 10:59                     ` Chris Wilson
2014-05-13 11:42                       ` Daniel Vetter
2014-05-13 13:22                     ` Daniel Vetter
2014-05-13 15:21                       ` Jörg Otte
2014-05-13 16:38                         ` Daniel Vetter
2014-05-13 16:46                           ` Damien Lespiau
2014-05-13 16:48                             ` Daniel Vetter
2014-05-14  8:52                           ` Jörg Otte
2014-05-16 11:53                           ` Ville Syrjälä
2014-05-16 17:25                             ` Jörg Otte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140512190300.GF25056@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=airlied@linux.ie \
    --cc=airlied@redhat.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jrg.otte@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox