You are not logged in.

#1 2015-05-20 20:31:07

reprotux
Member
Registered: 2015-05-20
Posts: 2

Xorg crashes after upgrading kernel - Intel GPU - thinkpad x240

I am on a thinkpad x240

Last time I tried to upgrade my kernel, Xorg couldn't start properly. So I rolled back to the previous version since I did not have time to deal with it at the time.
So today, about 1 year later I figured I wanted to try upgrading the kernel again, to see if the issues solved themselves. They did not.

The kernel that works for me is: 3.15.7-1-ARCH


After upgrading to  4.0.4-1-1-ARCH I tried:
Adding i915.modeset=1 to kernel params
Adding intel_agp and i915 to MODULES in /etc/mkinitcpio.conf followed by a rebuild: # mkinitcpio -p linux

None of those these changes helped.

Here is my Xorg log:

[    41.929] 
X.Org X Server 1.17.1
Release Date: 2015-02-10
[    41.930] X Protocol Version 11, Revision 0
[    41.930] Build Operating System: Linux 4.0.4-1-1-ARCH x86_64 
[    41.931] Current Operating System: Linux Merlin 4.0.4-1-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
[    41.931] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e08f7aed-d496-4c26-a6e8-e81e4da58e47 rw init=/usr/lib/systemd/systemd acpi_backlight=vendor quiet ipv6.disable=1 elevator=bfq
[    41.933] Build Date: 14 April 2015  10:34:18AM
[    41.933]  
[    41.933] Current version of pixman: 0.32.6
[    41.934] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    41.934] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    41.937] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 20 20:59:55 2015
[    41.939] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    41.939] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    41.940] (==) No Layout section.  Using the first Screen section.
[    41.940] (==) No screen section available. Using defaults.
[    41.940] (**) |-->Screen "Default Screen Section" (0)
[    41.940] (**) |   |-->Monitor "<default monitor>"
[    41.941] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    41.941] (==) Automatically adding devices
[    41.941] (==) Automatically enabling devices
[    41.941] (==) Automatically adding GPU devices
[    41.943] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[    41.943] 	Entry deleted from font path.
[    41.943] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[    41.944] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    41.944] 	Entry deleted from font path.
[    41.944] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    41.944] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    41.944] 	Entry deleted from font path.
[    41.944] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    41.944] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[    41.944] (==) ModulePath set to "/usr/lib/xorg/modules"
[    41.944] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    41.944] (II) Loader magic: 0x815d80
[    41.944] (II) Module ABI versions:
[    41.944] 	X.Org ANSI C Emulation: 0.4
[    41.944] 	X.Org Video Driver: 19.0
[    41.944] 	X.Org XInput driver : 21.0
[    41.944] 	X.Org Server Extension : 9.0
[    41.945] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    41.946] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:2214 rev 11, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64
[    41.946] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    41.947] (II) LoadModule: "glx"
[    41.947] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    41.955] (II) Module glx: vendor="X.Org Foundation"
[    41.955] 	compiled for 1.17.1, module version = 1.0.0
[    41.955] 	ABI class: X.Org Server Extension, version 9.0
[    41.955] (==) AIGLX enabled
[    41.955] (==) Matched intel as autoconfigured driver 0
[    41.955] (==) Matched modesetting as autoconfigured driver 1
[    41.955] (==) Matched fbdev as autoconfigured driver 2
[    41.955] (==) Matched vesa as autoconfigured driver 3
[    41.955] (==) Assigned the driver to the xf86ConfigLayout
[    41.955] (II) LoadModule: "intel"
[    41.956] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    41.958] (II) Module intel: vendor="X.Org Foundation"
[    41.958] 	compiled for 1.17.1, module version = 2.99.917
[    41.958] 	Module class: X.Org Video Driver
[    41.958] 	ABI class: X.Org Video Driver, version 19.0
[    41.958] (II) LoadModule: "modesetting"
[    41.958] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    41.959] (II) Module modesetting: vendor="X.Org Foundation"
[    41.959] 	compiled for 1.17.1, module version = 1.17.1
[    41.959] 	Module class: X.Org Video Driver
[    41.959] 	ABI class: X.Org Video Driver, version 19.0
[    41.959] (II) LoadModule: "fbdev"
[    41.959] (WW) Warning, couldn't open module fbdev
[    41.959] (II) UnloadModule: "fbdev"
[    41.959] (II) Unloading fbdev
[    41.959] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    41.959] (II) LoadModule: "vesa"
[    41.959] (WW) Warning, couldn't open module vesa
[    41.959] (II) UnloadModule: "vesa"
[    41.959] (II) Unloading vesa
[    41.959] (EE) Failed to load module "vesa" (module does not exist, 0)
[    41.959] (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
[    41.959] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    41.959] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    41.959] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    41.959] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    41.959] (++) using VT number 1

