Intel graphics driver fails to load, falls back to vesa.

Asked by Richard Blocker

I'm using Ubuntu Oneiric (11.10) on a Dell Latitude E6410 with Intel Integrated Graphics. I am using the latest generic kernel image (3.0.0-15.26) and all the latest updates.

I cannot launch Xorg using the intel driver. When I force it in xorg.conf, X fails to launch with a fatal error, saying no devices are found. VESA works, but it does not support the resolution I need on an external monitor. If I don't use an xorg.conf, X falls back to vesa. I also have the problem of a blank screen on boot unless I pass the "nomodeset" arg to the kernel. That may be the cause of the intel driver failing, but without it I get no video at all. I thought the 3.0.0-15.25 kernel fixed the KMS problems with Intel graphics, but I seem to still have it.

Here is the lspci output for graphics:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 040a
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 70b0 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel modules: i915

Here is the xorg.conf that fails:

Section "ServerLayout"
        Identifier "X.org Configured"
        Screen 0 "Screen0" 0 0
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath "/usr/lib/xorg/modules"
        FontPath "/usr/share/fonts/X11/misc"
        FontPath "/usr/share/fonts/X11/cyrillic"
        FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath "/usr/share/fonts/X11/Type1"
        FontPath "/usr/share/fonts/X11/100dpi"
        FontPath "/usr/share/fonts/X11/75dpi"
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath "built-ins"
EndSection

Section "Module"
        Load "glx"
        Load "dbe"
        Load "extmod"
        Load "dri"
        Load "dri2"
        Load "record"
EndSection

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "kbd"
EndSection

Section "InputDevice"
        Identifier "Mouse0"
        Driver "mouse"
        Option "Protocol" "auto"
        Option "Device" "/dev/input/mice"
        Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
EndSection

Section "Device"
        Identifier "Card0"
        Driver "intel"
        BusID "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        SubSection "Display"
                Viewport 0 0
                Depth 1
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 4
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 8
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 15
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 16
        EndSubSection
        SubSection "Display"
                Viewport 0 0
                Depth 24
        EndSubSection
