You are not logged in.

#1 2014-11-06 13:49:42

nils_z
Member
Registered: 2014-11-06
Posts: 4

[SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

Hi,

my X server doesn't start anymore after updating to kernel 3.17.
Error: (EE) No devices detected.

If I downgrade the kernel back to 3.16 with

pacman -U /var/cache/pacman/pkg/linux-3.16.4-1-x86_64.pkg.tar.xz

everything works fine. When upgrading to linux-3.17 again, I can't start X anymore. All other packages are up to date.
I use a Lenovo T440s with Intel HD 4400 graphics, xf86-video-intel is installed.

I looked at the logs and googled a lot but couldn't find a solution so I hope anyone else can help me.


I start X via startx. Some logs and files which could be useful for resolving the problem:

~/.xinitrc:

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

numlockx &
setxkbmap -option terminate:ctrl_alt_bksp de

exec dbus-launch --exit-with-session i3

lspci:

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 83)

/var/log/Xorg.0.log:

[    46.530] 
X.Org X Server 1.16.1
Release Date: 2014-09-21
[    46.530] X Protocol Version 11, Revision 0
[    46.530] Build Operating System: Linux 3.16.1-1-ARCH x86_64 
[    46.530] Current Operating System: Linux n440 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64
[    46.530] Kernel command line: initrd=\initramfs-linux.img cryptdevice=UUID=1c42811b-3271-47b3-b2bd-e9795e4ebd79:lin:allow-discards crypto=sha512:aes-xts-plain64:512:0: root=/dev/mapper/lin rw quiet
[    46.530] Build Date: 21 September 2014  10:53:13AM
[    46.530]  
[    46.530] Current version of pixman: 0.32.6
[    46.530] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    46.530] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    46.530] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov  6 14:24:05 2014
[    46.531] (==) Using config file: "/etc/X11/xorg.conf"
[    46.532] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    46.534] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    46.534] (==) ServerLayout "X.org Configured"
[    46.534] (**) |-->Screen "Screen0" (0)
[    46.534] (**) |   |-->Monitor "Monitor0"
[    46.534] (**) |   |-->Device "Card0"
[    46.534] (**) |-->Input Device "Mouse0"
[    46.534] (**) |-->Input Device "Keyboard0"
[    46.534] (==) Automatically adding devices
[    46.534] (==) Automatically enabling devices
[    46.534] (==) Automatically adding GPU devices
[    46.534] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    46.534] 	Entry deleted from font path.
[    46.534] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    46.534] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    46.534] 	Entry deleted from font path.
[    46.534] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    46.534] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    46.534] 	Entry deleted from font path.
[    46.534] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    46.534] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    46.534] 	Entry deleted from font path.
[    46.534] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    46.534] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[    46.534] (**) ModulePath set to "/usr/lib/xorg/modules"
[    46.534] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    46.534] (WW) Disabling Mouse0
[    46.534] (WW) Disabling Keyboard0
[    46.534] (II) Loader magic: 0x818d80
[    46.534] (II) Module ABI versions:
[    46.534] 	X.Org ANSI C Emulation: 0.4
[    46.534] 	X.Org Video Driver: 18.0
[    46.534] 	X.Org XInput driver : 21.0
[    46.534] 	X.Org Server Extension : 8.0
[    46.536] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    46.757] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:220c rev 11, Mem @ 0xe0000000/4194304, 0xc0000000/536870912, I/O @ 0x00003000/64
[    46.757] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    46.757] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    46.757] (II) LoadModule: "glx"
[    46.757] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    46.758] (II) Module glx: vendor="X.Org Foundation"
[    46.758] 	compiled for 1.16.1, module version = 1.0.0
[    46.758] 	ABI class: X.Org Server Extension, version 8.0
[    46.758] (==) AIGLX enabled
[    46.758] (II) LoadModule: "intel"
[    46.758] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    46.758] (II) Module intel: vendor="X.Org Foundation"
[    46.758] 	compiled for 1.16.1, module version = 2.99.916
[    46.758] 	Module class: X.Org Video Driver
[    46.758] 	ABI class: X.Org Video Driver, version 18.0
[    46.758] (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
[    46.759] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    46.759] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    46.759] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    46.759] (++) using VT number 1

