Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] XOrg / XRanR segfault starting X
Date: Thu, 18 Aug 2016 06:05:53
Message-Id: CAC=wYCFuAfLKbn+nMyfCVM=J8iv4AH3m9Pa_s2M41TrRb480Og@mail.gmail.com
In Reply to: [gentoo-user] XOrg / XRanR segfault starting X by Dave Trombley
1 On Thu, Aug 18, 2016 at 2:59 PM, Dave Trombley <dave.trombley@×××××.com>
2 wrote:
3
4 > Hi all!
5 >
6 > New to Gentoo, just followed the handbook install for amd64 and then
7 > for XOrg.
8 >
9 > I'm seeing the server segfault on 'startx'. Here is the console
10 > output (and I've attached the logfile).
11 >
12 > X.Org X Server 1.17.4
13 > Release Date: 2015-10-28
14 > X Protocol Version 11, Revision 0
15 > Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
16 > Current Operating System: Linux snow 4.4.6-gentoo #3 SMP PREEMPT Thu Aug
17 > 18 04:18:24 Local time zone must be set-- x86_64
18 > Kernel command line: BOOT_IMAGE=/vmlinuz-4.4.6-gentoo
19 > root=UUID=8cb564c3-38fb-4b05-bc60-eaccf543e3ab ro
20 > Build Date: 17 August 2016 07:13:48PM
21 >
22 > Current version of pixman: 0.32.8
23 > Before reporting problems, check http://wiki.x.org
24 > to make sure that you have the latest version.
25 > Markers: (--) probed, (**) from config file, (==) default setting,
26 > (++) from command line, (!!) notice, (II) informational,
27 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
28 > (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 18 04:53:29 2016
29 > (==) Using system config directory "/usr/share/X11/xorg.conf.d"
30 > (II) [KMS] drm report modesetting isn't supported.
31 > (EE)
32 > (EE) Backtrace:
33 > (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58c856]
34 > (EE) 1: /usr/bin/X (0x400000+0x190b09) [0x590b09]
35 > (EE) 2: /lib64/libc.so.6 (0x7f34667ed000+0x33370) [0x7f3466820370]
36 > (EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x4f0c50]
37 > (EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x4f5184]
38 > (EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x295) [0x4b7d65]
39 > (EE) 6: /usr/bin/X (0x400000+0xab130) [0x4ab130]
40 > (EE) 7: /usr/bin/X (0x400000+0x3bff4) [0x43bff4]
41 > (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f346680d620]
42 > (EE) 9: /usr/bin/X (_start+0x29) [0x426639]
43 > (EE)
44 > (EE) Segmentation fault at address 0xa0
45 > (EE)
46 > Fatal server error:
47 > (EE) Caught signal 11 (Segmentation fault). Server aborting
48 >
49
50 My log has;
51 # grep -i kms /var/log/Xorg.0.log
52 [ 303.319] (II) [KMS] Kernel modesetting enabled.
53 [ 303.393] (II) AMDGPU(0): KMS Pageflipping: enabled
54
55 # zgrep -i kms /proc/config.gz
56 CONFIG_DRM_KMS_HELPER=y
57 CONFIG_DRM_KMS_FB_HELPER=y
58
59 So try enabling those and rebuild and reinstall your kernel.
60
61 Other than that, when you update xorg you also need to 'emerge
62 @x11-module-rebuild' afterwards, but unless you've been emerging things out
63 of order that's probably not this issue this time. If you're not sure, just
64 do it anyway if its still broken after the kernel update.
65
66 I have had a single instance where I needed to rebuild xorg due to suit a
67 new kernel, but that was a long time ago.