EndSection

 All I do to make this xorg.conf work is change "intel" to "vesa" (or just remove xorg.conf altogether.

I am at my wit's end and any help would be most appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-intel Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Best Sam_ (and-sam) said :
#1

Workaround in the meantime is booting the previous kernel.
https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+question/185398

Revision history for this message
Richard Blocker (rrblocker) said :
#2

I chose 3.0.0-14 and get the ame results. Here is the Xorg.0.log:

[ 75.766]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[ 75.768] X Protocol Version 11, Revision 0
[ 75.768] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[ 75.768] Current Operating System: Linux ccsr-macbook-1 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64
[ 75.769] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=858e7712-46ff-4b3d-8a10-6dbee1377d32 ro vga=773 nosplash i915.modeset=0 acpi=force text
[ 75.770] Build Date: 19 October 2011 05:21:26AM
[ 75.770] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support)
[ 75.771] Current version of pixman: 0.22.2
[ 75.771] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[ 75.772] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 75.774] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 25 15:03:53 2012
[ 75.775] (==) Using config file: "/etc/X11/xorg.conf"
[ 75.775] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 75.776] (==) ServerLayout "X.org Configured"
[ 75.776] (**) |-->Screen "Screen0" (0)
[ 75.776] (**) | |-->Monitor "Monitor0"
[ 75.776] (**) | |-->Device "Card0"
[ 75.776] (**) |-->Input Device "Mouse0"
[ 75.776] (**) |-->Input Device "Keyboard0"
[ 75.776] (==) Automatically adding devices
[ 75.776] (==) Automatically enabling devices
[ 75.776] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 75.776] Entry deleted from font path.
[ 75.776] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 75.776] Entry deleted from font path.
[ 75.776] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 75.776] Entry deleted from font path.
[ 75.776] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 75.776] Entry deleted from font path.
[ 75.776] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 75.776] Entry deleted from font path.
[ 75.777] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 75.777] Entry deleted from font path.
[ 75.777] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 75.777] Entry deleted from font path.
[ 75.777] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 75.777] Entry deleted from font path.
[ 75.777] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 75.777] Entry deleted from font path.
[ 75.777] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 75.777] Entry deleted from font path.
[ 75.777] (**) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/Type1,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins,
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/Type1,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins
[ 75.777] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 75.777] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 75.777] (WW) Disabling Mouse0
[ 75.777] (WW) Disabling Keyboard0
[ 75.777] (II) Loader magic: 0x7e0220
[ 75.777] (II) Module ABI versions:
[ 75.777] X.Org ANSI C Emulation: 0.4
[ 75.777] X.Org Video Driver: 10.0
[ 75.777] X.Org XInput driver : 12.3
[ 75.777] X.Org Server Extension : 5.0
[ 75.777] (--) PCI:*(0:0:2:0) 8086:0046:1028:040a rev 2, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x000070b0/8
[ 75.777] (II) Open ACPI successful (/var/run/acpid.socket)
[ 75.777] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 75.777] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 75.777] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 75.777] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 75.777] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 75.777] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 75.778] (II) LoadModule: "glx"
[ 75.778] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 75.778] (II) Module glx: vendor="X.Org Foundation"
[ 75.778] compiled for 1.10.4, module version = 1.0.0
[ 75.778] ABI class: X.Org Server Extension, version 5.0
[ 75.778] (==) AIGLX enabled
[ 75.778] (II) Loading extension GLX
[ 75.778] (II) LoadModule: "dbe"
[ 75.778] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 75.778] (II) Module dbe: vendor="X.Org Foundation"
[ 75.778] compiled for 1.10.4, module version = 1.0.0
[ 75.778] Module class: X.Org Server Extension
[ 75.778] ABI class: X.Org Server Extension, version 5.0
[ 75.778] (II) Loading extension DOUBLE-BUFFER
[ 75.778] (II) LoadModule: "extmod"
[ 75.778] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 75.778] (II) Module extmod: vendor="X.Org Foundation"
[ 75.778] compiled for 1.10.4, module version = 1.0.0
[ 75.778] Module class: X.Org Server Extension
[ 75.778] ABI class: X.Org Server Extension, version 5.0
[ 75.778] (II) Loading extension MIT-SCREEN-SAVER
[ 75.778] (II) Loading extension XFree86-VidModeExtension
[ 75.778] (II) Loading extension XFree86-DGA
[ 75.778] (II) Loading extension DPMS
[ 75.778] (II) Loading extension XVideo
[ 75.778] (II) Loading extension XVideo-MotionCompensation
[ 75.778] (II) Loading extension X-Resource
[ 75.778] (II) LoadModule: "dri"
[ 75.778] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 75.778] (II) Module dri: vendor="X.Org Foundation"
[ 75.778] compiled for 1.10.4, module version = 1.0.0
[ 75.778] ABI class: X.Org Server Extension, version 5.0
[ 75.778] (II) Loading extension XFree86-DRI
[ 75.778] (II) LoadModule: "dri2"
[ 75.778] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 75.778] (II) Module dri2: vendor="X.Org Foundation"
[ 75.778] compiled for 1.10.4, module version = 1.2.0
[ 75.778] ABI class: X.Org Server Extension, version 5.0
[ 75.778] (II) Loading extension DRI2
[ 75.778] (II) LoadModule: "record"
[ 75.779] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 75.779] (II) Module record: vendor="X.Org Foundation"
[ 75.779] compiled for 1.10.4, module version = 1.13.0
[ 75.779] Module class: X.Org Server Extension
[ 75.779] ABI class: X.Org Server Extension, version 5.0
[ 75.779] (II) Loading extension RECORD
[ 75.779] (II) LoadModule: "intel"
[ 75.798] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 75.799] (II) Module intel: vendor="X.Org Foundation"
[ 75.799] compiled for 1.10.4, module version = 2.15.901
[ 75.799] Module class: X.Org Video Driver
[ 75.799] ABI class: X.Org Video Driver, version 10.0
[ 75.799] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
 i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
 E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
 Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
 Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
 Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
 Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
 Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 75.799] (--) using VT number 7

[ 75.801] (EE) No devices detected.
[ 75.801]
Fatal server error:
[ 75.801] no screens found
[ 75.801]
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 75.801] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 75.801]

Revision history for this message
Richard Blocker (rrblocker) said :
#3

My mistake. I neglected to remove the i915.modeset=0 from the kernel args when I tried this the first time. Once I did that, the Intel driver loads and Xorg starts. Thanks for your help Sam_.

Revision history for this message
Richard Blocker (rrblocker) said :
#4

Thanks Sam_, that solved my question.