[i945GM] No screen(s) found after updgrade to karmic alpha 5

Bug #429369 reported by sniveri
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: xorg

Upgraded from Ubuntu Jaunty to Karmic on my HTC Shift laptop using Update manager. Everything went OK, but X does not start anymore and it is complaining :"No screen(s) found". I have been using Ubuntu on this device from hardy to jaunty without any problems. Here is log about the problem:

X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux Shift 2.6.31-10-generic #32-Ubuntu SMP Thu Sep 10 23:33:50 UTC 2009 i686
Kernel command line: root=UUID=a763ffa9-c34c-41ce-8fe7-7255b9d5e65b ro single
Build Date: 08 September 2009 11:15:47PM
xorg-server 2:1.6.3-1ubuntu6 (<email address hidden>)
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 14 14:08:40 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
 Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
 If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(II) Loader magic: 0x1fbc0
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.4
 X.Org Video Driver: 5.0
 X.Org XInput driver : 4.0
 X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 2

(--) PCI:*(0:0:2:0) 8086:27a2:5567:1001 Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xfeb80000/524288, 0xd0000000/268435456, 0xfeb40000/262144, I/O @ 0x0000ec00/8
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.0.0
 ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.13.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.0.0
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 1.1.0
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched intel for the autoconfigured driver
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
 compiled for 1.6.3, module version = 2.8.1
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 5.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
 i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
 E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
 Mobile Intel® GM45 Express Chipset,
 Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41, IGDNG_D,
 IGDNG_M
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after xf86ClaimFixedResources() call:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
 [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
 [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
 [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
 [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
 [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) intel(0): Creating default Display subsection in Screen section
 "Default Screen Section" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 945GM
(--) intel(0): Chipset: "945GM"
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): Output TV1 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output TV1
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output TV1 disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output TV1 disconnected
(WW) intel(0): Unable to find initial modes
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(EE) intel(0): No modes.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 ddxSigGiveUp: Closing log

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
     Subsystem: Device [5567:1001]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
     Subsystem: Device [5567:1001]

Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :

get-edid and ddcprobe fails to tell anything. I added vesa to xorg.conf and just added something to horizsync and vertrefresh, finally got it boot to gnome.

After upgrade xorg.conf was completely empty? I copied old one that was working with jaunty but that did not help. X -configure created nice long config file, but is was not usable either. Only thing that helped was to change xorg to use vesa.

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Alex Harrington (alexharrington) wrote :

I think I may have a similar issue. Same hardware works fine on Ubuntu 9.04 but booting Karmic Alpha 5 from a USB stick gives the attached Xorg log.

Monitor is an AG Neovo F-419 LCD panel.
Graphics is an integrated G33 on an Intel DG31PR mainboard.

Revision history for this message
Alex Harrington (alexharrington) wrote :

Just tried with a different monitor (Belinea 17" LCD Panel) and it worked fine first time. I guess it's something funky with the other LCD...

Geir Ove Myhr (gomyhr)
summary: - No screen(s) found after updgrade to karmic alpha 5
+ [i945GM] No screen(s) found after updgrade to karmic alpha 5
tags: added: 945gm karmic no-screens regression-potential
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

sniver, could you check if it works if you use UMS instead of KMS. You do this by pressing Esc on boot to get the boot menu, then 'e' to edit the command line and then add i915.modeset=0 on the command line (after the last option which I think is splash). If it doesn't work with UMS, then could you try with Jaunty (a LiveCD if you want), add
Option "ModeDebug" "true"
to the "Device" section of xorg.conf and upload the resulting Xorg.0.log here?

It is also normal that there is no xorg.conf in Karmic. Xorg uses a default xorg.conf if none exists, and it is listed in Xorg.0.log.

Alex, bugs like this one is often caused by the monitor being slightly wrong about something. We only treat one case per bug report, since what is wrong is different from monitor to monitor. You may report your AG Neovo F-419 case as another bug.

Revision history for this message
sniveri (samu-niveri) wrote :

When I added i915.modeset=0 it returns in boot "Unknown option i915.modeset=0" but still it boots and now with intel graphics! How do I fix it to allways include that option in boot options?

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

On a Karmic installation, you can add the option to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub (after quiet and splash). If your system is upgraded from Jaunty, it still uses an older Grub version and you need to edit /boot/grub/menu.lst.

Note that this is a workaround and not a fix, and that the UMS option is likely to be removed in the future (hopefully only when bugs like this have been fixed). It would be nice if you could add the ModeDebug option described above and attach the resulting Xorg.0.log here, since that will tell us how the monitor detection works with UMS. The problem seems to be that with KMS the driver thinks that no monitors are attached. It would be nice if you could also attach the output of dmesg for when you boot with KMS (i.e. without the i915.modeset=0 option).

Revision history for this message
sniveri (samu-niveri) wrote :

here is xorg.0.log when booted with i915.modeset=0.

Revision history for this message
sniveri (samu-niveri) wrote :

Last thing that is showing on screen when trying to boot with KMS is: [drm:intelfb_restore]*ERROR* Failed to restore crtc configration: -22. This text is blinking in endless loop and it can not be stopped?

Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Triaged
Geir Ove Myhr (gomyhr)
tags: added: edid
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

The UMS log shows that the driver is not able to get EDID information in that case either.
I think this is another example of KMS monitor detection not working very well when the monitor doesn't provide EDID information. See http://<email address hidden>/msg42679.html for a recent discussion on this.

Revision history for this message
sniveri (samu-niveri) wrote :

With the latest updates from xorg-edgers or somewhere else the device seems to detect the monitor in someway, as it is creating some graphics to screen. There is just yellow vertical lines blinking at the top of the screen if I try to boot without i915.modeset=0 option. I don`t know if this helps in anyway, but just noticed it few minutes ago.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

To make sure that this isn't some artifact of the upgrade process, could you verify that this is also a problem with a LiveCD?

It shouldn't make a difference if you are using xorg-edgers or not, since the monitor detection should happen in the kernel when KMS is used. Could you with an updated Karmic (i.e. 2.6.31-12 kernel) upload Xorg.0.log (again) and the output of `dmesg`, `lspci -vvnn`. I think you may use `apport-collect 429369` to upload these and more, even if Xorg isn't running (you need a launchpad-lib package, but the script will tell you).

Revision history for this message
sniveri (samu-niveri) wrote :

Hmm.. I just booted with second monitor connected to device and now it does not complain anything. But still the inbuilt touchscreen is black.

I will add logs for both ways booting. Is it okay to boot in recovery mode and then run startx to create the log? If I try to boot without i915.modeset=0 and without external monitor then the device just blinks those yellow or green lines at the top of screen and I can not make any console commands.

Here is first the logs with external monitor connected and without i915.modeset=0

Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :

Here is the logs when rebooted in recovery mode and tried to start x and without i915.modeset=0 option. What I noticed that when I have secondary monitor connected xorg.0.log says there is two vga connectors and when I try without the secondary monitor then there is vga and TV?? I don`t have TV-out in this device..

Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

> Hmm.. I just booted with second monitor connected to device and now it does not complain anything. But still the inbuilt touchscreen is black.

That is what I would expect. When the external monitor is not connected, the driver does not see any connected monitors and therefore exits (with No Screens). When there is an external monitor, it proceeds since it can find one, but it still does not see the internal monitor.

> If I try to boot without i915.modeset=0 and without external monitor then the device just blinks those yellow or green lines at the top of screen and I can not make any console commands.

You should still be able to ssh in from another computer (after installing openssh-server) and run the commands.

Revision history for this message
sniveri (samu-niveri) wrote :

Tried to connect from Windows Mobile side of Shift with pocket putty to Ubuntu side and it works when booted with i915.modeset=0 option but when without it, ssh-connection cannot be created as Ubuntu is in some kind of endless loop. Maybe it responses too slowly or something but nothing really happens..

Revision history for this message
sniveri (samu-niveri) wrote :

Ok, got it work with usb-ethernet adapter. Here is those logs..

Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :
Revision history for this message
sniveri (samu-niveri) wrote :

Karmic LiveCD tested -> endless loop saying "failed to restore crtc configuration -22". LiveCD was daily-live build from cdimages.ubuntu.com 20091014/

Revision history for this message
sniveri (samu-niveri) wrote :

Seems that i915.resolution=800x480 option works. I also tried to add:

insmod vbe
set gfxmode=800x480
terminal_output.gfxterm
set gfxpayload=keep

before linux command on grub but that did not help. I tought that it would pass correct resolution for booting kernel but I`m not really sure what I`m doing :D

Revision history for this message
sniveri (samu-niveri) wrote :

I changed few lines from /etc/default/grub to look like:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.resolution=gfxmode"

and:

GRUB_GFXMODE=800x480

Now grub is configured to use correct resolution and also it goes to booting options. But in this case is KMS used or UMS?

When typing vbeinfo, vbe_mode seems to be 640x480 by default but there is also 800x480 available. Does this mean anything?

Revision history for this message
sniveri (samu-niveri) wrote :

Now both i915.modeset=0 or i915.resolution=800x480 option does not work anymore. And if I have seen right the i915 mod has been removed and 915resolution have been added? sudo 915resolution -l command responses: "command not found"

Tried also todays daily cd-image and it does not work either, same problems as earlier.

Revision history for this message
manu (eallaud-gmail) wrote :

I found a work-around for this bug, you can see bug #467841, at the end there is a patch (sortof) that enables normal boot with KMS and intel driver and X startx normally with no problem after that.

Revision history for this message
sniveri (samu-niveri) wrote :

I did fresh install from usb-startup disk. After that i915.resolution=800x480 works on boot options. And it did not broke after updating.

I was just stupid that I did not know how to add boot options to LiveCD. I don`t know if this is correct way to do it but I just pressed F6 and esc to get boot-line visible and added there i915.resolution=800x480. Without it LiveCD won`t work, it just hangs on boot.

Revision history for this message
Zameer Manji (zmanji) wrote :

The only work around that has fixed this bug for me so far is adding i915.modeset=0 to my boot options. I don't have this bug in the lucid alpha which indicates it's been fixed in the kernel. Can it be backported to karmic?

Revision history for this message
sniveri (samu-niveri) wrote :

Hmm.. I must use i915.resolution=800x480 to start up lucid. Just yesterday I did fresh install from daily livecd.

tags: added: regression-release
removed: regression-potential
Bryce Harrington (bryce)
description: updated
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

sniveri,
     We are only backporting major security fixes to Karmic at this point, so I doubt this would meet the definition set forth in the SRU policy. I am glad you were able to verify that this is resolved in Lucid. I'll go ahead and mark this Fix Released.

Please feel free to adjust the bug status and provide an update if you feel this is in error.

Thanks!

-JFo

Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

closing the xorg task as invalid

JFo

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.