Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2015 10:13:06 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Konstantin Belousov <kostikbel@gmail.com>, current@FreeBSD.org
Subject:   Re: Suspend/resume with i915.
Message-ID:  <20150201091305.GM41565@e-new.0x20.net>
In-Reply-To: <20150130221248.GA8489@brick.home>
References:  <20150122110201.GA3996@brick.home> <20150123084057.GD42409@kib.kiev.ua> <20150130221248.GA8489@brick.home>

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

--OGW1Z2JKiS9bXo17
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 30, 2015 at 11:12:48PM +0100, Edward Tomasz Napiera=C5=82a wrot=
e:
> On 0123T1040, Konstantin Belousov wrote:
> > On Thu, Jan 22, 2015 at 12:02:01PM +0100, Edward Tomasz Napiera??a wrot=
e:
> > > I'm trying to fix resume on my T61, broken by some change several
> > > months ago; according to pciconf it's 'Mobile GM965/GL960 Integrated
> > > Graphics Controller (primary)'.  It's running current CURRENT and
> > > up to date packages.
> > >=20
> > > Suspend and resume makes Xorg do something weird - there is screen
> > > corruption, or rather window corruption.  The GNOME 3 desktop looks
> > > pretty normal, except that gnome-terminal (launched before suspend)
> > > window looks as if the buffer layout changed underneath it; for examp=
le,
> > > instead of one flashing cursor there are several, horizontally, across
> > > the window.  New windows are simply black.  No segv.
> > >=20
> > > Setting kern.vt.suspendswitch=3D0 makes the behaviour disappear, repl=
aced
> > > by segmentation faults of gnome-shell.  With stock gdb it looks like =
this:
> >=20
> > At least one big known issue with suspend is that userspace activity
> > is not stopped, which makes the driver suspend code operating on the
> > non-steady state of devices.
> >=20
> > I committed the facility to stop userspace before suspend, and avg prom=
ised
> > to integrate this into suspend path, but he did not.  You might try to
> > search mailing lists for reference to his earlier patch.
>=20
> Unfortunately stuff was committed before I could test it.  Fortunately,
> it's all fixed now, and works perfectly, on 11-CURRENT.  Thanks!  :-)

I can add that suspend/resume now works reliable again on my X230.

--OGW1Z2JKiS9bXo17
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJUze4hXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tJ2oH/RjIai5Qtq/7mVlRPHhkChcW
9UTADtg/utVYuCYtQr1R+ejTPfuCR6BF3TQpt0msiwAFvgTBxzTD080tUexaqifd
S4C6gASX8RqgajR8YSiM1LDUMkpmYyWc5yHkC0sKM+sjNN7GYOSKkOdCEmMOiFNL
VNJzZCd+8T0KbYKfZ3/mpBhAQn/UojONB1NkRqVTQ8/mO2g3a2F5vwfZiRES2rVc
6t25Z2j8G/e9lLzv5nH7sIBq5gMa/Gw+V0QGEizi1qmG2lnplGeMOeXSIfGkgADb
lFx4/91QYDGRiV8BLDr/9wMLwknOwWntfGzYah1SVmQ8oqPpnW7mJoHWpmb4nEM=
=SD17
-----END PGP SIGNATURE-----

--OGW1Z2JKiS9bXo17--



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