X.org crash on Dell Precision 5520

I recently replaced Ubuntu with Manjaro on my Dell Precision 5520. I’ve since seen it crash a couple times with a signal 6 (abort). I believe I am running X.org 1.20.9-2. The backtrace in /var/log/Xorg.0.log.old looks like this:

[ 4.808] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x5643ff188c03]
[ 4.808] (EE) 1: /usr/lib/Xorg (0x5643ff042000+0x151a45) [0x5643ff193a45]
[ 4.808] (EE) 2: /usr/lib/libc.so.6 (0x7f208e74b000+0x3d6a0) [0x7f208e7886a0]
[ 4.808] (EE) 3: /usr/lib/libc.so.6 (gsignal+0x145) [0x7f208e788615]
[ 4.808] (EE) 4: /usr/lib/libc.so.6 (abort+0x116) [0x7f208e771862]
[ 4.808] (EE) 5: /usr/lib/libc.so.6 (0x7f208e74b000+0x26747) [0x7f208e771747]
[ 4.808] (EE) 6: /usr/lib/libc.so.6 (0x7f208e74b000+0x35bf6) [0x7f208e780bf6]
[ 4.808] (EE) 7: /usr/lib/Xorg (dixRegisterPrivateKey+0x0) [0x5643ff0d7930]
[ 4.808] (EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_init+0xc9) [0x7f2088458fb9]
[ 4.808] (EE) 9: /usr/lib/xorg/modules/drivers/modesetting_drv.so (0x7f20885c2000+0x1404d) [0x7f20885d604d]
[ 4.808] (EE) 10: /usr/lib/Xorg (AddGPUScreen+0x10e) [0x5643ff0bb40e]
[ 4.808] (EE) 11: /usr/lib/Xorg (0x5643ff042000+0x185819) [0x5643ff1c7819]
[ 4.808] (EE) 12: /usr/lib/Xorg (0x5643ff042000+0x1a4520) [0x5643ff1e6520]
[ 4.808] (EE) 13: /usr/lib/Xorg (0x5643ff042000+0x1bae61) [0x5643ff1fce61]
[ 4.808] (EE) 14: /usr/lib/Xorg (0x5643ff042000+0x1bb0cb) [0x5643ff1fd0cb]
[ 4.808] (EE) 15: /usr/lib/Xorg (InitInput+0xf5) [0x5643ff1ad045]
[ 4.808] (EE) 16: /usr/lib/Xorg (0x5643ff042000+0x39768) [0x5643ff07b768]
[ 4.808] (EE) 17: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f208e773152]
[ 4.808] (EE) 18: /usr/lib/Xorg (_start+0x2e) [0x5643ff07c5ae]
[ 4.808] (EE)
[ 4.808] (EE)
Fatal server error:
[ 4.808] (EE) Caught signal 6 (Aborted). Server aborting

Right after that it says to check wiki.x.org, which I have. That led me nowhere obvious. I thought I read somewhere to include the output of inxi -Fa. I tried to attach it but that failed (looks like upload is only intended for images). So here it is inline.

    System:    Host: montanaro Kernel: 5.8.16-2-MANJARO x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=b1d17947-be57-4080-aff9-0225606850a8 
           rw quiet apparmor=1 security=apparmor udev.log_priority=3 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: Dell product: Precision 5520 v: N/A serial: <superuser/root required> 
           Chassis: type: 10 serial: <superuser/root required> 
           Mobo: Dell model: 0X41RR v: A00 serial: <superuser/root required> UEFI: Dell v: 1.18.0 
           date: 11/17/2019 
Battery:   ID-1: BAT0 charge: 78.7 Wh condition: 82.4/97.0 Wh (85%) volts: 12.6/11.4 
           model: LGC-LGC3.67 DELL T453X type: Li-ion serial: 30712 status: Charging 
CPU:       Topology: Quad Core model: Intel Core i7-7820HQ bits: 64 type: MT MCP arch: Kaby Lake 
           family: 6 model-id: 9E (158) stepping: 9 microcode: D6 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 46419 
           Speed: 3670 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 3657 2: 3633 3: 3742 4: 3621 
           5: 3633 6: 3612 7: 3645 8: 3612 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:591b 
           Device-2: NVIDIA GM107GLM [Quadro M1200 Mobile] vendor: Dell driver: nouveau v: kernel 
           bus ID: 01:00.0 chip ID: 10de:13b6 
           Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-12:4 
           chip ID: 0c45:6713 
           Display: x11 server: X.Org 1.20.9 driver: intel,nouveau unloaded: modesetting 
           alternate: fbdev,nv,vesa display ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 139 size: 350x190mm (13.8x7.5") diag: 398mm (15.7") 
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.1.8 direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a171 
           Sound Server: ALSA v: k5.8.16-2-MANJARO 
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell 
           driver: ath10k_pci v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:003e 
           IF: wlp2s0 state: up mac: 28:56:5a:a9:a8:bb 
           Device-2: Qualcomm Atheros type: USB driver: btusb bus ID: 1-4:3 chip ID: 0cf3:e007 
Drives:    Local Storage: total: 238.47 GiB used: 66.11 GiB (27.7%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 model: CX2-8B256-Q11 NVMe LITEON 256GB size: 238.47 GiB block size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: TW0XVRV7LOH006BS0008 
           rev: 48811QD scheme: GPT 
Partition: ID-1: / raw size: 222.24 GiB size: 217.75 GiB (97.98%) used: 66.07 GiB (30.3%) fs: ext4 
           dev: /dev/nvme0n1p2 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 15.73 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 34.5 C mobo: N/A gpu: nouveau temp: 28 C 
           Fan Speeds (RPM): cpu: 0 fan-2: 0 
Info:      Processes: 217 Uptime: 6m Memory: 15.37 GiB used: 1.42 GiB (9.2%) Init: systemd v: 246 
           Compilers: gcc: 10.2.0 Packages: pacman: 1145 lib: 345 flatpak: 0 Shell: Bash v: 5.0.18 
           running in: xfce4-terminal inxi: 3.1.05 

I would appreciate some guidance about how to debug this problem or provide more useful details so others can.


There is somebody else, with the same model as yours, looking for answers regarding the GPUs and drivers to use. Give it a try, but adapt to your use case. For now you are using the Nouveau drivers for the dGPU and might not be suitable, hence switch to hybrid-intel-nvidia drivers.

I think I figured out what the problem is/was. When on battery with the cover open, I had set the system to hibernate after the prescribed delay. I changed that setting to “suspend” instead. Now it doesn’t appear to crash (fingers crossed).