You are not logged in.

#1 2015-08-21 04:26:04

wmarler
Member
From: Denver, CO
Registered: 2015-04-18
Posts: 21

X fails to start after motherboard replace

Motherboard died (ASRock Z87 Pro3) died and I got a new one (ASrock Z97M Pro4). After getting Arch to boot again (had to re-do UEFI & GRUB), X won't start.

The Intel graphics drivers are loaded:

% sudo lsmod | grep i915
i915                 1044480  1
drm_kms_helper        106496  1 i915
video                  24576  1 i915
drm                   286720  3 i915,drm_kms_helper
intel_gtt              20480  1 i915
i2c_algo_bit           16384  1 i915
i2c_core               49152  11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_platform,regmap_i2c,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
button                 16384  1 i915

This is the end of the /var/log/Xorg.0.log file:

[  1912.222] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1912.222] (II) LoadModule: "vesa"
[  1912.222] (WW) Warning, couldn't open module vesa
[  1912.222] (II) UnloadModule: "vesa"
[  1912.222] (II) Unloading vesa
[  1912.222] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1912.222] (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
[  1912.222] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  1912.222] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  1912.222] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[  1912.222] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1912.222] (++) using VT number 1

[  1912.229] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150327
[  1912.229] (II) intel(G0): SNA compiled from 2.99.917-381-g5772556
[  1912.229] (WW) Falling back to old probe method for modesetting
[  1912.229] (EE) Screen 0 deleted because of no matching config section.
[  1912.229] (II) UnloadModule: "modesetting"
[  1912.229] (EE) Device(s) detected, but none match those in the config file.
[  1912.229] (EE) 
Fatal server error:
[  1912.229] (EE) no screens found(EE) 
[  1912.229] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1912.229] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1912.229] (EE) 
[  1912.241] (EE) Server terminated with error (1). Closing log file.

Here's the pastebin of the full log file

I have 2 monitors, one connected to DVI and the other connected to HDMI. I have no /etc/X11/xorg.conf, and everything worked before the motherboard swap. I have experimented with installing the packages xf86-video-vesa and xf86-video-fbdev, but X still failed to start. I got more messages about the modes being reported by the monitors, but then X would segfault. Again, the end of the Xorg.0.log file:

[    72.901] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[    72.901] (==) FBDEV(0): Backing store enabled
[    72.901] (==) FBDEV(0): DPMS enabled
[    72.901] (--) RandR disabled
[    72.906] (II) AIGLX: Screen 0 is not DRI2 capable
[    72.906] (EE) AIGLX: reverting to software rendering
[    72.921] (II) AIGLX: Loaded and initialized swrast
[    72.921] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    72.922] (EE) 
[    72.922] (EE) Backtrace:
[    72.923] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x596d09]
[    72.923] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7ff49667e67f]
[    72.923] (EE) 2: /usr/lib/xorg-server/Xorg (RRSetChanged+0x50) [0x4f5fb0]
[    72.923] (EE) 3: /usr/lib/xorg-server/Xorg (RRScreenSetSizeRange+0x54) [0x4fa4c4]
[    72.923] (EE) 4: /usr/lib/xorg-server/Xorg (xf86RandR12CreateScreenResources+0x2a5) [0x4bb375]
[    72.924] (EE) 5: /usr/lib/xorg-server/Xorg (InitExtensions+0x8d0) [0x4aeff0]
[    72.924] (EE) 6: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x284) [0x43cdb4]
[    72.924] (EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7ff49666b610]
[    72.924] (EE) 8: /usr/lib/xorg-server/Xorg (_start+0x29) [0x427319]
[    72.925] (EE) 9: ? (?+0x29) [0x29]
[    72.925] (EE) 
[    72.925] (EE) Segmentation fault at address 0xa0
[    72.925] (EE) 
Fatal server error:
[    72.925] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    72.925] (EE) 
[    72.925] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    72.925] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    72.925] (EE) 
[    72.933] (EE) Server terminated with error (1). Closing log file.

Here's the pastebin of the full log file

Any suggestions?

TIA

Offline

#2 2015-08-21 13:33:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,557

Re: X fails to start after motherboard replace

[  1912.219] (--) PCI: (0:0:2:0) 8086:0412:1849:0412 rev 6, Mem @ 0xef400000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
[  1912.219] (--) PCI:*(0:1:0:0) 10de:1380:3842:3759 rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288

Your system has 2 videocards, so you probably have a hybrid graphics setup.
Post lspci -k output .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-08-21 18:57:00

wmarler
Member
From: Denver, CO
Registered: 2015-04-18
Posts: 21

Re: X fails to start after motherboard replace

Lone_Wolf wrote:
[  1912.219] (--) PCI: (0:0:2:0) 8086:0412:1849:0412 rev 6, Mem @ 0xef400000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
[  1912.219] (--) PCI:*(0:1:0:0) 10de:1380:3842:3759 rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288

Your system has 2 videocards, so you probably have a hybrid graphics setup.
Post lspci -k output .

Yes, I have an Intel Integrated GPU and a PCI nVidia card. I'm using the Intel GPU and blacklisting the nouveau & nvidia modules, and grabbing the nVidia card with pci-stub (for later VGA passthrough to a VM). Here's lspci -k as requested:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: ASRock Incorporation Device 0c00
	Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
	Subsystem: ASRock Incorporation Device 0412
	Kernel driver in use: i915
	Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
	Subsystem: ASRock Incorporation Device 0c0c
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
	Subsystem: ASRock Incorporation Device 8cb1
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
	Subsystem: ASRock Incorporation Device 8cba
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
	Subsystem: ASRock Incorporation Device 15a1
	Kernel driver in use: e1000e
	Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
	Subsystem: ASRock Incorporation Device 8cad
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
	Subsystem: ASRock Incorporation Device c892
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
	Subsystem: ASRock Incorporation Device 8ca6
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
	Subsystem: ASRock Incorporation Device 8cc4
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
	Subsystem: ASRock Incorporation Device 8c82
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
	Subsystem: ASRock Incorporation Device 8ca2
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
	Subsystem: eVga.com. Corp. Device 3759
	Kernel driver in use: pci-stub
	Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
	Subsystem: eVga.com. Corp. Device 3759
	Kernel driver in use: pci-stub
	Kernel modules: snd_hda_intel
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)

Offline

#4 2015-08-21 19:46:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,557

Re: X fails to start after motherboard replace

Well, we have found the problem then.

[  1912.219] (--) PCI: (0:0:2:0) 8086:0412:1849:0412 rev 6, Mem @ 0xef400000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
[  1912.219] (--) PCI:*(0:1:0:0) 10de:1380:3842:3759 rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288

The 2nd line shows what linux/X see as your primary videocard, the one at 0:1:0:0 .
the first line shows your secondary videocard at 0:0:2:0 .
Now look for those addresses in lspci -k output, and you'll see that 0:1:0:0 is the nvidia card, while 0:0:2:0 is the intel card.

In short, your system tells linux the nvidia card is primary videocard and intel secondary.
X can only use the secondary card through the primary card which is blocked from X by pci-stub.

Try setting the intel as primary videocard in bios/uefi firmware .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-08-21 20:02:00

wmarler
Member
From: Denver, CO
Registered: 2015-04-18
Posts: 21

Re: X fails to start after motherboard replace

Humm... thanks for the explanation. I understand it, and it makes sense. Except for the fact that I've already set the uefi firmware with the configuration that the IGD is primary. Looks like either a) I didn't do it right, or b) it's not listening. Either way, I've got a direction to go now.

Offline

Board footer

Powered by FluxBB