All of lore.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	Adam Williamson
	<awilliam-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Mailing-List fedora-kernel
	<kernel-TuqUDEhatI4ANWPb/1PvSmm0pvjS0E/A@public.gmane.org>
Subject: Re: VGA resume & thaw (wake up from S3 & S4) broken - kernel(nouveau) exclusively
Date: Sat, 13 Sep 2014 23:56:11 +0200	[thread overview]
Message-ID: <5414BD7B.1030701@gmail.com> (raw)
In-Reply-To: <CAKb7Uvj1qZH9xeGWsh1EyShJuk9N8vCZTdb3CuDxLoQbXEkcVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 13.09.2014 23:46, Ilia Mirkin wrote:
> On Sat, Sep 13, 2014 at 5:25 PM, poma <pomidorabelisima-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On 13.09.2014 22:58, Ilia Mirkin wrote:
>>> On Sat, Sep 13, 2014 at 4:52 PM, poma <pomidorabelisima-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>>> On 13.09.2014 07:02, poma wrote:
>>>>> On 13.09.2014 06:57, poma wrote:
>>>>>>
>>>>>> Actually I have nothing to show cause logs are all OK.
>>>>>> Haha, it seems to me that the bugs become intelligent.
>>>>>>
>>>>>> 3.15.10-201.fc20.x86_64
>>>>>> 3.16.2-200.fc20.x86_64
>>>>>> 3.17.0-0.rc4.git3.2.fc22.1.x86_64
>>>>>>  nouveau  [     DRM] suspending display...
>>>>>>  nouveau  [     DRM] unpinning framebuffer(s)...
>>>>>>  nouveau  [     DRM] evicting buffers...
>>>>>>  nouveau  [     DRM] waiting for kernel channels to go idle...
>>>>>>  nouveau  [     DRM] suspending client object trees...
>>>>>>  nouveau  [     DRM] suspending kernel object tree...
>>>>>> ...
>>>>>>  nouveau  [     DRM] re-enabling device...
>>>>>>  nouveau  [     DRM] resuming kernel object tree...
>>>>>>  nouveau  [   VBIOS][0000:02:00.0] running init tables
>>>>>>  nouveau  [  PTHERM][0000:02:00.0] fan management: automatic
>>>>>>  nouveau  [     CLK][0000:02:00.0] --: core 566 MHz shader 1400 MHz memory 399 MHz
>>>>>>  nouveau  [     DRM] resuming client object trees...
>>>>>>  nouveau  [     DRM] resuming display...
>>>>>>  nouveau 0000:02:00.0: no hotplug settings from platform
>>>>>>  nouveau 0000:02:00.0: no hotplug settings from platform
>>>>>>
>>>>>> Logs(dmesg) are literally identical.
>>>>>>
>>>>>> 3.15.10-201.fc20.x86_64 - nouveau(fb) resume & thaw PASSED, and that's all what works.
>>>>>>         Kernels >= 3.16 - nouveau(fb) resume & thaw BROKEN
>>>>>>             ALL Kernels - vesa(fb)    resume & thaw BROKEN.
>>>>>>
>>>>>>
>>>>>
>>>>> Excusez-moi,
>>>>> BROKEN == The display remains OFF.
>>>>>
>>>>
>>>> More precisely stated it looks like this:
>>>>
>>>> - Last kernel with working resume/thaw
>>>>   http://koji.fedoraproject.org/koji/buildinfo?buildID=538208
>>>>   kernel-3.16.0-0.rc0.git9.1.fc21
>>>>   2014-06-13
>>>>
>>>> - First kernel with broken resume/thaw
>>>>   kernel-3.16.0-0.rc0.git10.1.fc21
>>>>   http://koji.fedoraproject.org/koji/buildinfo?buildID=538244
>>>>   http://pkgs.fedoraproject.org/repo/pkgs/kernel/patch-3.15-git10.xz/f98fb42e79c966f8e139e27b61d933e0/patch-3.15-git10.xz
>>>>   2014-06-13
>>>>
>>>> The only difference in dmesg between working and broken kernel module with drm.debug=14 is
>>>>  [drm:drm_helper_hpd_irq_event] [CONNECTOR:18:DVI-I-1] status updated from connected to connected
>>>>  [drm:drm_helper_hpd_irq_event] [CONNECTOR:18:DVI-I-1] status updated from connected to connected
>>>>
>>>> - git commit probably introduced breakage
>>>>   drm/nouveau/disp: add internal representaion of output paths and connectors
>>>>   https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm?id=7a014a
>>>>   https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/nouveau?id=7a014a
>>>>   2014-06-11
>>>
>>> Do you have any special reason to believe this to be the culprit
>>> (besides the fact that it has something to do with hpd)? Can you do an
>>> actual bisect to confirm?
>>>
>>> Thanks,
>>>
>>>   -ilia
>>
>> "hpd" what?
> 
> hpd = hotplug detect
> 
>> First Fedora Kernel with broken video resume/thaw aka FFKWBVRT i.e. kernel-3.16.0-0.rc0.git10.1.fc21
>> comes with 'patch-3.15-git10.xz' which closely resembles "git/commit/drivers/gpu/drm/nouveau?id=7a014a".
>> Simple as that.
> 
> I see. So no reason to believe that it's not e.g. 20014cb or 377b1f1
> or any one of the other patches pulled in by merge commit bc1dfff04a?
> 
>> Why are you asking me that bisect formality, man is it not enough that I tested two dozen kernels.
> 
> Doing a bisect would involve half as many kernels... Knowing the exact
> commit that breaks things is a fairly useful debug tactic, and
> drastically increases the chances that a problem gets fixed. Not sure
> why you're referring to it as a formality.
> 
> git bisect start v3.16-rc1 v3.15 -- drivers/gpu/drm/nouveau
> 
> (Pro tip: use a config tailored to your machine rather than a distro
> config if you want to spend 5 min/compile instead of 1 hour/compile)
> 
> Or you can wait and hope that someone else will have the same problem
> and works out the commit that causes it.
> 
> Or you can see if it has already been fixed in the latest kernels. Or
> try the experimental repo at
> http://cgit.freedesktop.org/~darktama/nouveau/ (a bit of a pain to
> build, unfortunately, you need some unknown kernel version to build
> against, usually ~latest works).
> 
> Good luck,
> 
>   -ilia
> 