[    41.959] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    43.974] intel: waited 2020 ms for i915.ko driver to load
[    43.976] (EE) open /dev/dri/card0: No such file or directory
[    43.976] (WW) Falling back to old probe method for modesetting
[    43.976] (EE) open /dev/dri/card0: No such file or directory
[    43.976] (EE) Screen 0 deleted because of no matching config section.
[    43.976] (II) UnloadModule: "modesetting"
[    43.976] (EE) Device(s) detected, but none match those in the config file.
[    43.976] (EE) 
Fatal server error:
[    43.976] (EE) no screens found(EE) 
[    43.976] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    43.976] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    43.976] (EE) 
[    44.039] (EE) Server terminated with error (1). Closing log file.

I suspect I need to install fbdev and vesa modules somehow:

[    41.959] (II) LoadModule: "fbdev"
[    41.959] (WW) Warning, couldn't open module fbdev
[    41.959] (II) UnloadModule: "fbdev"
[    41.959] (II) Unloading fbdev
[    41.959] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    41.959] (II) LoadModule: "vesa"
[    41.959] (WW) Warning, couldn't open module vesa
[    41.959] (II) UnloadModule: "vesa"
[    41.959] (II) Unloading vesa
[    41.959] (EE) Failed to load module "vesa" (module does not exist, 0)

How can I install the fbdev and vesa modules?
Is it xf86-video-fbdev and xf86-video-vesa ?

These are my installed xorg packages:

x86_energy_perf_policy 4.0-3
xf86-input-evdev 2.9.2-1
xf86-input-synaptics 1.8.2-2
xf86-video-intel 2.99.917-5
xf86dgaproto 2.1-3
xf86vidmodeproto 2.3.1-3

xorg-bdftopcf 1.0.5-1
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-3
xorg-mkfontdir 1.0.7-2
xorg-mkfontscale 1.1.2-1
xorg-server 1.17.1-5
xorg-server-common 1.17.1-5
xorg-setxkbmap 1.3.1-1
xorg-xauth 1.0.9-1
xorg-xinit 1.3.4-2
xorg-xkbcomp 1.3.0-1
xorg-xmodmap 1.0.9-1
xorg-xrandr 1.4.3-1
xorg-xrdb 1.1.0-1
xorg-xset 1.2.3-1

According to what I read on the Xorg wiki, vesa is the fallback driver for many GPU. Does this mean that Xorg doesn't recognize my intel driver?

Offline

#2 2015-05-20 22:44:59

jsoy9pQbYVNu5nfU
Member
Registered: 2013-04-19
Posts: 108

Re: Xorg crashes after upgrading kernel - Intel GPU - thinkpad x240

I am also using a X240 (i5-4210u) with Intel HD4400 and have had no graphics problems whatsoever, having used 3.17 through 4.0.4. I have no xorg.conf, and haven't added any parameters to the kernel command line. I am not sure how to approach this, but the line missing from your log should be something like this:

[    31.819] (II) xfree86: Adding drm device (/dev/dri/card0) <---- this one
[    31.820] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:2214 rev 11, Mem @ 0xe0000000/4194304, 0xc0000000/536870912, I/O @ 0x00003000/64

My installed xorg-related packages:

$ pacman -Q | egrep '^(xf86)|(xorg)'
xf86-input-evdev 2.9.2-1
xf86-input-mouse 1.9.1-1
xf86-input-synaptics 1.8.2-2
xf86-video-intel 2.99.917-5
xf86dgaproto 2.1-3
xf86vidmodeproto 2.3.1-3
xorg-appres 1.0.4-1
xorg-bdftopcf 1.0.5-1
xorg-font-util 1.3.1-1
xorg-font-utils 7.6-4
xorg-fonts-alias 1.0.3-1
xorg-fonts-encodings 1.0.4-4
xorg-fonts-misc 1.0.3-3
xorg-iceauth 1.0.7-1
xorg-mkfontdir 1.0.7-2
xorg-mkfontscale 1.1.2-1
xorg-server 1.17.1-5
xorg-server-common 1.17.1-5
xorg-server-utils 7.6-4
xorg-server-xephyr 1.17.1-5
xorg-sessreg 1.1.0-1
xorg-setxkbmap 1.3.1-1
xorg-xauth 1.0.9-1
xorg-xbacklight 1.2.1-1
xorg-xcmsdb 1.0.5-1
xorg-xdm 1.1.11-5
xorg-xdpyinfo 1.3.2-1
xorg-xev 1.2.2-1
xorg-xfontsel 1.0.5-1
xorg-xgamma 1.0.6-1
xorg-xhost 1.0.7-1
xorg-xinput 1.6.1-1
xorg-xkbcomp 1.3.0-1
xorg-xkill 1.0.4-1
xorg-xmessage 1.0.4-2
xorg-xmodmap 1.0.9-1
xorg-xprop 1.2.2-1
xorg-xrandr 1.4.3-1
xorg-xrdb 1.1.0-1
xorg-xrefresh 1.0.5-1
xorg-xset 1.2.3-1
xorg-xsetroot 1.1.1-2

