Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-29 Thread Gleb Smirnoff
On Thu, Aug 29, 2013 at 03:04:28PM -0400, Glen Barber wrote:
G> > I also observe the issue that Gleb Smirnoff mentions below, that the
G> > xorg server is quite slow after result.  Using 'xterm -sb' and
G> > moving the scrollbar up and down very fast, I was able to able to
G> > get the xorg process up to ~20% of CPU.  On casual observation, it
G> > didn't seem to get worse after several suspend/resume cycles.
G> 
G> I did not see any unusual CPU chewing by X after resume in my case.
G> I did see something unpleasant with xrandr(1), however.  I have dual
G> external monitors attached, which I have a login script set the
G> resolution properly.  With my resolution set to 3840x1080, X is unusable
G> on resume.  (The screen is fuzzy, but the machine does not crash.)
G> Without changing the resolution before suspend, X works properly at
G> resume.

I also have external monitor and observe slowdown after resume on it.

-- 
Totus tuus, Glebius.
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-29 Thread Gleb Smirnoff
On Thu, Aug 29, 2013 at 08:51:18PM +0200, Laura Marie Feeney wrote:
L> suspend/resume and repeat the scrolling. The load seems to go quite a 
L> bit higher after resuming (CPU from ~10% to ~20%).  But this is 
L> definitely not a scientific test AND I was primed by Gleb Smirnoff's 
L> comments to look for a performance hit.

Hmm, my slowdown is really noticable, I barely can work after resume.
Can you tell exact versions of xorg-server and x86-intel-driver you
installed?

-- 
Totus tuus, Glebius.
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-28 Thread Gleb Smirnoff
  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.
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-27 Thread Gleb Smirnoff
  Laura,

On Tue, Aug 27, 2013 at 09:53:18PM +0200, Laura Marie Feeney wrote:
L> At https://wiki.freebsd.org/SuspendResume, users osa and glebius both 
L> report on Thinkpad Carbon X1.  They agree that suspend and resume work 
L> from X (but not console) for '9.0-stable' and 'head' respectively.

I am running only head. It is always quite fresh, I upgrade beweekly.
I've got Thinkpad X1 Carbon.

L> Sadly, I can't reproduce this on 9.2-RC2: Under X, resume fails to 
L> restore video.  I don't know whether this is a configuration error on my 
L> part, or a regression, or the original reports on the wiki were 
L> misunderstood. (I do reproduce it not working on console.)
L> 
L> Suggestions are welcome, especially from those who report working 
L> configurations.  Details below, log files at
L> http://www.sics.se/~lmfeeney/9.2-RC2.

Please do 

chmod o+r ~lmfeeney/9.2-RC2/*

:)

I will respond today later, when I come to job, where my Carbon
is right now.

-- 
Totus tuus, Glebius.
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"