[lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

Bug #554569 reported by Hendrick Musche
298
This bug affects 46 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
High
Canonical Hardware Enablement
xf86-video-intel
Fix Released
High
Gentoo Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Ubuntu Kernel Team
Nominated for Karmic by Alex Nikolaev
Lucid
Fix Released
Medium
Manoj Iyer
Maverick
Fix Released
Medium
sarthor

Bug Description

Hi all,
On my new Thinkpad X201 with Core i5 and integrated Arrandale graphics with lucid i get a blank screen (no backlight) as soon as the i915 kicks in during boottime. Booting continues, i can hear the loginsound, but the display stays dark. External screen shows a picture, although with wrong resolution. Booting with the i915.modeset=0 results in working graphics, but only X with vesa. I tried several kernel-versions, including karmic livecd and the newest daily build from the kernel mainline ppa, both 2.6.33 and 2.6.34, all to no avail. The only kernel that works is from this ppa (https://launchpad.net/~csurbhi/+archive/karmic-stable) from bug #515246, but I couldn't isolate why. This could be a duplicate of that bug, but it has been marked fixed, but still remains with me.
The problem seems to be that the i915 cannot initialize the internal display properly. Following snip from syslog:

=== SNIP ===
Apr 2 17:22:46 serafina kernel: [ 16.851787] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 16.851843] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 16.851898] [drm:drm_fb_helper_restore] *ERROR* Failed to restore crtc configuration
Apr 2 17:22:46 serafina kernel: [ 16.854711] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 16.854756] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 16.854805] [drm:drm_fb_helper_restore] *ERROR* Failed to restore crtc configuration
Apr 2 17:22:46 serafina kernel: [ 17.027367] iwlagn 0000:02:00.0: loaded firmware version 9.176.4.1
Apr 2 17:22:46 serafina kernel: [ 17.112490] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.112542] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina bluetoothd[911]: Bluetooth daemon 4.60
Apr 2 17:22:46 serafina kernel: [ 17.130898] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.130903] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.135584] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.135591] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina bluetoothd[1184]: Starting SDP server
Apr 2 17:22:46 serafina kernel: [ 17.150923] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.150929] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.156446] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.156451] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.170953] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.170959] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.175573] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.175579] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.192107] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.192113] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.196464] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.196469] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.209264] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.209269] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.213608] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.213613] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.226658] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.226663] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
Apr 2 17:22:46 serafina kernel: [ 17.231147] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
Apr 2 17:22:46 serafina kernel: [ 17.231152] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
=== SNIP ===

Eager to help here, but I'm out of options. Please state if you need more info from me, thx.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-19-generic 2.6.32-19.28
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-14.22+lid945gm-generic
Uname: Linux 2.6.32-14-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: hmu 1537 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 17'
   Mixer name : 'Intel G45 DEVIBX'
   Components : 'HDA:14f15069,17aa2155,00100302 HDA:80862804,17aa21b5,00100000'
   Controls : 10
   Simple ctrls : 5
Date: Sat Apr 3 14:01:53 2010
HibernationDevice: RESUME=UUID=a3aa395d-ec8f-4843-9f13-6fa5262ad28d
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
MachineType: LENOVO 3626W15
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-14-generic root=UUID=1de2f719-73e0-41a7-bffb-2173f46dbe05 ro quiet splash
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.33
SourcePackage: linux
dmi.bios.date: 01/26/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET35WW (1.05 )
dmi.board.name: 3626W15
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET35WW(1.05):bd01/26/2010:svnLENOVO:pn3626W15:pvrThinkPadX201:rvnLENOVO:rn3626W15:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3626W15
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO

Revision history for this message
Hendrick Musche (hmu) wrote :
Revision history for this message
Allan Day (allanday) wrote :

I'm experiencing the exact same thing. New x201, everything works, but nothing is displayed on screen.

Revision history for this message
Greg Rayburn (greg-motava) wrote :

Same here, get the black screen when booting up. Lenovo X201, although for me the only kernel that works currently on Lucid is 2.6.32-14. Anything newer than that and I get no graphics.

Revision history for this message
Allan Day (allanday) wrote :

I'm still experiencing this bug. A few more details: I've tried a number of Lucid dailys as well as the recent beta 2. I've also tried Karmic and Fedora 12. They all have the same problem. (This is on an x201 with an i5.)

The problem itself: a blank laptop screen. Everything seems to work fine(ish) apart from that. Login comes up as normal, and I can use an external monitor. I get the following error message:

