OpenSuSE 13.1 on Lenovo G510 (Intel Haswell HD4600) - X11 fall back to Vesa

Hello,

I have a Lenovo G510 notebook, with 4th generation Intel Haswell chipset, which contains a HD4600 on chip video card. I installed OpenSuSE 13.1 x64 on it.

My base problem is, I can’t connect an external monitor thru the VGA port, because the X recognizes only one output, screen0 but the VGA port doesn’t appears. The Lenovo G510 laptop has a TFT panel (1366x768 pixel) and two external video output, VGA and HDMI. The xrandr shows only one output (default) instead of three output (LVDS1 , VGA1 and HDMI1).

The output of ‘xrandr -q’ is:


~>xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
   1366x768       76.0* 

After checking the Xorg.0.log file, I think the problem is, the Xorg uses the ‘vesa’ driver instead of ‘intel’ driver.
I have tried to:

  • update xf86-video-intel to version 2.99.906 → don’t solve the problem
  • update xf86-video-intel to version 2.99.911 → don’t solve the problem
  • force to use the intel driver in the /etc/X11/xorg.conf.d/50-device.conf file → the X failed to start with ‘no screens found’ error message
  • update kernel to 3.11.10 → no changes
  • compile the latest 3.14.4 stable kernel → no changes

The output of ‘hwinfo --gfxcard’:


08: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.319]
  Unique ID: _Znp.V3O3xKKcBF1
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel VGA compatible controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0416 
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x3978 
  Revision: 0x06
  Memory Range: 0xb0000000-0xb03fffff (rw,non-prefetchable)
  Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x403f (rw)
  IRQ: 16 (no events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00000416sv000017AAsd00003978bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #8

I spent days to solve this problem, but no result. Can anybody help me?

Thanks,

Additional info, the Xorg.0.log file, with intel driver version 2.99.911 (fall back to vesa):



   150.043] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
   150.043] 