[    46.759] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    48.774] intel: waited 2020 ms for i915.ko driver to load
[    48.776] (EE) No devices detected.
[    48.776] (EE) 
Fatal server error:
[    48.776] (EE) no screens found(EE) 
[    48.776] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    48.776] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    48.776] (EE) 

Last edited by nils_z (2014-11-08 12:22:23)

Offline

#2 2014-11-06 18:42:30

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

Re: [SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

Do you have an /etc/X11/xorg.conf or any other config files? If so, what's in them? Have you tried without xorg.conf to see what happens?


Matt

"It is very difficult to educate the educated."

Offline

#3 2014-11-07 09:55:11

nils_z
Member
Registered: 2014-11-06
Posts: 4

Re: [SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

I don't have a /etc/X11/xorg.conf. I created an empty one with Xorg :0 -configure, but this didn't change anything, so I removed it again. In /etc/X11/xorg.conf.d/ I only had a file for my trackpoint, but removing it didn't have any effect on the problem, too. There was a message that X is also reading config files from /usr/share/X11/xorg.conf.d/, but temporarily removing this folder also didn't help.

After the X server closes with errors, xinit says:

xinit: giving up
xinit: unable to connect to X server: Connection refused

Is there any command to check if the GPU is blocked by something?

Offline

#4 2014-11-07 22:03:23

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

Could this be related to the intel microcode updates? In 3.17-2 intel's processor microcode isn't updated automatically anymore and you have to modify some bootloader config.

Have you done this?
https://wiki.archlinux.org/index.php/Mi … de_Updates

Offline

#5 2014-11-08 12:21:48

nils_z
Member
Registered: 2014-11-06
Posts: 4

Re: [SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

Thank you for the hint. I have read about the changes to the microcode update system and hadn't applied them yet because according to the check on the wiki page there is no microcode update available for my cpu.
I could solve my problem now, it was not related to the microcode update, but this led me to the real cause.

I have a setup with full disk encryption with cryptsetup, so I have a separate boot partition containing the initramfs image. When updating the kernel, my system placed the new initramfs image in the folder /boot, not in the boot partition where it belongs. The microcode file was also placed wrong, this led me to the problem when I was looking for it. So I had installed the new 3.17 kernel and was booting with the old 3.16 initramfs image, this screwed my system up.

Moving the new files initramfs-linux-fallback.img, initramfs-linux.img, intel-ucode.img and vmlinuz-linux from the /boot folder to the boot partition solved it.
Seems like I configured something wrong when installing arch. The installation and cryptsetup manuals were a little bit confusing concerning this boot partition, I think my boot partition should be mounted to /boot and the current content of this folder is not needed (renaming the files had no effect). I'll see how I can fix that.

Thank you very much for your help!

Offline

#6 2014-11-08 20:34:03

nils_z
Member
Registered: 2014-11-06
Posts: 4

Re: [SOLVED] "No screens found" since kernel 3.17, Intel HD 4400

In case anyone has the same problem, this is what I did to correct my wrong boot partition/folder layout as described in my last post:

Only do this if you are really sure that you have the same incorrect /boot folder and boot partition layout I had. Doing this on a correctly configured system will make it unbootable!

  1. Backup everything in folder /boot

  2. Delete everything in folder /boot (I only had an empty EFI folder, vmlinuz-linux and the files created by mkinitcpio there)

  3. Make sure that system boots normal. If not, restore backup. Don't perform the next step!

  4. Add boot partition to fstab, so that it is mounted to /boot

My fstab entry:

UUID=XXXX-XXXX	/boot	vfat	defaults	0	2

Determine UUID of boot partition with

lsblk -o name,uuid,mountpoint

Now mkinitcpio creates its files in the right place, so future kernel or microcode updates should work without problems.

Offline

Board footer

Powered by FluxBB