Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 15:04:28 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Laura Marie Feeney <lmfeeney@sics.se>
Cc:        Gleb Smirnoff <glebius@freebsd.org>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>, "Sergey A. Osokin" <osa@freebsd.org>
Subject:   Re: suspend/resume on Lenovo X1 (regression from reports on wiki)
Message-ID:  <20130829190428.GA2582@glenbarber.us>
In-Reply-To: <521F79F4.7070603@sics.se>
References:  <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <CAJ-VmokZEb%2BDXs4vvf4xpH11fFtS79E240-52Pobw-_xZytfrQ@mail.gmail.com> <521F79F4.7070603@sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 29, 2013 at 06:42:28PM +0200, Laura Marie Feeney wrote:
> No xorg.conf is needed and all acpi options are as default.  It
> seems to work correctly both with and without acpi_video and
> acpi_ibm in the kernel.  It's still necessary to compile  out
> 'options VESA' from the kernel, otherwise resume fails entirely.
>=20

I can also confirm that removing VESA from the kernel allows my system
to resume properly, both with Xorg and console.

root@nucleus:~ # kldstat=20
Id Refs Address            Size     Name
 1   28 0xffffffff80200000 eb6148   kernel
 2    1 0xffffffff810b7000 22ca40   zfs.ko
 3    2 0xffffffff812e4000 5e58     opensolaris.ko
 4    1 0xffffffff81412000 6149f    i915kms.ko
 5    1 0xffffffff81474000 3e5c7    drm2.ko

> I also observe the issue that Gleb Smirnoff mentions below, that the
> xorg server is quite slow after result.  Using 'xterm -sb' and
> moving the scrollbar up and down very fast, I was able to able to
> get the xorg process up to ~20% of CPU.  On casual observation, it
> didn't seem to get worse after several suspend/resume cycles.
>=20

I did not see any unusual CPU chewing by X after resume in my case.
I did see something unpleasant with xrandr(1), however.  I have dual
external monitors attached, which I have a login script set the
resolution properly.  With my resolution set to 3840x1080, X is unusable
on resume.  (The screen is fuzzy, but the machine does not crash.)
Without changing the resolution before suspend, X works properly at
resume.

Glen


--ibTvN161/egqYuK8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBCAAGBQJSH5s8AAoJEFJPDDeguUajotYH/iGKs2bHu/I3UnLUdZlzlW94
uCcVWxUa8AtFmZev2A2XxU1k9+5piHwXYh9JX6GRSm0HSnpbzAqRabwu2g7fc59k
p7a8hGI0n9AQpQlzaI+LtDT8guVhhOhaT8fjXfXVW3TXw+D3wyrI/oiw7zK/ic+P
fwFkMKlRlbB99UBj29mg67LQweSj8T13Gsgud/L2777ZRbhC/mk2uhU2BxinWo5J
IMNfvTEbAhTEQJx/HdbJS328z0FXN8EN9YUVaNOdvdaoM8pUxYgvXfy9M5aGxbee
CcShTkR+d0bjkgHAbqSKAwcmNVxeocU9RCkPh89XdbmkAm7qMr4oLdQoJ+uNlP4=
=jew8
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--



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