Segmentation Fault in modesetting driver with multiple NV124 devices
Submitted by Barry G
Assigned to Xorg Project Team
Description
Created attachment 118366 xorg.conf
My computer features two GTX 980 devices (ASUS Strix).
If I enable any ONE device using the modesetting driver in Linux 4.1.6-1-ARCH using xorg-server 1.17.2-4 everything is fine and the display works. I would like to use Xinerama and combine the two video cards to drive six monitors.
If I add driver lines to xorg.conf to enable both devices, my Xorg crashes with: [ 222.290] (II) modeset(1): Output DisplayPort-2 connected [ 222.290] (II) modeset(1): Using exact sizes for initial modes [ 222.290] (II) modeset(1): Output DVI-0 using initial mode 1280x1024 [ 222.290] (II) modeset(1): Output DisplayPort-2 using initial mode 1280x1024 [ 222.290] (II) modeset(1): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 222.290] (==) modeset(1): DPI set to (96, 96) [ 222.290] (II) Loading sub module "fb" [ 222.290] (II) LoadModule: "fb" [ 222.290] (II) Loading /usr/lib/xorg/modules/libfb.so [ 222.290] (II) Module fb: vendor="X.Org Foundation" [ 222.290] compiled for 1.17.2, module version = 1.0.0 [ 222.290] ABI class: X.Org ANSI C Emulation, version 0.4 [ 222.290] (II) Loading sub module "shadow" [ 222.290] (II) LoadModule: "shadow" [ 222.290] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 222.290] (II) Module shadow: vendor="X.Org Foundation" [ 222.290] compiled for 1.17.2, module version = 1.1.0 [ 222.290] ABI class: X.Org ANSI C Emulation, version 0.4 [ 222.290] (==) Depth 24 pixmap format is 32 bpp [ 222.302] (==) modeset(0): Backing store enabled [ 222.302] (==) modeset(0): Silken mouse enabled [ 222.302] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 222.302] (==) modeset(0): DPMS enabled [ 222.302] (EE) [ 222.302] (EE) Backtrace: [ 222.303] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x596d09] [ 222.306] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f268065a67f] [ 222.306] (EE) 2: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x49cf) [0x7f267b35c0af] [ 222.307] (EE) 3: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x6333) [0x7f267b35f5f3] [ 222.307] (EE) 4: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x300a) [0x7f267b35909a] [ 222.307] (EE) 5: /usr/lib/xorg/modules/drivers/modesetting_drv.so (_init+0x33d6) [0x7f267b3594b6] [ 222.308] (EE) 6: /usr/lib/xorg-server/Xorg (AddScreen+0x101) [0x439161] [ 222.308] (EE) 7: /usr/lib/xorg-server/Xorg (InitOutput+0x43a) [0x47bb5a] [ 222.308] (EE) 8: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x22a) [0x43cd5a] [ 222.309] (EE) 9: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f2680647610] [ 222.309] (EE) 10: /usr/lib/xorg-server/Xorg (_start+0x29) [0x427319] [ 222.310] (EE) 11: ? (?+0x29) [0x29] [ 222.310] (EE) [ 222.310] (EE) Segmentation fault at address 0x2d0 [ 222.310] (EE) Fatal server error: [ 222.310] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 222.310] (EE) [ 222.310] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 222.310] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 222.310] (EE) [ 222.374] (EE) Server terminated with error (1). Closing log file.
A not-so-useful backtrace shows:
#0 0x00007f268065a5f8 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f2682644940 (LWP 1424))]
(gdb) bt
#0 0x00007f268065a5f8 in raise () from /usr/lib/libc.so.6
#1 0x00007f268065ba7a in abort () from /usr/lib/libc.so.6
#2 0x00000000005992ee in OsAbort ()
#3 0x000000000047a41c in ddxGiveUp ()
#4 0x000000000059ef02 in ?? ()
#5 0x000000000059fd3d in FatalError ()
#6 0x0000000000596c4e in ?? ()
#7 <signal handler called>
#8 0x00007f267b357a87 in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
#9 0x00007f267b3593eb in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
#10 0x00007f267b3560c2 in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
#11 0x00007f267b35648e in ?? () from /usr/lib/xorg/modules/drivers/modesetting_drv.so
#12 0x0000000000439161 in AddScreen ()
#13 0x000000000047bb5a in InitOutput ()
#14 0x000000000043cd1a in ?? ()
#15 0x00007f2680647610 in __libc_start_main () from /usr/lib/libc.so.6
#16 0x0000000000427319 in _start ()
(gdb)
I will work on building a version with more symbols.
Attachment 118366, "xorg.conf":
xorg.conf