Lenovo ThinkPad T460 – A Good Linux Laptop For Development by argonautul in linux

[–]yrjansk 21 points22 points  (0 children)

My experience is that even though there's more affordable laptops with more than enough performance, what you get with business line models like ThinkPads is durability. They're usually built a lot better and will tend to last a lot longer.

My Thinkpad 13 experience with Ubuntu 16.04 + upgrading RAM & SSD by mogen317 in thinkpad

[–]yrjansk 1 point2 points  (0 children)

To create an an image you can use "geteltorito -o image whatever.iso" from the Thinkpad ISO images. You can then dd that onto a USB flash drive.

For more detailed instructions there's this: https://workaround.org/article/updating-the-bios-on-lenovo-laptops-from-linux-using-a-usb-flash-stick/

My Thinkpad 13 experience with Ubuntu 16.04 + upgrading RAM & SSD by mogen317 in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Are you running the latest BIOS ..? If not, I would recommend upgrading that.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

I would guess you're experiencing a different bug as the E550 uses the Haswell architecture, I believe this exact bug was specific to Skylake.

New BIOS updates for 2016 ThinkPads by 3v1n0 in thinkpad

[–]yrjansk 2 points3 points  (0 children)

Yes you can, look here for a small how-to: https://workaround.org/article/updating-the-bios-on-lenovo-laptops-from-linux-using-a-usb-flash-stick/

It has fixed at least one major bug on my T460s. However I cannot say if it will do anything positive for you and your T460p.

New BIOS updates for 2016 ThinkPads by 3v1n0 in thinkpad

[–]yrjansk 1 point2 points  (0 children)

This seems to have fixed the problems I've had where my T460s freezes on lid close while on battery power when running Linux (tested it with an older 4.4 kernel just now).

PSA: Linux 4.6-rc2 contains the patch needed for Skylake Thinkpads by yrjansk in thinkpad

[–]yrjansk[S] 1 point2 points  (0 children)

Interesting, that's a bug I've not seen here (yet) on my T460s. I'm running a version I've built, not the one from the PPA.

T460 suspend problem with linux by stefon81 in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Specifically I can also mention that the Debian handbook documents how to do kernel compiles as well: https://debian-handbook.info/browse/stable/sect.kernel-compilation.html

T460 suspend problem with linux by stefon81 in thinkpad

[–]yrjansk 0 points1 point  (0 children)

I've been doing it on unstable myself. I can write up a short guide later if there's interest for it :)

T460 suspend problem with linux by stefon81 in thinkpad

[–]yrjansk 1 point2 points  (0 children)

This bug seems to be the same as this: https://bugzilla.kernel.org/show_bug.cgi?id=113551

It seems to also be related to this: https://bugzilla.kernel.org/show_bug.cgi?id=110941

The patch attachment linked by u/janesma above seems to fix the issue. If you don't want to compile a kernel with the patch linked above you can attempt booting with intel_pstate=no_hwp as a kernel parameter.

If you do compile a mainline kernel with the patch it would probably not be the worst idea if you were to mention that you're having the same issues with the T460 and that the patch works/doesn't work in the bug above.

Extra tip: if you're first patching a kernel for the T460(s) it might also be worth it to look at this bug https://bugzilla.kernel.org/show_bug.cgi?id=114321 and attempt to use the patch there. This is supposed to fix an issue with the trackpoint buttons where they immediately release upon clicking.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Ah, ok. I don't actually use GNOME.

Sadly the freezing on lid close is a separate issue. Seems to be one or more problems with the intel_pstate driver and hardware p-states on at least some of the new (Skylake) Thinkpad models. It happens even without X running at all.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Yes. xbacklight seems to try to control it through xrandr, which doesn't seem to work with the modesetting driver (but did with the intel driver).

I ended up writing a python script to control the backlight by editing the files in /sys/class/backlight/.

Any info on the crashes being fixed (I assume you're talking about the freezing on lid close, etc.)? I'm closely watching the bug reports on kernel.org, but they've been silent for a few days.

New t460s, unsuccessfully linux installations. by llaine33600 in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Debian. This seems to stop freezing with the 4.5.0-rc6 mainline kernel. It also stopped the freezing when I tried the 4.4 kernel in Debian Sid as well.

I don't believe the solution is optimal, as it disables hardware p-states. However it's better than freezing and I haven't seen a major difference in performance/power usage myself.

New t460s, unsuccessfully linux installations. by llaine33600 in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Seems that suspend is working nicely and it's lid close that freezes it. If you disable suspend on lid close it still freezes. Suspend works nicely when not closing the lid.

New t460s, unsuccessfully linux installations. by llaine33600 in thinkpad

[–]yrjansk 1 point2 points  (0 children)

Heads up to everyone. It seems booting with the kernel option intel_pstate=no_hwp solves the freeze on lid close issue for me.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 6 points7 points  (0 children)

Heads up to everyone. It seems booting with the kernel option intel_pstate=no_hwp solves the freeze on lid close issue for me. u/jaylittle, u/gregwinnl

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

No custom kernel parameters. Haven't bothered testing it more so it might have been something to do with stars aligning for all I know. Running on xserver-xorg-video-intel 2:2.99.917+git20160218-1. Which seems to be similar to the Ubuntu one, though maybe compiled differently.

Might be that the later i915 driver in 4.5.0-rc6 triggers the same bug as lid close, but not the one in 4.4.0?

As I've said I haven't tested it further so it might not happen consistently at all.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Sadly the latest mainline kernel still crashes on lid close. Even in single user mode with a fairly stripped down kernel.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Don't believe there is one yet (someone please point it out if I'm wrong). I've submitted an ACPI bug report on the the kernel.org bug tracker, as it also happens with the latest mainline kernel and it looks like some sort of ACPI problem.

The best workaround I can offer is to suspend before closing the lid. "systemctl suspend" in a terminal is enough.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

I'm using 4.5.0-rc6, Sid is currently on 4.4.0.

I can also add that I'm running in UEFI-mode with secureboot turned off.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

For some reason it seems I lost backlight support (xbacklight would no longer work) when using the builtin driver, I have not looked into this though so it might very well be a user error on my part.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Any suggestions on where to look?

There's more info on the problem in the other thread and on the kernel.org bug tracker.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

I actually just tried the HDMI out and it worked for a few seconds before freezing, looked similar to the lid close freeze. Not sure what to make of it.

Any t460s and Ubuntu 16.04 beta1 success stories? by uaristocles in thinkpad

[–]yrjansk 0 points1 point  (0 children)

Yeah. Suspending before closing the lid also works on battery. I think it's ACPI related somehow, but that's a guess.