Man, I am not a kernel developer, I do not understand what you're saying.
I did the best I could and spent a lot of time besides.
If that's not enough, so be it.
Thank you very much.


poma

      parent reply	other threads:[~2014-09-13 21:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-13  4:57 VGA resume & thaw (wake up from S3 & S4) broken - kernel exclusively poma
2014-09-13  5:02 ` poma
     [not found]   ` <5413CFD1.4020300-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-13 20:52     ` VGA resume & thaw (wake up from S3 & S4) broken - kernel(nouveau) exclusively poma
     [not found]       ` <5414AEA4.4020707-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-13 20:58         ` Ilia Mirkin
     [not found]           ` <CAKb7UviW9YTxHiJN6wjE122QF4r2Z2zx1Q8D+Uvk2GYtXsxtrQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-13 21:25             ` poma
     [not found]               ` <5414B64D.4080801-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-13 21:45                 ` Roy Spliet
     [not found]                   ` <5414BAFF.1030104-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-09-14  8:31                     ` poma
     [not found]                       ` <5415527A.7090502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-14  9:53                         ` Roy Spliet
     [not found]                           ` <5415658C.2080501-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-09-15  8:23                             ` [Nouveau] " poma
     [not found]                               ` <5416A21B.6090002-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-15 13:36                                 ` Ilia Mirkin
     [not found]                                   ` <CAKb7UvhNHM3Dga3Ekn5k9cY9ikT3JA5U-8t6_6ip943vUB40eQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-15 17:28                                     ` poma
     [not found]                                       ` <541721C4.6020607-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-15 23:21                                         ` Ilia Mirkin
     [not found]                                           ` <CAKb7UvhSrUiWMs=tmRunk0frfPnUSfKexUML7SvJ1LmZVWNLSA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-16  3:16                                             ` poma
     [not found]                                               ` <5417AB79.3070801-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-30 21:59                                                 ` VGA resume & thaw (wake up from S3 & S4) - resolved poma
2014-09-13 21:46                 ` VGA resume & thaw (wake up from S3 & S4) broken - kernel(nouveau) exclusively Ilia Mirkin
     [not found]                   ` <CAKb7Uvj1qZH9xeGWsh1EyShJuk9N8vCZTdb3CuDxLoQbXEkcVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-13 21:56                     ` poma [this message]

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=5414BD7B.1030701@gmail.com \
    --to=pomidorabelisima-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=awilliam-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
    --cc=kernel-TuqUDEhatI4ANWPb/1PvSmm0pvjS0E/A@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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 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.