Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 2013 13:59:57 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Bengt Ahlgren <bengta@sics.se>
Cc:        Laura Marie Feeney <lmfeeney@sics.se>, freebsd-acpi@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, "Sergey A. Osokin" <osa@freebsd.org>, Ganael LAPLANCHE <ganael.laplanche@martymac.org>
Subject:   Re: suspend/resume on Lenovo X1 (regression from reports on wiki)
Message-ID:  <5228C69D.9070801@FreeBSD.org>
In-Reply-To: <uh7eh93r7z9.fsf@P142.sics.se>
References:  <521D03AE.3050709@sics.se> <CAJ-VmokcQOhAE6y_=J1uzPHneSF%2BjYSpdo%2Bwdf7Gd0h36pRHwQ@mail.gmail.com> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130905062730.M86390@martymac.org> <uh7eh93r7z9.fsf@P142.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-09-05 04:24:58 -0400, Bengt Ahlgren wrote:
> "Ganael LAPLANCHE" <ganael.laplanche@martymac.org> writes:
> 
>> On Fri, 30 Aug 2013 11:53:22 -0400, John Baldwin wrote
>> 
>>> I just removed VESA from my kernel on an X220 and it now
>>> suspends and resumes great in X.  I don't notice any slowdown,
>>> but I'm using a very simple tiling window manager (i3wm).
>> 
>> Great, I can confirm that suspend/resume also works on my X220
>> with this trick !
>> 
>> I had once opened a PR for that problem and I had managed to
>> track the change that, at that time, broke suspend/resume :
>> 
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/174504
>> 
>> I don't know how it relates to VESA (the change does not seem to
>> be related to VESA), but it might help ?
> 
> I believe this (the PR) is a completely different issue, since you
> write "resume make the computer hang".  The nooptions VESA fixed
> wedging of Intel/KMS graphics _after_ resume.  There have been many
> other changes since r231797 (15 feb 2012).

Correct.  r231797 had an issue but it was quickly fixed, I think, and
it was completely unrelated to VESA.

> But nice that it works for you too!

Unfortunately, many people think that no video == hang because they
cannot see anything on their screen/panel.  Moreover, I realized that
more users are now complaining about suspend/resume problems with
DRM/KMS, which is not directly related to ACPI.

- From lots of responses I gathered from users and developers yesterday,
I can definitely say that i915kms.ko does not cooperatively work with
syscons(4) and acpi_video(4).  Basically, it was not a priority at the
time of porting according to the author.  I am quite sure radeonkms.ko
has similar problems.

FYI...

Jung-uk Kim

* PS: https://wiki.freebsd.org/SuspendResume needs more love, I guess.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBAgAGBQJSKMadAAoJECXpabHZMqHOvpMH/0RVq4KZCTDZqsxOibrIY9/9
INNEZXsVWP+Y8+BQacXP3x45eUOGVKa2IGiDo/O7Oediqh/DIhWa8pqonzJ474qY
UadV+SQTjQE1EDUcjWmKnAY4OT0dHiN6eAIUv5o+dnFOxb6HupQ2hTGziReQoupS
QE9YgwUVU5yOlGZXFbhq2RHvqT2Bi52dHC1qP2waVOlghNY7PIbYMTwQ4X6S4fGC
Fjgjvx4tUU4EhjWuaK8mH0t/gCsUjpRico7YmYVVb2N5hu9SrojGPsIgGLaD1Aqi
4Nkmd59Asu+NBR0A22c7UAcoRpP2aJ65q/MU8CdRp/FOTE+W2LLlsXy2JIiKCBk=
=Pf+z
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5228C69D.9070801>