Are you sure you have no missing dependencies?

Offline

#3 2015-05-21 12:54:03

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Xorg crashes after upgrading kernel - Intel GPU - thinkpad x240


Matt

"It is very difficult to educate the educated."

Offline

#4 2015-05-23 15:26:49

reprotux
Member
Registered: 2015-05-20
Posts: 2

Re: Xorg crashes after upgrading kernel - Intel GPU - thinkpad x240

Thanks for the suggestions!

I tried updating my microcode, but that didn't help. Still got the same errors...
However I am unsure if the microcode updates got installed, as 

$ dmesg | grep microcode

did not yield any results.
But I checked that my grub cfg had the initrd line it should have.

from grub.cfg

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e08f7aed-d496-4c26-a6e8-e81e4da58e47' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos 
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  e08f7aed-d496-4c26-a6e8-e81e4da58e47
	else
	  search --no-floppy --fs-uuid --set=root e08f7aed-d496-4c26-a6e8-e81e4da58e47
	fi
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=UUID=e08f7aed-d496-4c26-a6e8-e81e4da58e47 rw init=/usr/lib/systemd/systemd acpi_backlight=vendor quiet ipv6.disable=1 elevator=bfq
	echo	'Loading initial ramdisk ...'
	initrd	/boot/intel-ucode.img /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-e08f7aed-d496-4c26-a6e8-e81e4da58e47' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e08f7aed-d496-4c26-a6e8-e81e4da58e47' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos 
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  e08f7aed-d496-4c26-a6e8-e81e4da58e47
		else
		  search --no-floppy --fs-uuid --set=root e08f7aed-d496-4c26-a6e8-e81e4da58e47
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=e08f7aed-d496-4c26-a6e8-e81e4da58e47 rw init=/usr/lib/systemd/systemd acpi_backlight=vendor quiet ipv6.disable=1 elevator=bfq
		echo	'Loading initial ramdisk ...'
		initrd	/boot/intel-ucode.img /boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-e08f7aed-d496-4c26-a6e8-e81e4da58e47' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos 
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  e08f7aed-d496-4c26-a6e8-e81e4da58e47
		else
		  search --no-floppy --fs-uuid --set=root e08f7aed-d496-4c26-a6e8-e81e4da58e47
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=e08f7aed-d496-4c26-a6e8-e81e4da58e47 rw init=/usr/lib/systemd/systemd acpi_backlight=vendor quiet ipv6.disable=1 elevator=bfq
		echo	'Loading initial ramdisk ...'
		initrd	/boot/intel-ucode.img /boot/initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

2ion:
here are the packages we do not have in common

xf86-input-mouse 1.9.1-1
xorg-appres 1.0.4-1
xorg-iceauth 1.0.7-1
xorg-server-utils 7.6-4
xorg-server-xephyr 1.17.1-5
xorg-sessreg 1.1.0-1
xorg-xinit 1.3.4-2
xorg-xbacklight 1.2.1-1
xorg-xcmsdb 1.0.5-1
xorg-xdm 1.1.11-5
xorg-xdpyinfo 1.3.2-1
xorg-xev 1.2.2-1
xorg-xfontsel 1.0.5-1
xorg-xgamma 1.0.6-1
xorg-xhost 1.0.7-1
xorg-xinput 1.6.1-1
xorg-xkill 1.0.4-1
xorg-xmessage 1.0.4-2
xorg-xprop 1.2.2-1
xorg-xrefresh 1.0.5-1
xorg-xsetroot 1.1.1-2

There does not seem to be anything I really need from these packages?
Is there a reason you do not have xinit installed?
Is it because you use xdm? I only use text based login. Maybe that is my problem?

Another problem might be that my x240 is i7 instead of i5?

Offline

Board footer

Powered by FluxBB