You are not logged in.

#1 2017-10-06 06:47:33

andrzej1_1
Member
Registered: 2017-09-07
Posts: 50

[SOLVED] Segmentation fault in Xorg

Hello,
I just installed Arch on Dell XPS laptop and after executing `startx` computer hangs.

These logs may be helpful:

andrew$ cat ~/.local/share/xorg/Xorg.0.log
[  3406.802] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  3406.806] X Protocol Version 11, Revision 0
[  3406.808] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
[  3406.809] Current Operating System: Linux andrewPC 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64
[  3406.809] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=/dev/sda2:luks:allow-discards quiet
[  3406.811] Build Date: 13 August 2017  09:37:50PM
[  3406.812]  
[  3406.813] Current version of pixman: 0.34.0
[  3406.815]     Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
[  3406.815] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3406.821] (==) Log file: "/home/andrew/.local/share/xorg/Xorg.0.log", Time: Fri Oct  6 08:43:24 2017
[  3406.821] (II) Loader magic: 0x558b027bbd40
[  3406.821] (II) Module ABI versions:
[  3406.821]     X.Org ANSI C Emulation: 0.4
[  3406.821]     X.Org Video Driver: 23.0
[  3406.821]     X.Org XInput driver : 24.1
[  3406.821]     X.Org Server Extension : 10.0
[  3406.822] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  3406.823] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3406.823] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  3406.824] (EE) 
[  3406.824] (EE) Backtrace:
[  3406.824] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x558b02534f39]
[  3406.824] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7f364c1eddef]
[  3406.824] (EE) 2: /usr/lib/xorg-server/Xorg (xf86PlatformMatchDriver+0x2b4) [0x558b0242e484]
[  3406.825] (EE) 3: /usr/lib/xorg-server/Xorg (xf86BusProbe+0x9) [0x558b02406419]
[  3406.825] (EE) 4: /usr/lib/xorg-server/Xorg (InitOutput+0x7f3) [0x558b02415033]
[  3406.825] (EE) 5: /usr/lib/xorg-server/Xorg (InitFonts+0x213) [0x558b023d2fe3]
[  3406.825] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xea) [0x7f364be45f6a]
[  3406.825] (EE) 7: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x558b023bce9a]
[  3406.825] (EE) 
[  3406.825] (EE) Segmentation fault at address 0x50
[  3406.825] (EE) 
Fatal server error:
[  3406.825] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  3406.825] (EE) 
[  3406.825] (EE) 
Please consult the The X.Org Foundation support 
     at [url]http://wiki.x.org[/url]
 for help. 
[  3406.825] (EE) Please also check the log file at "/home/andrew/.local/share/xorg/Xorg.0.log" for additional information.
[  3406.825] (EE) 
[  3406.868] (EE) Server terminated with error (1). Closing log file.
andrew$ lspci | grep VGA:
00:2.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)

How can I fix it?

Last edited by andrzej1_1 (2017-10-06 15:40:50)

Offline

#2 2017-10-06 07:07:45

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [SOLVED] Segmentation fault in Xorg

what's the output of

lshw -c video

and have you looked at your journal?

Offline

#3 2017-10-06 07:23:56

Gosi
Member
From: Vienna, Austria
Registered: 2010-02-25
Posts: 100

Re: [SOLVED] Segmentation fault in Xorg

[ 3406.809] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=/dev/sda2:luks:allow-discards quiet

Did you install the Intel microcode?

Offline

#4 2017-10-06 07:47:17

seth
Member
Registered: 2012-09-03
Posts: 50,970

Re: [SOLVED] Segmentation fault in Xorg

common issue on 4.13: add "intel_iommu=off" to the kernel parameters.
Otherwise please post a complete Xorg log.

Online

#5 2017-10-06 09:36:02

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] Segmentation fault in Xorg

seth wrote:

common issue on 4.13: add "intel_iommu=off" to the kernel parameters.

Default has been changed back to off for 4.13.5 https://git.archlinux.org/svntogit/pack … 3bcf1beba9

Online

#6 2017-10-06 10:45:12

seth
Member
Registered: 2012-09-03
Posts: 50,970

Re: [SOLVED] Segmentation fault in Xorg

\o/\o/\o/

@andrzej1_1, 4.13.5 is so far only in testing. In case you intend to rather use that instead of just switching the parameter, ensure to use *all* testing repos - or you'll just face other weird problems.

Online

#7 2017-10-06 15:39:54

andrzej1_1
Member
Registered: 2017-09-07
Posts: 50

Re: [SOLVED] Segmentation fault in Xorg

Gosi wrote:

[ 3406.809] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=/dev/sda2:luks:allow-discards quiet

Did you install the Intel microcode?

seth wrote:

common issue on 4.13: add "intel_iommu=off" to the kernel parameters.
Otherwise please post a complete Xorg log.

After installing intel-ucode and adding intel_iommu=off, Xorg runs correctly smile

Thank you for help.

Last edited by andrzej1_1 (2017-10-06 15:40:11)

Offline

Board footer

Powered by FluxBB