X.Org X Server 1.14.3.901 (1.14.4 RC 1)
Release Date: 2013-10-26
   150.043] X Protocol Version 11, Revision 0
   150.043] Build Operating System: openSUSE SUSE LINUX
   150.043] Current Operating System: Linux linux-polaci2.anteus.local 3.11.10-11-desktop #1 SMP PREEMPT Mon May 12 13:37:06 UTC 2014 (3d22b5f) x86_64
   150.043] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.10-11-desktop root=UUID=21755291-6adf-4133-ab2f-50e52b36d7c8 nomodeset splash=silent quiet showopts
   150.043] Build Date: 17 April 2014  05:37:34AM
   150.043]  
   150.043] Current version of pixman: 0.30.2
   150.043]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
   150.043] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   150.043] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 30 13:29:02 2014
   150.043] (==) Using config directory: "/etc/X11/xorg.conf.d"
   150.043] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
   150.043] (==) No Layout section.  Using the first Screen section.
   150.043] (==) No screen section available. Using defaults.
   150.043] (**) |-->Screen "Default Screen Section" (0)
   150.043] (**) |   |-->Monitor "<default monitor>"
   150.044] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
   150.044] (==) Automatically adding devices
   150.044] (==) Automatically enabling devices
   150.044] (==) Automatically adding GPU devices

   150.044] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
   150.044]     Entry deleted from font path.
   150.044] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
   150.044] (==) ModulePath set to "/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
   150.044] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
   150.044] (II) Loader magic: 0x803c20
   150.044] (II) Module ABI versions:
   150.044]     X.Org ANSI C Emulation: 0.4
   150.044]     X.Org Video Driver: 14.1
   150.044]     X.Org XInput driver : 19.1
   150.044]     X.Org Server Extension : 7.0
   150.044] (--) PCI:*(0:0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00004000/64
   150.045] Initializing built-in extension Generic Event Extension
   150.045] Initializing built-in extension SHAPE
   150.045] Initializing built-in extension MIT-SHM
   150.045] Initializing built-in extension XInputExtension
   150.045] Initializing built-in extension XTEST
   150.045] Initializing built-in extension BIG-REQUESTS
   150.045] Initializing built-in extension SYNC
   150.045] Initializing built-in extension XKEYBOARD
   150.045] Initializing built-in extension XC-MISC
   150.045] Initializing built-in extension SECURITY
   150.045] Initializing built-in extension XINERAMA
   150.045] Initializing built-in extension XFIXES
   150.045] Initializing built-in extension RENDER
   150.045] Initializing built-in extension RANDR
   150.045] Initializing built-in extension COMPOSITE
   150.045] Initializing built-in extension DAMAGE
   150.045] Initializing built-in extension MIT-SCREEN-SAVER
   150.045] Initializing built-in extension DOUBLE-BUFFER
   150.045] Initializing built-in extension RECORD
   150.045] Initializing built-in extension DPMS
   150.045] Initializing built-in extension X-Resource
   150.045] Initializing built-in extension XVideo
   150.045] Initializing built-in extension XVideo-MotionCompensation
   150.045] Initializing built-in extension XFree86-VidModeExtension
   150.045] Initializing built-in extension XFree86-DGA
   150.045] Initializing built-in extension XFree86-DRI
   150.045] Initializing built-in extension DRI2
   150.045] (II) "glx" will be loaded by default.
   150.045] (II) LoadModule: "dri2"
   150.045] (II) Module "dri2" already built-in
   150.045] (II) LoadModule: "glamoregl"
   150.045] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
   150.046] (II) Module glamoregl: vendor="X.Org Foundation"
   150.046]     compiled for 1.14.3.901, module version = 0.5.1
   150.046]     ABI class: X.Org ANSI C Emulation, version 0.4
   150.046] (II) LoadModule: "glx"
   150.046] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
   150.046] (II) Module glx: vendor="X.Org Foundation"
   150.046]     compiled for 1.14.3.901, module version = 1.0.0
   150.046]     ABI class: X.Org Server Extension, version 7.0
   150.046] (==) AIGLX enabled
   150.046] Loading extension GLX
   150.046] (==) Matched intel as autoconfigured driver 0
   150.046] (==) Matched modesetting as autoconfigured driver 1
   150.046] (==) Matched fbdev as autoconfigured driver 2
   150.046] (==) Matched vesa as autoconfigured driver 3
   150.046] (==) Assigned the driver to the xf86ConfigLayout
   150.046] (II) LoadModule: "intel"
   150.046] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
   150.046] (II) Module intel: vendor="X.Org Foundation"
   150.046]     compiled for 1.14.3.901, module version = 2.99.911
   150.046]     Module class: X.Org Video Driver
   150.046]     ABI class: X.Org Video Driver, version 14.1
   150.046] (II) LoadModule: "modesetting"
   150.046] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
   150.048] (II) Module modesetting: vendor="X.Org Foundation"
   150.048]     compiled for 1.14.3.901, module version = 0.8.0
   150.048]     Module class: X.Org Video Driver
   150.048]     ABI class: X.Org Video Driver, version 14.1
   150.048] (II) LoadModule: "fbdev"
   150.049] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
   150.049] (II) Module fbdev: vendor="X.Org Foundation"
   150.049]     compiled for 1.14.3, module version = 0.4.3
   150.049]     Module class: X.Org Video Driver
   150.049]     ABI class: X.Org Video Driver, version 14.1
   150.049] (II) LoadModule: "vesa"
   150.049] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
   150.049] (II) Module vesa: vendor="X.Org Foundation"
   150.049]     compiled for 1.14.3, module version = 2.3.3
   150.049]     Module class: X.Org Video Driver
   150.049]     ABI class: X.Org Video Driver, version 14.1
   150.049] (II) intel: Driver for Intel(R) 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
   150.049] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
   150.049] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
   150.049] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
   150.049] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
   150.050] (II) FBDEV: driver for framebuffer: fbdev
   150.050] (II) VESA: driver for VESA chipsets: vesa
   150.050] (++) using VT number 7

   150.051] (EE) open /dev/dri/card0: No such file or directory
   150.051] (WW) Falling back to old probe method for modesetting
   150.051] (EE) open /dev/dri/card0: No such file or directory
   150.051] (II) Loading sub module "fbdevhw"
   150.051] (II) LoadModule: "fbdevhw"
   150.051] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
   150.051] (II) Module fbdevhw: vendor="X.Org Foundation"
   150.051]     compiled for 1.14.3.901, module version = 0.0.2
   150.051]     ABI class: X.Org Video Driver, version 14.1
   150.051] (**) FBDEV(1): claimed PCI slot 0@0:2:0
   150.051] (II) FBDEV(1): using default device
   150.051] (WW) Falling back to old probe method for vesa
   150.051] (EE) Screen 0 deleted because of no matching config section.
   150.051] (II) UnloadModule: "modesetting"
   150.052] (II) FBDEV(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
   150.052] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
   150.052] (==) FBDEV(0): RGB weight 888
   150.052] (==) FBDEV(0): Default visual is TrueColor
   150.052] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
   150.052] (II) FBDEV(0): hardware: VESA VGA (video memory: 4160kB)
   150.052] (II) FBDEV(0): checking modes against framebuffer device...
   150.052] (II) FBDEV(0): checking modes against monitor...
   150.052] (--) FBDEV(0): Virtual size is 1366x768 (pitch 1366)
   150.052] (**) FBDEV(0):  Built-in mode "current": 104.9 MHz, 60.5 kHz, 76.4 Hz
   150.052] (II) FBDEV(0): Modeline "current"x0.0  104.92  1366 1398 1566 1734  768 772 776 792 -hsync -vsync -csync (60.5 kHz b)
   150.052] (==) FBDEV(0): DPI set to (96, 96)
   150.052] (II) Loading sub module "fb"
   150.052] (II) LoadModule: "fb"
   150.052] (II) Loading /usr/lib64/xorg/modules/libfb.so
   150.052] (II) Module fb: vendor="X.Org Foundation"
   150.052]     compiled for 1.14.3.901, module version = 1.0.0
   150.052]     ABI class: X.Org ANSI C Emulation, version 0.4
   150.052] (**) FBDEV(0): using shadow framebuffer
   150.052] (II) Loading sub module "shadow"
   150.052] (II) LoadModule: "shadow"
   150.052] (II) Loading /usr/lib64/xorg/modules/libshadow.so
   150.052] (II) Module shadow: vendor="X.Org Foundation"
   150.052]     compiled for 1.14.3.901, module version = 1.1.0
   150.052]     ABI class: X.Org ANSI C Emulation, version 0.4
   150.052] (II) UnloadModule: "vesa"
   150.052] (II) Unloading vesa
   150.052] (==) Depth 24 pixmap format is 32 bpp
   150.052] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
   150.053] (==) FBDEV(0): Backing store disabled
   150.053] (==) FBDEV(0): DPMS enabled
   150.053] (==) RandR enabled
   150.056] (II) AIGLX: Screen 0 is not DRI2 capable
   150.056] (II) AIGLX: Screen 0 is not DRI capable
   150.065] (II) AIGLX: Loaded and initialized swrast
   150.065] (II) GLX: Initialized DRISWRAST GL provider for screen 0
   150.094] (II) config/udev: Adding input device Power Button (/dev/input/event3)
   150.094] (**) Power Button: Applying InputClass "evdev keyboard catchall"
   150.094] (**) Power Button: Applying InputClass "evdev keyboard catchall"
   150.094] (**) Power Button: Applying InputClass "LocalKeyboard"
   150.094] (II) LoadModule: "evdev"
   150.095] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
   150.095] (II) Module evdev: vendor="X.Org Foundation"
   150.095]     compiled for 1.14.3, module version = 2.8.2
   150.095]     Module class: X.Org XInput Driver
   150.095]     ABI class: X.Org XInput driver, version 19.1
   150.095] (II) Using input driver 'evdev' for 'Power Button'
   150.095] (**) Power Button: always reports core events
   150.095] (**) evdev: Power Button: Device: "/dev/input/event3"
   150.095] (--) evdev: Power Button: Vendor 0 Product 0x1
   150.095] (--) evdev: Power Button: Found keys
   150.095] (II) evdev: Power Button: Configuring as keyboard
   150.095] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
   150.095] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
   150.095] (**) Option "xkb_rules" "evdev"
   150.095] (**) Option "xkb_model" "pc104"
   150.095] (**) Option "xkb_layout" "hu"
   150.106] (II) config/udev: Adding input device Power Button (/dev/input/event1)
   150.106] (**) Power Button: Applying InputClass "evdev keyboard catchall"
   150.106] (**) Power Button: Applying InputClass "evdev keyboard catchall"
   150.106] (**) Power Button: Applying InputClass "LocalKeyboard"
   150.106] (II) Using input driver 'evdev' for 'Power Button'
   150.106] (**) Power Button: always reports core events
   150.106] (**) evdev: Power Button: Device: "/dev/input/event1"
   150.106] (--) evdev: Power Button: Vendor 0 Product 0x1
   150.106] (--) evdev: Power Button: Found keys
   150.106] (II) evdev: Power Button: Configuring as keyboard
   150.106] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C0C:00/input/input1/event1"
   150.106] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
   150.106] (**) Option "xkb_rules" "evdev"
   150.106] (**) Option "xkb_model" "pc104"
   150.106] (**) Option "xkb_layout" "hu"

...

   150.158] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
   150.158] (II) No input driver specified, ignoring this device.
   150.158] (II) This device may have been added with another device file.
   150.160] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
   153.509] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
   240.060] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
   240.061] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
  1180.935] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by vesafb of Linux Kernel)
  1180.935] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found


You have a nomodeset in your boot commandline, remove that to start with.

Thank you! I will try it on next monday!

Also be sure that you have fully updated since 13.1 shipped with a flaky Intel driver the update will fix that

Thank You, removing the nomodeset solve the problem.