[Nouveau] VGA resume & thaw (wake up from S3 & S4) broken - kernel(nouveau) exclusively
Roy Spliet
seven at nimrod-online.com
Sat Sep 13 14:45:35 PDT 2014
Dear Poma,
Don't get anyone wrong, your input is greatly valued. The reason why
"we" (nouveau developers) generally ask for a git bisection is because
we don't know or track specific distributions. Although your search has
narrowed the problem down (thanks for that!), we don't know how big the
difference is between kernel-3.16.0-0.rc0.git9.1.fc21 and
kernel-3.16.0-0.rc0.git10.1.fc21. Is the difference literally just that
one patch? Or were there more patches to nouveau or drm that might have
been the culprit? So far I haven't succeeded in finding the exact
differences between the two kernels. Git bisect on the upstream kernel
on the other hand will always point at the precise patch that broke the
kernel, narrowing down the search space of the bug for developers thus
reducing the time it takes to fix your issue. Unless developers can
reproduce your issue, Unfortunately the user is the person who has to do
the bisecting.
So in short: narrowing down the search space often saves a lot of time
of the developer, reducing the time it takes to fix your issue!
Thus, if you can find the time to perform a git bisect (with the right
good/bad markers it really should not take that many kernels to build),
or if you can validate that the patch you mention *really* is the only
difference between the two kernels, it'd be greatly appreciated.
Thanks! Yours,
Roy
Op 13-09-14 om 23:25 schreef poma:
> On 13.09.2014 22:58, Ilia Mirkin wrote:
>> On Sat, Sep 13, 2014 at 4:52 PM, poma <pomidorabelisima at gmail.com> 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?
> 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.
> Why are you asking me that bisect formality, man is it not enough that I tested two dozen kernels.
>
>
> poma
>
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
>
More information about the Nouveau
mailing list