[drm: intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
[drm: drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc f426800

Needless to say, I'm anxious to get this working!

Revision history for this message
Hendrick Musche (hmu) wrote :

Ok, if 2.6.32-14 is the last working kernel version, I tried to find out the changes to -15. One line related to Ironlake (the GPU integrated in the Core i5) is this in upstream kernel changes:

* drm/i915: disable hotplug detect before Ironlake CRT detect

Corresponding patch is available at http://lwn.net/Articles/375436/. IANAKernelHacker, but my guess is its got something to do with this.

Revision history for this message
Hendrick Musche (hmu) wrote :

Just FYI, the problem persists with linux-image-2.6.23-20, at least for me.

Revision history for this message
Greg Rayburn (greg-motava) wrote :

Just tried 2.6.32-21 and the problem is still there.

Revision history for this message
Dennis Stone (dennis-infomaniak) wrote :

This means that people like me that want to install Ubuntu 10.04 RC on their X201 need to specify "xforcevesa i915.modeset=0" at the boot command line for the installer, then in grub for the first boot, and finally edit /etc/default/grub to make the change permanent.

Revision history for this message
Jonathon James (isamaranga) wrote :

I can confirm that the screen of my X201 remains blank when trying to install and boot Ubuntu 10.04 RC. The workaround suggested by Dennis Stone works for me, although I cannot enable visual effects (an admittedly small caveat). Hopefully this will get resolved soon.

Revision history for this message
Jonathon James (isamaranga) wrote :

I almost forgot: my kernel version is 2.6.32-32.32

Revision history for this message
Jonathon James (isamaranga) wrote :

^^^ wrong version - should be: 2.6.32-21.32

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Hendrick,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonathon James (isamaranga) wrote :

Not sure if this is helpful, but in the course of my experiments, I've discovered that I only need to add "i915.modeset=0" to the boot line in order get graphics. The "xforcevesa" option is not necessary for me.

Revision history for this message
Greg Rayburn (greg-motava) wrote :

Tried Mainline version: linux-headers-2.6.34-999-generic_2.6.34-999.201004281008_i386.deb & linux-headers-2.6.34-999_2.6.34-999.201004281008_all.deb

But problem is, it won't boot up now, just sits there with a flashing cursor in the upper left corner.

Revision history for this message
Hendrick Musche (hmu) wrote :

@jeremyfoshee
just tried the daily version from the ppa (2.6.34-999.201004281008), no change. Sorry for the question, but do i remove the needs-upstream-testing tag anyway?

Changed in linux (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Medium
tags: removed: needs-upstream-testing
Revision history for this message
Jonathon James (isamaranga) wrote :

Just updated to 2.6.32-22 from lucid-proposed and the bug persists.

Revision history for this message
S Johnsen (ubuntubugs9901) wrote :

Hi,
Had the same problem with my new X201 (core i5), but managed to get a working 9.10 setup, that is everything including the eye-candy works, with these instructions:
http://www.linwik.com/wiki/using+the+intel+arrandale+intel+graphics+media+accelerator+hd+with+ubuntu+9.10

HTH

Revision history for this message
Jonathon James (isamaranga) wrote :

@ Stian Flage Johnsen,
The newest xorg packages and mainline kernel (either 2.6.32 or 2.6.33) do not solve this issue for me in Ubuntu 10.04. Still need to boot with i915.modeset=0 to get graphics.

Revision history for this message
rampage (gfoster9055) wrote :

I have a Toshiba Satellite A505-S6020, 9.10 installs ok basic graphic, NVIDIA drivers install fine. I straight 10.4 install gets me the black screen (no back light either) before the grub menu comes up. I have the i5 with 310M graphics, will help with anything i can, I would love to run 10.4 and get the other issues fixed also.

Andy Whitcroft (apw)
tags: added: lucid-kms
Revision history for this message
Andy Whitcroft (apw) wrote :

@rampage -- you mention an NVIDIA chipset for your issue, this bug is specifically about Intel graphics and so you must have a separate bug. Please could you file a new one with ubuntu-bug linux. Thanks.

Revision history for this message
Andy Whitcroft (apw) wrote :

@Hendrick -- could we get a dmesg from a 'boot to black' 'KMS enabled' boot from your system with -proposed enabled and the -22.33 kernel or later installed please. The original dmesg is somewhat old and predates the update to DRM .33. Thanks a lot!

Changed in linux (Ubuntu):
assignee: nobody → Steve Conklin (sconklin)
Revision history for this message
Andrew Bortz (abortz) wrote :

I also have a Thinkpad X201, with the same problem, with the same dmesg output as earlier in the thread. In an attempt to isolate the problem, I tried the following kernel versions:

mainline 2.6.32.9 -- works
mainline 2.6.32.12 -- works
ubuntu 2.6.32-14.20 -- works
ubuntu 2.6.32-15.22 -- works
mainline 2.6.33.1 -- doesn't work
ubuntu 2.6.32-16.25 -- doesn't work
ubuntu 2.6.32-22.33 -- doesn't work
mainline edge -- doesn't work

Turns out -14.20 wasn't the last ubuntu kernel to work. I wasn't able to get my hands on debs for ubuntu 2.6.32-16.23, but I suspect it wouldn't work as well. Looking at all the changelogs, all this points to the update to DRM .33 as the culprit. But that is a big patch, and I'm totally out of my league. Help?

Revision history for this message
Jonathon James (isamaranga) wrote :

@Andrew Bortz, where do you find the old ubuntu kernel versions?

Revision history for this message
Martin Th. (ma-th) wrote :

@ Jonathon James: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Anything new here? I've also tried 2.6.34 RC6. Didn't work out...

Revision history for this message
Hendrick Musche (hmu) wrote :

@andy whitcroft: sorry, i'm currently on a three month vacation and have no means to ssh to my machine to get the dmesg output. Maybe someone else here can help?

Revision history for this message
Stefan Gold (stefan-gold) wrote :

Hi,
here are my dmesg from a 'boot to black' 'KMS enabled' boot of the latest lucid 2.6.32-22-generic kernel and the latest 2.6.34-rc7 mainline kernel.

The problem occurs on my X201 with those kernels too. Btw, I'm using the recent BIOS 1.14-1.08/1.08 from Lenovo, released 2010/04/23.

Revision history for this message
Steve Conklin (sconklin) wrote :

It appears that the following upstream patch may be the fix:

b91ad0ec52770dcb622b94fc1f57e076686f427a drm/i915: Rework DPLL calculation parameters for Ironlake

Here's an upstream mailing list thread about it:
http://markmail.org/message/4yq3ejcke7uhe63i#query:+page:1+mid:ljfvjcr7or7yrd6n+state:results

I'll have a look and see about getting it into a test kernel, I'm busy at UDS this week

Revision history for this message
Steve Conklin (sconklin) wrote :

The patch above is already in the tree as part of the .33 drm backport, so I'll continue to investigate

Revision history for this message
Steve Conklin (sconklin) wrote :

This red hat bug no longer applies as it is now being used to track a network card issue.

Changed in linux (Fedora):
importance: Unknown → Undecided
status: Unknown → New
Steve Conklin (sconklin)
Changed in linux (Fedora):
status: New → Invalid
tags: added: patch
Revision history for this message
mabawsa (mabawsa) wrote :

I am awaiting delivery of an X201 and wondered if anybody has tried the following ppa?

https://launchpad.net/~glasen/+archive/intel-driver

Revision history for this message
Alexnader Trofimov (a-trofimov) wrote :

mabawsa, it doesn't work:(

Revision history for this message
Stefan Gold (stefan-gold) wrote :

I've tried a self-compiled 2.6.33.4 vanilla kernel, in which I assume the patch from #27 is already included (Please correct me if not!!!). Unfortunately, that approach hasn't solved the problem yet.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

The supposed workaround hard locks my laptop with a flashing caps lock LED, with or without xforcevesa.

Revision history for this message
Mubes (dave-marples) wrote :

Datapoint; With latest X201 BIOS (BIOS: 1.14 / ECP: 1.08/1.08) from lenovo I can get i915 driver working on the external display by removing the modeset and vesa elements from the kernel command line. I also get full effects etc. and i915 is in use according to lsmod. This is using 'stock' 64 bit 2.6.32-22 generic kernel. I cannot get any display on the LCD panel at all, although It will wake up the backlight if I try to switch on both screens.

This new BIOS has improved a few items - I understand that the ACPI is now more stable and certainly the display on the external (4x3) monitor 'fits' a lot better than it did before.

Not sure it's much use, but just in case....

DAVE

Revision history for this message
Eshat (eshat-deactivatedaccount) wrote :

Same issue here on the Debian (sid) side using a X201 with latest BIOS from 23 Apirl.
I get same blinking CapsLock and freeze as Jeffrey Baker described.
Also I would like to add, that the blank screen remains with kernel 2.6.34-1-adm64 (from experimental and a self compiled one).

Booted with an external monitor connected (which works with wrong resolution, as mentioned above) my syslog says:

May 21 12:57:04 xoi kernel: [ 15.925841] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
May 21 12:57:04 xoi kernel: [ 15.925848] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff880133b79000
May 21 12:57:04 xoi acpid: client connected from 2128[0:0]
May 21 12:57:04 xoi acpid: 1 client rule loaded
May 21 12:57:04 xoi kernel: [ 16.126466] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
May 21 12:57:04 xoi kernel: [ 16.126474] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff880133b79000
May 21 12:57:04 xoi kernel: [ 16.126480] [drm:drm_fb_helper_restore] *ERROR* Failed to restore crtc configuration
May 21 12:57:05 xoi kernel: [ 16.727165] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
May 21 12:57:05 xoi kernel: [ 16.727173] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff880133b79000

Revision history for this message
aleij (alejoduque) wrote :

anyone knows if the kernels from this PPA:
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D
will fix our video card problem?

Revision history for this message
Jeffrey Baker (jwbaker) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

I tried a 2.6.34 kernel from that repo and it didn't help at all.

On Fri, May 21, 2010 at 7:34 AM, aleij <email address hidden> wrote:
> anyone knows if the kernels from this PPA:
> http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D
> will fix our video card problem?
>
> --
> [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)
> https://bugs.launchpad.net/bugs/554569
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

In the Xorg bug I linked here, there is a proposed one-line patch that some commenters report has worked for them on a X201, although others say it doesn't. Still others report that BIOS updates fix the problem (didn't help me).

Revision history for this message
Thomas Uehlinger (thomas-uehlinger) wrote :

I can confirm that the following patch solves the bug for me (X201, latest bios version 1.14, patch applied to the offical 10.04 kernel 2.6.32-22)

+++ intel_display.c
        bool found;
        /* approximately equals target * 0.00488 */
        int err_most = (target >> 8) + (target >> 10);
+ err_most += 50;
        found = false;

        if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {

Revision history for this message
Mubes (dave-marples) wrote :

Thomas, Your patch solves the problem for me too. Typing this from a machine running with the new drivers...

DAVE

Revision history for this message
mabawsa (mabawsa) wrote :

So I want to get this working. How do I do it?

Revision history for this message
Jonathon James (isamaranga) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

Yes, please provide information on how to apply the patch. Is this
something we need to perform directly on the source code?

On 05/21/2010 10:07 PM, mabawsa wrote:
> So I want to get this working. How do I do it?
>
>

Revision history for this message
Eshat (eshat-deactivatedaccount) wrote :

Also workes for me on Debain sid with current kernel 2.6.34 from kernel.org.

To apply simply add

err_most += 50;

to line 882 in drivers/gpu/drm/i915/intel_display.c before compiling the kernel like described here:
http://bugs.freedesktop.org/show_bug.cgi?id=27471#c12

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Yep, fixed for me too.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

And here's the corresponding headers. For whatever reason after I installed this kernel I had to manually instruct update-initramfs to make a new initrd, and then update-grub manually as well.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :
Revision history for this message
mabawsa (mabawsa) wrote :

Just to recap
run failsafeX from the recovery tools (I had to append the i915.modeset=0 to the boot options)
download and install Jeffrey's debs.
Run:
sudo update-initramfs -c -k 2.6.32.11+drm33.2-x201
sudo update-grub
sudo reboot

Thanks Jeffrey Windows 7 was really bugging me. Will this patch be pushed into release?

Revision history for this message
Mark (mark-wege) wrote :

Cah someone give some more detailed instructions how to put this in to a kernel? I am running the 32 bit version of Kubuntu so I can not make used of this compiled packages. Furthermore I have already a patch for the problems with the GOBI WWAN from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554099/comments/14 which I do not want to loose.

Revision history for this message
aleij (alejoduque) wrote :

yes, i can also confirm that running: sudo dpkg -i on the .debs (hint @Mark, the linux-image one is the kernel) submitted by jeffrey baker worked well, now i can suspend resume and control the brightness of the screen. this will dramatically improve my battery times.

Revision history for this message
Mark (mark-wege) wrote :

@aleij: My problem is that I can not use this precompiled deb-package because I have another patch already. That is why I need to know how to patch and compile the sources to do it myself.

Revision history for this message
Jeffrey Baker (jwbaker) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

Mark, since you already have a custom kernel package with your local
changes, it stands to reason that you already have a patched kernel
tree on your system somewhere. If that's the case, simply apply the
patch from this bug and rebuild your package. I use make-kpkg but
I've been told there are more Ubuntu-like ways of building the kernel.

Revision history for this message
Mark (mark-wege) wrote :

@Jeffrey: I have edited the sources as in the patch above. The problems is that the instructions in the above mentioned bug appear to be very specific of rebuilding only the parts that needed and copying them. So I do not know what I have to do to extend these in a way that it works for the above patch too.

Revision history for this message
Anthony Liguori (anthony-codemonkey) wrote :

I can confirm that the package in #45 fixes the problem.

Revision history for this message
Martin Th. (ma-th) wrote :

Also for me the debs from Jeffrey fix the 10.04 bug. But I now run into freezing x-problems with enabled compiz effects. I compiled a 2.6.34 kernel, but I must have made a mistake because it blew up my whole system. Anyone tried this solution with a newer kernel?

Revision history for this message
Thomas Uehlinger (thomas-uehlinger) wrote :

@Martin Th.: the abovementioned patch also works perfectly on a 2.6.34 kernel for me (which then also solves the USB resume problem). I'm using the Ubuntu Maverick (10.10) kernel from kernel.ubuntu.com (ubuntu/ubuntu-maverick.git).

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

FYI there's yet another new BIOS for the X201 series. Version 1.15 came out on six days ago. There's nothing in the changes that indicate it might fix this error, but I'm going to load it up and find out.

Revision history for this message
Martin Th. (ma-th) wrote :

@Thomas: Thanks, works fine for me too. No crash in the last hour even with a zoo of eye candy.

Revision history for this message
Jim Gettys (jg-laptop) wrote :

https://bugs.freedesktop.org/show_bug.cgi?id=28070 may be the same bug, being worked on upstream.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Maybe 28070 and 27471 should be merged upstream?

Revision history for this message
Jim Gettys (jg-laptop) wrote :

It isn't clear yet if this is the same bug or not; many things could cause a panel not to work. The HP Elitebook 2540p I have has an eDP internal panel, which Ajax hadn't seen in the wild before at all. The IBM x201 has been out a number of months longer, so it may have an LVDS panel. Until/unless it is confirmed both have eDP displays, it is unwise to presume they are duplicates.

Revision history for this message
aleij (alejoduque) wrote :

anyone out there with working kernel that could share its .config file? i will like to try the patch but will like to go on the safe with the so many kernel config options.

Revision history for this message
Julien Rebetez (julien-rebetez) wrote :

@aleji: You should follow this guide to compile your kernel : https://help.ubuntu.com/community/Kernel/Compile. Alternatively, use "make localmodconfig" to generate a .config that has the same configuration as your running kernel.

I am attaching the working kernel and headers (recompiled by apt-sourcing ubuntu kernel and applying only the patch - no change to config) for x86.

Revision history for this message
Julien Rebetez (julien-rebetez) wrote :
Revision history for this message
Jon Skulski (jskulski) wrote :

i have a new x201 lenovo 3249-CTO and am seeing the blank screen on boot problem

I have successfully booted and installed 10.04 amd64 with the kernel parameters 'i915.modeset xforcevesa nomodeset'.

However, I can not boot the actual install with the same (or no kernel parameters) in both regular and recovery mode.

As far as I can tell, it is the same kernel. Not sure why I am seeing this behavior. Is there more information I can provide?

Changed in oem-priority:
importance: Undecided → High
Revision history for this message
Lei Wang (raywang) wrote :

Hi, I also encountered this problem.
the backlight is black when boot up from CD.
After I add a "i915.modeset=0 in the kernel command line", I'm able to boot into desktop, and add the option to /etc/default/grub, and run "update-grub", I can enter to system, but no brightness control, no virtual effect.
#45 might have fixed this issue, but what about i386 package?

Hugh Blemings (hughhalf)
Changed in oem-priority:
assignee: nobody → Haitao Zhang (minipanda)
Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

How's progress on this?

Revision history for this message
Haitao Zhang (minipanda) wrote :

Hi, I can't reproduce this bug on my X201,
Product ID: 3626AM9, Intel i7 + i915, BIOS 1.05
it's working just fine with both Lucid i386 and amd64.
I will try to trigger this bug after upgrade BIOS to latest.
and still need further investigation on more i5/i7 X201.

BTW: some people also report if just "increase the "err_most" variable"
does not solve the black screen problem on X201s in upstream kernel.

Revision history for this message
mabawsa (mabawsa) wrote :

Hi here are my details,
Product 3249CTO, Intel i5 +915, latest BIOS 1.15
Blank screen 100% reproducible whenever I try to boot to the default latest kernel.
Works without flaw when I use err_most += 50; and compile the kernel.

Anything else I can do to help debug this please let me know.

Revision history for this message
fanofanne (fanofanne) wrote :

Hi, Can reproduce consistently as mabawsa reports. My latop is the x201 (not the x201s)
Product 3626FBU, Intel i5 +915, latest BIOS 1.15.
This laptop screen has a resolution of 1280x800.

Revision history for this message
Haitao Zhang (minipanda) wrote :

After upgrade BIOS to 1.15 (6QET45WW), Embedded Controller Verison 1.09
my i7-M620 X201 still won't affect with this bug, but I already reproduce this bug on another i3 X201.
Looks through http://en.wikipedia.org/wiki/Arrandale_(microprocessor) page,
i3/i5/i7 are all in "Arrandale" Family, so it's really confused why this bug only happened on i3/i5.

Thanks for your update, mabawsa and fanofanne,
could guys please help me test whether mainstream kernel also have this bug on your X201?

Revision history for this message
mabawsa (mabawsa) wrote :

For me the bug is still present on the kernel downloaded from http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

linux-image-2.6.35-999-generic_2.6.35-999.201006151505_amd64

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Yep, I've tried a number of the mainline versions and they have all had this problem.

Revision history for this message
Eshat (eshat-deactivatedaccount) wrote :

I compiled the Current 2.6.35 vanilla kernel today, and it also fails showing anything on the LVDS.
I also would like to add, that though patching the kernel with the "err_most += 50;" works for me, but I still get the mentioned DRM error message, when sometimes connecting or disconnecting an external monitor, so maybe the above workaround isn't the best way to solve this.

I am on a Thinkpad X201 with Core i5-540M and BIOS 1.15.
I am ready to provide any needed information and do any testing to help solving this issue.

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :

A patch has been posted in the freedesktop.org bug (comment 29). Haitao is in the process of building a test kernel with this patch.

Revision history for this message
Haitao Zhang (minipanda) wrote :
Revision history for this message
Eshat (eshat-deactivatedaccount) wrote :

Applied the patch to 2.6.34 from kernel.org and it works.

However as with err_most+=50 I still get the wrong resolution on external monitor when booting with VGA Cable connected.
2.6.32, which didn't have the KMS bug, booted with correct resolution on external monitor. So maybe someone can check, what changed from 2.6.32 to 2.6.33.

Revision history for this message
Chris Van Hoof (vanhoof) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

On 06/25/2010 04:28 AM, Haitao Zhang wrote:
> test kernel uploaded to http://people.canonical.com/~hzhang/554569
> /linux-image-2.6.32-23-generic_2.6.32-23.38_i386.deb
>
> patched Lucid kernel with workaround from
> http://bugs.freedesktop.org/attachment.cgi?id=36483

Tested this kernel on an i5 based x201 that exhibited the problem in
this bug reliably. After the update, the problem has been fixed.

Revision history for this message
tgreer (uktamo) wrote :

Can anyone provide an amd64 deb for the fix?

Jerone Young (jerone)
Changed in oem-priority:
status: New → Confirmed
Revision history for this message
Lei Wang (raywang) wrote :

@tgreer, I think #46 provided what you want.

Revision history for this message
tgreer (uktamo) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

Thanks,

Missed that completely... What x-org version should I be running? I'm
using xorg-edgers

Thomas

Revision history for this message
Haitao Zhang (minipanda) wrote :

test with X.Org X Server 1.7.6 in current Lucid

AMD64 test package uploaded to http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_amd64.deb

Revision history for this message
tgreer (uktamo) wrote :

Success with #45 & #46 installed and guide from #48

Thanks all...

Ubuntu 10.04 amd64 with xorg-edgers

Revision history for this message
mabawsa (mabawsa) wrote :

Hi your AMD64 test kernel performs well when will this be pushed?

Revision history for this message
Haitao Zhang (minipanda) wrote :

mabawsa, there are couple updates like "i915: fix ironlake edp panel setup (v2)"
on https://patchwork.kernel.org/patch/108282/
Dave Airlie seems working on push his fix to upstream, which looks similar to this bug,
so we are holding for a while and waiting for comments and feedback from upstream.

please also help us test the updated kernel package works or not on more displays
http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_i386.deb
Lucid kernel patched with http://people.canonical.com/~hzhang/554569/i915-fix-ironlake-edp-panel-setup-v2.patch

Revision history for this message
mabawsa (mabawsa) wrote :

This is the only machine I have with intel graphics. I did try the kernel on a machine with nvidia G8400 and a machine with a Radeon Mobility 9700 and it worked fine.

Revision history for this message
Greg Wilkins (gregw-wiltel) wrote :

I updated x201 with kernels/headers from #63/#64 and it now does not have a blank screen.
However, the display does lockup now about once per day. I can ssh into the machine and all looks OK, but X cannot be killed with a gdm stop. It even hangs around after a kill -9. However, one I kill all the user processes (kill -9 -1) and the display then responds to a restart of gdm.

I'll provide more info next time it happens.

Revision history for this message
Andrew Klossner (o-launchpad-klossner-org) wrote :

Dave Airlie's patch (mentioned in #85) fixes this problem on my Dell Latitude E6510 (i7-620M Arrandale/Ironlake). I applied it to the upstream 2.6.34 kernel and am running it on an otherwise vanilla fully-updated Lucid.

Revision history for this message
Mathias Gug (mathiaz) wrote :

Tested http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_amd64.deb from comment 82. It works well: I'm able to use my external monitor again. Thanks.

Revision history for this message
Jerone Young (jerone) wrote :

@Haito

           I noticed in the freedesktop.org bug they are testing a different patch. Can you create a package with that patch? It's here:
http://lists.freedesktop.org/archives/intel-gfx/2010-July/007328.html

Revision history for this message
Chris Van Hoof (vanhoof) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)

On 07/08/2010 10:44 PM, Jerone Young wrote:
> @Haito
>
> I noticed in the freedesktop.org bug they are testing a different patch. Can you create a package with that patch? It's here:
> http://lists.freedesktop.org/archives/intel-gfx/2010-July/007328.html
>

@jerone -- we've been working on that front right already, we'll post
details once testing is complete.

--chris

Revision history for this message
Duststorm (duststorm-design) wrote :

Has anyone managed to get this fix working with a Dell Latitude E6510 with a full HD (1920x1080) panel?
Unfortunately it seems like I still have a black screen.
However, I do get screen when I connect another display (1680x1050) to the external display port.

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

Hi,

I tried to apply the patch with "patch -p0 < thinkpadx201.diff"
and got the following message:

patching file drivers/gpu/drm/i915/intel_display.c
Hunk #1 FAILED at 881.1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/i915/intel_display.c.rej

What am I doing wrong?

Besides, I'm really pissed off because of this Bug. Vesa graphic is working but that's not why I bought this one...
I also have a the ultrabase x200 docking station and external VGA is not working. Anyone experience with it?

Revision history for this message
Lukas Svoboda (svoboda77) wrote :

I confirm http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_amd64.deb kernel from post #82 works fine for me, system is stable, uptime 48+ hours now.

Revision history for this message
Chrisitan Bertsch (christian-bertsch) wrote :

I confirm that http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_i386.deb fixes the discribed bug on a Lenovo X201.
Now everything seems ok, including dual monitor (internal +external) usage.

Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

I tried installing http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-23-generic_2.6.32-23.38_i386.deb but still get a blank screen on a Lenovo X201 3249-CTO :-( I'm happy to provide debugging info, just let me know what you'd like.

Revision history for this message
Haitao Zhang (minipanda) wrote :

Hi, previous patch is about to fix eDP issue, seems not specifically for this X201 bug.
so we will leave it alone and plan to fix this issue with the following patch instead: https://patchwork.kernel.org/patch/109959/

Updated Lucid kernel for test on X86 and AMD64 are uploaded to
http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-24-generic_2.6.32-24.39_i386.deb
http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-24-generic_2.6.32-24.39_amd64.deb

Also Lucid patch uploaded to
http://people.canonical.com/~hzhang/554569/Lucid-drm-i915-Make-G4X-style-PLL-search-more-permissive.patch

Revision history for this message
Thomas Uehlinger (thomas-uehlinger) wrote :

I can confirm that the above patch (http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-24-generic_2.6.32-24.39_amd64.deb from comment #97) works for me as well on my X201.

Revision history for this message
Lei Wang (raywang) wrote :

Hello @Haitao The kernel you provide works for me, but it appears that it takes a little bit longer during unpacking the kernel, for me, it takes about 15 seconds.

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

Hi,

I know that you are all experts with upgrading the kernel and so on. I'm not!
Please, can anybody tell me how to update the kernel with the image posted in #97 ?!?
As far as I found out at http://www.unixmen.com/linux-tutorials/780-upgrade-your-kernel-the-safe-way-in-ubuntu-linuxmint I will need 3 files...so why is there only the image file posted?

Please help!!!

Revision history for this message
Lei Wang (raywang) wrote :

@Danial, hi, it's very easy, #97 is just a normal deb package, what you need to do is just run "sudo dpkg -i linux-image-2.6.32-24-generic_2.6.32-24.39_i386.deb" (if your arch is i386), and please be noticed that when you reboot, please select the newly installed kernel entry. :-)

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

@Ray Wang
Thanks for the reply. Now I tried as you explained and I also selected the right kernel at the boot procedure. So here's what happend:
No black screen anymore (yeah) but a blinking cursor remains for ever. However, now the brightness keys are working.
Really got frustrated by this "bug"... :o(

Revision history for this message
Alexey Shvetsov (alexxy) wrote :

I can reproduce this bug on gentoo with 2.6.34 and 2.6.35-rc5 kernels
both with and without patches from
https://patchwork.kernel.org/patch/108282/
https://patchwork.kernel.org/patch/109959/

Actualy with patches kms framebuffer still garbaged (it filled with rainbow stripes so i assume that timings for LVDS matrix still wrong)

Changed in gentoo:
status: Unknown → Confirmed
Revision history for this message
Lukas Svoboda (svoboda77) wrote :

@Haitao Zhang: the latest amd64 kernel works for me on my x201, can you please post the headers? Thank you.

Martin Pitt (pitti)
Changed in linux (Ubuntu Lucid):
milestone: none → ubuntu-10.04.1
importance: Undecided → Medium
Revision history for this message
Steve Conklin (sconklin) wrote :

Please note that this patch is not (as far as I can tell) not in the upstream driver repo yet, and is certainly not in Linus's tree.

Therefore, it does not qualify for inclusion in a Lucid stable update.

Changed in linux (Ubuntu Lucid):
milestone: ubuntu-10.04.1 → ubuntu-10.04.2
Revision history for this message
Chris Van Hoof (vanhoof) wrote :
Changed in gentoo:
status: Confirmed → Fix Released
Revision history for this message
Manoj Iyer (manjo) wrote :

Please test the kernel at http://kernel.ubuntu.com/~manjo/lucid/lp554569/ and report back here.

Changed in linux (Ubuntu Lucid):
assignee: nobody → Manoj Iyer (manjo)
status: New → Incomplete
Revision history for this message
Thomas Uehlinger (thomas-uehlinger) wrote :

@Manoj Iyer: Your kernel from comment #107 works perfectly on my X201 (both internal and external display). Do you need any more details?

Revision history for this message
Lei Wang (raywang) wrote :

Hi Manoj

Can you also provide a x86 fixed kernel, so that those who use 32bit
system could also benefit from your fixes. :-)

Thanks

On 08/04/2010 01:22 AM, Manoj Iyer wrote:
> Please test the kernel at
> http://kernel.ubuntu.com/~manjo/lucid/lp554569/ and report back here.
>
> ** Changed in: linux (Ubuntu Lucid)
> Status: New => Incomplete
>
> ** Changed in: linux (Ubuntu Lucid)
> Assignee: (unassigned) => Manoj Iyer (manjo)
>

--
Ray Wang

Revision history for this message
Manoj Iyer (manjo) wrote :

Ray Wong: x86 kernel is uploaded in the same location.

Thomas: Thanks a ton for the quick test. I will SRU that patch asap.

Revision history for this message
Mark (mark-wege) wrote :

Which patch is the kernel using? I want to compile a kernel with pae support.

Revision history for this message
Chris Van Hoof (vanhoof) wrote :

On 08/03/2010 03:23 PM, Mark wrote:
> Which patch is the kernel using? I want to compile a kernel with pae
> support.

http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=6ba770dc5c334aff1c055c8728d34656e0f091e2

--chris

Revision history for this message
Manoj Iyer (manjo) wrote :

SRU JUSTFICATION
================
This patch fixes the issue with Thinkpad X201 with Arrandale (i915), it is
a critical patch needed to enable Thinkpad X201.

Steve Conklin (sconklin)
Changed in linux (Ubuntu Lucid):
status: Incomplete → Fix Committed
Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

Fix from #110 does NOT work for me on my X201 :-( Happy to provide xorg.0.log and any other info you request.

Revision history for this message
Noufal Ibrahim (noufal) wrote :

I have an X201 (with the Arrandale chip and and an i5) and I tested the kernel in #107. It boots up okay but for some reason my trackpoint (and it's buttons) stops functioning (the trackpad and it's buttons work fine).

However, http://people.canonical.com/~hzhang/554569/linux-image-2.6.32-24-generic_2.6.32-24.39_amd64.deb seems to work just fine.

Revision history for this message
Thomas Uehlinger (thomas-uehlinger) wrote :

Just tested the trackpoint with kernel from #107 (I usually never use it): it works fine on my X201 i5.

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

Tested the kernel from #107 on my X201. Does not work!!! Same problem as posted in #102. Blinking cursor but brightness keys are working...

Whats the problem with this **** ******* bug???

Revision history for this message
Cima (andrea-cimatoribus) wrote :

I tested the 32bit kernel of #107 on an i5 Arrendale, and it doesn't fix the problem, it's exactly as before.

Revision history for this message
Lukas Svoboda (svoboda77) wrote :

64bit kernel from post #107 works for me.

Revision history for this message
Lukas Svoboda (svoboda77) wrote :

Kernel headers from post #107 are also OK, I was able to compile the latest VirtualBox kernel module against it.

Seif Lotfy (seif)
description: updated
Revision history for this message
Seif Lotfy (seif) wrote :

linux-image-2.6.32-24-generic is not working for me. I used the deb suggested from 107 however they get overwritten by the latest update 2.6.32-24.39. Any newer debs?

Revision history for this message
Gregor Müllegger (gregor-muellegger) wrote :

I'm using the subnotebook Lenovo U160 which has the same problem described in this bug. I also tried the kernel from #107 but it doesn't help to fix the problem here.

Revision history for this message
Eshat (eshat-deactivatedaccount) wrote :

The latest kernel in Debian Unstable which is 2.6.32-19 works perfectly for me.
Anyone tried the official 2.6.35 vanilla kernel ?

Revision history for this message
Jens Georg (yg-jensge) wrote :

vanilla 2.6.35 from ubuntu mainline stuff works, but the graphics performance feels sluggish; probably one needs a matching X driver and libdrm

Revision history for this message
n8han (nathan-technically) wrote :

re: #122 I'm also not seeing any improvement with the updated kernel, on a Lenovo U160. There are two bugs open for blank screens on this model, bug #608907 and bug #610369

Chris Van Hoof (vanhoof)
Changed in oem-priority:
assignee: Haitao Zhang (minipanda) → Canonical Hardware Enablement Team (canonical-hwe-team)
status: Confirmed → Fix Committed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

It appears the patch in question is now officially upstream and included in the upstream v2.6.35 kernel:

linux-2.6$ git describe --contains 6ba770dc5c334aff1c055c8728d34656e0f091e2
v2.6.35~33^2~9

commit 6ba770dc5c334aff1c055c8728d34656e0f091e2
Author: Adam Jackson <email address hidden>
Date: Fri Jul 2 16:43:30 2010 -0400

    drm/i915: Make G4X-style PLL search more permissive

Since Maverick has already been rebased on top of upstream v2.6.35, it subsequently already contains this patch. I'm therefore marking the Maverick linux task as Fix Released. The Lucid task still remains open and going through the SRU process.

Changed in linux (Ubuntu Maverick):
status: Triaged → Fix Released
Changed in linux (Ubuntu Maverick):
milestone: none → ubuntu-10.10-beta
Revision history for this message
Martin Th. (ma-th) wrote :

I use this now on my x201: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35.2-maverick/

it works. booting with 2nd monitor on vga output or removing monitor during operation causes trouble. but plugging in after boot seems to work

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

yeah nice one...finally #127 works for me!

edit:

worked for me!!!!!!! terrible thing happend, after trying the X201 with docking station xserver could not start,
even without docking station no graphic appears since xserver error is somethin about:

(EE) intel(o): No kernel modesetting driver detected.
(EE) Screens(s) found, but none have a usable configuration.
Fatal server error: no screens found

What the **** is the problem here....I donnt know if I should either cry or destroy the laptop for gods sake...

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

edit:

working now quiet good every 20th startup or so. the 19 times before that every time a different error occurs. sometimes even the blank screen appeared again. other times the touchpad did not start and therefore xserver stopped.

might be because of the maverick alpha version?

Changed in linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Cima (andrea-cimatoribus) wrote :

On my machine I don't really want to test an alpha release of a kernel, but I gave a try to #127. It doesn't boot on my laptop (core i5 540), but I think that's not connected with graphics but something else. Anyway, the good thing is that I can see the normal splash screen, so the screen doesn't go blank after grub. There is hope...

Revision history for this message
Gregor Müllegger (gregor-muellegger) wrote : Re: [Bug 554569] Re: [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)
Download full text (8.5 KiB)

I've updated my Lucid Installation to the latest Maverick alpha and
downloaded the newest packages. This *does not* help for me. The boot
splash shows up after grub but the screen still goes blank after a
fraction of a second.

I have a Lenovo U160 with Core i7 920.

2010/8/20 Cima <email address hidden>:
> On my machine I don't really want to test an alpha release of a kernel,
> but I gave a try to #127. It doesn't boot on my laptop (core i5 540),
> but I think that's not connected with graphics but something else.
> Anyway, the good thing is that I can see the normal splash screen, so
> the screen doesn't go blank after grub. There is hope...
>
> --
> [lucid] Blank screen with KMS on Thinkpad X201 with Arrandale (i915)
> https://bugs.launchpad.net/bugs/554569
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OEM Priority Project: Fix Committed
> Status in X.org xf86-video-intel: Unknown
> Status in “linux” package in Ubuntu: Fix Released
> Status in “linux” source package in Lucid: Fix Committed
> Status in “linux” source package in Maverick: Fix Released
> Status in “linux” package in Fedora: Invalid
> Status in Gentoo Linux: Fix Released
>
> Bug description:
> Hi all,
> On my new Thinkpad X201 with Core i5 and integrated Arrandale graphics with lucid i get a blank screen (no backlight) as soon as the i915 kicks in during boottime. Booting continues, i can hear the loginsound, but the display stays dark. External screen shows a picture, although with wrong resolution. Booting with the i915.modeset=0 results in working graphics, but only X with vesa. I tried several kernel-versions, including karmic livecd and the newest daily build from the kernel mainline ppa, both 2.6.33 and 2.6.34, all to no avail. The only kernel that works is from this ppa (https://launchpad.net/~csurbhi/+archive/karmic-stable) from bug #515246, but I couldn't isolate why. This could be a duplicate of that bug, but it has been marked fixed, but still remains with me.
> The problem seems to be that the i915 cannot initialize the internal display properly. Following snip from syslog:
>
> === SNIP ===
> Apr  2 17:22:46 serafina kernel: [   16.851787] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
> Apr  2 17:22:46 serafina kernel: [   16.851843] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
> Apr  2 17:22:46 serafina kernel: [   16.851898] [drm:drm_fb_helper_restore] *ERROR* Failed to restore crtc configuration
> Apr  2 17:22:46 serafina kernel: [   16.854711] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
> Apr  2 17:22:46 serafina kernel: [   16.854756] [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on crtc ffff88011faa2000
> Apr  2 17:22:46 serafina kernel: [   16.854805] [drm:drm_fb_helper_restore] *ERROR* Failed to restore crtc configuration
> Apr  2 17:22:46 serafina kernel: [   17.027367] iwlagn 0000:02:00.0: loaded firmware version 9.176.4.1
> Apr  2 17:22:46 serafina kernel: [   17.112490] [drm:intel_crtc_mode_set] *ERROR* Couldn't find PLL settings for mode!
> Apr  2 17:22:46 serafina kernel: [   17.112542] ...

Read more...

Revision history for this message
Jerone Young (jerone) wrote :

@Gregor

Can you file a new bug for the Lenovo U160 and paste the link here .. make sure to include Xorg log so folks know the screen. Also try the latest daily build of 10.10 here: http://cdimage.ubuntu.com/daily-live/current/

Please do not update this bug with Lenovo U160 problems. It is for the Thinkpad X201.

Revision history for this message
Jerone Young (jerone) wrote :

@Gregor Müllegger

Add information to this bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/608907

Revision history for this message
glabeliol (akinstur) wrote :

Got the workaround proposed in #8 working using these instructions. This workaround was originally giving me a hard freeze with flashing capslock, but this seems to fix it:

http://ubuntuforums.org/showthread.php?p=9752385

Revision history for this message
Martin Th. (ma-th) wrote :

Wake-up from stand-by is not possible anymore with
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc3-maverick/
Screen remains black.

Revision history for this message
Francisco Cribari (cribari) wrote :
Revision history for this message
matt s (matt-smalley) wrote :

Have a brand new i5 540-based x201 and encountered this issue with 10.04 x86_64. #107 is working for me as well. After deb install and reboot X would not start though:

  (EE) VESA: Kernel modesetting driver in use, refusing to load
  (EE) No devices detected

Restarting X and removing /etc/X11/xorg.conf seemed to take care of it. Found the fix here:

  http://ubuntuforums.org/showthread.php?t=1497063

Changed in xserver-xorg-video-intel:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

FWIW, I took the Maverick Kubuntu amd64 10.10 beta live CD for a spin today, and everything seemed to work beautifully.

Revision history for this message
Martin Th. (ma-th) wrote :

hi dave, have you tested the analog video out with a 2nd display?

Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

Yep - works!

On Wed, 15 Sep 2010 at 17:47:19 you wrote:
> hi dave, have you tested the analog video out with a 2nd display?
>
>
--
Dave Moskovitz
Director, Thinktank Consulting Limited
<email address hidden> / Tel +64 27 220 2202
Twitter: @davemosk Calendar: http://dave.moskovitz.co.nz/calendar

Revision history for this message
Martin Th. (ma-th) wrote :

i installed the beta and i still have the problem with a second monitor, when it is plugged in during boot. when plugging in after the start up, it works most of the time. also laptop display brightness goes down...

Revision history for this message
Dave Moskovitz (dave-thinktank) wrote :

Well, the latest production kernel, 2.6.32-25-generic-pae seems to fix everything on my X201, so long as /etc/X11/xorg.conf has been either moved or deleted. W00t! It's only taken six months, but I guess it was worth the wait to have a laptop I can use with a projector :-)

Revision history for this message
Daniel Schröder (ddr-laertis) wrote :

Finally!!!
I tried the same kernel (2.6.32-25-generic) and graphics is now working perfect, even brightness control.
Did not try external monitor, but will do soon.

Royce (huroyce)
Changed in linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Jobo (arkazon) wrote :

Hate to disappoint, but 2.6.32-25 (64-bit) still doesn't work properly on my X201 3249-CTO.

As before, I have to run with i915.modeset=0 and the vesa driver, or I get a hard freeze on boot.

Now I find I need xvideo, though, which vesa doesn't have. Any idea what I can do to help?

Revision history for this message
mabawsa (mabawsa) wrote :
Revision history for this message
Jobo (arkazon) wrote :

I was running 1.17. Just updated to the latest version (1.22). Now it works if I specify i915.modeset=1 on the grub command line. Thank you!

Revision history for this message
Hooman (hooman118) wrote :

I just installed 10.10 (64-bit) on my X201 3249-39C and experienced this black screen dead.
My BIOS just updated to 1.22, and the kernerl was 2.6.35-22-generic.

I have to specify i915.modeset=0 to login into tty1.
But no graphic appears since xserver error is somethin about:

(EE) open /dev/fb0: No such file or directory
(EE) intel(0): No kernel modesetting driver detected.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Revision history for this message
Hooman (hooman118) wrote :

BTW, live CD and graphics installation works fine. It's strange.
Should I try 32bit kernel?

Revision history for this message
rgrover1@gmail.com (rgrover1) wrote :

I upgraded to 10.10 (64-bit) on my X201. I then deleted my /etc/X11/xorg.conf. Now I can boot correctly without needing the i915.modeset=0 boot parameter. Brightness controls also work correctly.

Chris Van Hoof (vanhoof)
Changed in oem-priority:
status: Fix Committed → Fix Released
sarthor (sarthor)
Changed in linux (Ubuntu Maverick):
assignee: Steve Conklin (sconklin) → sarthor (sarthor)
Steve Conklin (sconklin)
Changed in linux (Ubuntu):
assignee: Steve Conklin (sconklin) → Ubuntu Kernel Team (ubuntu-kernel-team)
Changed in xserver-xorg-video-intel:
importance: High → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → High
Changed in gentoo:
importance: Unknown → Medium
Curtis Hovey (sinzui)
no longer affects: linux (Fedora)
To post a comment you must log in.