Segfault 11
Since the commits of 13 Nov, 2019, the server segfaults with code 11. Reverting to 562c7888 fixes the problem.
I see /usr/lib/xorg/modules/drivers/modesetting_drv.so
being mentioned in the error log. It might be important to know that I use an intel/nvidia hybrid setup with optimus-manager.
Xorg.0.log:
[ 4.857] (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-860.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
[ 4.858] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 4.858]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 4.858]
X.Org X Server 1.20.99.1
X Protocol Version 11, Revision 0
[ 4.858] Current Operating System: Linux kibouolaptop 5.3.11-arch1-1 #1 SMP PREEMPT Tue, 12 Nov 2019 22:19:48 +0000 x86_64
[ 4.858] Kernel command line: root=PARTUUID=ecfef995-33c1-40aa-a89a-5aee54af5642 rw initrd=\intel-ucode.img initrd=\initramfs-linux.img quiet loglevel=1 vga=current rd.systemd.show_status=auto rd.udev.log_priority=1 i915.fastboot=1 nvidia-drm.modeset=1
[ 4.858]
[ 4.858] Current version of pixman: 0.38.4
[ 4.858] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4.858] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4.858] (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Thu Nov 14 16:46:12 2019
[ 4.860] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4.861] (==) No Layout section. Using the first Screen section.
[ 4.861] (==) No screen section available. Using defaults.
[ 4.861] (**) |-->Screen "Default Screen Section" (0)
[ 4.861] (**) | |-->Monitor "<default monitor>"
[ 4.862] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4.862] (==) Automatically adding devices
[ 4.862] (==) Automatically enabling devices
[ 4.862] (==) Automatically adding GPU devices
[ 4.862] (==) Automatically binding GPU devices
[ 4.862] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 4.862] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 4.862] Entry deleted from font path.
[ 4.865] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 4.865] Entry deleted from font path.
[ 4.865] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 4.865] Entry deleted from font path.
[ 4.865] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 4.865] Entry deleted from font path.
[ 4.865] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 4.865] Entry deleted from font path.
[ 4.865] (==) FontPath set to:
/usr/share/fonts/TTF
[ 4.865] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4.865] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 4.867] (II) Module ABI versions:
[ 4.867] X.Org ANSI C Emulation: 0.4
[ 4.867] X.Org Video Driver: 25.0
[ 4.867] X.Org XInput driver : 24.1
[ 4.867] X.Org Server Extension : 10.0
[ 4.868] (++) using VT number 1
[ 4.870] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 4.872] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4.872] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 4.873] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 4.878] (--) PCI:*(0@0:2:0) 8086:3ea0:17aa:2283 rev 2, Mem @ 0xd7000000/16777216, 0xb0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 4.878] (--) PCI: (60@0:0:0) 10de:1d13:17aa:2283 rev 161, Mem @ 0xd8000000/16777216, 0x60000000/268435456, 0x70000000/33554432, I/O @ 0x00002000/128
[ 4.878] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 4.878] (II) LoadModule: "glx"
[ 4.880] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4.887] (II) Module glx: vendor="X.Org Foundation"
[ 4.887] compiled for 1.20.99.1, module version = 1.0.0
[ 4.887] ABI class: X.Org Server Extension, version 10.0
[ 4.887] (II) Applying OutputClass "intel" to /dev/dri/card0
[ 4.887] loading driver: modesetting
[ 4.887] (==) Matched modesetting as autoconfigured driver 0
[ 4.887] (==) Matched intel as autoconfigured driver 1
[ 4.887] (==) Matched fbdev as autoconfigured driver 2
[ 4.887] (==) Matched vesa as autoconfigured driver 3
[ 4.887] (==) Assigned the driver to the xf86ConfigLayout
[ 4.887] (II) LoadModule: "modesetting"
[ 4.887] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 4.892] (II) Module modesetting: vendor="X.Org Foundation"
[ 4.892] compiled for 1.20.99.1, module version = 1.20.99
[ 4.892] Module class: X.Org Video Driver
[ 4.892] ABI class: X.Org Video Driver, version 25.0
[ 4.892] (II) LoadModule: "intel"
[ 4.892] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 4.894] (II) Module intel: vendor="X.Org Foundation"
[ 4.894] compiled for 1.20.5, module version = 2.99.917
[ 4.894] Module class: X.Org Video Driver
[ 4.894] ABI class: X.Org Video Driver, version 24.0
[ 4.894] (EE) intel: module ABI major version (24) doesn't match the server's version (25)
[ 4.894] (EE) Failed to load module "intel" (module requirement mismatch, 0)
[ 4.894] (II) LoadModule: "fbdev"
[ 4.894] (WW) Warning, couldn't open module fbdev
[ 4.894] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 4.894] (II) LoadModule: "vesa"
[ 4.894] (WW) Warning, couldn't open module vesa
[ 4.894] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 4.894] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 4.895] (II) modeset(0): using drv /dev/dri/card0
[ 4.895] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 4.895] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 4.895] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 4.895] (==) modeset(0): RGB weight 888
[ 4.895] (==) modeset(0): Default visual is TrueColor
[ 4.895] (II) Loading sub module "glamoregl"
[ 4.895] (II) LoadModule: "glamoregl"
[ 4.895] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 4.906] (II) Module glamoregl: vendor="X.Org Foundation"
[ 4.906] compiled for 1.20.99.1, module version = 1.0.1
[ 4.906] ABI class: X.Org ANSI C Emulation, version 0.4
[ 4.906] (EE)
[ 4.906] (EE) Backtrace:
[ 4.906] (EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x555d287674cd]
[ 4.906] (EE) 1: /usr/bin/X (0x555d28629000+0x141848) [0x555d2876a848]
[ 4.907] (EE) 2: /usr/lib/libc.so.6 (0x7fe3ed327000+0x3bfb0) [0x7fe3ed362fb0]
[ 4.907] (EE) 3: /lib64/ld-linux-x86-64.so.2 (0x7fe3edb2b000+0xabba) [0x7fe3edb35bba]
[ 4.907] (EE) 4: /lib64/ld-linux-x86-64.so.2 (0x7fe3edb2b000+0xb739) [0x7fe3edb36739]
[ 4.907] (EE) 5: /usr/lib/libc.so.6 (0x7fe3ed327000+0x139739) [0x7fe3ed460739]
[ 4.907] (EE) 6: /usr/lib/libdl.so.2 (0x7fe3ed901000+0x14a8) [0x7fe3ed9024a8]
[ 4.907] (EE) 7: /usr/lib/libc.so.6 (_dl_catch_exception+0x79) [0x7fe3ed460d79]
[ 4.907] (EE) 8: /usr/lib/libc.so.6 (_dl_catch_error+0x33) [0x7fe3ed460e13]
[ 4.907] (EE) 9: /usr/lib/libdl.so.2 (0x7fe3ed901000+0x1ab9) [0x7fe3ed902ab9]
[ 4.907] (EE) 10: /usr/lib/libdl.so.2 (dlsym+0x68) [0x7fe3ed902518]
[ 4.907] (EE) 11: /usr/lib/xorg/modules/drivers/modesetting_drv.so (0x7fe3edb0f000+0xb0e3) [0x7fe3edb1a0e3]
[ 4.907] (EE) 12: /usr/bin/X (InitOutput+0x984) [0x555d28787d54]
[ 4.907] (EE) 13: /usr/bin/X (0x555d28629000+0x76bac) [0x555d2869fbac]
[ 4.907] (EE) 14: /usr/lib/libc.so.6 (__libc_start_main+0xf3) [0x7fe3ed34e153]
[ 4.907] (EE) 15: /usr/bin/X (_start+0x2e) [0x555d286633ee]
[ 4.907] (EE)
[ 4.907] (EE) Segmentation fault at address 0x0
[ 4.907] (EE)
Fatal server error:
[ 4.907] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 4.907] (EE)
[ 4.908] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4.908] (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
[ 4.908] (EE)
[ 4.925] (EE) Server terminated with error (1). Closing log file.
Reproduce:
- boot and let gdm/gnome handle the server startup. We never enter a GUI and stay with a blinking cursor in tty1.
Info:
- Arch linux 5.3.11.1-1
- gdm-prime 3.34.1-1
- xorg dd63f717
- optimus-manager 1.2.2-1
- nvidia 440.31-2
- xf86-video-intel 1:2.99.917+893+gbff5eca4-1
Optimus-manager config:
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "DRI" "3"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:60:0:0"
Option "Coolbits" "28"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "ServerFlags"
Option "IgnoreABI" "1"
EndSection
Feel free to ask for more output, package versions, etc. as I'm not sure what can be relevant.
Edited by Kibouo