Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 18:02:35 +0000
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        Laura Marie Feeney <lmfeeney@sics.se>
Cc:        Gleb Smirnoff <glebius@freebsd.org>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: suspend/resume on Lenovo X1 (regression from reports on wiki)
Message-ID:  <20130829180235.GE32399@FreeBSD.org>
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
Dear Laura,

could you show your kernel configuration file.
Thanks in advance.

-- 
Sergey A. Osokin
osa@FreeBSD.org

On Thu, Aug 29, 2013 at 06:42:28PM +0200, Laura Marie Feeney wrote:
> Hi
> 
> Yes! I now have working suspend/resume building xorg using the
> updated ports and compile options that Gleb Smirnoff kindly pointed
> me at.
> 
> 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.
> 
> 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.
> 
> Definitely suspend/resume are working and amazingly fast compared to
> 8.2 (though running on a much older machine).
> 
> Thanks to all for the useful suggestions!
> 
> Laura
> 
> On 08/29/13 16:22, Adrian Chadd wrote:
> >Hi!
> >
> >What's the result of all of this? Laura - do you have functioning
> >suspend/resume with xorg now?
> >
> >
> >
> >-adrian
> >
> >
> >
> >On 28 August 2013 08:03, Gleb Smirnoff <glebius@freebsd.org
> ><mailto:glebius@freebsd.org>> wrote:
> >
> >       Laura,
> >
> >       according to your Xorg.log PCI device ID of your video card exactly
> >    matches mine 8086:0166:17aa:21f9, so it should work.
> >
> >       It looks like versions of Xorg and Xorg Intel driver installed from
> >    packages are too old, and this is the biggest difference between your
> >    setup and mine. You are running Xorg 1.7.7.
> >
> >       This is what I run:
> >
> >    glebius@think:~:|>pkg info xorg-server xf86-video-intel
> >    xorg-server-1.12.4,1
> >    xf86-video-intel-2.21.9
> >
> >       To get these packages you need to update your ports tree, put
> >    these lines into /etc/make.conf:
> >
> >    WITH_NEW_XORG=yes
> >    WITH_KMS=yes
> >
> >       , and reinstall xorg-server and xf86-video-intel from ports. You'd
> >    probably need to rebuild all xorg drivers like mouse and keyboard,
> >    to make them compatible with new server version.
> >
> >       If this isn't enough I can send my xorg.conf and kernel config. But
> >    I hope default configs should be fine.
> >
> >
> >       Now bad news :) Last major Xorg update in ports, which happened
> >    couple
> >    of months ago, introduced a regression: xorg performs very slowly after
> >    resume. If the server process is restarted, then a new one performs
> >    okay.
> >    So this looks like xorg issue, not FreeBSD kernel problem.
> >
> >    On Wed, Aug 28, 2013 at 02:48:04PM +0200, Laura Marie Feeney wrote:
> >    L> Thanks!  I think that X1 and Carbon are different names, as
> >    Lenovo seems
> >    L> to use them quite interchangably (perhaps for different countries?).
> >    L> This isn't an X1 Touch, which surely has non-trivial differences
> >    for the
> >    L> touchscreen.
> >
> >    X1 and X1 Carbon are really different, I owned both. Yep, both work with
> >    FreeBSD.
> >
> >    --
> >    Totus tuus, Glebius.



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